Fix Failure to launch vtn coordinator
[integration/test.git] / test / csit / suites / vtn / VTN_C_OF13 / 020__vtn_coordinator.robot
1 *** Settings ***
2 Documentation     Test suite for VTN Coordinator
3 Suite Setup       Start SuiteVtnCoTest
4 Suite Teardown    Stop SuiteVtnCoTest
5 Resource          ../../../libraries/VtnCoKeywords.txt
6
7 *** Test Cases ***
8 Add a ODL Controller
9     [Documentation]    Add a Controller
10     Add a Controller    odc_test    ${CONTROLLER}
11
12 Verify the Controller Status is up
13     [Documentation]    Check Controller status
14     [Tags]    exclude
15     Wait Until Keyword Succeeds    32s    2s    Check Controller Status    odc_test    up
16
17 Add a Vtn Tenant1
18     [Documentation]    Create Vtn Tenant1
19     [Tags]    exclude
20     Add a VTN    Tenant1    VTN_TEST
21
22 Create VBR in VTN Tenant1
23     [Documentation]    Create a VBR in Tenant1 as Vbridge1
24     [Tags]    exclude
25     Create VBR in VTN    Tenant1    Vbridge1    odc_test
26
27 Create VBRIF in VBRIDGE Vbridge1 Interface1
28     [Documentation]    Create an interface to Vbridge1
29     [Tags]    exclude
30     Create VBRIF in VBR    Tenant1    Vbridge1    Interface1    Interface1    201
31
32 Create VBRIF in VBRIDGE Vbridge1 Interface2
33     [Documentation]    Create an interface to Vbridge1
34     [Tags]    exclude
35     Create VBRIF in VBR    Tenant1    Vbridge1    Interface2    Interface2    201
36
37 Define Portmap for Interface1
38     [Documentation]    Map Interface1 to a logical port
39     [Tags]    exclude
40     Define Portmap for VBRIF    Tenant1    Vbridge1    Interface1    PP-OF:openflow:3-s3-eth1
41
42 Define Portmap for Interface2
43     [Documentation]    Map Interface2 to a logical port
44     [Tags]    exclude
45     Define Portmap for VBRIF    Tenant1    Vbridge1    Interface2    PP-OF:openflow:2-s2-eth1
46
47 Test Ping for Configuration1
48     [Documentation]    ping between hosts in mininet
49     [Tags]    exclude
50     Wait Until Keyword Succeeds    30s    10s    Test Ping    h1    h3
51
52 Delete a VTN Tenant1
53     [Documentation]    Delete Vtn Tenant1
54     [Tags]    exclude
55     Delete a VTN    Tenant1
56
57 Delete a Controller odc1
58     [Documentation]    Delete Controller odc1
59     Remove Controller    odc_test