2 Documentation Test suite for VTN Coordinator
3 Suite Setup Start SuiteVtnCoTest
4 Suite Teardown Stop SuiteVtnCoTest
5 Resource ../../../libraries/VtnCoKeywords.robot
9 [Documentation] Add a Controller
10 Add a Controller odc_test ${CONTROLLER}
12 Verify the Controller Status is up
13 [Documentation] Check Controller status
15 Wait Until Keyword Succeeds 32s 2s Check Controller Status odc_test up
18 [Documentation] Create Vtn Tenant1
20 Add a VTN Tenant1 VTN_TEST
22 Create VBR in VTN Tenant1
23 [Documentation] Create a VBR in Tenant1 as Vbridge1
25 Create VBR in VTN Tenant1 Vbridge1 odc_test
27 Update controller ip invalid
28 [Documentation] Update Controller ip to invalid
30 Update Controller odc_test 10.0.0.1 invalid_IP
32 Verify the Controller State is down
33 [Documentation] Check Controller status
35 Wait Until Keyword Succeeds 40s 5s Check Controller Status odc_test down
37 Create VBRIF in VBRIDGE Vbridge1 Interface1
38 [Documentation] Create an interface to Vbridge1
40 Create VBRIF in VBR Tenant1 Vbridge1 Interface1 Interface1 202
42 Create VBRIF in VBRIDGE Vbridge1 Interface2
43 [Documentation] Create an interface to Vbridge1
45 Create VBRIF in VBR Tenant1 Vbridge1 Interface2 Interface2 202
47 Update controller ip valid
48 [Documentation] Update Controller ip to valid
50 Update Controller odc_test ${CONTROLLER} valid_IP
52 Verify the Controller State is up
53 [Documentation] Check Controller status
55 Wait Until Keyword Succeeds 32s 2s Check Controller Status odc_test up
57 Define Portmap for Interface1
58 [Documentation] Map Interface1 to a logical port
60 Define Portmap for VBRIF Tenant1 Vbridge1 Interface1 PP-OF:openflow:2-s2-eth1
62 Define Portmap for Interface2
63 [Documentation] Map Interface2 to a logical port
65 Define Portmap for VBRIF Tenant1 Vbridge1 Interface2 PP-OF:openflow:2-s2-eth2
67 Test Ping for Configuration1
68 [Documentation] ping between hosts in mininet
70 Wait Until Keyword Succeeds 30s 10s Test Ping h1 h2
73 [Documentation] Delete Vtn Tenant1
77 Delete a Controller odc1
78 [Documentation] Delete Controller odc1
79 Remove Controller odc_test