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