Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CSIT-646 Refactor VPPConfigGenerator script
[csit.git]
/
resources
/
libraries
/
robot
/
double_qemu_setup.robot
diff --git
a/resources/libraries/robot/double_qemu_setup.robot
b/resources/libraries/robot/double_qemu_setup.robot
index
8a262c2
..
377e222
100644
(file)
--- a/
resources/libraries/robot/double_qemu_setup.robot
+++ b/
resources/libraries/robot/double_qemu_setup.robot
@@
-14,7
+14,7
@@
| Library | resources.libraries.python.IPUtil
*** Keywords ***
| Library | resources.libraries.python.IPUtil
*** Keywords ***
-|
Setup QEMU Vhost and Run
+|
Configure QEMU vhost and run it
| | [Documentation] | Setup Qemu with 4 vhost-user interfaces and 4 namespaces.
| | ... | Each call will be different object instance.
| | ...
| | [Documentation] | Setup Qemu with 4 vhost-user interfaces and 4 namespaces.
| | ... | Each call will be different object instance.
| | ...
@@
-72,7
+72,7
@@
| | ... | ${vm} | nmspace4 | ${vhost4} | ${ip4} | ${prefix_length}
| | Set Test Variable | ${${qemu_name}} | ${vm}
| | ... | ${vm} | nmspace4 | ${vhost4} | ${ip4} | ${prefix_length}
| | Set Test Variable | ${${qemu_name}} | ${vm}
-|
Qemu Teardown
+|
Tear down QEMU
| | [Documentation] | Stop specific qemu instance
| | ... | running on ${dut_node}, ${vm} is VM node info dictionary
| | ... | returned by qemu_start or None.
| | [Documentation] | Stop specific qemu instance
| | ... | running on ${dut_node}, ${vm} is VM node info dictionary
| | ... | returned by qemu_start or None.
@@
-83,19
+83,13
@@
| | ...
| | ... | *Example:*
| | ...
| | ...
| | ... | *Example:*
| | ...
-| | ... | \|
Qemu Teardown
\| ${node['DUT1']} \| ${vm} \| qemu_node_1 \|
+| | ... | \|
Tear down QEMU
\| ${node['DUT1']} \| ${vm} \| qemu_node_1 \|
| | ...
| | [Arguments] | ${dut_node} | ${vm} | ${qemu_name}
| | ${set_node}= | Replace Variables | ${qemu_name}.Qemu Set Node
| | ...
| | [Arguments] | ${dut_node} | ${vm} | ${qemu_name}
| | ${set_node}= | Replace Variables | ${qemu_name}.Qemu Set Node
-| | ${sys_status}= | Replace Variables | ${qemu_name}.Qemu System Status
| | ${kill}= | Replace Variables | ${qemu_name}.Qemu Kill
| | ${kill}= | Replace Variables | ${qemu_name}.Qemu Kill
-| | ${sys_pd}= | Replace Variables | ${qemu_name}.Qemu System Powerdown
-| | ${quit}= | Replace Variables | ${qemu_name}.Qemu Quit
| | ${clear_socks}= | Replace Variables | ${qemu_name}.Qemu Clear Socks
| | Run Keyword | ${set_node} | ${dut_node}
| | ${clear_socks}= | Replace Variables | ${qemu_name}.Qemu Clear Socks
| | Run Keyword | ${set_node} | ${dut_node}
-| | ${status} | ${value}= | Run Keyword And Ignore Error | ${sys_status}
-| | Run Keyword If | "${status}" == "FAIL" | ${kill}
-| | ... | ELSE IF | "${value}" == "running" | ${sys_pd}
-| | ... | ELSE | ${quit}
+| | Run Keyword | ${kill}
| | Run Keyword | ${clear_socks}
| | Run Keyword If | ${vm} is not None | Disconnect | ${vm}
| | Run Keyword | ${clear_socks}
| | Run Keyword If | ${vm} is not None | Disconnect | ${vm}