Skip to content

Commit d9bf657

Browse files
authored
Switch to Go modules (contiv#2)
The module is antrea-io/libOpenflow Signed-off-by: Antonin Bas <[email protected]>
1 parent ff1f2b8 commit d9bf657

File tree

19 files changed

+48
-23
lines changed

19 files changed

+48
-23
lines changed

common/header.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"errors"
88
"sync/atomic"
99

10-
"github.com/contiv/libOpenflow/util"
10+
"antrea-io/libOpenflow/util"
1111
)
1212

1313
var messageXid uint32 = 1

go.mod

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module antrea-io/libOpenflow
2+
3+
go 1.15
4+
5+
require (
6+
github.com/sirupsen/logrus v1.8.1
7+
github.com/stretchr/testify v1.7.0
8+
)

go.sum

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
2+
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
3+
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
4+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
5+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
6+
github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE=
7+
github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
8+
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
9+
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
10+
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
11+
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
12+
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 h1:YyJpGZS1sBuBCzLAR1VEpK193GlqGZbnPFnPV/5Rsb4=
13+
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
14+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
15+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
16+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
17+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

openflow13/action.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"encoding/binary"
55
"errors"
66

7-
"github.com/contiv/libOpenflow/util"
7+
"antrea-io/libOpenflow/util"
88
)
99

1010
// ofp_action_type 1.3

openflow13/bundles.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"errors"
66
"unsafe"
77

8-
"github.com/contiv/libOpenflow/util"
8+
"antrea-io/libOpenflow/util"
99
)
1010

1111
// Bundle control types

openflow13/flowmod.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package openflow13
33
import (
44
"encoding/binary"
55

6-
"github.com/contiv/libOpenflow/common"
6+
"antrea-io/libOpenflow/common"
77
log "github.com/sirupsen/logrus"
88
)
99

openflow13/group.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package openflow13
55
import (
66
"encoding/binary"
77

8-
"github.com/contiv/libOpenflow/common"
8+
"antrea-io/libOpenflow/common"
99
log "github.com/sirupsen/logrus"
1010
)
1111

openflow13/instruction.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"encoding/binary"
77
"errors"
88

9-
"github.com/contiv/libOpenflow/util"
9+
"antrea-io/libOpenflow/util"
1010
)
1111

1212
// ofp_instruction_type 1.3

openflow13/match.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"log"
88
"net"
99

10-
"github.com/contiv/libOpenflow/util"
10+
"antrea-io/libOpenflow/util"
1111
)
1212

1313
// ofp_match 1.3

openflow13/meter.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77

88
log "github.com/sirupsen/logrus"
99

10-
"github.com/contiv/libOpenflow/common"
11-
"github.com/contiv/libOpenflow/util"
10+
"antrea-io/libOpenflow/common"
11+
"antrea-io/libOpenflow/util"
1212
)
1313

1414
const (

0 commit comments

Comments
 (0)