[VOL-2452] Using the latest omci-sim to enable MIB templating and
correctly report port status
Change-Id: I291c0fe01416c1541ef0f55779a77412a2271ea9
diff --git a/vendor/github.com/opencord/omci-sim/omci_common.go b/vendor/github.com/opencord/omci-sim/omci_common.go
index c878780..a140141 100644
--- a/vendor/github.com/opencord/omci-sim/omci_common.go
+++ b/vendor/github.com/opencord/omci-sim/omci_common.go
@@ -49,10 +49,26 @@
pkt, _ = GetANIGAttributes(&pos, pkt, content)
return pkt
+ case SoftwareImage:
+ pos := uint(11)
+ pkt, _ = GetSoftwareImageAttributes(&pos, pkt, content)
+ return pkt
+
+ case ONUG:
+ pos := uint(11)
+ pkt, _ = GetOnuGAttributes(&pos, pkt, content)
+ return pkt
+
+ case ONU2G:
+ pos := uint(11)
+ pkt, _ = GetOnu2GAttributes(&pos, pkt, content)
+ return pkt
+
case EthernetPMHistoryData:
pos := uint(11)
pkt, _ = GetEthernetPMHistoryDataAttributes(&pos, pkt, content)
return pkt
+
default:
// For unimplemented MEs, just fill in the attribute mask and return 0 values for the requested attributes
// TODO implement Get for unimplemented MEs as well