LMI_FirewalldConfigurationService

Class reference

Subclass of CIM_Service

Service for managing Firewalld daemon on the managed system.

Local properties

None

Local methods

uint32 CreateService (string Name, LMI_FirewalldService Service)

Create new Firewalld service that can be used in Firewalld rules.

ValueMap Values
0 Completed with No Error
1 Not Supported
2 Unknown/Unspecified Error
3 Failed
4 Invalid Parameter
5 Busy
4096 Method Parameters Checked - Job Started

Parameters

IN string Name
Name of the service.
OUT LMI_FirewalldService Service
Created service object.

uint32 ApplySettingToIPNetworkConnection (LMI_FirewalldZone SettingData, CIM_IPNetworkConnection IPNetworkConnection, CIM_ConcreteJob Job)

Apply the zone setting to given IPNetworkConnection.

ValueMap Values
0 Completed with No Error
1 Not Supported
2 Unknown/Unspecified Error
3 Failed
4 Invalid Parameter
5 Busy
4096 Method Parameters Checked - Job Started

Parameters

IN LMI_FirewalldZone SettingData
The Firewalld zone to apply.
IN CIM_IPNetworkConnection IPNetworkConnection
The IPNetworkConnection to which the zone will be applied.
OUT CIM_ConcreteJob Job

Reference to the job spawned if the operation continues after the method returns. This parameter MUST NOT be null if a value of 4096 is returned. This parameter MUST be null if any other value is returned by the method.

NOTE: This method does not currently return jobs.

uint32 CreateICMPType (string Name, LMI_FirewalldICMPType ICMPType)

Create new ICMP type that can be used in Firewalld rules.

ValueMap Values
0 Completed with No Error
1 Not Supported
2 Unknown/Unspecified Error
3 Failed
4 Invalid Parameter
5 Busy
4096 Method Parameters Checked - Job Started

Parameters

IN string Name
Name of the ICMP type.
OUT LMI_FirewalldICMPType ICMPType
Created ICMP type object.

uint32 CreateZone (string Name, LMI_FirewalldZone Zone)

Create new Firewalld zone. The zone is created empty and should be later configured by modifying the LMI_FirewalldZone instance, or adding rules into it.

ValueMap Values
0 Completed with No Error
1 Not Supported
2 Unknown/Unspecified Error
3 Failed
4 Invalid Parameter
5 Busy
4096 Method Parameters Checked - Job Started

Parameters

IN string Name
Name of the zone.
OUT LMI_FirewalldZone Zone
Created zone object.

Table Of Contents

Previous topic

CIM_System

Next topic

LMI_FirewalldDirect

This Page