Skip to content

Commit

Permalink
Merge "Set description in NodeStatusUVE while setting status as Non-F…
Browse files Browse the repository at this point in the history
…unctional"
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Apr 29, 2015
2 parents 446458b + 1af8667 commit 67e7c94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vnsw/agent/uve/agent_uve_base.cc
Expand Up @@ -167,6 +167,9 @@ void AgentUveBase::VrouterAgentProcessState
}
if ((num_control_nodes == 0) || (num_control_nodes == down_control_nodes)) {
pstate = ProcessState::NON_FUNCTIONAL;
if ((num_control_nodes == 0) && message.empty()) {
message = "No control-nodes configured";
}
} else {
pstate = ProcessState::FUNCTIONAL;
}
Expand Down

0 comments on commit 67e7c94

Please sign in to comment.