SuSEFirewall configuration |
modules/SuSEFirewallProposal.ycp |
Functional interface for SuSEFirewall installation proposal | |
|
|
This module has an unstable interface. |
This module provides a functional API for Installation proposal of SuSEfirewall2
Imports
StructuresGlobal Functions
Local Functions |
Local function adds another warning string into warnings for user
- Parameters:
-
warning
Local function clears all warnings for user from memory
Function returns list of warnings for user
- Return value:
-
[string] of warnings
Local function sets currently known interfaces.
- Parameters:
-
interfaces
Local function returns list [string] of known interfaces. They must have been set using SetKnownInterfaces(list [string] interfaces) function.
- Return value:
-
of known interfaces
Function returns if interface is a dial-up type.
- Parameters:
-
interface
- Return value:
-
if is dial-up interface
Local function adds list of interfaces into zone.
- Parameters:
-
interfaces zone
Local function for updating user-changed proposal.
Function opens up the service on all non-dial-up network interfaces
- Parameters:
-
service
Local function returns whether the Xen kernel is installed
Local function for proposing firewall configuration.
Function sets that proposal was changed by user
- Parameters:
-
changed
Local function returns if proposal was changed by user
- Return value:
-
if proposal was changed by user
Function sets that proposal was initialized
- Parameters:
-
initialized
Local function returns if proposal was initialized already
- Return value:
-
if proposal was initialized
Function fills up default configuration into internal values
Function proposes the SuSEfirewall2 configuration
Function returns the proposal summary
Structure map $[
"output" : "HTML Proposal Summary", "warning" : "HTML Warning Summary", ]
- Return value:
-
proposal