2 Documentation Test suite for VTN Manager using OF13
4 Resource ../../../libraries/VtnMaKeywords.robot
6 Suite Setup Start SuiteVtnMaTest
7 Suite Teardown Stop SuiteVtnMaTest
11 Check if switch1 detected
12 [Documentation] Check if openflow:1 is detected
13 BuiltIn.Wait_Until_Keyword_Succeeds 12 3 Fetch vtn switch inventory openflow:1
15 Check if switch2 detected
16 [Documentation] Check if openflow:2 is detected
17 BuiltIn.Wait_Until_Keyword_Succeeds 3 1 Fetch vtn switch inventory openflow:2
19 Check if switch3 detected
20 [Documentation] Check if openflow:3 is detected
21 BuiltIn.Wait_Until_Keyword_Succeeds 3 1 Fetch vtn switch inventory openflow:3
24 [Documentation] Add a vtn Tenant1
27 Add a vBridge vBridge1
28 [Documentation] Add a vBridge vBridge1 in vtn Tenant1
29 Add a vBridge Tenant1 vBridge1
31 Add a macmap for bridge1
32 [Documentation] Add a macmap for bridge1 in vtn Tenant1
33 ${source}= Get DynamicMacAddress h1
34 ${destination}= Get DynamicMacAddress h3
35 Add a macmap Tenant1 vBridge1 ${source} ${destination}
38 [Documentation] ping h3 to h1
39 Wait Until Keyword Succeeds 20s 1s Mininet Ping Should Succeed h3 h1
42 [Documentation] Delete a vtn Tenant1