Add unbind interface api

Registered by Eli Qiao

Currently, we have attach/detach interface for an instance.
detach interface will delete the port from neutron(pre-allocate in neutron or allocated by nova),
although there is a patch to preserve pre-allocated port when destroy an instance, this will partly fix detach port being removed( https://review.openstack.org/#/c/126309/), it'll be better to add unbind port api and export this to admin/user, so they can unbind a port without removing it from neutron(no matter pre-allocated or allocated by nova)

think about a case, user create a instance with multiple ports, after some while, user want to detach a interface but keep this port , so we need to add a new api to unbind an interface from a port.

from nova-client we can call:

interface-unbind <server> <port_id>

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Eli Qiao
Direction:
Needs approval
Assignee:
Eli Qiao
Definition:
Discussion
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.