From 136b62c6a9822ec4ec30721d051983e85cffa35f Mon Sep 17 00:00:00 2001 From: chenhb Date: Sat, 8 Jul 2017 12:55:34 +0800 Subject: [PATCH] cleanup bgp resources Change-Id: Ia1d4d942b0d876a273a8214811915f972e9d58eb --- rally/plugins/openstack/scenarios/neutron/bgpvpn.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rally/plugins/openstack/scenarios/neutron/bgpvpn.py b/rally/plugins/openstack/scenarios/neutron/bgpvpn.py index b7a5a757..6ab7e8b4 100644 --- a/rally/plugins/openstack/scenarios/neutron/bgpvpn.py +++ b/rally/plugins/openstack/scenarios/neutron/bgpvpn.py @@ -145,7 +145,8 @@ class CreateAndUpdateBgpvpns(utils.NeutronScenario): @validation.add("required_services", services=[consts.Service.NEUTRON]) @validation.add("required_platform", platform="openstack", admin=True, users=True) -@scenario.configure(context={"admin_cleanup": ["neutron"]}, +@scenario.configure(context={"admin_cleanup": ["neutron"], + "cleanup": ["neutron"]}, name="NeutronBGPVPN.create_bgpvpn_assoc_disassoc_networks") class CreateAndAssociateDissassociateNetworks(utils.NeutronScenario): @@ -188,7 +189,8 @@ class CreateAndAssociateDissassociateNetworks(utils.NeutronScenario): @validation.add("required_services", services=[consts.Service.NEUTRON]) @validation.add("required_platform", platform="openstack", admin=True, users=True) -@scenario.configure(context={"admin_cleanup": ["neutron"]}, +@scenario.configure(context={"admin_cleanup": ["neutron"], + "cleanup": ["neutron"]}, name="NeutronBGPVPN.create_bgpvpn_assoc_disassoc_routers") class CreateAndAssociateDissassociateRouters(utils.NeutronScenario):