VOL-1447: Changes in OpenOLT driver for creating the Traffic Schedulers and
Queues as per the TechProfile configuration
Change-Id: I3a51ce53c8f9bd369b89b5f1f55f74f73893d65e
diff --git a/agent/src/indications.cc b/agent/src/indications.cc
index ee35193..30a04ab 100644
--- a/agent/src/indications.cc
+++ b/agent/src/indications.cc
@@ -37,6 +37,7 @@
bool subscribed = false;
+uint32_t nni_intf_id = 0;
bcmos_errno OmciIndication(bcmbal_obj *obj);
@@ -173,6 +174,9 @@
if (bcm_if_oper_ind->data.new_oper_status == BCMBAL_STATUS_UP) {
intf_oper_ind->set_oper_state("up");
+ if (bcm_if_oper_ind->key.intf_type == BCMBAL_INTF_TYPE_NNI) {
+ nni_intf_id = bcm_if_oper_ind->key.intf_id;
+ }
} else {
intf_oper_ind->set_oper_state("down");
}