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 Add a Flowlist Flowlist1
49 [Documentation] Create Flowlist Tenant1
50 Add a FLOWLIST Flowlist1 IP
52 Create Flowlistentry in Flowlist1
53 [Documentation] Create an Flowlistentry to Flowlist1
54 Create FLOWLISTENTRY Flowlist1
56 Create Flowfilter1 in VBRIF
57 [Documentation] Create an Vbrif to Flowfilter
58 Create VBRIF in FLOWFILTER Tenant1 Vbridge1 Interface1 in
60 Create Flowfilterentry with Drop Action in VBRIF
61 [Documentation] Create an Flowfilter Drop Action
62 Create FLOWFILTERENTRY DROP In VBRIFFLOWFILTER Tenant1 Vbridge1 Interface1 drop
64 Create Flowfilterentry With Pass Action in VBRIF
65 [Documentation] Update an Flowfilter Pass Action
66 Create FLOWFILTERENTRY PASS In VBRIFFLOWFILTER Tenant1 Vbridge1 Interface1 pass 233
68 Test Ping for Configuration
69 [Documentation] ping between hosts in mininet
70 Wait Until Keyword Succeeds 20s 1s Test Ping h1 h3
73 [Documentation] Delete Vtn Tenant1
76 Delete a FLOWLIST Flowlist1
77 [Documentation] Delete Flowlist
78 Delete a FLOWLIST Flowlist1
80 Delete a Controller odc1
81 [Documentation] Delete Controller odc1
82 Remove Controller odc_test