24c67f07a4a9f3207998f487481e7fc2f6fd4a2e
[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 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 *** Testcases ***
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    session    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS_YANG_JSON}
33     ${resp}    RequestsLibrary.Get Request    session    ${GBP_TENANTS_API}
34     Log    ${resp.content}
35
36 Read Tenants Operational From ODL
37     ${resp}    RequestsLibrary.Get Request    session    ${OPERATIONAL_GBP_TENANTS_API}
38     Log    ${resp.content}
39
40 Read Nodes Config From ODL
41     ${resp}    RequestsLibrary.Get Request    session    ${CONFIG_NODES_API}
42     Log    ${resp.content}
43
44 Read Nodes Operational From ODL
45     ${resp}    RequestsLibrary.Get Request    session    ${OPERATIONAL_NODES_API}
46     Log    ${resp.content}
47
48 Read Topology Config From ODL
49     ${resp}    RequestsLibrary.Get Request    session    ${CONFIG_TOPO_API}
50     Log    ${resp.content}
51
52 Read Topology Operational From ODL
53     ${resp}    RequestsLibrary.Get Request    session    ${OPERATIONAL_TOPO_API}
54     Log    ${resp.content}
55
56 Read Endpoints From ODL
57     ${resp}    RequestsLibrary.Get Request    session    ${GBP_ENDPOINTS_API}
58     Log    ${resp.content}
59     Delete All Sessions