Change in vdsm[master]: netinfo: pass _netinfo to addNetwork and delNetwork

asegurap at redhat.com asegurap at redhat.com
Mon Jan 27 17:59:42 UTC 2014


Antoni Segura Puimedon has uploaded a new change for review.

Change subject: netinfo: pass _netinfo to addNetwork and delNetwork
......................................................................

netinfo: pass _netinfo to addNetwork and delNetwork

Change-Id: I67e539bd51f89f645223ec7f80f42f0a7bab0cdd
Signed-off-by: Antoni S. Puimedon <asegurap at redhat.com>
---
M vdsm/configNetwork.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/78/23578/1

diff --git a/vdsm/configNetwork.py b/vdsm/configNetwork.py
index 452b98e..b2bd1f6 100755
--- a/vdsm/configNetwork.py
+++ b/vdsm/configNetwork.py
@@ -609,7 +609,7 @@
             if network in _netinfo.networks:
                 logger.debug("Removing network %r" % network)
                 delNetwork(network, configurator=configurator, force=force,
-                           implicitBonding=False, netinfo=_netinfo)
+                           implicitBonding=False, _netinfo=_netinfo)
                 if 'remove' in networkAttrs:
                     del networks[network]
                     del libvirt_nets[network]
@@ -647,7 +647,7 @@
 
             logger.debug("Adding network %r" % network)
             addNetwork(network, configurator=configurator,
-                       implicitBonding=True, **d)
+                       implicitBonding=True, _netinfo=_netinfo, **d)
 
         if utils.tobool(options.get('connectivityCheck', True)):
             logger.debug('Checking connectivity...')


-- 
To view, visit http://gerrit.ovirt.org/23578
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I67e539bd51f89f645223ec7f80f42f0a7bab0cdd
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>


More information about the vdsm-patches mailing list