Add unbind interface api
Currently, we have attach/detach interface for an instance.
detach interface will delete the port from neutron(
although there is a patch to preserve pre-allocated port when destroy an instance, this will partly fix detach port being removed( https:/
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>