Change in vdsm[master]: Unified network persistence [1/4] - Save running config

danken at redhat.com danken at redhat.com
Fri Oct 4 20:43:49 UTC 2013


Dan Kenigsberg has submitted this change and it was merged.

Change subject: Unified network persistence [1/4] - Save running config
......................................................................


Unified network persistence [1/4] - Save running config

This patch introduces the new persistence model for vdsm networking.
It is meant to provide a single reliable way abstracting persistence
out of the netconf configurators as much as possible.

To achieve its purpose, it stores the network actions as setupNetwork
parameters serialized in json which are then used for rollback and
initialization.

The first patch in the series saves the current state of networks,
nics and bonds to a folder.
The second patch copies the contents of the running config folder
to a startup config folder
The third patch uses the startup config folder to restore network
configuration to the host upon host boot up.

Change-Id: I7137a96f84abd2c5e532c6c37737e36ef17567a9
Signed-off-by: Assaf Muller <amuller at redhat.com>
Signed-off-by: Antoni S. Puimedon <asegurap at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/16699
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
Tested-by: Dan Kenigsberg <danken at redhat.com>
---
M lib/vdsm/Makefile.am
M lib/vdsm/config.py.in
A lib/vdsm/netconfpersistence.py
M lib/vdsm/netinfo.py
M tests/functional/utils.py
M vdsm.spec.in
M vdsm/configNetwork.py
M vdsm/netconf/__init__.py
M vdsm/netconf/ifcfg.py
9 files changed, 287 insertions(+), 14 deletions(-)

Approvals:
  Dan Kenigsberg: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7137a96f84abd2c5e532c6c37737e36ef17567a9
Gerrit-PatchSet: 29
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Assaf Muller <amuller at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Giuseppe Vallarelli <gvallare at redhat.com>
Gerrit-Reviewer: Livnat Peer <lpeer at redhat.com>
Gerrit-Reviewer: Mark Wu <wudxw at linux.vnet.ibm.com>
Gerrit-Reviewer: Petr Ĺ ebek <psebek at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list