'Unplug VIFs from networks.'

def _unplug_vifs(self, instance, network_info, ignore_errors):

    for vif in network_info:
        try:
            self.vif_driver.unplug(instance, vif)
        except exception.NovaException:
            if (not ignore_errors):
                raise
