pyanaconda.modules.network.firewall.firewall_interface
Classes
DBus interface for the firewall module. |
Module Contents
- class pyanaconda.modules.network.firewall.firewall_interface.FirewallInterface[source]
Bases:
pyanaconda.modules.common.base.KickstartModuleInterfaceTemplate
DBus interface for the firewall module.
- property FirewallMode: Int[source]
How should the firewall be configured for the target system ?.
- Allowed values:
- -1
Unset. 0 Disabled. 1 Enabled. 2 Use system defaults.
- Returns:
a value of the Firewall setup mode
- Return type:
Int
- property EnabledPorts: List[Str][source]
List of ports to be allowed through the firewall.
- Return type:
List[Str]
- property Trusts: List[Str][source]
List of trusted devices to be allowed through the firewall.
- Return type:
List[Str]
- property EnabledServices: List[Str][source]
List of services to be allowed through the firewall.
- Return type:
List[Str]