Yedidyah Bar David has posted comments on this change.

Change subject: packaging: setup: update firewall for all services
......................................................................


Patch Set 6:

(4 comments)

....................................................
File packaging/setup/ovirt_engine_setup/constants.py
Line 937:     @osetupattrs(
Line 938:         answerfile=True,
Line 939:         summary=True,
Line 940:         description=_('Update Firewall'),
Line 941:         postinstallfile=False,  # Force users to ack firewall changes
I know, just wanted to emphasize. Removed.
Line 942:     )
Line 943:     def UPDATE_FIREWALL(self):
Line 944:         return 'OVESETUP_CONFIG/updateFirewall'
Line 945: 


....................................................
File packaging/setup/plugins/ovirt-engine-setup/config/websocket_proxy.py
Line 71
Line 72
Line 73
Line 74
Line 75
Done


....................................................
File packaging/setup/plugins/ovirt-engine-setup/network/firewall_manager.py
Line 145:     )
Line 146:     def _customization(self):
Line 147:         self._supported_managers = self.environment[
Line 148:             osetupcons.ConfigEnv.SUPPORTED_FIREWALL_MANAGERS
Line 149:         ].split(',')
Done
Line 150: 
Line 151:         managers = []
Line 152:         for manager in self._supported_managers:
Line 153:             if self.services.exists(manager):


Line 191: 
Line 192:         if (
Line 193:             self.environment[osetupcons.ConfigEnv.FIREWALL_MANAGER] 
is None and
Line 194:             self.environment[osetupcons.ConfigEnv.UPDATE_FIREWALL] and
Line 195:             managers
Done.

I can think of other questions/options regarding this code - it's probably not 
completely polished.

I do not loop until I get an acceptable answer (also previous code didn't). An 
unacceptable answer
is simply ignored.

I also do not allow selecting 'none' as in the previous patchset, but this 
implicitly does happen due to
previous line.
Line 196:         ):
Line 197:             self.dialog.note(
Line 198:                 text=_(
Line 199:                     'The following firewall managers were detected on 
'


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

Gerrit-MessageType: comment
Gerrit-Change-Id: If3c1a634b2e8539ebd604205b5487290c8d8a1a9
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yedidyah Bar David <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Ofer Schreiber <[email protected]>
Gerrit-Reviewer: Sandro Bonazzola <[email protected]>
Gerrit-Reviewer: Yedidyah Bar David <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to