Skip to content

Commit

Permalink
Made mx_rt and rt_number as str so that they can be treated
Browse files Browse the repository at this point in the history
in the same way when testbed.py was used.

Change-Id: I7270ef27af25dcb51051d09c6445510f9eef2640
Closes-bug: #1763290
  • Loading branch information
pulkitt committed Apr 12, 2018
1 parent 858d118 commit 99ee7da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/contrail_test_init.py
Expand Up @@ -837,8 +837,8 @@ def parse_yml_file(self):
self.fip_pool = test_configs.get('public_subnet')
self.fip_pool_name = test_configs.get('fip_pool_name')
self.public_tenant = test_configs.get('public_tenant_name')
self.mx_rt = test_configs.get('public_rt')
self.router_asn = test_configs.get('router_asn') or '64512'
self.mx_rt = str(test_configs.get('public_rt') or '')
self.router_asn = str(test_configs.get('router_asn') or '64512')
self.kube_config_file = test_configs.get('kube_config_file') or '/etc/kubernetes/admin.conf'
self.ext_routers = []
for rtr_name, address in test_configs.get('ext_routers', {}).iteritems():
Expand Down

0 comments on commit 99ee7da

Please sign in to comment.