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