Change in vdsm[master]: net: ifcfg: report unsuccessful rollback

phoracek at redhat.com phoracek at redhat.com
Mon Aug 24 07:33:53 UTC 2015


Petr Horáček has uploaded a new change for review.

Change subject: net: ifcfg: report unsuccessful rollback
......................................................................

net: ifcfg: report unsuccessful rollback

Report unsuccessful rollback like configurators/__init__.py:rollback().

Change-Id: Ia490647b6d4c79f86439147f2640ace0c49fffe2
Signed-off-by: Petr Horáček <phoracek at redhat.com>
---
M vdsm/network/configurators/ifcfg.py
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/39/45239/1

diff --git a/vdsm/network/configurators/ifcfg.py b/vdsm/network/configurators/ifcfg.py
index 94878d0..d8221f8 100644
--- a/vdsm/network/configurators/ifcfg.py
+++ b/vdsm/network/configurators/ifcfg.py
@@ -82,7 +82,9 @@
         self.configApplier.restoreBackups()
         self.configApplier = None
         if self.unifiedPersistence:
+            diff = RunningConfig().diffFrom(self.runningConfig)
             self.runningConfig = None
+            return diff
 
     def commit(self):
         self.configApplier = None


-- 
To view, visit https://gerrit.ovirt.org/45239
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia490647b6d4c79f86439147f2640ace0c49fffe2
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Petr Horáček <phoracek at redhat.com>


More information about the vdsm-patches mailing list