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 waiting_audit
13 [Documentation] Check Controller status
14 Wait Until Keyword Succeeds 12s 2s Check Controller Status odc_test waiting_audit
17 [Documentation] Trigger update audit
18 Audit Controller odc_test
21 [Documentation] Create Vtn Tenant1
22 Add a VTN Tenant1 VTN_TEST
24 Create VBR in VTN Tenant1
25 [Documentation] Create a VBR in Tenant1 as Vbridge1
26 Create VBR in VTN Tenant1 Vbridge1 odc_test
28 Update controller ip invalid
29 [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
34 Wait Until Keyword Succeeds 12s 2s Check Controller Status odc_test down
36 Create VBRIF in VBRIDGE Vbridge1 Interface1
37 [Documentation] Create an interface to Vbridge1
38 Create VBRIF in VBR Tenant1 Vbridge1 Interface1 Interface1 202
40 Create VBRIF in VBRIDGE Vbridge1 Interface2
41 [Documentation] Create an interface to Vbridge1
42 Create VBRIF in VBR Tenant1 Vbridge1 Interface2 Interface2 202
44 Update controller ip valid
45 [Documentation] Update Controller ip to valid
46 Update Controller odc_test ${CONTROLLER} valid_IP
48 Verify the Controller State is in down state
49 [Documentation] Check Controller status
50 Wait Until Keyword Succeeds 12s 2s Check Controller Status odc_test down
52 Audit a controller manually
53 [Documentation] Trigger update audit
54 Audit Controller odc_test
56 Define Portmap for Interface1
57 [Documentation] Map Interface1 to a logical port
58 Define Portmap for VBRIF Tenant1 Vbridge1 Interface1 PP-OF:openflow:2-s2-eth1
60 Define Portmap for Interface2
61 [Documentation] Map Interface2 to a logical port
62 Define Portmap for VBRIF Tenant1 Vbridge1 Interface2 PP-OF:openflow:2-s2-eth2
64 Test Ping for Configuration1
65 [Documentation] ping between hosts in mininet
66 Wait Until Keyword Succeeds 10s 2s Test Ping h1 h2
69 [Documentation] Delete Vtn Tenant1
72 Delete a Controller odc1
73 [Documentation] Delete Controller odc1
74 Remove Controller odc_test