2 Documentation Test suite for VTN Manager using OF10
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
30 [Documentation] Add a vBridge vBridge1 in vtn Tenant1
31 Add a vBridge Tenant1 vBridge1 {}
33 Add a vlanmap for bridge1
34 [Documentation] Add a Vlanmap for bridge1 in vtn Tenant1
35 Add a vlanmap Tenant1 vBridge1 ${vlanmap_bridge1}
37 Add a vBridge vBridge2
38 [Documentation] Add a vBridge vBridge2 in vtn Tenant1
39 Add a vBridge Tenant1 vBridge2 {}
41 Add a vlanmap for bridge2
42 [Documentation] Add a Vlanmap for bridge1 in vtn Tenant1
43 Add a vlanmap Tenant1 vBridge2 ${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
54 [Documentation] ping h2 to h4
55 Wait Until Keyword Succeeds 10s 2s Mininet Ping Should Succeed h2 h4
58 [Documentation] ping h2 to h6
59 Wait Until Keyword Succeeds 10s 2s Mininet Ping Should Succeed h2 h6
62 [Documentation] ping h2 to h5
63 Mininet Ping Should Not Succeed h2 h5
66 [Documentation] Delete a vtn Tenant1