Update Robot Framework format - step 7
[integration/test.git] / csit / suites / groupbasedpolicy / GBPSFC / 6-node / demo-symmetric-chain / 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    GPSFC1_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    GPSFC2_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    GPSFC3_CONNECTION
27     Show Switch Status    sw3
28
29 Show GBPSFC4 Status
30     [Documentation]    Shows flows and configuration of a switch for easier debugging.
31     Switch Connection    GPSFC4_CONNECTION
32     Show Switch Status    sw4
33
34 Show GBPSFC5 Status
35     [Documentation]    Shows flows and configuration of a switch for easier debugging.
36     Switch Connection    GPSFC5_CONNECTION
37     Show Switch Status    sw5
38
39 Show GBPSFC6 Status
40     [Documentation]    Shows flows and configuration of a switch for easier debugging.
41     Switch Connection    GPSFC6_CONNECTION
42     Show Switch Status    sw6
43     Close Connections
44
45 Read Tenants Confing From ODL
46     [Documentation]    Logs ODL data store.
47     Create Session
48     ...    session
49     ...    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}
50     ...    auth=${AUTH}
51     ...    headers=${HEADERS_YANG_JSON}
52     ${resp}    RequestsLibrary.Get Request    session    ${GBP_TENANTS_API}
53     Log    ${resp.content}
54
55 Read Tenants Operational From ODL
56     ${resp}    RequestsLibrary.Get Request    session    ${OPERATIONAL_GBP_TENANTS_API}
57     Log    ${resp.content}
58
59 Read Nodes Config From ODL
60     ${resp}    RequestsLibrary.Get Request    session    ${CONFIG_NODES_API}
61     Log    ${resp.content}
62
63 Read Nodes Operational From ODL
64     ${resp}    RequestsLibrary.Get Request    session    ${OPERATIONAL_NODES_API}
65     Log    ${resp.content}
66
67 Read Topology Config From ODL
68     ${resp}    RequestsLibrary.Get Request    session    ${CONFIG_TOPO_API}
69     Log    ${resp.content}
70
71 Read Topology Operational From ODL
72     ${resp}    RequestsLibrary.Get Request    session    ${OPERATIONAL_TOPO_API}
73     Log    ${resp.content}
74
75 Read Endpoints From ODL
76     ${resp}    RequestsLibrary.Get Request    session    ${GBP_ENDPOINTS_API}
77     Log    ${resp.content}
78     Delete All Sessions