c7c6dfeed45228271fcc327b392fd291139c56a9
[integration/test.git] / test / csit / suites / vtn / VTN_C_OF13 / 030__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.robot
6
7 *** Test Cases ***
8 Add a ODL Controller
9     [Documentation]    Add a Controller odc1
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    30s    2s    Check Controller Status    odc_test    up
16
17 Verify switch1
18     [Documentation]    Get switch1
19     [Tags]    exclude
20     Wait Until Keyword Succeeds    30s    2s    Verify Switch    odc_test    openflow:1
21
22 Verify switch2
23     [Documentation]    Get switch2
24     [Tags]    exclude
25     Wait Until Keyword Succeeds    30s    2s    Verify Switch    odc_test    openflow:2
26
27 Verify switch3
28     [Documentation]    Get switch3
29     [Tags]    exclude
30     Wait Until Keyword Succeeds    30s    2s    Verify Switch    odc_test    openflow:3
31
32 Verify switchPort switch1
33     [Documentation]    Get switchport/switch1
34     [Tags]    exclude
35     Wait Until Keyword Succeeds    16s    2s    Verify SwitchPort    odc_test    openflow:1
36
37 Verify switchPort switch2
38     [Documentation]    Get switchport/switch2
39     [Tags]    exclude
40     Wait Until Keyword Succeeds    16s    2s    Verify SwitchPort    odc_test    openflow:2
41
42 Verify switchPort switch3
43     [Documentation]    Get switchport/switch3
44     [Tags]    exclude
45     Wait Until Keyword Succeeds    16s    2s    Verify SwitchPort    odc_test    openflow:3
46
47 Delete a Controller
48     [Documentation]    Delete Controller odc1
49     Remove Controller    odc_test