... explicitly set to False.
BuiltIn.Return From Keyword If "skip_if_${OPENSTACK_BRANCH}" in @{TEST_TAGS}
BuiltIn.Return From Keyword If "skip_if_${SECURITY_GROUP_MODE}" in @{TEST_TAGS}
+ BuiltIn.Return From Keyword If "skip_if_${ODL_SNAT_MODE}" in @{TEST_TAGS}
${tempest_conn_id} = SSHLibrary.Open Connection ${OS_CONTROL_NODE_IP} prompt=${DEFAULT_LINUX_PROMPT_STRICT}
SSHKeywords.Flexible SSH Login ${OS_USER} ${DEVSTACK_SYSTEM_PASSWORD}
DevstackUtils.Write Commands Until Prompt source ${DEVSTACK_DEPLOY_PATH}/openrc admin admin
... test cases with a single command. Essentially, this keyword only handles one breakpoint at a single teardown.
BuiltIn.Return From Keyword If "skip_if_${OPENSTACK_BRANCH}" in @{TEST_TAGS}
BuiltIn.Return From Keyword If "skip_if_${SECURITY_GROUP_MODE}" in @{TEST_TAGS}
+ BuiltIn.Return From Keyword If "skip_if_${ODL_SNAT_MODE}" in @{TEST_TAGS}
${tempest_conn_id} = SSHLibrary.Open Connection ${OS_CONTROL_NODE_IP} prompt=${DEFAULT_LINUX_PROMPT_STRICT}
SSHKeywords.Flexible SSH Login ${OS_USER} ${DEVSTACK_SYSTEM_PASSWORD}
DevstackUtils.Write Commands Until Prompt source ${DEVSTACK_DEPLOY_PATH}/openrc admin admin
Suite Teardown OpenStackOperations.OpenStack Suite Teardown
Test Setup SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
Test Teardown OpenStackOperations.Get Test Teardown Debugs
+Force Tags skip_if_${ODL_SNAT_MODE}
Library Collections
Library SSHLibrary
Library OperatingSystem
[Documentation] Login to the VM instance and test UDP connection to the controller via SNAT
OpenStackOperations.Test Netcat Operations From Vm Instance @{NETWORKS}[1] @{NET2_SNAT_VM_IPS}[0] ${EXTERNAL_GATEWAY} -u
+Ping External Network PNF from SNAT VM Instance1
+ [Documentation] Check reachability of External Network PNF from SNAT VM Instance1
+ ${expect_ping_to_work} = Set Variable If "skip_if_controller" in @{TEST_TAGS} False True
+ ${dst_ip} = BuiltIn.Create List ${EXTERNAL_PNF}
+ OpenStackOperations.Test Operations From Vm Instance @{NETWORKS}[0] @{NET1_SNAT_VM_IPS}[0] ${dst_ip} ping_should_succeed=${expect_ping_to_work}
+
+Ping External Network PNF from SNAT VM Instance2
+ [Documentation] Check reachability of External Network PNF from SNAT VM Instance2
+ ${expect_ping_to_work} = Set Variable If "skip_if_controller" in @{TEST_TAGS} False True
+ ${dst_ip} = BuiltIn.Create List ${EXTERNAL_PNF}
+ OpenStackOperations.Test Operations From Vm Instance @{NETWORKS}[0] @{NET1_SNAT_VM_IPS}[1] ${dst_ip} ping_should_succeed=${expect_ping_to_work}
+
Delete Vm Instances
[Documentation] Delete Vm instances using instance names.
: FOR ${vm} IN @{NET1_FIP_VMS}