Update Robot Framework format - step 16
[integration/test.git] / csit / suites / vtn / VTN_C_OF10 / 080__vlan_vtn.robot
1 *** Settings ***
2 Documentation       Test suite for VTN Coordinator
3
4 Resource            ../../../libraries/VtnCoKeywords.robot
5
6 Suite Setup         Start SuiteVtnCoTest
7 Suite Teardown      Stop SuiteVtnCoTest
8
9
10 *** Test Cases ***
11 Add a ODL Controller
12     [Documentation]    Add a Controller
13     Add a Controller    odc_test    ${ODL_SYSTEM_IP}
14
15 Verify the Controller Status is waiting_audit
16     [Documentation]    Check Controller status
17     Wait Until Keyword Succeeds    12s    2s    Check Controller Status    odc_test    waiting_audit
18
19 Audit a controller
20     [Documentation]    Trigger update audit
21     Audit Controller    odc_test
22
23 Add Vlan topology
24     [Documentation]    Add a vlan topology
25     Start vlan_topo
26
27 Add a Vtn Tenant1
28     [Documentation]    Create Vtn Tenant1
29     Add a VTN    Tenant1    VTN_TEST
30
31 Create VBR in VTN Tenant1
32     [Documentation]    Create a VBR in Tenant1 as Vbridge1
33     Create VBR in VTN    Tenant1    Vbridge1    odc_test
34
35 Create VLANMAP in VBRIDGE1
36     [Documentation]    Create a Vlanmap in Vbridge1
37     Create VLANMAP in VBRIDGE    Tenant1    Vbridge1    200
38
39 Create VBR2 in VTN Tenant1
40     [Documentation]    Create a VBR in Tenant1 as Vbridge1
41     Create VBR in VTN    Tenant1    Vbridge2    odc_test
42
43 Create VLANMAP in VBRIDGE2
44     [Documentation]    Create a Vlanmap in Vbridge1
45     Create VLANMAP in VBRIDGE    Tenant1    Vbridge2    300
46
47 Test Ping for Configuration1
48     [Documentation]    ping between hosts in mininet
49     Wait Until Keyword Succeeds    20s    1s    Test Ping    h1    h3
50
51 Test Ping for Configuration2
52     [Documentation]    ping between hosts in mininet
53     Wait Until Keyword Succeeds    20s    1s    Test Ping    h1    h5
54
55 Test Ping for Configuration3
56     [Documentation]    ping between hosts in mininet
57     Wait Until Keyword Succeeds    20s    1s    Test Ping    h2    h4
58
59 Test Ping for Configuration4
60     [Documentation]    ping between hosts in mininet
61     Wait Until Keyword Succeeds    20s    1s    Test Ping    h2    h6
62
63 Delete a VTN Tenant1
64     [Documentation]    Delete Vtn Tenant1
65     Delete a VTN    Tenant1
66
67 Delete a Controller odc1
68     [Documentation]    Delete Controller odc1
69     Remove Controller    odc_test