s/Testcases/Test Cases/
[integration/test.git] / csit / suites / groupbasedpolicy / GBPSFC / 6-node / demo-asymmetric-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 Library           SSHLibrary
5 Resource          ../../../../../libraries/GBP/OpenFlowUtils.robot
6 Resource          ../../../../../libraries/GBP/ConnUtils.robot
7 Resource          ../Variables.robot
8 Resource          ../Connections.robot
9
10 *** Variables ***
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    session    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS_YANG_JSON}
48     ${resp}    RequestsLibrary.Get Request    session    ${GBP_TENANTS_API}
49     Log    ${resp.content}
50
51 Read Tenants Operational From ODL
52     ${resp}    RequestsLibrary.Get Request    session    ${OPERATIONAL_GBP_TENANTS_API}
53     Log    ${resp.content}
54
55 Read Nodes Config From ODL
56     ${resp}    RequestsLibrary.Get Request    session    ${CONFIG_NODES_API}
57     Log    ${resp.content}
58
59 Read Nodes Operational From ODL
60     ${resp}    RequestsLibrary.Get Request    session    ${OPERATIONAL_NODES_API}
61     Log    ${resp.content}
62
63 Read Topology Config From ODL
64     ${resp}    RequestsLibrary.Get Request    session    ${CONFIG_TOPO_API}
65     Log    ${resp.content}
66
67 Read Topology Operational From ODL
68     ${resp}    RequestsLibrary.Get Request    session    ${OPERATIONAL_TOPO_API}
69     Log    ${resp.content}
70
71 Read Endpoints From ODL
72     ${resp}    RequestsLibrary.Get Request    session    ${GBP_ENDPOINTS_API}
73     Log    ${resp.content}
74     Delete All Sessions