[VOL-4927] omci-lib-go: ONT-G ME alarms are not supported
Change-Id: I5e3916b9ca13e49a8176b7c0a097cae12dc5b1f9
diff --git a/VERSION b/VERSION
index 834f262..dbe5900 100755
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.8.0
+2.8.1
diff --git a/go.mod b/go.mod
index 827b28c..221853e 100644
--- a/go.mod
+++ b/go.mod
@@ -15,7 +15,7 @@
github.com/golang/protobuf v1.5.2
github.com/google/gopacket v1.1.17
github.com/looplab/fsm v0.2.0
- github.com/opencord/omci-lib-go/v2 v2.2.1
+ github.com/opencord/omci-lib-go/v2 v2.2.2
github.com/opencord/voltha-lib-go/v7 v7.3.2
github.com/opencord/voltha-protos/v5 v5.3.8
github.com/stretchr/testify v1.7.0
diff --git a/go.sum b/go.sum
index 357ac8e..242c27c 100644
--- a/go.sum
+++ b/go.sum
@@ -205,8 +205,8 @@
github.com/onsi/gomega v1.10.3/go.mod h1:V9xEwhxec5O8UDM77eCW8vLymOMltsqPVYWrpDsH8xc=
github.com/onsi/gomega v1.14.0 h1:ep6kpPVwmr/nTbklSx2nrLNSIO62DoYAhnPNIMhK8gI=
github.com/onsi/gomega v1.14.0/go.mod h1:cIuvLEne0aoVhAgh/O6ac0Op8WWw9H6eYCriF+tEHG0=
-github.com/opencord/omci-lib-go/v2 v2.2.1 h1:Eai3feaixdQ7ZT8zgqIa94QlJ4tfQCgL0sTM8Q6/rkI=
-github.com/opencord/omci-lib-go/v2 v2.2.1/go.mod h1:o1S/jhDLHNikFU7uG2TR5UOM5KmKlqwLlVncXi0FBYQ=
+github.com/opencord/omci-lib-go/v2 v2.2.2 h1:0GV2AS2pZlEEDCFyjImbC33aSEJ+1vCXFCSZDVfv0F8=
+github.com/opencord/omci-lib-go/v2 v2.2.2/go.mod h1:o1S/jhDLHNikFU7uG2TR5UOM5KmKlqwLlVncXi0FBYQ=
github.com/opencord/voltha-lib-go/v7 v7.3.2 h1:mvQE+HTf3sLXIMulkDQJbbR67lIaV/Y6IIj1co0vrhU=
github.com/opencord/voltha-lib-go/v7 v7.3.2/go.mod h1:3XnWQBHALGZTm5n3j401zKGG9aL2UqSU3/owGwNmcxM=
github.com/opencord/voltha-protos/v5 v5.3.8 h1:tL8I1wtOfuMnKMQvgN1Ul+8YL/LTBm0PpNuxU1usGDw=
diff --git a/vendor/github.com/opencord/omci-lib-go/v2/VERSION b/vendor/github.com/opencord/omci-lib-go/v2/VERSION
index c043eea..b1b25a5 100644
--- a/vendor/github.com/opencord/omci-lib-go/v2/VERSION
+++ b/vendor/github.com/opencord/omci-lib-go/v2/VERSION
@@ -1 +1 @@
-2.2.1
+2.2.2
diff --git a/vendor/github.com/opencord/omci-lib-go/v2/generated/onu-g.go b/vendor/github.com/opencord/omci-lib-go/v2/generated/onu-g.go
index cf259ae..55633f6 100644
--- a/vendor/github.com/opencord/omci-lib-go/v2/generated/onu-g.go
+++ b/vendor/github.com/opencord/omci-lib-go/v2/generated/onu-g.go
@@ -194,15 +194,33 @@
5: ByteField(OnuG_Deprecated, UnsignedIntegerAttributeType, 0x0800, 0, mapset.NewSetWith(Read), false, true, true, 5),
6: ByteField(OnuG_BatteryBackup, EnumerationAttributeType, 0x0400, 0, mapset.NewSetWith(Read, Write), false, false, false, 6),
7: ByteField(OnuG_AdministrativeState, EnumerationAttributeType, 0x0200, 0, mapset.NewSetWith(Read, Write), false, false, false, 7),
- 8: ByteField(OnuG_OperationalState, EnumerationAttributeType, 0x0100, 0, mapset.NewSetWith(Read), false, true, false, 8),
+ 8: ByteField(OnuG_OperationalState, EnumerationAttributeType, 0x0100, 0, mapset.NewSetWith(Read), true, true, false, 8),
9: ByteField(OnuG_OnuSurvivalTime, UnsignedIntegerAttributeType, 0x0080, 0, mapset.NewSetWith(Read), false, true, false, 9),
- 10: MultiByteField(OnuG_LogicalOnuId, OctetsAttributeType, 0x0040, 24, toOctets("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"), mapset.NewSetWith(Read), false, true, false, 10),
- 11: MultiByteField(OnuG_LogicalPassword, OctetsAttributeType, 0x0020, 12, toOctets("AAAAAAAAAAAAAAAA"), mapset.NewSetWith(Read), false, true, false, 11),
+ 10: MultiByteField(OnuG_LogicalOnuId, OctetsAttributeType, 0x0040, 24, toOctets("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"), mapset.NewSetWith(Read), true, true, false, 10),
+ 11: MultiByteField(OnuG_LogicalPassword, OctetsAttributeType, 0x0020, 12, toOctets("AAAAAAAAAAAAAAAA"), mapset.NewSetWith(Read), true, true, false, 11),
12: ByteField(OnuG_CredentialsStatus, EnumerationAttributeType, 0x0010, 0, mapset.NewSetWith(Read, Write), false, true, false, 12),
13: Uint16Field(OnuG_ExtendedTcLayerOptions, BitFieldAttributeType, 0x0008, 0, mapset.NewSetWith(Read), false, true, false, 13),
},
Access: CreatedByOnu,
Support: UnknownSupport,
+ Alarms: AlarmMap{
+ 0: "Equipment alarm",
+ 1: "Powering alarm",
+ 2: "Battery missing",
+ 3: "Battery failure",
+ 4: "Battery low",
+ 5: "Physical intrusion",
+ 6: "ONU self-test failure",
+ 7: "Dying gasp",
+ 8: "Temperature yellow",
+ 9: "Temperature red",
+ 10: "Voltage yellow",
+ 11: "Voltage red",
+ 12: "ONU manual power off",
+ 13: "Inv-Image",
+ 14: "PSE overload yellow",
+ 15: "PSE overload red",
+ },
}
}
diff --git a/vendor/github.com/opencord/omci-lib-go/v2/generated/version.go b/vendor/github.com/opencord/omci-lib-go/v2/generated/version.go
index 185e191..df6ae99 100644
--- a/vendor/github.com/opencord/omci-lib-go/v2/generated/version.go
+++ b/vendor/github.com/opencord/omci-lib-go/v2/generated/version.go
@@ -46,8 +46,8 @@
Versions = append(Versions,
VersionInfo{
Name: "parser",
- Version: "0.16.0",
- CreateTime: 1643293483.072271,
+ Version: "0.16.1",
+ CreateTime: 1674166144.2428687,
ItuDocName: "T-REC-G.988-202003-I!Amd3!MSW-E.docx",
SHA256: "084f5265bc090ca882fe45f6844d1ce368c218e52c77795060b7643240885469",
})
@@ -55,8 +55,8 @@
Versions = append(Versions,
VersionInfo{
Name: "pre-parser",
- Version: "0.15.12",
- CreateTime: 1628800053.665055,
+ Version: "0.16.1",
+ CreateTime: 1674166096.8488169,
ItuDocName: "T-REC-G.988-202003-I!Amd3!MSW-E.docx",
SHA256: "084f5265bc090ca882fe45f6844d1ce368c218e52c77795060b7643240885469",
})
@@ -64,8 +64,8 @@
Versions = append(Versions,
VersionInfo{
Name: "code-generator",
- Version: "0.16.0",
- CreateTime: 1643293492.5641377,
+ Version: "0.16.1",
+ CreateTime: 1674166174.5876794,
ItuDocName: "T-REC-G.988-202003-I!Amd3!MSW-E.docx",
SHA256: "084f5265bc090ca882fe45f6844d1ce368c218e52c77795060b7643240885469",
})
diff --git a/vendor/modules.txt b/vendor/modules.txt
index b0a9d63..753173b 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -145,7 +145,7 @@
# github.com/looplab/fsm v0.2.0
## explicit
github.com/looplab/fsm
-# github.com/opencord/omci-lib-go/v2 v2.2.1
+# github.com/opencord/omci-lib-go/v2 v2.2.2
## explicit
github.com/opencord/omci-lib-go/v2
github.com/opencord/omci-lib-go/v2/generated