36. CWMFirewallInterfaces

Routines for selecting interfaces opened in firewall

36.1. Summary of Module Globals

List of Global Functions

List of Global Variables

    36.2. Global Functions

    36.2.1. CreateInterfacesWidget

    Get the widget description map

    Function parameters

    • map<string,any> settings

    Return value

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

    36.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

    36.2.3. DisableOpenFirewallWidget

    Disable the whole firewal widget

    Return value

    • void

    36.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

    36.2.5. EnableOpenFirewallWidget

    Enable the whole firewal widget

    Return value

    • void

    36.2.6. InitAllowedInterfaces

    Initialize the list of allowed interfaces Changes the internal variables

    Function parameters

    • list<string> services

    Return value

    • void

    36.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

    36.2.8. InterfacesHandleWrapper

    Handle function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • symbol - for wizard sequencer or nil

    36.2.9. InterfacesInit

    Init function of the widget

    Function parameters

    • map<string,any> widget

    • string key

    Return value

    • void

    36.2.10. InterfacesInitWrapper

    Init function of the widget

    Function parameters

    • string key

    Return value

    • void

    36.2.11. InterfacesStore

    Store function of the widget

    Function parameters

    • map<string,any> widget

    • string key

    • map event

    Return value

    • void

    36.2.12. InterfacesStoreWrapper

    Store function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • void

    36.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

    36.2.14. InterfacesValidateWrapper

    Validate function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • boolean - true if validation succeeded, false otherwise

    36.2.15. Modified

    Check if settings were modified by the user

    Return value

    • boolean - true if settings were modified

    36.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

    36.2.17. OpenFirewallHandleWrapper

    Handle the immediate start and stop of the service

    Function parameters

    • string key

    • map event

    Return value

    • symbol - always nil

    36.2.18. OpenFirewallHelp

    Get the help text to the firewall opening widget

    Function parameters

    • boolean restart_displayed

    Return value

    • string - help text

    36.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

    36.2.20. OpenFirewallInit

    Initialize the open firewall widget

    Function parameters

    • map<string,any> widget

    • string key

    Return value

    • void

    36.2.21. OpenFirewallInitWrapper

    Init function of the widget

    Function parameters

    • string key

    Return value

    • void

    36.2.22. OpenFirewallModified

    Check if the widget was modified

    Function parameters

    • string key

    Return value

    • boolean - true if widget was modified

    36.2.23. OpenFirewallStore

    Store function of the widget

    Function parameters

    • map<string,any> widget

    • string key

    • map event

    Return value

    • void

    36.2.24. OpenFirewallStoreWrapper

    Store function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • void

    36.2.25. StoreAllowedInterfaces

    Store the list of allowed interfaces Users the internal variables

    Function parameters

    • list<string> services

    Return value

    • void

    36.3. Global Variables

    36.4. Module Requirements

    36.4.1. Module Imports

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

    36.4.2. Module Includes