Add verification for OPNFLWPLUG-930 12/65012/4
authorLuis Gomez <ecelgp@gmail.com>
Thu, 2 Nov 2017 01:59:38 +0000 (18:59 -0700)
committerJamo Luhrsen <jluhrsen@redhat.com>
Fri, 3 Nov 2017 04:25:10 +0000 (04:25 +0000)
Change-Id: Ib049ec910b839faf6226e4b7ff182b76c075922f
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
csit/suites/openflowplugin/Flows_Additional_TCs/Stat_Manager_extended/010_SM_add_upd_del_flows.robot
csit/variables/xmls/f550.xml [new file with mode: 0644]

index 4c518888e6160d50f872ea98c8c94a9f9aab1561..abff3a0b942fe779e45796f186de6847310772c7 100644 (file)
@@ -27,6 +27,7 @@ ${switch_name}    s${switch_idx}
 ...               f108.xml    f109.xml    f110.xml    f113.xml    f156.xml    f201.xml    f202.xml
 ...               f203.xml    f204.xml    f205.xml    f206.xml    f209.xml    f214.xml    f218.xml
 ...               f219.xml    f220.xml    f221.xml    f222.xml    f223.xml    f224.xml    f225.xml
+...               f550.xml
 
 *** Test Cases ***
 Test Add Flows Group 0
@@ -211,6 +212,9 @@ Test Is Flow 224 Added
 Test Is Flow 225 Added
     f225.xml    ${True}    ${True}    ${False}    ${check_id}
 
+Test Is Flow 550 Added
+    f550.xml    ${True}    ${True}    ${False}    ${check_id}
+
 Test Update Flows Group 0
     [Documentation]    Update all flows and waits for SM to collect data
     [Template]    NONE
@@ -392,6 +396,9 @@ Test Is Flow 224 Updated
 Test Is Flow 225 Updated
     f225.xml    ${True}    ${True}    ${True}    ${check_id}
 
+Test Is Flow 550 Updated
+    f550.xml    ${True}    ${True}    ${True}    ${check_id}
+
 Test Delete Flows Group 0
     [Documentation]    Delete all flows and waits for SM to collect data
     [Template]    NONE
@@ -573,6 +580,9 @@ Test Is Flow 224 Deleted
 Test Is Flow 225 Deleted
     f225.xml    ${False}    ${False}    ${True}
 
+Test Is Flow 550 Deleted
+    f550.xml    ${False}    ${False}    ${True}
+
 *** Keywords ***
 Initialization Phase
     [Documentation]    Initiate tcp connection with controller
diff --git a/csit/variables/xmls/f550.xml b/csit/variables/xmls/f550.xml
new file mode 100644 (file)
index 0000000..23154b7
--- /dev/null
@@ -0,0 +1,31 @@
+<flow xmlns="urn:opendaylight:flow:inventory">
+    <hard-timeout>0</hard-timeout>
+    <idle-timeout>0</idle-timeout>
+    <priority>550</priority>
+    <flow-name>flow-tunnel</flow-name>
+    <match>
+        <extension-list xmlns="urn:opendaylight:openflowplugin:extension:general">
+            <extension-key xmlns:x="urn:opendaylight:openflowplugin:extension:nicira:match">x:nxm-nx-tun-ipv4-src-key</extension-key>
+            <extension>
+                <nxm-nx-tun-ipv4-src xmlns="urn:opendaylight:openflowplugin:extension:nicira:match">
+                    <ipv4-address>192.168.0.10</ipv4-address>
+                </nxm-nx-tun-ipv4-src>
+            </extension>
+        </extension-list>
+    </match>
+    <id>550</id>
+    <table_id>2</table_id>
+    <instructions>
+        <instruction>
+            <order>0</order>
+            <apply-actions>
+                <action>
+                    <order>0</order>
+                    <output-action>
+                        <output-node-connector>1</output-node-connector>
+                    </output-action>
+                </action>
+            </apply-actions>
+        </instruction>
+    </instructions>
+</flow>