[2.1-Build 39] example testbed.py is wrong information

Bug #1427996 reported by Daisuke Nakajima
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
Low
Hari Prasad Killi

Bug Description

A section of tor_agent in testbed.py is wrong information.
There are 'tor_vendor_name':'Juniper' line in testbed.py. The last word " , " is leaked. So, the syntax error is occurred.

#env.tor_agent = {host10:[{
# 'tor_ip':'10.204.217.39', IP of the tor switch
# 'tor_id':'1',
# 'tor_type':'ovs',
# 'tor_ovs_port':'9999',
# 'tor_ovs_protocol':'tcp',
# 'tor_tsn_ip':'10.204.221.35',
# 'tor_tsn_name':'nodec45',
# 'tor_name':'bng-contrail-qfx51-2',
# 'tor_tunnel_ip':'34.34.34.34',
# 'tor_vendor_name':'Juniper'
# 'tor_http_server_port': '9010',
# }]
# }

> Traceback (most recent call last):
> File "/usr/local/lib/python2.7/dist-packages/fabric/main.py", line 658, in main
> docstring, callables, default = load_fabfile(fabfile)
> File "/usr/local/lib/python2.7/dist-packages/fabric/main.py", line 165, in load_fabfile
> imported = importer(os.path.splitext(fabfile)[0])
> File "/opt/contrail/utils/fabfile/__init__.py", line 15, in <module>
> from config import *
> File "/opt/contrail/utils/fabfile/config.py", line 22, in <module>
> import testbeds.testbed as testbed
> File "/opt/contrail/utils/fabfile/testbeds/testbed.py", line 357
> 'tor_http_server_port': '9010',

information type: Proprietary → Public
description: updated
Changed in juniperopenstack:
importance: Undecided → Low
assignee: nobody → Hari Prasad Killi (haripk)
Changed in juniperopenstack:
status: New → In Progress
Changed in juniperopenstack:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.