VOL-3896: ONU fails to activate again if ONU is deleted after OLT disable
- When OLT is disabled the local cache of child devices are cleared in openolt adapter.
If ONU delete were triggered post OLT disable, the openolt adapter does not
have relevant information (esp. ONU serial number) in Child_device_lost API
call to pass down to OLT agent to delete the ONU context. The local cache too is void
of this information as it was cleared on OLT disable.
A possible fix is to pass down the entire ONU Device struct in Child_device_lost
API which contains all the relevant information to clear the ONU context on the OLT.
Change-Id: I76e28a0a46c1c82b25c859160466abfff693ed09
diff --git a/go.mod b/go.mod
index 088297b..dfdb9f5 100644
--- a/go.mod
+++ b/go.mod
@@ -7,7 +7,7 @@
github.com/gogo/protobuf v1.3.1
github.com/golang/protobuf v1.3.2
github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4
- github.com/opencord/voltha-lib-go/v4 v4.0.12
+ github.com/opencord/voltha-lib-go/v4 v4.1.0
github.com/opencord/voltha-protos/v4 v4.0.14
go.etcd.io/etcd v0.0.0-20190930204107-236ac2a90522
google.golang.org/grpc v1.25.1