Browse Source

Moving IPVLAN driver out of experimental

IPVLAN driver had been retained in experimental for multiple releases
with the requirement to have a proper L3 control-plane (such as BGP) to
go along with it which will make this driver much more useful. But
based on the community feedback,
https://github.com/moby/moby/issues/21735, am proposing to move this
driver out of experimental.

Signed-off-by: Madhu Venugopal <madhu@docker.com>
Madhu Venugopal 7 years ago
parent
commit
f7b7e74624
2 changed files with 4 additions and 6 deletions
  1. 1 5
      libnetwork/drivers_experimental_linux.go
  2. 3 1
      libnetwork/drivers_linux.go

+ 1 - 5
libnetwork/drivers_experimental_linux.go

@@ -1,9 +1,5 @@
 package libnetwork
 
-import "github.com/docker/libnetwork/drivers/ipvlan"
-
 func additionalDrivers() []initializer {
-	return []initializer{
-		{ipvlan.Init, "ipvlan"},
-	}
+	return []initializer{}
 }

+ 3 - 1
libnetwork/drivers_linux.go

@@ -3,6 +3,7 @@ package libnetwork
 import (
 	"github.com/docker/libnetwork/drivers/bridge"
 	"github.com/docker/libnetwork/drivers/host"
+	"github.com/docker/libnetwork/drivers/ipvlan"
 	"github.com/docker/libnetwork/drivers/macvlan"
 	"github.com/docker/libnetwork/drivers/null"
 	"github.com/docker/libnetwork/drivers/overlay"
@@ -13,10 +14,11 @@ func getInitializers(experimental bool) []initializer {
 	in := []initializer{
 		{bridge.Init, "bridge"},
 		{host.Init, "host"},
+		{ipvlan.Init, "ipvlan"},
 		{macvlan.Init, "macvlan"},
 		{null.Init, "null"},
-		{remote.Init, "remote"},
 		{overlay.Init, "overlay"},
+		{remote.Init, "remote"},
 	}
 
 	if experimental {