'Unbind port.
Removes corresponding local vlan mapping object if this is its last
VIF.
:param vif_id: the id of the vif
:param net_uuid: the net_uuid this port is associated with.'

def port_unbound(self, vif_id, net_uuid=None):

    try:
        net_uuid = (net_uuid or self.vlan_manager.get_net_uuid(vif_id))
    except vlanmanager.VifIdNotFound:
        LOG.info(_LI('port_unbound():    net_uuid    %s    not    managed    by    VLAN    manager'), net_uuid)
        return
    lvm = self.vlan_manager.get(net_uuid)
    if (vif_id in lvm.vif_ports):
        vif_port = lvm.vif_ports[vif_id]
        self.dvr_agent.unbind_port_from_dvr(vif_port, lvm)
    lvm.vif_ports.pop(vif_id, None)
    if (not lvm.vif_ports):
        self.reclaim_local_vlan(net_uuid)
