netplugin
netplugin copied to clipboard
allow `docker network [create| rm] create contiv network
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
Any update on this? Creating a contiv network via docker creates an incomplete, broken network.
@rhim could you please reply on this thread ?
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