Skip to content

Instantly share code, notes, and snippets.

@subh007
Created December 12, 2014 14:32
Show Gist options
  • Save subh007/7b821fc32c03996fcab9 to your computer and use it in GitHub Desktop.
Save subh007/7b821fc32c03996fcab9 to your computer and use it in GitHub Desktop.
This is sample xml post data for programming the flow in Helium.
<!-- http://test1:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:72058212700834815/table/0/flow/161 -->
<flow xmlns="urn:opendaylight:flow:inventory">
<instructions>
<instruction>
<order>0</order>
<apply-actions>
<action>
<order>0</order>
<output-action>
<output-node-connector>2</output-node-connector>
</output-action></action></apply-actions>
</instruction></instructions>
<match>
<in-port>6</in-port>
<ethernet-match>
<ethernet-type>
<type>0x800</type>
</ethernet-type>
<ethernet-source>
<address>00:ab:cd:ef:01:23</address>
</ethernet-source>
<ethernet-destination>
<address>ff:ff:ff:ff:ff:ff</address>
</ethernet-destination>
</ethernet-match>
<ipv4-source>11.3.0.0/16</ipv4-source>
<ipv4-destination>99.0.0.0/8</ipv4-destination>
</match><strict>false</strict>
<hard-timeout>60</hard-timeout>
<idle-timeout>30</idle-timeout>
<flow-name>No Name</flow-name>
<priority>500</priority>
<barrier>false</barrier>
<cookie>0</cookie>
<cookie_mask>0</cookie_mask>
<table_id>0</table_id>
<id>161</id>
</flow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment