'Unplug Contrail\'s network port
Unbind the vif from a Contrail virtual port.'

def unplug_vrouter(self, instance, vif):

    dev = self.get_vif_devname(vif)
    cmd_args = ('--oper=delete    --uuid=%s' % vif['id'])
    try:
        utils.execute('vrouter-port-control', cmd_args, run_as_root=True)
        linux_net.delete_net_dev(dev)
    except processutils.ProcessExecutionError:
        LOG.exception(_('Failed    while    unplugging    vif'), instance=instance)
