Yedidyah Bar David has posted comments on this change.

Change subject: packaging: setup: let the user configure engine VM networking
......................................................................


Patch Set 18:

(1 comment)

https://gerrit.ovirt.org/#/c/41357/18/src/plugins/ovirt-hosted-engine-setup/vm/cloud_init.py
File src/plugins/ovirt-hosted-engine-setup/vm/cloud_init.py:

Line 197:                 if static:
Line 198:                     d_ip_cidr = self._getFreeIPAddress(my_ip)
Line 199:                     default_ip = ''
Line 200:                     if d_ip_cidr:
Line 201:                         default_ip = str(d_ip_cidr.ip)
> Not really:
But this is the only place we call _getFreeIPAddress - it can simply return 
ipn.ip
Line 202:                     proposed_ip = self.dialog.queryString(
Line 203:                         name='CLOUDINIT_VM_STATIC_CIDR',
Line 204:                         note=_(
Line 205:                             'Please enter the IP address '


-- 
To view, visit https://gerrit.ovirt.org/41357
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ic09f4d92e44f1bf810f06ada703e533b8c5e2061
Gerrit-PatchSet: 18
Gerrit-Project: ovirt-hosted-engine-setup
Gerrit-Branch: master
Gerrit-Owner: Simone Tiraboschi <stira...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Lev Veyde <lve...@redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbona...@redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stira...@redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <d...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to