From f1b848000af852b2e1050b831f186e8955e64d5f Mon Sep 17 00:00:00 2001 From: JayaPr Date: Fri, 13 Sep 2019 19:45:20 +0530 Subject: [PATCH] Add testcase to Verify The Subnet Route When The Network Is Removed From The Vpn Signed-off-by: JayaPr Change-Id: I958ff933c476f0fac7dedd642227b56c9df409e9 --- .../subnet_routing_and_multicast.robot | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/csit/suites/netvirt/subnet_routing/subnet_routing_and_multicast.robot b/csit/suites/netvirt/subnet_routing/subnet_routing_and_multicast.robot index 10ae0c43a3..eded6a40ab 100644 --- a/csit/suites/netvirt/subnet_routing/subnet_routing_and_multicast.robot +++ b/csit/suites/netvirt/subnet_routing/subnet_routing_and_multicast.robot @@ -113,6 +113,19 @@ Verify The Subnet Route For Multiple Subnets On Multi Vswitch Topology BuiltIn.Should Contain ${output} 64 bytes Verify Ping between Inter Intra And Enterprise host +Verify The Subnet Route When The Network Is Removed From The Vpn + [Documentation] Dissociate vpn from the network and verify the subnet route + : FOR ${network} IN @{NETWORKS} + \ ${network_id} = OpenStackOperations.Get Net Id ${network} + \ VpnOperations.Dissociate L3VPN From Networks networkid=${network_id} vpnid=${VPN_INSTANCE_ID} + ${vm_ip_list} = BuiltIn.Create List @{NET_1_VM_IPS} @{NET_2_VM_IPS} @{NET_3_VM_IPS} + Utils.Check For Elements Not At URI ${FIB_ENTRY_URL} ${vm_ip_list} + : FOR ${network} IN @{NETWORKS} + \ ${network_id} = OpenStackOperations.Get Net Id ${network} + \ VpnOperations.Associate L3VPN To Network networkid=${network_id} vpnid=${VPN_INSTANCE_ID} + Utils.Check For Elements At URI ${FIB_ENTRY_URL} ${vm_ip_list} + Verify Ping between Inter Intra And Enterprise host + *** Keywords *** Suite Setup [Documentation] Test Suite for Subnet_Routing_and_Multicast_Deployments. -- 2.36.6