pyanaconda.modules.network.firewall.firewall_interface

Classes

FirewallInterface

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.

connect_signals()[source]

Connect the signals.

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]

property DisabledServices: List[Str][source]

List of services to be explicitly disabled on the firewall.

Return type:

List[Str]

InstallWithTask()[source]

Install the bootloader.

FIXME: This is just a temporary method.

Returns:

a path to a DBus task

Return type:

ObjPath