Skip to content

Commit

Permalink
Closes-Bug: #1459718
Browse files Browse the repository at this point in the history
ToR Service Node Status shows as "Down" incorrectly if any of ToR agent
on the same host is down
So for time being, excluding the contrail-tor-agent generators while
deriving the node state based on generators information.

Change-Id: Idc10f6dc38a94edd2c912a7ce0d798b2df124624
  • Loading branch information
knagakiran committed May 29, 2015
1 parent c65e905 commit a21f3e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions webroot/monitor/infra/common/ui/js/monitor_infra_utils.js
Expand Up @@ -2464,6 +2464,10 @@ function getGeneratorsForInfraNodes(deferredObj,dataSource,dsName) {
$.each(items,function(i,d){
if(moduleIds.indexOf(d['moduleId']) == -1){
moduleIds.push(d['moduleId']);
//Exclude getting contrail-tor-agent generators
if(d['moduleId'] == 'contrail-tor-agent') {
return;
}
if(kfiltString != '')
kfiltString += ',';
kfiltString += '*:' + d['moduleId'] + '*';
Expand Down

0 comments on commit a21f3e1

Please sign in to comment.