From cdfb5123eee5d3d2ee35c965ab30d9c78b5f5615 Mon Sep 17 00:00:00 2001 From: Kiran Date: Fri, 28 Aug 2015 14:05:25 +0530 Subject: [PATCH] Add check for neutron extension support in utils Change-Id: I7081d2b3ac2e7cfa468234da420bedbb7513dd5c Closes-Bug: #1489741 Implements: blueprint validate-neutron-extensions --- rally/plugins/openstack/scenarios/neutron/loadbalancer_v1.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rally/plugins/openstack/scenarios/neutron/loadbalancer_v1.py b/rally/plugins/openstack/scenarios/neutron/loadbalancer_v1.py index ebfc3e3f..56a14a15 100644 --- a/rally/plugins/openstack/scenarios/neutron/loadbalancer_v1.py +++ b/rally/plugins/openstack/scenarios/neutron/loadbalancer_v1.py @@ -21,6 +21,7 @@ class NeutronLoadbalancerV1(utils.NeutronScenario): @validation.restricted_parameters("subnet_id", subdict="pool_create_args") + @validation.required_neutron_extensions("lbaas") @validation.required_services(consts.Service.NEUTRON) @validation.required_openstack(users=True) @validation.required_contexts("network") @@ -40,6 +41,7 @@ class NeutronLoadbalancerV1(utils.NeutronScenario): @validation.restricted_parameters("subnet_id", subdict="pool_create_args") + @validation.required_neutron_extensions("lbaas") @validation.required_services(consts.Service.NEUTRON) @validation.required_openstack(users=True) @validation.required_contexts("network") @@ -61,6 +63,7 @@ class NeutronLoadbalancerV1(utils.NeutronScenario): @validation.restricted_parameters("subnet_id", subdict="pool_create_args") + @validation.required_neutron_extensions("lbaas") @validation.required_services(consts.Service.NEUTRON) @validation.required_openstack(users=True) @validation.required_contexts("network")