2 Documentation Test suite for VTN Manager Data Flows using OF13
3 Suite Setup Start SuiteVtnMaTest
4 Suite Teardown Stop SuiteVtnMaTest
6 Resource ../../../libraries/VtnMaKeywords.robot
10 [Documentation] Add a vlan topology
13 Check if switch1 detected
14 [Documentation] Check if openflow:1 is detected
15 BuiltIn.Wait_Until_Keyword_Succeeds 12 3 Fetch vtn switch inventory openflow:1
17 Check if switch2 detected
18 [Documentation] Check if openflow:2 is detected
19 BuiltIn.Wait_Until_Keyword_Succeeds 3 1 Fetch vtn switch inventory openflow:2
21 Check if switch3 detected
22 [Documentation] Check if openflow:3 is detected
23 BuiltIn.Wait_Until_Keyword_Succeeds 3 1 Fetch vtn switch inventory openflow:3
26 [Documentation] Add a vtn Tenant1
29 Add a vBridge vBridge1_vlan
30 [Documentation] Add a vBridge vBridge1_vlan in vtn Tenant1
31 Add a vBridge Tenant1 vBridge1_vlan {}
33 Add a vlanmap for vBridge1_vlan
34 [Documentation] Add a Vlanmap for vBridge1_vlan in vtn Tenant1
35 Add a vlanmap Tenant1 vBridge1_vlan ${vlanmap_bridge1}
37 Add a vBridge vBridge2_vlan
38 [Documentation] Add a vBridge vBridge2_vlan in vtn Tenant1
39 Add a vBridge Tenant1 vBridge2_vlan {}
41 Add a vlanmap for vBridge2_vlan
42 [Documentation] Add a Vlanmap for vBridge2_vlan in vtn Tenant1
43 Add a vlanmap Tenant1 vBridge2_vlan ${vlanmap_bridge2}
46 [Documentation] ping h1 to h3
47 Wait Until Keyword Succeeds 10s 2s Mininet Ping Should Succeed h1 h3
50 [Documentation] ping h1 to h5
51 Wait Until Keyword Succeeds 10s 2s Mininet Ping Should Succeed h1 h5
53 Verify data flow details for vlanmap vBridge1_vlan
54 [Documentation] Verify the data flows for the specified tenant and vBridge1_vlan
55 Verify Data Flows Tenant1 vBridge1_vlan
58 [Documentation] ping h2 to h4
59 Wait Until Keyword Succeeds 10s 2s Mininet Ping Should Succeed h2 h4
62 [Documentation] ping h2 to h6
63 Wait Until Keyword Succeeds 10s 2s Mininet Ping Should Succeed h2 h6
65 Verify data flow details for vlanmap vBridge2_vlan
66 [Documentation] Verify the data flows for the specified tenant and vBridge2_vlan
67 Verify Data Flows Tenant1 vBridge2_vlan
70 [Documentation] ping h2 to h5
71 Mininet Ping Should Not Succeed h2 h5
74 [Documentation] Delete a vtn Tenant1