add_tor_agent_by_id reports KeyError: 'tor_id'
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.20 |
Fix Committed
|
Medium
|
chhandak | |||
Trunk |
Fix Committed
|
Medium
|
chhandak |
Bug Description
When entered fab add_tor_
File "/opt/contrail/
> add_tor_agent_by_id
> tor_id= int(toragent_
> KeyError: 'tor_id'
He has 'tor_agent_id' in the testbed file. Because they found that parameter in the "/opt/contrail/
Can you please confirm which one is correct for this case?
Customer would like to understand correct parameter of ToR Agent in testbed.py?
Changed in juniperopenstack: | |
importance: | Undecided → Medium |
tags: | added: bms provisioning |
information type: | Proprietary → Public |
Changed in juniperopenstack: | |
assignee: | nobody → chhandak (chhandak) |
tor_id parameter here. Sample working configuration given below. Will change the example testbed file as well.
env.tor_agent = {host4:
[{
'tor_ip' :'192.168. 11.1',
'tor_id' :'1',
'tor_type' :'ovs',
'tor_ovs_ port':' 4321',
'tor_ovs_ protocol' :'pssl' ,
'tor_tsn_ ip':'192. 168.22. 4',
'tor_tsn_ name':' nodei9' ,
'tor_name' :'bng-contrail- qfx51-2' ,
'tor_tunnel_ ip':'34. 34.34.34' ,
'tor_http_ server_ port': '5678',
'tor_vendor_ name':' Juniper'
}
]
}