ignore omci MibUploadNextResponse messages with table attributes (based on omci-lib update with VOL-4473)
Signed-off-by: mpagenko <michael.pagenkopf@adtran.com>
Change-Id: I78859c7d2b3187a13d2613b33072bfd347f210c5
diff --git a/vendor/github.com/opencord/omci-lib-go/v2/VERSION b/vendor/github.com/opencord/omci-lib-go/v2/VERSION
index eca07e4..ac2cdeb 100644
--- a/vendor/github.com/opencord/omci-lib-go/v2/VERSION
+++ b/vendor/github.com/opencord/omci-lib-go/v2/VERSION
@@ -1 +1 @@
-2.1.2
+2.1.3
diff --git a/vendor/github.com/opencord/omci-lib-go/v2/generated/attribute.go b/vendor/github.com/opencord/omci-lib-go/v2/generated/attribute.go
index de20130..4956e89 100644
--- a/vendor/github.com/opencord/omci-lib-go/v2/generated/attribute.go
+++ b/vendor/github.com/opencord/omci-lib-go/v2/generated/attribute.go
@@ -377,7 +377,8 @@
// either Read and/or Write, never Set-by-Create
switch msgType {
default:
- return nil, fmt.Errorf("unsupported Message Type '%v' for table serialization", msgType)
+ return nil, fmt.Errorf("unsupported Message Type '%v/0x%02x' for table decode",
+ MsgType(msgType&MsgTypeMask), msgType)
case byte(Get) | AK: // Get Response
// Size
@@ -434,7 +435,8 @@
// either Read and/or Write, never Set-by-Create
switch msgType {
default:
- return 0, fmt.Errorf("unsupported Message Type '%v' for table serialization", msgType)
+ return 0, fmt.Errorf("unsupported Message Type '%v/0x%02x' for table serialization",
+ MsgType(msgType&MsgTypeMask), msgType)
case byte(Get) | AK: // Get Response
// Size
diff --git a/vendor/github.com/opencord/omci-lib-go/v2/generated/medef.go b/vendor/github.com/opencord/omci-lib-go/v2/generated/medef.go
index 6d2c2dd..4b2061a 100644
--- a/vendor/github.com/opencord/omci-lib-go/v2/generated/medef.go
+++ b/vendor/github.com/opencord/omci-lib-go/v2/generated/medef.go
@@ -117,7 +117,8 @@
if attrDef.IsTableAttribute() {
switch msgType {
default:
- return nil, fmt.Errorf("unsupported Message Type '%v' for table serialization", msgType)
+ return nil, fmt.Errorf("unsupported Message Type '%v/0x%02x' for table decode",
+ MsgType(msgType&MsgTypeMask), msgType)
case byte(Get) | AK: // Get Response
attrMap[name] = value
diff --git a/vendor/modules.txt b/vendor/modules.txt
index d8288c7..995062c 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -121,7 +121,7 @@
# github.com/looplab/fsm v0.2.0
## explicit
github.com/looplab/fsm
-# github.com/opencord/omci-lib-go/v2 v2.1.2
+# github.com/opencord/omci-lib-go/v2 v2.1.3
## explicit
github.com/opencord/omci-lib-go/v2
github.com/opencord/omci-lib-go/v2/generated