Skip to content

Commit

Permalink
Add contrail-tor-agent to ModuleIds in vns.sandesh
Browse files Browse the repository at this point in the history
REST API /analytics/send-tracebuffer/<source>/<module>/<instance_id>/<name>
fails if the contrail-tor-agent is specified for <module>.
Check for <module> fails in contrail-analytics-api as contrail-tor-agent
is not added in the ModuleIds in vns.sandesh

Change-Id: I367e3b8ba482cc3949301139064d81cf2d107827
Closes-Bug: #1461644
(cherry picked from commit dcdfccb)
  • Loading branch information
Sundaresan Rajangam committed Jun 4, 2015
1 parent df43398 commit 0e109d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sandesh/common/vns.sandesh
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ const map<string, Module> ModuleIds = {
MODULE_CONTRAIL_SNMP_COLLECTOR_NAME : Module.CONTRAIL_SNMP_COLLECTOR,
MODULE_CONTRAIL_TOPOLOGY_NAME : Module.CONTRAIL_TOPOLOGY,
MODULE_SERVER_INVENTORY_AGENT_NAME : Module.INVENTORY_AGENT,
MODULE_TOR_AGENT_NAME : Module.TOR_AGENT
}

// Supervisor names
Expand Down

0 comments on commit 0e109d9

Please sign in to comment.