adding a new tor-agent runs through provisioning of existing tor-agents also

Bug #1454093 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
High
Vedamurthy Joshi
Trunk
Fix Committed
High
Vedamurthy Joshi

Bug Description

R2.20 13 Ubuntu 14.04 juno

While this issue wont break any stuff, logging it since it is not required to be done the current way.

I had 127 tor-agents. I add a new tor-agent dict in testbed.py and run fab add_tor_agent task
It runs through provisioning of existing 127 tor-agents and then add this new one

We need to be able to add this just 1 agent without really changing any of rest of the configs

Tags: provisioning
Revision history for this message
Ashok Singh (ashoksr) wrote :
Revision history for this message
Ashok Singh (ashoksr) wrote :
Revision history for this message
Ashok Singh (ashoksr) wrote :

Reviewed: https://review.opencontrail.org/11273
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/24c762271b25a76931657c8e919f9ce03fe9c53f
Submitter: Zuul
Branch: master

commit 24c762271b25a76931657c8e919f9ce03fe9c53f
Author: ashoksingh <email address hidden>
Date: Thu Jun 4 15:52:07 2015 +0530

Add new fab tasks for addition and removal of tor-agents

Added the following new fab tasks for delete of tor-agent
1. delete_tor_agent : Removes all the tor-agents in all the nodes as specified in testbed file.
2. delete_tor_agent_node: Removes all the tor-agents in the specified node. Details of tor-agent are picked from testbed file.
3. delete_tor_agent_by_id: Removes the specified tor-agent (identified by tor-id) from the specified node. Details of tor-agent are picked from testbed file.
4. delete_tor_agent_by_index: Removes the specified tor-agent (identified by index/position in testbed file) from the specified node. Details of tor-agent are picked from testbed file.
5. delete_tor_agent_by_index_range: Removes a group of tor-agents (identified by indices of testbed file)from the specified node. Details of tor-agent are picked from testbed file.

Added the following new fab tasks for add of tor-agent

1. add_tor_agent_by_id: Adds the specified tor-agent (identified by tor-id) to the specified node. Details of tor-agent are picked from testbed file.
2. add_tor_agent_by_index:Adds the specified tor-agent (identified by index/position in testbed file) to the specified node. Details of tor-agent are picked from testbed file.
3. add_tor_agent_by_index_range: Removes a group of tor-agents (identified by indices of testbed file) to the specified node. Details of tor-agent are picked from testbed file.

Change-Id: I13ea46ff445d14280799be5d98677eaeff0f996f
Closes-Bug: 1454083, 1454093

Revision history for this message
Ashok Singh (ashoksr) wrote :

Reviewed: https://review.opencontrail.org/11236
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/e327bcce8471792c755ff6d6cd2be0c67a27b38b
Submitter: Zuul
Branch: R2.20

commit e327bcce8471792c755ff6d6cd2be0c67a27b38b
Author: ashoksingh <email address hidden>
Date: Wed Jun 3 18:19:24 2015 +0530

Add new fab tasks for addition and removal of tor-agents

Added the following new fab tasks for delete of tor-agent
1. delete_tor_agent : Removes all the tor-agents in all the nodes as specified in testbed file.
2. delete_tor_agent_node: Removes all the tor-agents in the specified node. Details of tor-agent are picked from testbed file.
3. delete_tor_agent_by_id: Removes the specified tor-agent (identified by tor-id) from the specified node. Details of tor-agent are picked from testbed file.
4. delete_tor_agent_by_index: Removes the specified tor-agent (identified by index/position in testbed file) from the specified node. Details of tor-agent are picked from testbed file.
5. delete_tor_agent_by_index_range: Removes a group of tor-agents (identified by indices of testbed file)from the specified node. Details of tor-agent are picked from testbed file.

Added the following new fab tasks for add of tor-agent

1. add_tor_agent_by_id: Adds the specified tor-agent (identified by tor-id) to the specified node. Details of tor-agent are picked from testbed file.
2. add_tor_agent_by_index:Adds the specified tor-agent (identified by index/position in testbed file) to the specified node. Details of tor-agent are picked from testbed file.
3. add_tor_agent_by_index_range: Removes a group of tor-agents (identified by indices of testbed file) to the specified node. Details of tor-agent are picked from testbed file.

Change-Id: I4a01f3c55fa40e66f0f7433918cb19567c2890e9
Closes-Bug: 1454083, 1454093

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.