Step 1: Move vm scripts to the right place
[integration/test.git] / csit / suites / vtn / VTN_C_OF13 / 030__verify_switch.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 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 Verify switch1
21     [Documentation]    Get switch1
22     [Tags]    exclude
23     Verify Switch    odc_test    openflow:1
24
25 Verify switch2
26     [Documentation]    Get switch2
27     [Tags]    exclude
28     Verify Switch    odc_test    openflow:2
29
30 Verify switch3
31     [Documentation]    Get switch3
32     [Tags]    exclude
33     Verify Switch    odc_test    openflow:3
34
35 Verify switchPort switch1
36     [Documentation]    Get switchport/switch1
37     Verify SwitchPort    odc_test    openflow:1
38
39 Verify switchPort switch2
40     [Documentation]    Get switchport/switch2
41     Verify SwitchPort    odc_test    openflow:2
42
43 Verify switchPort switch3
44     [Documentation]    Get switchport/switch3
45     Verify SwitchPort    odc_test    openflow:3
46
47 Delete a Controller
48     [Documentation]    Delete Controller odc1
49     Remove Controller    odc_test