Enhanced message handling
[controller.git] / opendaylight / md-sal / sal-remoterpc-connector / implementation / src / test / resources / AddFlow.xml
diff --git a/opendaylight/md-sal/sal-remoterpc-connector/implementation/src/test/resources/AddFlow.xml b/opendaylight/md-sal/sal-remoterpc-connector/implementation/src/test/resources/AddFlow.xml
new file mode 100644 (file)
index 0000000..b042b8f
--- /dev/null
@@ -0,0 +1,36 @@
+<add-flow xmlns="urn:opendaylight:flow:service">
+  <input>
+    <transaction-uri>BA-7</transaction-uri>
+    <table_id>4</table_id>
+    <priority>5</priority>
+    <node>
+      /(urn:opendaylight:inventory?revision=2013-08-19)nodes/(urn:opendaylight:inventory?revision=2013-08-19)node[{(urn:opendaylight:inventory?revision=2013-08-19)id=openflow:1}]
+    </node>
+    <match>
+      <ipv4-destination>10.0.10.2/24</ipv4-destination>
+      <ethernet-match>
+        <ethernet-type>
+          <type>2048</type>
+        </ethernet-type>
+      </ethernet-match>
+    </match>
+    <instructions>
+      <instruction>
+        <order>0</order>
+        <apply-actions>
+          <action>
+            <order>0</order>
+            <dec-nw-ttl/>
+          </action>
+        </apply-actions>
+      </instruction>
+    </instructions>
+    <flow-table>
+      /(urn:opendaylight:inventory?revision=2013-08-19)nodes/(urn:opendaylight:inventory?revision=2013-08-19)node[{(urn:opendaylight:inventory?revision=2013-08-19)id=openflow:1}]/(urn:opendaylight:flow:inventory?revision=2013-08-19)table[{(urn:opendaylight:flow:inventory?revision=2013-08-19)id=4}]
+    </flow-table>
+    <flow-ref>
+      /(urn:opendaylight:inventory?revision=2013-08-19)nodes/(urn:opendaylight:inventory?revision=2013-08-19)node[{(urn:opendaylight:inventory?revision=2013-08-19)id=openflow:1}]/(urn:opendaylight:flow:inventory?revision=2013-08-19)table[{(urn:opendaylight:flow:inventory?revision=2013-08-19)id=4}]/(urn:opendaylight:flow:inventory?revision=2013-08-19)flow[{(urn:opendaylight:flow:inventory?revision=2013-08-19)id=4}]
+    </flow-ref>
+    <flow-name>Foo</flow-name>
+  </input>
+</add-flow>
\ No newline at end of file