From e6c00cdec59955130072aeacb322a7dea2765730 Mon Sep 17 00:00:00 2001 From: Sai Sindhur Malleni Date: Fri, 16 Sep 2016 15:28:53 -0400 Subject: [PATCH] Make router type configurable This patch lets user to define the router_create_args throguh the browbeat-config file. This way things like setting a router to be distributed or legacy can be done. Change-Id: I6868bf51169a3dbafea85a29535a59beac6d81a3 --- rally/neutron/neutron-create-list-router-cc.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rally/neutron/neutron-create-list-router-cc.yml b/rally/neutron/neutron-create-list-router-cc.yml index 412810ff2..821d279e0 100644 --- a/rally/neutron/neutron-create-list-router-cc.yml +++ b/rally/neutron/neutron-create-list-router-cc.yml @@ -1,4 +1,5 @@ {% set subnets_per_network = subnets_per_network or 2 %} +{% set router_create_args = router_create_args or {} %} {% set sla_max_avg_duration = sla_max_avg_duration or 60 %} {% set sla_max_failure = sla_max_failure or 0 %} {% set sla_max_seconds = sla_max_seconds or 60 %} @@ -10,7 +11,7 @@ subnet_create_args: "" subnet_cidr_start: "1.1.0.0/30" subnets_per_network: {{subnets_per_network}} - router_create_args: "" + router_create_args: {{ router_create_args }} runner: concurrency: {{concurrency}} times: {{times}}