2 Documentation Test suite for the container manager bundle.
4 Library RequestsLibrary
5 Library ../../libraries/Common.py
6 Library ../../libraries/ContainerManager.py
7 Variables ../../variables/Variables.py
10 ${name} test_container1
11 @{nodeconnectors} OF|1@OF|00:00:00:00:00:00:00:01 OF|23@OF|00:00:00:00:00:00:20:21
12 ${key} container-config
15 Add and remove a container
16 [Documentation] Add and remove a container. After each operation, list to validate the result.
17 [Tags] add_remove_info
18 ${flowspecs} Convert To List ${EMPTY}
20 ${body} Create Dictionary container ${name} flowSpecs ${flowspecs} staticVlan
21 ... 10 nodeConnectors ${nodeconnectors}
22 Add Container ${name} ${body}
23 ${result} Get Containers
24 Dictionary Should Contain Key ${result} ${key}
25 ${content} Get From Dictionary ${result} ${key}
26 List Should Contain Value ${content} ${body}
27 Remove Container ${name}
28 ${result} Get Containers
29 Dictionary Should Contain Key ${result} ${key}
30 ${content} Get From Dictionary ${result} ${key}
31 List Should Not Contain Value ${content} ${body}