2 Documentation Test suite for VTN Manager using OF10
3 Suite Setup Start SuiteVtnMaTest
4 Suite Teardown Stop SuiteVtnMaTest
5 Resource ../../../libraries/VtnMaKeywordsLi.robot
9 [Documentation] Add a vlan topology
12 Check if switch1 detected
13 [Documentation] Check if openflow:1 is detected
14 BuiltIn.Wait_Until_Keyword_Succeeds 12 3 Fetch vtn switch inventory openflow:1
16 Check if switch2 detected
17 [Documentation] Check if openflow:2 is detected
18 BuiltIn.Wait_Until_Keyword_Succeeds 3 1 Fetch vtn switch inventory openflow:2
20 Check if switch3 detected
21 [Documentation] Check if openflow:3 is detected
22 BuiltIn.Wait_Until_Keyword_Succeeds 3 1 Fetch vtn switch inventory openflow:3
25 [Documentation] Add a vtn Tenant1
28 Add a vBridge vBridge1
29 [Documentation] Add a vBridge vBridge1 in vtn Tenant1
30 Add a vBridge Tenant1 vBridge1 {}
32 Add a vlanmap for bridge1
33 [Documentation] Add a Vlanmap for bridge1 in vtn Tenant1
34 Add a vlanmap Tenant1 vBridge1 ${vlanmap_bridge1}
36 Add a vBridge vBridge2
37 [Documentation] Add a vBridge vBridge2 in vtn Tenant1
38 Add a vBridge Tenant1 vBridge2 {}
40 Add a vlanmap for bridge2
41 [Documentation] Add a Vlanmap for bridge1 in vtn Tenant1
42 Add a vlanmap Tenant1 vBridge2 ${vlanmap_bridge2}
45 [Documentation] ping h1 to h3
46 Wait Until Keyword Succeeds 10s 2s Mininet Ping Should Succeed h1 h3
49 [Documentation] ping h1 to h5
50 Wait Until Keyword Succeeds 10s 2s Mininet Ping Should Succeed h1 h5
53 [Documentation] ping h2 to h4
54 Wait Until Keyword Succeeds 10s 2s Mininet Ping Should Succeed h2 h4
57 [Documentation] ping h2 to h6
58 Wait Until Keyword Succeeds 10s 2s Mininet Ping Should Succeed h2 h6
61 [Documentation] ping h2 to h5
62 Mininet Ping Should Not Succeed h2 h5
65 [Documentation] Delete a vtn Tenant1