35. CWMFirewallInterfaces

Routines for selecting interfaces opened in firewall

35.1. Summary of Module Globals

List of Global Functions

List of Global Variables

    35.2. Global Functions

    35.2.1. CreateInterfacesWidget

    Get the widget description map

    Function parameters

    • map<string,any> settings

    Return value

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

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

    35.2.3. DisableOpenFirewallWidget

    Disable the whole firewal widget

    Return value

    • void

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

    35.2.5. EnableOpenFirewallWidget

    Enable the whole firewal widget

    Return value

    • void

    35.2.6. InitAllowedInterfaces

    Initialize the list of allowed interfaces Changes the internal variables

    Function parameters

    • list<string> services

    Return value

    • void

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

    35.2.8. InterfacesHandleWrapper

    Handle function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • symbol - for wizard sequencer or nil

    35.2.9. InterfacesInit

    Init function of the widget

    Function parameters

    • map<string,any> widget

    • string key

    Return value

    • void

    35.2.10. InterfacesInitWrapper

    Init function of the widget

    Function parameters

    • string key

    Return value

    • void

    35.2.11. InterfacesStore

    Store function of the widget

    Function parameters

    • map<string,any> widget

    • string key

    • map event

    Return value

    • void

    35.2.12. InterfacesStoreWrapper

    Store function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • void

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

    35.2.14. InterfacesValidateWrapper

    Validate function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • boolean - true if validation succeeded, false otherwise

    35.2.15. Modified

    Check if settings were modified by the user

    Return value

    • boolean - true if settings were modified

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

    35.2.17. OpenFirewallHandleWrapper

    Handle the immediate start and stop of the service

    Function parameters

    • string key

    • map event

    Return value

    • symbol - always nil

    35.2.18. OpenFirewallHelp

    Get the help text to the firewall opening widget

    Function parameters

    • boolean restart_displayed

    Return value

    • string - help text

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

    35.2.20. OpenFirewallInit

    Initialize the open firewall widget

    Function parameters

    • map<string,any> widget

    • string key

    Return value

    • void

    35.2.21. OpenFirewallInitWrapper

    Init function of the widget

    Function parameters

    • string key

    Return value

    • void

    35.2.22. OpenFirewallModified

    Check if the widget was modified

    Function parameters

    • string key

    Return value

    • boolean - true if widget was modified

    35.2.23. OpenFirewallStore

    Store function of the widget

    Function parameters

    • map<string,any> widget

    • string key

    • map event

    Return value

    • void

    35.2.24. OpenFirewallStoreWrapper

    Store function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • void

    35.2.25. StoreAllowedInterfaces

    Store the list of allowed interfaces Users the internal variables

    Function parameters

    • list<string> services

    Return value

    • void

    35.3. Global Variables

    35.4. Module Requirements

    35.4.1. Module Imports

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

    35.4.2. Module Includes