netplugin icon indicating copy to clipboard operation
netplugin copied to clipboard

allow `docker network [create| rm] create contiv network

Open jainvipin opened this issue 9 years ago • 3 comments

Allow the following: netctl net create contiv-net --subnet=20.1.1.0/24 --gateway=20.1.1.254 --pkt-tag=1001

To be done using: docker network create --subnet=20.1.1.0/24 --gateway=20.1.1.254 -d netplugin -o pkt-tag=1001 contiv-net

In offline discussions with @shaleman, few things came out:

  • we'd require API to query and post this to netmaster
  • more importantly, when an event is processed by dockplugin we must not attempt to recreate the network with docker

opening an issue to discuss the implications and possible ways of doing this

jainvipin avatar Jan 28 '16 05:01 jainvipin

Any update on this? Creating a contiv network via docker creates an incomplete, broken network.

kent-h avatar Apr 28 '17 19:04 kent-h

@rhim could you please reply on this thread ?

gaurav-dalvi avatar Apr 28 '17 21:04 gaurav-dalvi

This will become a non-issue with move to v2plugin and swarm mode. One would no longer need to create contiv network via netctl in that work flow. Full support for v2plugin and changed workflow is planner for v1.1

rhim avatar May 02 '17 08:05 rhim