From 59147dee8135554ea5d847b7432fa6cd38f778a6 Mon Sep 17 00:00:00 2001 From: yair Date: Sun, 9 Apr 2017 10:57:23 +0300 Subject: [PATCH] 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 --- .../openstack/connectivity/03_external_network_tests.robot | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.36.6