def delete_network(self, context, id): """Delete network. Perform this operation in the context of the configured device plugins. """ args = [context, id] ovs_output = self._invoke_plugin_per_device(const.VSWITCH_PLUGIN, self._func_name(), args) if cdb.remove_provider_network(id): LOG.debug(_("provider network removed from DB: %s"), id) return ovs_output[0]
def delete_network(self, context, id): """Delete network. Perform this operation in the context of the configured device plugins. """ args = [context, id] switch_output = self._invoke_plugin_per_device(const.VSWITCH_PLUGIN, self._func_name(), args) if cdb.remove_provider_network(id): LOG.debug(_("Provider network removed from DB: %s"), id) return switch_output