Sandro Bonazzola has uploaded a new change for review. Change subject: vds_info: fixed gateway config handling ......................................................................
vds_info: fixed gateway config handling Previously the gateway configuration was dropped due to a mistake in parsing the vds capabilities. This patch fixes that parsing. Change-Id: I57cabd5e317bd53cc597cf17fb8e2f9c4139712c Bug-Url: https://bugzilla.redhat.com/1147254 Signed-off-by: Sandro Bonazzola <[email protected]> (cherry picked from commit 79c2103d82f9d79c2f85bc2cd2835c4ef8b018c9) --- M src/ovirt_hosted_engine_setup/vds_info.py 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-hosted-engine-setup refs/changes/33/33633/1 diff --git a/src/ovirt_hosted_engine_setup/vds_info.py b/src/ovirt_hosted_engine_setup/vds_info.py index 011dcb9..7e3a95d 100644 --- a/src/ovirt_hosted_engine_setup/vds_info.py +++ b/src/ovirt_hosted_engine_setup/vds_info.py @@ -72,6 +72,8 @@ gateway = port_info.get('gateway') if gateway is not None: attrs['gateway'] = gateway + elif 'GATEWAY' in port_info['cfg']: + attrs['gateway'] = port_info['cfg']['GATEWAY'] return attrs -- To view, visit http://gerrit.ovirt.org/33633 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I57cabd5e317bd53cc597cf17fb8e2f9c4139712c Gerrit-PatchSet: 1 Gerrit-Project: ovirt-hosted-engine-setup Gerrit-Branch: ovirt-hosted-engine-setup-1.2 Gerrit-Owner: Sandro Bonazzola <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
