Example #1
0
 def unplug_interface(self, net_id, port_id):
     """Unplug interface to a port."""
     try:
         db.port_unset_attachment(port_id, net_id)
         LOG.debug("Detached interface from port %s", port_id)
     except Exception as exc:
         LOG.error("Failed to unplug interface: %s", str(exc))
    def unplug_interface(self, tenant_id, net_id, port_id):
        """Unplug an interface.

        Detaches a remote interface from the specified port on the
        specified Virtual Network.
        """

        self._get_port(tenant_id, net_id, port_id)
        db.port_unset_attachment(port_id, net_id)
Example #3
0
    def unplug_interface(self, tenant_id, net_id, port_id):
        """Unplug an interface.

        Detaches a remote interface from the specified port on the
        specified Virtual Network.
        """

        self._get_port(tenant_id, net_id, port_id)
        db.port_unset_attachment(port_id, net_id)