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 28, 2015
1 parent 16422a8 commit 910f3de
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 @@ -2377,6 +2377,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 910f3de

Please sign in to comment.