Change in vdsm[master]: net_persistence: Make unified persistence default

asegurap at redhat.com asegurap at redhat.com
Mon Mar 17 08:04:09 UTC 2014


Antoni Segura Puimedon has uploaded a new change for review.

Change subject: net_persistence: Make unified persistence default
......................................................................

net_persistence: Make unified persistence default

Up until now, we've been using the legacy ifcfg persistence to store
and retrieve network configurations. This patch switches the default
to 'unified' so that we'll be able to depend on it moving forward.

Unified persistence stores its persistence in three places:
- In transaction data: memory,
- Current configuration: /var/run/vdsm/netconf/{nets,bonds}
- Persisted configuration:
      /var/lib/vdsm/persistence/netconf/{nets,bonds}

Configurators are responsible to implement a flush method that cleans
the system from its own persistence files.

Change-Id: I836972041826e4af47e83ef5097994a5203fd859
Signed-off-by: Antoni S. Puimedon <asegurap at redhat.com>
---
M lib/vdsm/config.py.in
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/84/25784/1

diff --git a/lib/vdsm/config.py.in b/lib/vdsm/config.py.in
index fb597a8..f07a285 100644
--- a/lib/vdsm/config.py.in
+++ b/lib/vdsm/config.py.in
@@ -46,7 +46,7 @@
             'Whether to use "ifcfg" or "iproute2" to configure networks. '
             'iproute2 configurator is not ready yet for genral usage.'),
 
-        ('net_persistence', 'ifcfg',
+        ('net_persistence', 'unified',
             'Whether to use "ifcfg" or "unified" persistence for networks.'),
 
         ('hwaddr_in_ifcfg', 'always',


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

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


More information about the vdsm-patches mailing list