[VOL-1635] [BAL3.0 Bridade] OLT Activation [VOL-1636] [BAL3.0 Bridade] ONU Discovery, This OpenOLT agent supports the BAL V3.0.3.3 SDK. OLT/ONU activation from voltha-1.7 is successful
Change-Id: I860b31317172139cd4c4244a93e79e0c3ce4fdf8
diff --git a/agent/common/main.cc b/agent/common/main.cc
index b211cfb..0454337 100644
--- a/agent/common/main.cc
+++ b/agent/common/main.cc
@@ -42,6 +42,26 @@
}
}
+ ProbeDeviceCapabilities_();
+ sleep(2);
+ ProbePonIfTechnology_();
+ sleep(2);
+ // Enable all PON interfaces.
+ for (int i = 0; i < NumPonIf_(); i++) {
+ status = EnablePonIf_(i);
+ if (!status.ok()) {
+ // FIXME - raise alarm to report error in enabling PON
+ }
+ }
+ 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
+ }
+ }
+
RunServer();
return 0;