2 Documentation Test suite for VTN Coordinator
4 Resource ../../../libraries/VtnCoKeywords.robot
6 Suite Setup Start SuiteVtnCoTest
7 Suite Teardown Stop SuiteVtnCoTest
12 [Documentation] Add a Controller
13 Add a Controller odc_test ${ODL_SYSTEM_IP}
15 Verify the Controller Status is waiting_audit
16 [Documentation] Check Controller status
17 # Ping starts after 12sec of completing audit and controller status become "UP"
18 Wait Until Keyword Succeeds 12s 2s Check Controller Status odc_test waiting_audit
21 [Documentation] Trigger update audit
22 Audit Controller odc_test
25 [Documentation] Create Vtn Tenant1
26 Add a VTN Tenant1 VTN_TEST
28 Create VBR in VTN Tenant1
29 [Documentation] Create a VBR in Tenant1 as Vbridge1
30 Create VBR in VTN Tenant1 Vbridge1 odc_test
32 Create VBRIF in VBRIDGE Vbridge1 Interface1
33 [Documentation] Create an interface to Vbridge1
34 Create VBRIF in VBR Tenant1 Vbridge1 Interface1 Interface1 201
36 Create VBRIF in VBRIDGE Vbridge1 Interface2
37 [Documentation] Create an interface to Vbridge1
38 Create VBRIF in VBR Tenant1 Vbridge1 Interface2 Interface2 201
40 Define Portmap for Interface1
41 [Documentation] Map Interface1 to a logical port
42 Define Portmap for VBRIF Tenant1 Vbridge1 Interface1 PP-OF:openflow:3-s3-eth1
44 Define Portmap for Interface2
45 [Documentation] Map Interface2 to a logical port
46 Define Portmap for VBRIF Tenant1 Vbridge1 Interface2 PP-OF:openflow:2-s2-eth1
48 Test Ping for Configuration1
49 [Documentation] ping between hosts in mininet
50 Wait Until Keyword Succeeds 20s 1s Test Ping h1 h3
53 [Documentation] Delete Vtn Tenant1
56 Delete a Controller odc1
57 [Documentation] Delete Controller odc1
58 Remove Controller odc_test