[VOL-1686][BAL3.0 Brigade]NNI activation failure
Change-Id: I97ef794eb898f5856b95e7321ed46f487764bfc7
diff --git a/agent/common/main.cc b/agent/common/main.cc
index 0454337..47fd117 100644
--- a/agent/common/main.cc
+++ b/agent/common/main.cc
@@ -50,16 +50,22 @@
for (int i = 0; i < NumPonIf_(); i++) {
status = EnablePonIf_(i);
if (!status.ok()) {
- // FIXME - raise alarm to report error in enabling PON
+ // raise alarm to report error in enabling PON
+ pushOltOperInd(i, "pon", "down");
}
+ else
+ pushOltOperInd(i, "pon", "up");
}
sleep(2);
// Enable all NNI interfaces.
for (int i = 0; i < NumNniIf_(); i++) {
status = EnableUplinkIf_(i);
if (!status.ok()) {
- // FIXME - raise alarm to report error in enabling PON
+ // raise alarm to report error in enabling PON
+ pushOltOperInd(i, "nni", "down");
}
+ else
+ pushOltOperInd(i, "nni", "up");
}
RunServer();