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
This commit is contained in:
Sai Sindhur Malleni 2016-09-16 15:28:53 -04:00
parent 92e86665b7
commit e6c00cdec5

View File

@ -1,4 +1,5 @@
{% set subnets_per_network = subnets_per_network or 2 %} {% 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_avg_duration = sla_max_avg_duration or 60 %}
{% set sla_max_failure = sla_max_failure or 0 %} {% set sla_max_failure = sla_max_failure or 0 %}
{% set sla_max_seconds = sla_max_seconds or 60 %} {% set sla_max_seconds = sla_max_seconds or 60 %}
@ -10,7 +11,7 @@
subnet_create_args: "" subnet_create_args: ""
subnet_cidr_start: "1.1.0.0/30" subnet_cidr_start: "1.1.0.0/30"
subnets_per_network: {{subnets_per_network}} subnets_per_network: {{subnets_per_network}}
router_create_args: "" router_create_args: {{ router_create_args }}
runner: runner:
concurrency: {{concurrency}} concurrency: {{concurrency}}
times: {{times}} times: {{times}}