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