Test case 2: OVSDB openflow extension
[integration/test.git] / test / csit / variables / ovsdb / add_flow_rule4.xml
diff --git a/test/csit/variables/ovsdb/add_flow_rule4.xml b/test/csit/variables/ovsdb/add_flow_rule4.xml
new file mode 100644 (file)
index 0000000..3979987
--- /dev/null
@@ -0,0 +1,32 @@
+<flow xmlns="urn:opendaylight:flow:inventory">
+    <hard-timeout>0</hard-timeout>
+    <idle-timeout>0</idle-timeout>
+    <priority>2</priority>
+    <flow-name>flow2</flow-name>
+    <match>
+        <in-port>openflow:1:1</in-port>
+    </match>
+    <id>2</id>
+    <table_id>0</table_id>
+    <instructions>
+        <instruction>
+            <order>0</order>
+            <apply-actions>
+                <action>
+                    <order>0</order>
+                    <set-field>
+                        <tunnel>
+                            <tunnel-id>2</tunnel-id>
+                        </tunnel>
+                    </set-field>
+                </action>
+                <action>
+                    <order>2</order>
+                    <output-action>
+                        <output-node-connector>2</output-node-connector>
+                    </output-action>
+                </action>
+            </apply-actions>
+        </instruction>
+    </instructions>
+</flow>