diff --git a/.golangci.yml b/.golangci.yml index f65e382..04ed37d 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -7,7 +7,7 @@ run: linters-settings: goimports: - local-prefixes: antrea-io/libOpenflow + local-prefixes: antrea.io/libOpenflow linters: disable-all: true diff --git a/VERSION b/VERSION index b82608c..1474d00 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.1.0 +v0.2.0 diff --git a/common/header.go b/common/header.go index c8bbb26..5134e51 100644 --- a/common/header.go +++ b/common/header.go @@ -7,7 +7,7 @@ import ( "errors" "sync/atomic" - "antrea-io/libOpenflow/util" + "antrea.io/libOpenflow/util" ) var messageXid uint32 = 1 diff --git a/go.mod b/go.mod index 2b10940..f94bd68 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module antrea-io/libOpenflow +module antrea.io/libOpenflow go 1.15 diff --git a/openflow13/action.go b/openflow13/action.go index 06a85e0..b827c1d 100644 --- a/openflow13/action.go +++ b/openflow13/action.go @@ -4,7 +4,7 @@ import ( "encoding/binary" "errors" - "antrea-io/libOpenflow/util" + "antrea.io/libOpenflow/util" ) // ofp_action_type 1.3 diff --git a/openflow13/bundles.go b/openflow13/bundles.go index 3f5f928..9eb9ccc 100644 --- a/openflow13/bundles.go +++ b/openflow13/bundles.go @@ -5,7 +5,7 @@ import ( "errors" "unsafe" - "antrea-io/libOpenflow/util" + "antrea.io/libOpenflow/util" ) // Bundle control types diff --git a/openflow13/flowmod.go b/openflow13/flowmod.go index c124a9f..ea13658 100644 --- a/openflow13/flowmod.go +++ b/openflow13/flowmod.go @@ -5,7 +5,7 @@ import ( log "github.com/sirupsen/logrus" - "antrea-io/libOpenflow/common" + "antrea.io/libOpenflow/common" ) // ofp_flow_mod 1.3 diff --git a/openflow13/group.go b/openflow13/group.go index 2289047..b8cb131 100644 --- a/openflow13/group.go +++ b/openflow13/group.go @@ -7,7 +7,7 @@ import ( log "github.com/sirupsen/logrus" - "antrea-io/libOpenflow/common" + "antrea.io/libOpenflow/common" ) const ( diff --git a/openflow13/instruction.go b/openflow13/instruction.go index b18de60..d250c3a 100644 --- a/openflow13/instruction.go +++ b/openflow13/instruction.go @@ -6,7 +6,7 @@ import ( "encoding/binary" "errors" - "antrea-io/libOpenflow/util" + "antrea.io/libOpenflow/util" ) // ofp_instruction_type 1.3 diff --git a/openflow13/match.go b/openflow13/match.go index 516ca2b..084a671 100644 --- a/openflow13/match.go +++ b/openflow13/match.go @@ -7,7 +7,7 @@ import ( "log" "net" - "antrea-io/libOpenflow/util" + "antrea.io/libOpenflow/util" ) // ofp_match 1.3 diff --git a/openflow13/meter.go b/openflow13/meter.go index c0156a4..6f99c5f 100644 --- a/openflow13/meter.go +++ b/openflow13/meter.go @@ -7,8 +7,8 @@ import ( log "github.com/sirupsen/logrus" - "antrea-io/libOpenflow/common" - "antrea-io/libOpenflow/util" + "antrea.io/libOpenflow/common" + "antrea.io/libOpenflow/util" ) const ( diff --git a/openflow13/multipart.go b/openflow13/multipart.go index 4de06af..4058b99 100644 --- a/openflow13/multipart.go +++ b/openflow13/multipart.go @@ -5,8 +5,8 @@ import ( log "github.com/sirupsen/logrus" - "antrea-io/libOpenflow/common" - "antrea-io/libOpenflow/util" + "antrea.io/libOpenflow/common" + "antrea.io/libOpenflow/util" ) // ofp_multipart_request 1.3 diff --git a/openflow13/nxt_message.go b/openflow13/nxt_message.go index 1dff226..4a3d657 100644 --- a/openflow13/nxt_message.go +++ b/openflow13/nxt_message.go @@ -4,7 +4,7 @@ import ( "encoding/binary" "errors" - "antrea-io/libOpenflow/util" + "antrea.io/libOpenflow/util" ) // Nicira extension messages. diff --git a/openflow13/openflow13.go b/openflow13/openflow13.go index 73bf8d1..d8af48f 100644 --- a/openflow13/openflow13.go +++ b/openflow13/openflow13.go @@ -13,9 +13,9 @@ import ( "errors" "net" - "antrea-io/libOpenflow/common" - "antrea-io/libOpenflow/protocol" - "antrea-io/libOpenflow/util" + "antrea.io/libOpenflow/common" + "antrea.io/libOpenflow/protocol" + "antrea.io/libOpenflow/util" ) const ( diff --git a/openflow13/port.go b/openflow13/port.go index 259db6b..bc77207 100644 --- a/openflow13/port.go +++ b/openflow13/port.go @@ -4,7 +4,7 @@ import ( "encoding/binary" "net" - "antrea-io/libOpenflow/common" + "antrea.io/libOpenflow/common" ) // ofp_port 1.3 diff --git a/protocol/ethernet.go b/protocol/ethernet.go index 63c3087..7bae8d0 100644 --- a/protocol/ethernet.go +++ b/protocol/ethernet.go @@ -5,7 +5,7 @@ import ( "errors" "net" - "antrea-io/libOpenflow/util" + "antrea.io/libOpenflow/util" ) // see http://en.wikipedia.org/wiki/EtherType diff --git a/protocol/ip.go b/protocol/ip.go index 2cbcccd..f81f23c 100644 --- a/protocol/ip.go +++ b/protocol/ip.go @@ -5,7 +5,7 @@ import ( "errors" "net" - "antrea-io/libOpenflow/util" + "antrea.io/libOpenflow/util" ) const ( diff --git a/protocol/ipv6.go b/protocol/ipv6.go index 3bc80b0..e7e6042 100644 --- a/protocol/ipv6.go +++ b/protocol/ipv6.go @@ -5,7 +5,7 @@ import ( "errors" "net" - "antrea-io/libOpenflow/util" + "antrea.io/libOpenflow/util" ) const ( diff --git a/protocol/ipv6_test.go b/protocol/ipv6_test.go index 97e9436..d413333 100644 --- a/protocol/ipv6_test.go +++ b/protocol/ipv6_test.go @@ -7,7 +7,7 @@ import ( "net" "testing" - "antrea-io/libOpenflow/util" + "antrea.io/libOpenflow/util" ) func TestIPv6Option(t *testing.T) { diff --git a/stream_test.go b/stream_test.go index 08470d3..ccbb790 100644 --- a/stream_test.go +++ b/stream_test.go @@ -9,9 +9,9 @@ import ( "github.com/sirupsen/logrus" - "antrea-io/libOpenflow/common" - "antrea-io/libOpenflow/openflow13" - "antrea-io/libOpenflow/util" + "antrea.io/libOpenflow/common" + "antrea.io/libOpenflow/openflow13" + "antrea.io/libOpenflow/util" ) var helloMessage *common.Hello