VOL-2535 : Update the PON-ports on Disable olt,
Openolt agent doesn't disable the NNI port on disble olt device.
Hence NNI operstatus is not updating to UNKNOWN on Disble olt.
Change-Id: I172a1c2c0f3f27567d0740504b1fb5ece614a00d
diff --git a/adaptercore/device_handler_test.go b/adaptercore/device_handler_test.go
index dcb1f17..aacc930 100644
--- a/adaptercore/device_handler_test.go
+++ b/adaptercore/device_handler_test.go
@@ -136,8 +136,8 @@
Root: true,
ParentId: "logical_device",
Ports: []*voltha.Port{
- {PortNo: 1, Label: "pon"},
- {PortNo: 2, Label: "nni"},
+ {PortNo: 1, Label: "pon", Type: voltha.Port_PON_OLT},
+ {PortNo: 2, Label: "nni", Type: voltha.Port_ETHERNET_NNI},
},
ProxyAddress: &voltha.Device_ProxyAddress{
DeviceId: "olt",