A section of tor_agent in testbed.py is wrong information.
There are 'tor_http_server_port': '9010', line in testbed.py. The last word " , " is wrong. 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',
A section of tor_agent in testbed.py is wrong information. server_ port': '9010', line in testbed.py. The last word " , " is wrong. So, the syntax error is occurred.
There are 'tor_http_
#env.tor_agent = {host10:[{ :'10.204. 217.39' , IP of the tor switch port':' 9999', protocol' :'tcp', ip':'10. 204.221. 35', name':' nodec45' , :'bng-contrail- qfx51-2' , ip':'34. 34.34.34' , name':' Juniper' server_ port': '9010',
# 'tor_ip'
# 'tor_id':'1',
# 'tor_type':'ovs',
# 'tor_ovs_
# 'tor_ovs_
# 'tor_tsn_
# 'tor_tsn_
# 'tor_name'
# 'tor_tunnel_
# 'tor_vendor_
# 'tor_http_
# }]
# }
> Traceback (most recent call last): lib/python2. 7/dist- packages/ fabric/ main.py" , line 658, in main fabfile) lib/python2. 7/dist- packages/ fabric/ main.py" , line 165, in load_fabfile os.path. splitext( fabfile) [0]) utils/fabfile/ __init_ _.py", line 15, in <module> utils/fabfile/ config. py", line 22, in <module> utils/fabfile/ testbeds/ testbed. py", line 357 server_ port': '9010',
> File "/usr/local/
> docstring, callables, default = load_fabfile(
> File "/usr/local/
> imported = importer(
> File "/opt/contrail/
> from config import *
> File "/opt/contrail/
> import testbeds.testbed as testbed
> File "/opt/contrail/
> 'tor_http_