balapi / netconf-polt

netconf server for use with BAL API
Apache License 2.0
6 stars 3 forks source link

ONU is not activating after setting xgpon alarm status #20

Open AnithaAniP opened 1 year ago

AnithaAniP commented 1 year ago

we want to get los of signal with pon and onu id during pon plug out or ONU reboot. For that, we tried to enable alarm_state under onu id.

/api/set object=onu pon_ni=0 onu_id=0 itu={serial_number={vendor_id=56895545 vendor_specific=7cabe7a3} auto_learning=yes xgpon={ranging_burst_profile=0 data_burst_profile=1}} /api/oper object=onu sub=set_onu_state pon_ni=0 onu_id=0 onu_state=active /api/oper object=onu sub=set_onu_state pon_ni=0 onu_id=0 onu_state=enable /api/oper object=onu sub=set_onu_state pon_ni=0 onu_id=0 onu_state=active_standby /api/set object=onu pon_ni=0 onu_id=0 itu={xgpon={alarm_state={losi=on lobi=off lopci=off lopci_mic_error=off looci=off tiwi=off dowi=off sufi=off sfi=off sdi=off dfi=off dgi=off pqsi=off loai=off loki=off}}} /api/oper object=onu sub=set_onu_state pon_ni=0 onu_id=0 onu_state=active

After setting this, we are getting ONU deactivation. Could you please what shall be done to correct this.