Change in vdsm[master]: configNet: introduce ConfigWriter.restorePersistentBackup()

danken at redhat.com danken at redhat.com
Sun Aug 26 11:12:02 UTC 2012


Dan Kenigsberg has submitted this change and it was merged.

Change subject: configNet: introduce ConfigWriter.restorePersistentBackup()
......................................................................


configNet: introduce ConfigWriter.restorePersistentBackup()

restorePersistentBackup is to be called before vdsm starts, via
vdsm-restore-net-config, to load persistent backup into memory, make
them effective again, and remove the backup.

This patch makes a single function out of this in order to fix the
currently-broken testPersistentBackup test case.

Change-Id: I31e1f6a2cce082fcc82da37663518edec6c9d095
Signed-off-by: Dan Kenigsberg <danken at redhat.com>
---
M tests/configNetworkTests.py
M vdsm/configNetwork.py
M vdsm/vdsm-restore-net-config
3 files changed, 12 insertions(+), 11 deletions(-)

Approvals:
  Dan Kenigsberg: Verified
  Igor Lvovsky: Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I31e1f6a2cce082fcc82da37663518edec6c9d095
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Igor Lvovsky <ilvovsky at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list