VOL-4447: Alloc Cfg Complete Indication and Gem Cfg Complete Indication
should wait only when ONU is active.
- In case of GPON tech, Gem Cfg Complete Indication should wait only when
ONU is in ACTIVE state
- In case of all PON tech Alloc Cfg Complete Indication should wait only
when ONU is in ACTIVE state
- Enhanced some logs to dump BAL error text in case of failure
- Since the Alloc/Gem Cfg Complete Indications arrive only when ONU is
in ACTIVE state, the SCALE_AND_PERF compile time flag is removed around
this code section where wait is required on Cfg Complete Indication
as in openolt-scale test runs the ONU never goes to ACTIVE state
- Enhanced/Fixed unit tests
Change-Id: I572e41f18e4342ce07e865e0bbea2d42f5edb8db
diff --git a/agent/src/core_utils.h b/agent/src/core_utils.h
index e9ad817..7ff318e 100644
--- a/agent/src/core_utils.h
+++ b/agent/src/core_utils.h
@@ -88,7 +88,7 @@
int get_status_bcm_cli_quit(void);
bcmos_errno bcmolt_apiend_cli_init();
bcmos_errno get_pon_interface_status(bcmolt_interface pon_ni, bcmolt_interface_state *state, bcmolt_status *los_status);
-bcmos_errno get_onu_status(bcmolt_interface pon_ni, int onu_id, bcmolt_onu_state *onu_state);
+bcmos_errno get_onu_state(bcmolt_interface pon_ni, int onu_id, bcmolt_onu_state *onu_state);
bcmos_errno bcmolt_cfg_get_mult_retry(bcmolt_oltid olt, bcmolt_cfg *cfg);
unsigned NumNniIf_();
unsigned NumPonIf_();