Remove trailing whitespaces and tabs

This is done to make pre-commit script happy.

TrivialFix

Change-Id: I4a080f8559b0392c6305c6d7c222be6ca006323c
This commit is contained in:
Slawek Kaplonski
2024-05-06 12:26:11 +02:00
parent a4e10d3d0b
commit 143d5bcd0e
275 changed files with 42303 additions and 42303 deletions

View File

@@ -17,116 +17,116 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) sou
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " html to make standalone HTML files"
@echo " dirhtml to make HTML files named index.html in directories"
@echo " singlehtml to make a single large HTML file"
@echo " pickle to make pickle files"
@echo " json to make JSON files"
@echo " htmlhelp to make HTML files and a HTML help project"
@echo " qthelp to make HTML files and a qthelp project"
@echo " devhelp to make HTML files and a Devhelp project"
@echo " epub to make an epub"
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
@echo " latexpdf to make LaTeX files and run them through pdflatex"
@echo " text to make text files"
@echo " man to make manual pages"
@echo " changes to make an overview of all changed/added/deprecated items"
@echo " linkcheck to check all external links for integrity"
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
@echo "Please use \`make <target>' where <target> is one of"
@echo " html to make standalone HTML files"
@echo " dirhtml to make HTML files named index.html in directories"
@echo " singlehtml to make a single large HTML file"
@echo " pickle to make pickle files"
@echo " json to make JSON files"
@echo " htmlhelp to make HTML files and a HTML help project"
@echo " qthelp to make HTML files and a qthelp project"
@echo " devhelp to make HTML files and a Devhelp project"
@echo " epub to make an epub"
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
@echo " latexpdf to make LaTeX files and run them through pdflatex"
@echo " text to make text files"
@echo " man to make manual pages"
@echo " changes to make an overview of all changed/added/deprecated items"
@echo " linkcheck to check all external links for integrity"
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
clean:
-rm -rf $(BUILDDIR)/*
-rm -rf $(BUILDDIR)/*
html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
dirhtml:
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
singlehtml:
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
@echo
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
@echo
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
pickle:
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
@echo
@echo "Build finished; now you can process the pickle files."
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
@echo
@echo "Build finished; now you can process the pickle files."
json:
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
@echo
@echo "Build finished; now you can process the JSON files."
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
@echo
@echo "Build finished; now you can process the JSON files."
htmlhelp:
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
@echo
@echo "Build finished; now you can run HTML Help Workshop with the" \
".hhp project file in $(BUILDDIR)/htmlhelp."
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
@echo
@echo "Build finished; now you can run HTML Help Workshop with the" \
".hhp project file in $(BUILDDIR)/htmlhelp."
qthelp:
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
@echo
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/os_ken.qhcp"
@echo "To view the help file:"
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/os_ken.qhc"
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
@echo
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/os_ken.qhcp"
@echo "To view the help file:"
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/os_ken.qhc"
devhelp:
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
@echo
@echo "Build finished."
@echo "To view the help file:"
@echo "# mkdir -p $$HOME/.local/share/devhelp/os_ken"
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/os_ken"
@echo "# devhelp"
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
@echo
@echo "Build finished."
@echo "To view the help file:"
@echo "# mkdir -p $$HOME/.local/share/devhelp/os_ken"
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/os_ken"
@echo "# devhelp"
epub:
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
@echo
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
@echo
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
latex:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
@echo "Run \`make' in that directory to run these through (pdf)latex" \
"(use \`make latexpdf' here to do that automatically)."
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
@echo "Run \`make' in that directory to run these through (pdf)latex" \
"(use \`make latexpdf' here to do that automatically)."
latexpdf:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through pdflatex..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through pdflatex..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
text:
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
@echo
@echo "Build finished. The text files are in $(BUILDDIR)/text."
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
@echo
@echo "Build finished. The text files are in $(BUILDDIR)/text."
man:
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
@echo
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
@echo
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
changes:
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
@echo
@echo "The overview file is in $(BUILDDIR)/changes."
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
@echo
@echo "The overview file is in $(BUILDDIR)/changes."
linkcheck:
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
@echo
@echo "Link check complete; look for any errors in the above output " \
"or in $(BUILDDIR)/linkcheck/output.txt."
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
@echo
@echo "Link check complete; look for any errors in the above output " \
"or in $(BUILDDIR)/linkcheck/output.txt."
doctest:
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
@echo "Testing of doctests in the sources finished, look at the " \
"results in $(BUILDDIR)/doctest/output.txt."
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
@echo "Testing of doctests in the sources finished, look at the " \
"results in $(BUILDDIR)/doctest/output.txt."

View File

@@ -47,8 +47,8 @@ instance advertizes some prefixes.
peer_down_handler=detect_peer_down)
speaker.neighbor_add('192.168.177.32', 64513)
# uncomment the below line if the speaker needs to talk with a bmp server.
# speaker.bmp_server_add('192.168.177.2', 11019)
# uncomment the below line if the speaker needs to talk with a bmp server.
# speaker.bmp_server_add('192.168.177.2', 11019)
count = 1
while True:
eventlet.sleep(30)

View File

@@ -62,7 +62,7 @@
<xs:attribute name="message-id" type="messageIdType"
use="required"/>
<!--
Arbitrary attributes can be supplied with <rpc> element.
Arbitrary attributes can be supplied with <rpc> element.
-->
<xs:anyAttribute processContents="lax"/>
</xs:complexType>
@@ -201,8 +201,8 @@
<xs:attribute name="message-id" type="messageIdType"
use="optional"/>
<!--
Any attributes supplied with <rpc> element must be returned
on <rpc-reply>.
Any attributes supplied with <rpc> element must be returned
on <rpc-reply>.
-->
<xs:anyAttribute processContents="lax"/>
</xs:complexType>
@@ -271,13 +271,13 @@
-->
<xs:complexType name="configNameType"/>
<xs:element name="config-name" type="configNameType"
abstract="true"/>
abstract="true"/>
<xs:element name="startup" type="configNameType"
substitutionGroup="config-name"/>
substitutionGroup="config-name"/>
<xs:element name="candidate" type="configNameType"
substitutionGroup="config-name"/>
substitutionGroup="config-name"/>
<xs:element name="running" type="configNameType"
substitutionGroup="config-name"/>
substitutionGroup="config-name"/>
<!--
<url> element
@@ -324,8 +324,8 @@
<xs:complexType name="filterInlineType">
<xs:complexContent>
<xs:extension base="xs:anyType">
<xs:attribute name="type" type="FilterType"
default="subtree"/>
<xs:attribute name="type" type="FilterType"
default="subtree"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
@@ -360,9 +360,9 @@
<xs:complexType name="getType">
<xs:complexContent>
<xs:extension base="rpcOperationType">
<xs:sequence>
<xs:element ref="filter" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:sequence>
<xs:element ref="filter" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
@@ -374,15 +374,15 @@
<xs:complexType name="getConfigType">
<xs:complexContent>
<xs:extension base="rpcOperationType">
<xs:sequence>
<xs:element ref="source"/>
<xs:element ref="filter" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:sequence>
<xs:element ref="source"/>
<xs:element ref="filter" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="get-config" type="getConfigType"
substitutionGroup="rpcOperation"/>
substitutionGroup="rpcOperation"/>
<!--
<edit-config> operation
@@ -390,18 +390,18 @@
<xs:complexType name="editConfigType">
<xs:complexContent>
<xs:extension base="rpcOperationType">
<xs:sequence>
<xs:element ref="target"/>
<xs:element ref="default-operation" minOccurs="0"/>
<xs:element ref="test-option" minOccurs="0"/>
<xs:element ref="error-option" minOccurs="0"/>
<xs:element ref="config" minOccurs="0"/>
</xs:sequence>
<xs:sequence>
<xs:element ref="target"/>
<xs:element ref="default-operation" minOccurs="0"/>
<xs:element ref="test-option" minOccurs="0"/>
<xs:element ref="error-option" minOccurs="0"/>
<xs:element ref="config" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="edit-config" type="editConfigType"
substitutionGroup="rpcOperation"/>
substitutionGroup="rpcOperation"/>
<!--
<copy-config> operation
@@ -409,15 +409,15 @@
<xs:complexType name="copyConfigType">
<xs:complexContent>
<xs:extension base="rpcOperationType">
<xs:sequence>
<xs:element ref="source"/>
<xs:element ref="target"/>
</xs:sequence>
<xs:sequence>
<xs:element ref="source"/>
<xs:element ref="target"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="copy-config" type="copyConfigType"
substitutionGroup="rpcOperation"/>
substitutionGroup="rpcOperation"/>
<!--
<delete-config> operation
@@ -425,14 +425,14 @@
<xs:complexType name="delete-configType">
<xs:complexContent>
<xs:extension base="rpcOperationType">
<xs:sequence>
<xs:element ref="target"/>
</xs:sequence>
<xs:sequence>
<xs:element ref="target"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="delete-config" type="delete-configType"
substitutionGroup="rpcOperation"/>
substitutionGroup="rpcOperation"/>
<!--
<lock> operation
@@ -440,14 +440,14 @@
<xs:complexType name="lockType">
<xs:complexContent>
<xs:extension base="rpcOperationType">
<xs:sequence>
<xs:element ref="target"/>
</xs:sequence>
<xs:sequence>
<xs:element ref="target"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="lock" type="lockType"
substitutionGroup="rpcOperation"/>
substitutionGroup="rpcOperation"/>
<!--
<unlock> operation
@@ -455,14 +455,14 @@
<xs:complexType name="unlockType">
<xs:complexContent>
<xs:extension base="rpcOperationType">
<xs:sequence>
<xs:element ref="target"/>
</xs:sequence>
<xs:sequence>
<xs:element ref="target"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="unlock" type="unlockType"
substitutionGroup="rpcOperation"/>
substitutionGroup="rpcOperation"/>
<!--
<validate> operation
@@ -470,14 +470,14 @@
<xs:complexType name="validateType">
<xs:complexContent>
<xs:extension base="rpcOperationType">
<xs:sequence>
<xs:element ref="source"/>
</xs:sequence>
<xs:sequence>
<xs:element ref="source"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="validate" type="validateType"
substitutionGroup="rpcOperation"/>
substitutionGroup="rpcOperation"/>
<!--
<commit> operation
@@ -492,19 +492,19 @@
<xs:complexType name="commitType">
<xs:complexContent>
<xs:extension base="rpcOperationType">
<xs:sequence>
<xs:element name="confirmed" minOccurs="0" maxOccurs="1"/>
<xs:element name="confirm-timeout" type="confirmTimeoutType"
minOccurs="0" maxOccurs="1"/>
<xs:element name="persist" minOccurs="0" maxOccurs="1"/>
<xs:element name="persist-id" type="persistIdType"
minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:sequence>
<xs:element name="confirmed" minOccurs="0" maxOccurs="1"/>
<xs:element name="confirm-timeout" type="confirmTimeoutType"
minOccurs="0" maxOccurs="1"/>
<xs:element name="persist" minOccurs="0" maxOccurs="1"/>
<xs:element name="persist-id" type="persistIdType"
minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="commit" type="commitType"
substitutionGroup="rpcOperation"/>
substitutionGroup="rpcOperation"/>
<!--
<cancel-commit> operation
@@ -512,15 +512,15 @@
<xs:complexType name="cancelCommitType">
<xs:complexContent>
<xs:extension base="rpcOperationType">
<xs:sequence>
<xs:element name="persist-id" type="persistIdType"
minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:sequence>
<xs:element name="persist-id" type="persistIdType"
minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="cancel-commit" type="cancelCommitType"
substitutionGroup="rpcOperation"/>
substitutionGroup="rpcOperation"/>
<!--
<discard-changes> operation
@@ -531,7 +531,7 @@
</xs:complexContent>
</xs:complexType>
<xs:element name="discard-changes" type="discardChangesType"
substitutionGroup="rpcOperation"/>
substitutionGroup="rpcOperation"/>
<!--
<close-session> operation
@@ -542,7 +542,7 @@
</xs:complexContent>
</xs:complexType>
<xs:element name="close-session" type="closeSessionType"
substitutionGroup="rpcOperation"/>
substitutionGroup="rpcOperation"/>
<!--
<kill-session> operation
@@ -550,13 +550,13 @@
<xs:complexType name="killSessionType">
<xs:complexContent>
<xs:extension base="rpcOperationType">
<xs:sequence>
<xs:element name="session-id" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:sequence>
<xs:element name="session-id" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="kill-session" type="killSessionType"
substitutionGroup="rpcOperation"/>
substitutionGroup="rpcOperation"/>
</xs:schema>

View File

@@ -12,11 +12,11 @@
xmlns:inet="urn:ietf:params:xml:ns:yang:ietf-inet-types"
xmlns:of11-config="urn:onf:of111:config:yang">
<xs:import namespace="urn:ietf:params:xml:ns:yang:ietf-inet-types"
schemaLocation="ietf-inet-types.xsd"/>
schemaLocation="ietf-inet-types.xsd"/>
<xs:import namespace="urn:ietf:params:xml:ns:yang:ietf-yang-types"
schemaLocation="ietf-yang-types.xsd"/>
schemaLocation="ietf-yang-types.xsd"/>
<xs:import namespace="urn:ietf:params:xml:ns:netconf:base:1.0"
schemaLocation="../netconf/netconf.xsd"/>
schemaLocation="../netconf/netconf.xsd"/>
<xs:annotation>
<xs:documentation> This schema was generated from the YANG module of-config1.1.1 by pyang
version 1.2. The schema describes an instance document consisting of the entire

View File

@@ -7,11 +7,11 @@
xmlns:of12-config="urn:onf:params:xml:ns:onf:of12:config"
xmlns:inet="urn:ietf:params:xml:ns:yang:ietf-inet-types">
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#"
schemaLocation="xmldsig-core-schema.xsd"/>
schemaLocation="xmldsig-core-schema.xsd"/>
<xs:import namespace="urn:ietf:params:xml:ns:yang:ietf-inet-types"
schemaLocation="ietf-inet-types.xsd"/>
schemaLocation="ietf-inet-types.xsd"/>
<xs:import namespace="urn:ietf:params:xml:ns:netconf:base:1.0"
schemaLocation="../netconf/netconf.xsd"/>
schemaLocation="../netconf/netconf.xsd"/>
<xs:element name="capable-switch" type="OFCapableSwitchType">
<xs:annotation>
<xs:documentation>The OpenFlow Capable Switch and its configurationpoints, logical

View File

@@ -101,7 +101,7 @@ OFPP_FLOOD = 0xfffffffb # All physical ports except input port and
OFPP_ALL = 0xfffffffc # All physical ports except input port.
OFPP_CONTROLLER = 0xfffffffd # Send to controller.
OFPP_LOCAL = 0xfffffffe # Local openflow "port".
OFPP_ANY = 0xffffffff # Not associated with a physical port.
OFPP_ANY = 0xffffffff # Not associated with a physical port.
# All ones is used to indicate all queues in a port (for stats retrieval).
OFPQ_ALL = 0xffffffff

View File

@@ -106,7 +106,7 @@ OFPP_FLOOD = 0xfffffffb # All physical ports except input port and
OFPP_ALL = 0xfffffffc # All physical ports except input port.
OFPP_CONTROLLER = 0xfffffffd # Send to controller.
OFPP_LOCAL = 0xfffffffe # Local openflow "port".
OFPP_ANY = 0xffffffff # Not associated with a physical port.
OFPP_ANY = 0xffffffff # Not associated with a physical port.
# All ones is used to indicate all queues in a port (for stats retrieval).
OFPQ_ALL = 0xffffffff

View File

@@ -206,7 +206,7 @@ arg_check() {
if [ $# -ne 0 ]; then
ARGLIST=$*
else
ARGLIST=`find . -type f -name "*$TEST_SUFFIX"`
ARGLIST=`find . -type f -name "*$TEST_SUFFIX"`
fi
for arg in $ARGLIST; do

View File

@@ -1,5 +1,5 @@
generate:
rebar get-deps
rebar compile
erl -pa ebin deps/*/ebin -s x x -s init stop
rebar get-deps
rebar compile
erl -pa ebin deps/*/ebin -s x x -s init stop

View File

@@ -707,42 +707,42 @@ x() ->
#ofp_get_async_request{},
#ofp_get_async_reply{
properties =
[#ofp_async_config_prop_reasons{
type = packet_in_slave,
mask = [table_miss, apply_action]},
#ofp_async_config_prop_reasons{
type = packet_in_master,
mask = [table_miss, apply_action]},
#ofp_async_config_prop_reasons{
type = port_status_slave,
mask = [add, delete]},
#ofp_async_config_prop_reasons{
type = port_status_master,
mask = [add, delete]},
#ofp_async_config_prop_reasons{
type = flow_removed_slave,
mask = [idle_timeout, hard_timeout]},
#ofp_async_config_prop_reasons{
type = flow_removed_master,
mask = [idle_timeout, hard_timeout]},
#ofp_async_config_prop_reasons{
type = role_status_slave,
mask = [master_request, config]},
#ofp_async_config_prop_reasons{
type = role_status_master,
mask = [master_request, config]},
#ofp_async_config_prop_reasons{
type = table_status_slave,
mask = [vacancy_down, vacancy_up]},
#ofp_async_config_prop_reasons{
type = table_status_master,
mask = [vacancy_down, vacancy_up]},
#ofp_async_config_prop_reasons{
type = requestforward_slave,
mask = [group_mod, meter_mod]},
#ofp_async_config_prop_reasons{
type = requestforward_master,
mask = [group_mod, meter_mod]},
[#ofp_async_config_prop_reasons{
type = packet_in_slave,
mask = [table_miss, apply_action]},
#ofp_async_config_prop_reasons{
type = packet_in_master,
mask = [table_miss, apply_action]},
#ofp_async_config_prop_reasons{
type = port_status_slave,
mask = [add, delete]},
#ofp_async_config_prop_reasons{
type = port_status_master,
mask = [add, delete]},
#ofp_async_config_prop_reasons{
type = flow_removed_slave,
mask = [idle_timeout, hard_timeout]},
#ofp_async_config_prop_reasons{
type = flow_removed_master,
mask = [idle_timeout, hard_timeout]},
#ofp_async_config_prop_reasons{
type = role_status_slave,
mask = [master_request, config]},
#ofp_async_config_prop_reasons{
type = role_status_master,
mask = [master_request, config]},
#ofp_async_config_prop_reasons{
type = table_status_slave,
mask = [vacancy_down, vacancy_up]},
#ofp_async_config_prop_reasons{
type = table_status_master,
mask = [vacancy_down, vacancy_up]},
#ofp_async_config_prop_reasons{
type = requestforward_slave,
mask = [group_mod, meter_mod]},
#ofp_async_config_prop_reasons{
type = requestforward_master,
mask = [group_mod, meter_mod]},
#ofp_async_config_prop_experimenter{
type = experimenter_slave,
experimenter = 101,
@@ -760,42 +760,42 @@ x() ->
data = <<1:32, 2:32>>}]},
#ofp_set_async{
properties =
[#ofp_async_config_prop_reasons{
type = packet_in_slave,
mask = [table_miss, apply_action]},
#ofp_async_config_prop_reasons{
type = packet_in_master,
mask = [table_miss, apply_action]},
#ofp_async_config_prop_reasons{
type = port_status_slave,
mask = [add, delete]},
#ofp_async_config_prop_reasons{
type = port_status_master,
mask = [add, delete]},
#ofp_async_config_prop_reasons{
type = flow_removed_slave,
mask = [idle_timeout, hard_timeout]},
#ofp_async_config_prop_reasons{
type = flow_removed_master,
mask = [idle_timeout, hard_timeout]},
#ofp_async_config_prop_reasons{
type = role_status_slave,
mask = [master_request, config]},
#ofp_async_config_prop_reasons{
type = role_status_master,
mask = [master_request, config]},
#ofp_async_config_prop_reasons{
type = table_status_slave,
mask = [vacancy_down, vacancy_up]},
#ofp_async_config_prop_reasons{
type = table_status_master,
mask = [vacancy_down, vacancy_up]},
#ofp_async_config_prop_reasons{
type = requestforward_slave,
mask = [group_mod, meter_mod]},
#ofp_async_config_prop_reasons{
type = requestforward_master,
mask = [group_mod, meter_mod]},
[#ofp_async_config_prop_reasons{
type = packet_in_slave,
mask = [table_miss, apply_action]},
#ofp_async_config_prop_reasons{
type = packet_in_master,
mask = [table_miss, apply_action]},
#ofp_async_config_prop_reasons{
type = port_status_slave,
mask = [add, delete]},
#ofp_async_config_prop_reasons{
type = port_status_master,
mask = [add, delete]},
#ofp_async_config_prop_reasons{
type = flow_removed_slave,
mask = [idle_timeout, hard_timeout]},
#ofp_async_config_prop_reasons{
type = flow_removed_master,
mask = [idle_timeout, hard_timeout]},
#ofp_async_config_prop_reasons{
type = role_status_slave,
mask = [master_request, config]},
#ofp_async_config_prop_reasons{
type = role_status_master,
mask = [master_request, config]},
#ofp_async_config_prop_reasons{
type = table_status_slave,
mask = [vacancy_down, vacancy_up]},
#ofp_async_config_prop_reasons{
type = table_status_master,
mask = [vacancy_down, vacancy_up]},
#ofp_async_config_prop_reasons{
type = requestforward_slave,
mask = [group_mod, meter_mod]},
#ofp_async_config_prop_reasons{
type = requestforward_master,
mask = [group_mod, meter_mod]},
#ofp_async_config_prop_experimenter{
type = experimenter_slave,
experimenter = 101,

View File

@@ -29,7 +29,7 @@ NOMAN=
all: generate
generate: ${PROG}
${_MKMSG} "generate packet_data"
cd ${.CURDIR} && ${.OBJDIR}/${PROG}
${_MKMSG} "generate packet_data"
cd ${.CURDIR} && ${.OBJDIR}/${PROG}
.include <bsd.prog.mk>

View File

@@ -30,10 +30,10 @@ NOMAN=
all: generate
gen: gen.c
${CC} $^ ${CPPFLAGS} ${LDFLAGS} -o $@
${CC} $^ ${CPPFLAGS} ${LDFLAGS} -o $@
generate: ${PROG}
./${PROG}
./${PROG}
clean:
rm ${PROG}
rm ${PROG}