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: I1b5a9596afce140158e66608f442128c7584779b Signed-off-by: Alon Bar-Lev <alo...@redhat.com> --- 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/14/16214/1 diff --git a/ChangeLog b/ChangeLog index ab08298..2fa3a23 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ * vdsm: bridge: fix vlan id detection, thanks to Jeff Bailey for reporting. * vdsm: bridge: fix format typo when querying network manager, thanks to Pascal Jakobi for reporting. + * vdsm: bridge: fix python compatibility issue and network manager. * vdsm: hardware: do not fail if cannot read msr, rhbz#916589. * vdsm: vdsmid: do not attempt to install dmidecode on platforms other than x86. diff --git a/src/plugins/ovirt-host-deploy/vdsm/bridge.py b/src/plugins/ovirt-host-deploy/vdsm/bridge.py index f76c24f..d985d1b 100644 --- a/src/plugins/ovirt-host-deploy/vdsm/bridge.py +++ b/src/plugins/ovirt-host-deploy/vdsm/bridge.py @@ -424,7 +424,7 @@ r = self._RE_NM_LIST_IF_IP.match(l) if r is not None: address = r.group('address') - prefix = r.group('prefix') + prefix = int(r.group('prefix')) gateway = r.group('gateway') if l.startswith('DHCP4.OPTION[1]:'): dhcp = True -- To view, visit http://gerrit.ovirt.org/16214 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1b5a9596afce140158e66608f442128c7584779b Gerrit-PatchSet: 1 Gerrit-Project: ovirt-host-deploy Gerrit-Branch: master Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches