37. CWMFirewallInterfaces

Routines for selecting interfaces opened in firewall

37.1. Summary of Module Globals

List of Global Functions

List of Global Variables

    37.2. Global Functions

    37.2.1. CreateInterfacesWidget

    Get the widget description map

    Function parameters

    • map<string,any> settings

    Return value

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

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

    37.2.3. DisableOpenFirewallWidget

    Disable the whole firewal widget

    Return value

    • void

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

    37.2.5. EnableOpenFirewallWidget

    Enable the whole firewal widget

    Return value

    • void

    37.2.6. InitAllowedInterfaces

    Initialize the list of allowed interfaces Changes the internal variables

    Function parameters

    • list<string> services

    Return value

    • void

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

    37.2.8. InterfacesHandleWrapper

    Handle function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • symbol - for wizard sequencer or nil

    37.2.9. InterfacesInit

    Init function of the widget

    Function parameters

    • map<string,any> widget

    • string key

    Return value

    • void

    37.2.10. InterfacesInitWrapper

    Init function of the widget

    Function parameters

    • string key

    Return value

    • void

    37.2.11. InterfacesStore

    Store function of the widget

    Function parameters

    • map<string,any> widget

    • string key

    • map event

    Return value

    • void

    37.2.12. InterfacesStoreWrapper

    Store function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • void

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

    37.2.14. InterfacesValidateWrapper

    Validate function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • boolean - true if validation succeeded, false otherwise

    37.2.15. Modified

    Check if settings were modified by the user

    Return value

    • boolean - true if settings were modified

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

    37.2.17. OpenFirewallHandleWrapper

    Handle the immediate start and stop of the service

    Function parameters

    • string key

    • map event

    Return value

    • symbol - always nil

    37.2.18. OpenFirewallHelp

    Get the help text to the firewall opening widget

    Function parameters

    • boolean restart_displayed

    Return value

    • string - help text

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

    37.2.20. OpenFirewallInit

    Initialize the open firewall widget

    Function parameters

    • map<string,any> widget

    • string key

    Return value

    • void

    37.2.21. OpenFirewallInitWrapper

    Init function of the widget

    Function parameters

    • string key

    Return value

    • void

    37.2.22. OpenFirewallModified

    Check if the widget was modified

    Function parameters

    • string key

    Return value

    • boolean - true if widget was modified

    37.2.23. OpenFirewallStore

    Store function of the widget

    Function parameters

    • map<string,any> widget

    • string key

    • map event

    Return value

    • void

    37.2.24. OpenFirewallStoreWrapper

    Store function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • void

    37.2.25. StoreAllowedInterfaces

    Store the list of allowed interfaces Users the internal variables

    Function parameters

    • list<string> services

    Return value

    • void

    37.3. Global Variables

    37.4. Module Requirements

    37.4.1. Module Imports

    • CWM
    • Label
    • Mode
    • NetworkInterfaces
    • Popup
    • Report
    • SuSEFirewall
    • SuSEFirewallProposal

    37.4.2. Module Includes