From: yair Date: Sun, 9 Apr 2017 07:57:23 +0000 (+0300) Subject: Add csit tests for hairpinning. X-Git-Tag: release/carbon~171 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=59147dee8135554ea5d847b7432fa6cd38f778a6;p=integration%2Ftest.git Add csit tests for hairpinning. Test that pings from VM1 with floating IP to VM2 floating IP. The test make sure there are no router hops in the way (ttl=1). Change-Id: I8254c4ebd3fdd1ceb052b667896f3622c3f3e235 Signed-off-by: yair --- diff --git a/csit/suites/openstack/connectivity/03_external_network_tests.robot b/csit/suites/openstack/connectivity/03_external_network_tests.robot index 2c4e36575d..49de4b11d4 100644 --- a/csit/suites/openstack/connectivity/03_external_network_tests.robot +++ b/csit/suites/openstack/connectivity/03_external_network_tests.robot @@ -119,6 +119,12 @@ Ping Vm Instance2 Floating IP From Control Node [Documentation] Check reachability of VM instance through floating IP by pinging them. OpenStackOperations.Ping Vm From Control Node @{VM_FLOATING_IPS}[1] additional_args=-I ${external_internet_addr} +Ping Vm Instance2 Floating IP From Vm Instance1 With Floating IP (Hairpinning) + [Documentation] Check reachability of VM instance floating IP from another VM instance with FIP (with ttl=1 to make sure no router hops) + Pass Execution If "${ODL_STREAM}" == "boron" Hairpinning support is not available in boron or earlier + ${dst_ip}= Create List @{VM_FLOATING_IPS}[1] + OpenStackOperations.Test Operations From Vm Instance @{NETWORKS_NAME}[0] @{FLOATING_VM_IPS}[0] ${dst_ip} ttl=1 + Ping External Network PNF from Vm Instance 1 [Documentation] Check reachability of External Network PNF from VM instance (with ttl=1 to make sure no router hops) Pass Execution If "${ODL_STREAM}" == "boron" PNF subnet route support is not available in boron or earlier