Update Robot Framework format - step 7
[integration/test.git] / csit / suites / groupbasedpolicy / GBP / 3-node / gbp2-multitenant / 040_show_data.robot
1 *** Settings ***
2 Documentation       Deep inspection of HTTP traffic on asymmetric chain.
3 ...                 Nodes are located on different VMs.
4
5 Library             SSHLibrary
6 Resource            ../../../../../libraries/GBP/OpenFlowUtils.robot
7 Resource            ../../../../../libraries/GBP/ConnUtils.robot
8 Resource            ../Variables.robot
9 Resource            ../Connections.robot
10
11
12 *** Test Cases ***
13 Show GBPSFC1 Status
14     [Documentation]    Shows flows and configuration of a switch for easier debugging.
15     Start Connections
16     Switch Connection    GBP1_CONNECTION
17     Show Switch Status    sw1
18
19 Show GBPSFC2 Status
20     [Documentation]    Shows flows and configuration of a switch for easier debugging.
21     Switch Connection    GBP2_CONNECTION
22     Show Switch Status    sw2
23
24 Show GBPSFC3 Status
25     [Documentation]    Shows flows and configuration of a switch for easier debugging.
26     Switch Connection    GBP3_CONNECTION
27     Show Switch Status    sw3
28     Close Connections
29
30 Read Tenants Confing From ODL
31     [Documentation]    Logs ODL data store.
32     Create Session
33     ...    session
34     ...    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}
35     ...    auth=${AUTH}
36     ...    headers=${HEADERS_YANG_JSON}
37     ${resp}    RequestsLibrary.Get Request    session    ${GBP_TENANTS_API}
38     Log    ${resp.content}
39
40 Read Tenants Operational From ODL
41     ${resp}    RequestsLibrary.Get Request    session    ${OPERATIONAL_GBP_TENANTS_API}
42     Log    ${resp.content}
43
44 Read Nodes Config From ODL
45     ${resp}    RequestsLibrary.Get Request    session    ${CONFIG_NODES_API}
46     Log    ${resp.content}
47
48 Read Nodes Operational From ODL
49     ${resp}    RequestsLibrary.Get Request    session    ${OPERATIONAL_NODES_API}
50     Log    ${resp.content}
51
52 Read Topology Config From ODL
53     ${resp}    RequestsLibrary.Get Request    session    ${CONFIG_TOPO_API}
54     Log    ${resp.content}
55
56 Read Topology Operational From ODL
57     ${resp}    RequestsLibrary.Get Request    session    ${OPERATIONAL_TOPO_API}
58     Log    ${resp.content}
59
60 Read Endpoints From ODL
61     ${resp}    RequestsLibrary.Get Request    session    ${GBP_ENDPOINTS_API}
62     Log    ${resp.content}
63     Delete All Sessions