34. CWMFirewallInterfaces

Routines for selecting interfaces opened in firewall

34.1. Summary of Module Globals

List of Global Functions

List of Global Variables

    34.2. Global Functions

    34.2.1. CreateInterfacesWidget

    Get the widget description map

    Function parameters

    • map<string,any> settings

    Return value

    • map<string,any> - the widget description map

    34.2.2. CreateOpenFirewallWidget

    Get the widget description map of the firewall enablement widget

    Function parameters

    • map<string,any> settings

    Return value

    • map<string,any> - the widget description map

    34.2.3. DisableOpenFirewallWidget

    Disable the whole firewal widget

    Return value

    • void

    34.2.4. DisplayDetailsPopup

    Display the firewall interfaces selection as a popup

    Function parameters

    • map<string,any> settings

    Return value

    • symbol - return value of the dialog

    34.2.5. EnableOpenFirewallWidget

    Enable the whole firewal widget

    Return value

    • void

    34.2.6. InitAllowedInterfaces

    Initialize the list of allowed interfaces Changes the internal variables

    Function parameters

    • list<string> services

    Return value

    • void

    34.2.7. InterfacesHandle

    Handle function of the widget

    Function parameters

    • map<string,any> widget

    • string key

    • map event

    Return value

    • symbol - for wizard sequencer or nil

    34.2.8. InterfacesHandleWrapper

    Handle function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • symbol - for wizard sequencer or nil

    34.2.9. InterfacesInit

    Init function of the widget

    Function parameters

    • map<string,any> widget

    • string key

    Return value

    • void

    34.2.10. InterfacesInitWrapper

    Init function of the widget

    Function parameters

    • string key

    Return value

    • void

    34.2.11. InterfacesStore

    Store function of the widget

    Function parameters

    • map<string,any> widget

    • string key

    • map event

    Return value

    • void

    34.2.12. InterfacesStoreWrapper

    Store function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • void

    34.2.13. InterfacesValidate

    Validate function of the widget

    Function parameters

    • map<string,any> widget

    • string key

    • map event

    Return value

    • boolean - true if validation succeeded, false otherwise

    34.2.14. InterfacesValidateWrapper

    Validate function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • boolean - true if validation succeeded, false otherwise

    34.2.15. Modified

    Check if settings were modified by the user

    Return value

    • boolean - true if settings were modified

    34.2.16. OpenFirewallHandle

    Handle the immediate start and stop of the service

    Function parameters

    • map<string,any> widget

    • string key

    • map event

    Return value

    • symbol - always nil

    34.2.17. OpenFirewallHandleWrapper

    Handle the immediate start and stop of the service

    Function parameters

    • string key

    • map event

    Return value

    • symbol - always nil

    34.2.18. OpenFirewallHelp

    Get the help text to the firewall opening widget

    Function parameters

    • boolean restart_displayed

    Return value

    • string - help text

    34.2.19. OpenFirewallHelpTemplate

    Get the template for the help text to the firewall opening widget

    Function parameters

    • boolean restart_displayed

    Return value

    • string - help text template with %1 and %2 placeholders

    34.2.20. OpenFirewallInit

    Initialize the open firewall widget

    Function parameters

    • map<string,any> widget

    • string key

    Return value

    • void

    34.2.21. OpenFirewallInitWrapper

    Init function of the widget

    Function parameters

    • string key

    Return value

    • void

    34.2.22. OpenFirewallModified

    Check if the widget was modified

    Function parameters

    • string key

    Return value

    • boolean - true if widget was modified

    34.2.23. OpenFirewallStore

    Store function of the widget

    Function parameters

    • map<string,any> widget

    • string key

    • map event

    Return value

    • void

    34.2.24. OpenFirewallStoreWrapper

    Store function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • void

    34.2.25. StoreAllowedInterfaces

    Store the list of allowed interfaces Users the internal variables

    Function parameters

    • list<string> services

    Return value

    • void

    34.3. Global Variables

    34.4. Module Requirements

    34.4.1. Module Imports

    • CWM
    • Label
    • Mode
    • NetworkDevices
    • Popup
    • SuSEFirewall
    • SuSEFirewallProposal

    34.4.2. Module Includes