generator name for contrail tor agent needs follow right convention

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

Bug Description

Currently it is
a7s31-1:Compute:TorAgent-1:1
we should change it to
a7s31:Compute:contrail-tor-agent:1

The generator name is created from the params that are passed to init_generator -- you don't
have to change anything else.. can you pass the following
<hostname> as Source
'Compute' as Nodetype
'contrail-tor-agent' as ModuleId
<instance> as Instance

to the function call?

Tags: vrouter
Changed in juniperopenstack:
importance: Undecided → High
assignee: nobody → Ashok Singh (ashoksr)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.20

Review in progress for https://review.opencontrail.org/10647
Submitter: Ashok Singh (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/10648
Submitter: Ashok Singh (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/10647
Committed: http://github.org/Juniper/contrail-controller/commit/2258c4bd57c5f7efa917e0985880aa9de3e5b4c7
Submitter: Zuul
Branch: R2.20

commit 2258c4bd57c5f7efa917e0985880aa9de3e5b4c7
Author: ashoksingh <email address hidden>
Date: Thu May 21 13:17:17 2015 +0530

Send Generator Name from agent in correct format.

Send hostname instead of agent_name in InitGenerator
Also send module id as contrail-tor-agent for tor agent instead of TorAgent-<tor-id>

Change-Id: Ia5156a597e1e98044f32fee2178f79ab445ba21c
Closes-Bug: #1455618

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.20

Review in progress for https://review.opencontrail.org/10692
Submitter: Ashok Singh (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/10648
Submitter: Ashok Singh (<email address hidden>)

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

Previous commit does not handle the case of multiple tor agents running from same node. Submitted review https://review.opencontrail.org/#/c/10692/ to handle this.

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/10692
Committed: http://github.org/Juniper/contrail-controller/commit/a15257dbfcaf46131d3cfb54db6857697b5145e0
Submitter: Zuul
Branch: R2.20

commit a15257dbfcaf46131d3cfb54db6857697b5145e0
Author: ashoksingh <email address hidden>
Date: Fri May 22 12:18:05 2015 +0530

Set Discovery client name as a combination of module name and instance Id

This is required to handle the case of multiple tor-agents running from same node.

Change-Id: Idfeaa55824ff1b1b147b44c7d1f8ed3b8119384a
Closes-Bug: #1455618

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/10648
Committed: http://github.org/Juniper/contrail-controller/commit/e8be8f0b4f716cdfe3b5c2e754fd3f4ca9e1cdd0
Submitter: Zuul
Branch: master

commit e8be8f0b4f716cdfe3b5c2e754fd3f4ca9e1cdd0
Author: ashoksingh <email address hidden>
Date: Thu May 21 14:17:21 2015 +0530

Send Generator Name from agent in correct format.

Send hostname instead of agent_name in InitGenerator
Also send module id as contrail-tor-agent for tor agent instead of TorAgent-<tor-id>

Change-Id: If4de1e659518d9176058d261b89e0c271fc0aabc
Closes-Bug: #1455618

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.