[VOL-4397] Updating omci-lib-go to 2.1.2
Change-Id: I702e34440c96ae65d3cdf3f5f63a08b977ac1bc0
diff --git a/internal/common/omci/alarms.go b/internal/common/omci/alarms.go
index 5d8144b..7f7c5ab 100644
--- a/internal/common/omci/alarms.go
+++ b/internal/common/omci/alarms.go
@@ -20,8 +20,8 @@
"errors"
"fmt"
"github.com/google/gopacket"
- "github.com/opencord/omci-lib-go"
- me "github.com/opencord/omci-lib-go/generated"
+ "github.com/opencord/omci-lib-go/v2"
+ me "github.com/opencord/omci-lib-go/v2/generated"
log "github.com/sirupsen/logrus"
)
diff --git a/internal/common/omci/create.go b/internal/common/omci/create.go
index d3c88b3..37a3308 100644
--- a/internal/common/omci/create.go
+++ b/internal/common/omci/create.go
@@ -20,8 +20,8 @@
"encoding/hex"
"errors"
"github.com/google/gopacket"
- "github.com/opencord/omci-lib-go"
- me "github.com/opencord/omci-lib-go/generated"
+ "github.com/opencord/omci-lib-go/v2"
+ me "github.com/opencord/omci-lib-go/v2/generated"
log "github.com/sirupsen/logrus"
"strconv"
)
diff --git a/internal/common/omci/create_test.go b/internal/common/omci/create_test.go
index 33d3a3e..93524b3 100644
--- a/internal/common/omci/create_test.go
+++ b/internal/common/omci/create_test.go
@@ -18,8 +18,8 @@
import (
"github.com/google/gopacket"
- "github.com/opencord/omci-lib-go"
- me "github.com/opencord/omci-lib-go/generated"
+ "github.com/opencord/omci-lib-go/v2"
+ me "github.com/opencord/omci-lib-go/v2/generated"
"gotest.tools/assert"
"testing"
)
diff --git a/internal/common/omci/delete.go b/internal/common/omci/delete.go
index c3b7176..3a0f2d8 100644
--- a/internal/common/omci/delete.go
+++ b/internal/common/omci/delete.go
@@ -19,8 +19,8 @@
import (
"errors"
"github.com/google/gopacket"
- "github.com/opencord/omci-lib-go"
- me "github.com/opencord/omci-lib-go/generated"
+ "github.com/opencord/omci-lib-go/v2"
+ me "github.com/opencord/omci-lib-go/v2/generated"
log "github.com/sirupsen/logrus"
)
diff --git a/internal/common/omci/get.go b/internal/common/omci/get.go
index 0cdb2c4..a8fc6d7 100644
--- a/internal/common/omci/get.go
+++ b/internal/common/omci/get.go
@@ -21,8 +21,8 @@
"errors"
"fmt"
"github.com/google/gopacket"
- "github.com/opencord/omci-lib-go"
- me "github.com/opencord/omci-lib-go/generated"
+ "github.com/opencord/omci-lib-go/v2"
+ me "github.com/opencord/omci-lib-go/v2/generated"
"github.com/opencord/voltha-protos/v5/go/openolt"
log "github.com/sirupsen/logrus"
"math/rand"
diff --git a/internal/common/omci/get_test.go b/internal/common/omci/get_test.go
index cffb80d..7a9c21f 100644
--- a/internal/common/omci/get_test.go
+++ b/internal/common/omci/get_test.go
@@ -20,8 +20,8 @@
"encoding/hex"
"fmt"
"github.com/google/gopacket"
- "github.com/opencord/omci-lib-go"
- me "github.com/opencord/omci-lib-go/generated"
+ "github.com/opencord/omci-lib-go/v2"
+ me "github.com/opencord/omci-lib-go/v2/generated"
"github.com/opencord/voltha-protos/v5/go/openolt"
"gotest.tools/assert"
"reflect"
diff --git a/internal/common/omci/image.go b/internal/common/omci/image.go
index 8480ecb..f2733cd 100644
--- a/internal/common/omci/image.go
+++ b/internal/common/omci/image.go
@@ -20,8 +20,8 @@
"encoding/hex"
"errors"
"github.com/google/gopacket"
- "github.com/opencord/omci-lib-go"
- me "github.com/opencord/omci-lib-go/generated"
+ "github.com/opencord/omci-lib-go/v2"
+ me "github.com/opencord/omci-lib-go/v2/generated"
log "github.com/sirupsen/logrus"
"math"
"strconv"
diff --git a/internal/common/omci/image_test.go b/internal/common/omci/image_test.go
index ad07eac..b099675 100644
--- a/internal/common/omci/image_test.go
+++ b/internal/common/omci/image_test.go
@@ -18,8 +18,8 @@
import (
"github.com/google/gopacket"
- "github.com/opencord/omci-lib-go"
- me "github.com/opencord/omci-lib-go/generated"
+ "github.com/opencord/omci-lib-go/v2"
+ me "github.com/opencord/omci-lib-go/v2/generated"
"gotest.tools/assert"
"testing"
)
diff --git a/internal/common/omci/mib_test.go b/internal/common/omci/mib_test.go
index 139e3e1..5c0cfc8 100644
--- a/internal/common/omci/mib_test.go
+++ b/internal/common/omci/mib_test.go
@@ -18,8 +18,8 @@
import (
"github.com/google/gopacket"
- "github.com/opencord/omci-lib-go"
- me "github.com/opencord/omci-lib-go/generated"
+ "github.com/opencord/omci-lib-go/v2"
+ me "github.com/opencord/omci-lib-go/v2/generated"
"gotest.tools/assert"
"testing"
)
diff --git a/internal/common/omci/mibpackets.go b/internal/common/omci/mibpackets.go
index 8db0709..8b7afcb 100755
--- a/internal/common/omci/mibpackets.go
+++ b/internal/common/omci/mibpackets.go
@@ -20,8 +20,8 @@
"errors"
"fmt"
"github.com/google/gopacket"
- "github.com/opencord/omci-lib-go"
- me "github.com/opencord/omci-lib-go/generated"
+ "github.com/opencord/omci-lib-go/v2"
+ me "github.com/opencord/omci-lib-go/v2/generated"
log "github.com/sirupsen/logrus"
)
diff --git a/internal/common/omci/omci_base.go b/internal/common/omci/omci_base.go
index c5caf41..aa3a611 100644
--- a/internal/common/omci/omci_base.go
+++ b/internal/common/omci/omci_base.go
@@ -22,7 +22,7 @@
"errors"
"fmt"
"github.com/google/gopacket"
- "github.com/opencord/omci-lib-go"
+ "github.com/opencord/omci-lib-go/v2"
log "github.com/sirupsen/logrus"
)
diff --git a/internal/common/omci/onu_mib_db.go b/internal/common/omci/onu_mib_db.go
index 0b73519..2a41c81 100644
--- a/internal/common/omci/onu_mib_db.go
+++ b/internal/common/omci/onu_mib_db.go
@@ -20,7 +20,7 @@
"bytes"
"encoding/binary"
"encoding/hex"
- me "github.com/opencord/omci-lib-go/generated"
+ me "github.com/opencord/omci-lib-go/v2/generated"
)
type MibDbEntry struct {
diff --git a/internal/common/omci/onu_mib_db_test.go b/internal/common/omci/onu_mib_db_test.go
index efb6a1b..aefbae5 100644
--- a/internal/common/omci/onu_mib_db_test.go
+++ b/internal/common/omci/onu_mib_db_test.go
@@ -17,8 +17,8 @@
package omci
import (
- "github.com/opencord/omci-lib-go"
- me "github.com/opencord/omci-lib-go/generated"
+ "github.com/opencord/omci-lib-go/v2"
+ me "github.com/opencord/omci-lib-go/v2/generated"
"github.com/stretchr/testify/assert"
"testing"
)
diff --git a/internal/common/omci/reboot.go b/internal/common/omci/reboot.go
index 0f68e02..b5e1fa0 100644
--- a/internal/common/omci/reboot.go
+++ b/internal/common/omci/reboot.go
@@ -19,8 +19,8 @@
import (
"errors"
"github.com/google/gopacket"
- "github.com/opencord/omci-lib-go"
- me "github.com/opencord/omci-lib-go/generated"
+ "github.com/opencord/omci-lib-go/v2"
+ me "github.com/opencord/omci-lib-go/v2/generated"
log "github.com/sirupsen/logrus"
)
diff --git a/internal/common/omci/set.go b/internal/common/omci/set.go
index e584b52..3313767 100644
--- a/internal/common/omci/set.go
+++ b/internal/common/omci/set.go
@@ -19,8 +19,8 @@
import (
"errors"
"github.com/google/gopacket"
- "github.com/opencord/omci-lib-go"
- me "github.com/opencord/omci-lib-go/generated"
+ "github.com/opencord/omci-lib-go/v2"
+ me "github.com/opencord/omci-lib-go/v2/generated"
log "github.com/sirupsen/logrus"
)
diff --git a/internal/common/omci/set_test.go b/internal/common/omci/set_test.go
index 33ed35a..d896e53 100644
--- a/internal/common/omci/set_test.go
+++ b/internal/common/omci/set_test.go
@@ -17,8 +17,8 @@
package omci
import (
- "github.com/opencord/omci-lib-go"
- me "github.com/opencord/omci-lib-go/generated"
+ "github.com/opencord/omci-lib-go/v2"
+ me "github.com/opencord/omci-lib-go/v2/generated"
"github.com/stretchr/testify/assert"
"testing"
)
diff --git a/internal/common/omci/sync_time.go b/internal/common/omci/sync_time.go
index a5e6474..12de755 100644
--- a/internal/common/omci/sync_time.go
+++ b/internal/common/omci/sync_time.go
@@ -19,8 +19,8 @@
import (
"errors"
"github.com/google/gopacket"
- "github.com/opencord/omci-lib-go"
- me "github.com/opencord/omci-lib-go/generated"
+ "github.com/opencord/omci-lib-go/v2"
+ me "github.com/opencord/omci-lib-go/v2/generated"
log "github.com/sirupsen/logrus"
)
diff --git a/internal/common/omci/test.go b/internal/common/omci/test.go
index 1285203..7d786b9 100644
--- a/internal/common/omci/test.go
+++ b/internal/common/omci/test.go
@@ -20,8 +20,8 @@
"errors"
"fmt"
"github.com/google/gopacket"
- "github.com/opencord/omci-lib-go"
- me "github.com/opencord/omci-lib-go/generated"
+ "github.com/opencord/omci-lib-go/v2"
+ me "github.com/opencord/omci-lib-go/v2/generated"
log "github.com/sirupsen/logrus"
"math/rand"
)