Alon Bar-Lev has uploaded a new change for review.

Change subject: vdsm: bridge: fix python compatibility issue and network manager
......................................................................

vdsm: bridge: fix python compatibility issue and network manager

Change-Id: I5e042506358ff48f8d06b1cfbf9b6ccf517b45ec
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M ChangeLog
M src/plugins/ovirt-host-deploy/vdsm/bridge.py
2 files changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-host-deploy 
refs/changes/13/16213/1

diff --git a/ChangeLog b/ChangeLog
index f593c7c..bea441c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
 ????-??-?? - Version 1.0.3
 
+ * vdsm: bridge: fix python compatibility issue and network manager.
 
 2013-05-06 - Version 1.0.2
 
diff --git a/src/plugins/ovirt-host-deploy/vdsm/bridge.py 
b/src/plugins/ovirt-host-deploy/vdsm/bridge.py
index f5ef4af..2977d95 100644
--- a/src/plugins/ovirt-host-deploy/vdsm/bridge.py
+++ b/src/plugins/ovirt-host-deploy/vdsm/bridge.py
@@ -447,7 +447,7 @@
                     r = self._RE_NM_LIST_IF_IP.match(l)
                     if r is not None:
                         address = r.group(self._RE_NM_LIST_IF_IP_ADDRESS)
-                        prefix = r.group(self._RE_NM_LIST_IF_IP_PREFIX)
+                        prefix = int(r.group(self._RE_NM_LIST_IF_IP_PREFIX))
                         gateway = r.group(self._RE_NM_LIST_IF_IP_GATEWAY)
                 if l.startswith('DHCP4.OPTION[1]:'):
                     dhcp = True


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5e042506358ff48f8d06b1cfbf9b6ccf517b45ec
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-host-deploy
Gerrit-Branch: ovirt-host-deploy-1.0
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to