cleanup bgp resources

Change-Id: Ia1d4d942b0d876a273a8214811915f972e9d58eb
This commit is contained in:
chenhb 2017-07-08 12:55:34 +08:00
parent c8da1a60e0
commit 136b62c6a9

View File

@ -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):