Zun

update a container's networks

Registered by weikeyou

Replace the networks of a container with a command.
For example , a container has one or more networks, sometimes, we need replace one or two or all of this networks with a new network.

Blueprint information

Status:
Not started
Approver:
hongbin
Priority:
Undefined
Drafter:
weikeyou
Direction:
Needs approval
Assignee:
weikeyou
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(hongbin 2018-03-04): Hi @weikeyou, Zun has two APIs for attaching/detaching Neutron networks:
* POST /v1/containers/{container_ident}/network_attach [1]
* POST /v1/containers/{container_ident}/network_detach [2]
For the scenario of network replacing. it sounds like this functionality can be achieved with a network_detach & network_attach? If no, could you elaborate the rationals? It would be helpful for me to understand the problems and the approach that you proposed.

[1] https://developer.openstack.org/api-ref/application-container/#attach-a-network-to-a-container
[2] https://developer.openstack.org/api-ref/application-container/#detach-a-network-from-a-container

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.