Should Be Equal As Strings ${resp.status_code} 200
Should Contain ${resp.content} 10.0.0.1
Should Contain ${resp.content} 10.0.0.4
-Remove flows
- [Documentation] Remove flows generated by simple fwd
- [Tags] Get
- Write dpctl del-flows
- Sleep 1
- Read
Add a subnet
[Documentation] Add a subnet, list to validate the result.
[Tags] add
${result} To JSON ${resp.content}
${content} Get From Dictionary ${result} ${key}
List Should Not Contain Value ${content} ${body}
+Remove flows
+ [Documentation] Remove flows generated by simple fwd
+ [Tags] Get
+ Write dpctl del-flows
+ Sleep 1
+ Read
+
Documentation Test suite for the forwarding manager module.
Suite Setup Create Session session http://${CONTROLLER}:8080 auth=${AUTH} headers=${HEADERS}
Suite Teardown Delete All Sessions
+Library SSHLibrary
Library Collections
Library ../../libraries/RequestsLibrary.py
Library ../../libraries/Common.py
${result} To JSON ${resp.content}
${content} Get From Dictionary ${result} ${key}
List Should Contain Value ${content} ${body}
-
+ Sleep 2
Remove a static route
[Documentation] Remove a static route, list to validate the result.
[Tags] remove
${result} To JSON ${resp.content}
${content} Get From Dictionary ${result} ${key}
List Should Not Contain Value ${content} ${body}
+Remove flows
+ [Documentation] Remove flows generated by simple fwd
+ [Tags] Get
+ Write dpctl del-flows
+ Sleep 1
+ Read
+
${resp} Post session ${REST_CONTEXT_BD}/port/OVS/MININET/s3/s3-eth3
... data={"type":"patch", "CUSTOM":{"peer":"s4-eth2"}}
Should Be Equal As Strings ${resp.status_code} 201
-Remove flows
- [Documentation] Remove flows generated by simple fwd
+Ping h1 to h4
+ [Documentation] Ping h1 to h4, verify no packet loss
[Tags] Get
- Write dpctl del-flows
- Sleep 1
- Read
+ Sleep 20
+ Write h1 ping -c 3 h4
+ Sleep 6
+ ${result} Read
+ Should Contain ${result} 64 bytes
Delete s4 ports
[Documentation] Delete s4 connected ports
[Tags] delete
${result} To JSON ${resp.content}
${content} Get From Dictionary ${result} ${key}
List Should Not Contain Value ${content} ${body}
+Remove flows
+ [Documentation] Remove flows generated by simple fwd
+ [Tags] Get
+ Write dpctl del-flows
+ Sleep 1
+ Read
+
Sleep 2
Write ${start}
Sleep 65
+ Write dpctl del-flows
+ Sleep 1
Read
Stop Suite
Log Stop the test on the base edition