Replace Bierman02 with RFC8040 for OpenFlow Plugin
[integration/test.git] / csit / suites / l2switch / Flow_Programming_OF13 / 010__restconf_inv_flows.robot
1 *** Settings ***
2 Documentation     Test suite for FlowProgramming in RESTCONF inventory
3 Suite Setup       Create Session    session    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS_XML}
4 Suite Teardown    Delete All Sessions
5 Library           Collections
6 Library           RequestsLibrary
7 Resource          ../../../libraries/Utils.robot
8 Resource          ../../../variables/openflowplugin/Variables.robot
9 Variables         ../../../variables/Variables.py
10
11 *** Variables ***
12
13 *** Test Cases ***
14 Check Stats for node 1
15     [Documentation]    Get the stats for a node
16     Wait Until Keyword Succeeds    10s    2s    Check Nodes Stats    openflow%3A1
17
18 Check Stats for node 2
19     [Documentation]    Get the stats for a node
20     Wait Until Keyword Succeeds    10s    2s    Check Nodes Stats    openflow%3A2
21
22 Check Stats for node 3
23     [Documentation]    Get the stats for a node
24     Wait Until Keyword Succeeds    10s    2s    Check Nodes Stats    openflow%3A3
25
26 Check Flows
27     [Documentation]    Check all flows are present
28     Wait Until Keyword Succeeds    10s    2s    Check For Specific Number Of Elements At URI    ${RFC8040_OPERATIONAL_NODES_API}    "output-node-connector"    21
29
30 Ping All Test
31     [Documentation]    Ping all, verify no packet loss or duplicates
32     Write    pingall
33     ${result}    Read Until    mininet>
34     Should Contain    ${result}    Results: 0% dropped