From 6fffa562a6e30cb0065e6d6aac2482719550dc22 Mon Sep 17 00:00:00 2001 From: chenhb Date: Mon, 17 Jul 2017 12:55:21 +0800 Subject: [PATCH] cleanup old required_services Change-Id: I6b21b51825ec554cf91c6f3646d9fc1c9a8b1067 --- rally/plugins/openstack/scenarios/neutron/security_groups.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rally/plugins/openstack/scenarios/neutron/security_groups.py b/rally/plugins/openstack/scenarios/neutron/security_groups.py index a51d5840..dd3bb693 100644 --- a/rally/plugins/openstack/scenarios/neutron/security_groups.py +++ b/rally/plugins/openstack/scenarios/neutron/security_groups.py @@ -118,7 +118,8 @@ class CreateAndUpdateSecurityGroups(utils.NeutronScenario): **security_group_update_args) -@validation.required_services(consts.Service.NEUTRON) +@validation.add("required_services", + services=[consts.Service.NEUTRON]) @validation.add("required_platform", platform="openstack", users=True) @scenario.configure(context={"cleanup": ["neutron"]}, name=("NeutronSecurityGroup"