Replace deprecated variables in suites/vtn (1).
[integration/test.git] / csit / suites / vtn / VTN_C_OF10 / 070__vtn_flowfilter.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 a Vtn Tenant1
21     [Documentation]    Create Vtn Tenant1
22     Add a VTN    Tenant1    VTN_TEST
23
24 Create VBR in VTN Tenant1
25     [Documentation]    Create a VBR in Tenant1 as Vbridge1
26     Create VBR in VTN    Tenant1    Vbridge1    odc_test
27
28 Create VBRIF in VBRIDGE Vbridge1 Interface1
29     [Documentation]    Create an interface to Vbridge1
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     Create VBRIF in VBR    Tenant1    Vbridge1    Interface2    Interface2    201
35
36 Define Portmap for Interface1
37     [Documentation]    Map Interface1 to a logical port
38     Define Portmap for VBRIF    Tenant1    Vbridge1    Interface1    PP-OF:openflow:3-s3-eth1
39
40 Define Portmap for Interface2
41     [Documentation]    Map Interface2 to a logical port
42     Define Portmap for VBRIF    Tenant1    Vbridge1    Interface2    PP-OF:openflow:2-s2-eth1
43
44 Add a Flowlist Flowlist1
45     [Documentation]    Create Flowlist Tenant1
46     Add a FLOWLIST    Flowlist1    IP
47
48 Create Flowlistentry_any in Flowlist1
49     [Documentation]    Create an Flowlistentry_any to Flowlist1
50     Create FLOWLISTENTRY_ANY in FLOWLIST    Flowlist1
51
52 Create VTN in Flowfilter1
53     [Documentation]    Create Vtn to Flowfilter
54     Create FLOWFILTER in VTN    Tenant1    in
55
56 Create FlowfilterEntry in VTNFlowfilter
57     [Documentation]    Create Vtn FlowfilterEntry
58     Create FLOWFILTERENTRY PASS in VTNFLOWFILTER    Tenant1    pass
59
60 Test Ping for Configuration
61     [Documentation]    ping between hosts in mininet
62     Wait Until Keyword Succeeds    20s    1s    Test Ping    h1    h3
63
64 Delete a VTN Tenant1
65     [Documentation]    Delete Vtn Tenant1
66     Delete a VTN    Tenant1
67
68 Delete a FLOWLIST Flowlist1
69     [Documentation]    Delete Flowlist
70     Delete a FLOWLIST    Flowlist1
71
72 Delete a Controller odc1
73     [Documentation]    Delete Controller odc1
74     Remove Controller    odc_test