2 Documentation Test suite for VTN Coordinator
3 Suite Setup Start SuiteVtnCoTest
4 Suite Teardown Stop SuiteVtnCoTest
5 Resource ../../../libraries/VtnCoKeywords.robot
6 Resource ../../../libraries/WaitForFailure.robot
9 Add a ODL Controller with Invalid IP
10 [Documentation] Add a Controller
11 Add a Controller odc_test 10.0.0.1
13 Verify the Controller Status is down
14 [Documentation] Check Controller status
15 WaitForFailure.Verify_Keyword_Does_Not_Fail_Within_Timeout 12s 1s Check Controller Status odc_test down
18 [Documentation] Create Vtn Tenant1
19 Add a VTN Tenant1 VTN_TEST
21 Create VBR in VTN Tenant1
22 [Documentation] Create a VBR in Tenant1 as Vbr_audit
23 Create VBR in VTN Tenant1 Vbr_audit odc_test
25 Create VBRIF in VBRIDGE Vbr_audit Interface1
26 [Documentation] Create an interface to Vbr_audit
27 Create VBRIF in VBR Tenant1 Vbr_audit Interface1 Interface1 202
29 Create VBRIF in VBRIDGE Vbr_audit Interface2
30 [Documentation] Create an interface to Vbr_audit
31 Create VBRIF in VBR Tenant1 Vbr_audit Interface2 Interface2 202
33 Update controller to Valid IP
34 [Documentation] Update Controller ip to valid from invalid
35 Update Controller odc_test ${CONTROLLER} valid_IP
37 Verify the Controller State is in waiting_audit
38 [Documentation] Check Controller status
39 Wait Until Keyword Succeeds 12s 2s Check Controller Status odc_test waiting_audit
41 Audit a controller manually
42 [Documentation] Trigger update audit
43 Audit Controller odc_test
45 Define Portmap for Interface1
46 [Documentation] Map Interface1 to a logical port
47 Define Portmap for VBRIF Tenant1 Vbr_audit Interface1 PP-OF:openflow:2-s2-eth1
49 Define Portmap for Interface2
50 [Documentation] Map Interface2 to a logical port
51 Define Portmap for VBRIF Tenant1 Vbr_audit Interface2 PP-OF:openflow:2-s2-eth2
53 Test Ping for Configuration1
54 [Documentation] ping between hosts in mininet
55 Wait Until Keyword Succeeds 20s 1s Test Ping h1 h2
58 [Documentation] Delete Vtn Tenant1
61 Delete a Controller odc1
62 [Documentation] Delete Controller odc1
63 Remove Controller odc_test