.. _LMI-FirewalldConfigurationService: LMI_FirewalldConfigurationService --------------------------------- Class reference =============== Subclass of :ref:`CIM_Service ` Service for managing Firewalld daemon on the managed system. Key properties ^^^^^^^^^^^^^^ | :ref:`Name ` | :ref:`SystemName ` | :ref:`SystemCreationClassName ` | :ref:`CreationClassName ` Local properties ^^^^^^^^^^^^^^^^ *None* Local methods ^^^^^^^^^^^^^ .. _LMI-FirewalldConfigurationService-CreateService: ``uint32`` **CreateService** (``string`` Name, :ref:`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* :ref:`LMI_FirewalldService ` **Service** Created service object. .. _LMI-FirewalldConfigurationService-ApplySettingToIPNetworkConnection: ``uint32`` **ApplySettingToIPNetworkConnection** (:ref:`LMI_FirewalldZone ` SettingData, :ref:`CIM_IPNetworkConnection ` IPNetworkConnection, :ref:`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* :ref:`LMI_FirewalldZone ` **SettingData** The Firewalld zone to apply. *IN* :ref:`CIM_IPNetworkConnection ` **IPNetworkConnection** The IPNetworkConnection to which the zone will be applied. *OUT* :ref:`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. .. _LMI-FirewalldConfigurationService-CreateICMPType: ``uint32`` **CreateICMPType** (``string`` Name, :ref:`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* :ref:`LMI_FirewalldICMPType ` **ICMPType** Created ICMP type object. .. _LMI-FirewalldConfigurationService-CreateZone: ``uint32`` **CreateZone** (``string`` Name, :ref:`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* :ref:`LMI_FirewalldZone ` **Zone** Created zone object. Inherited properties ^^^^^^^^^^^^^^^^^^^^ | ``uint16`` :ref:`RequestedState ` | ``uint16`` :ref:`HealthState ` | ``string`` :ref:`SystemCreationClassName ` | ``string`` :ref:`InstanceID ` | ``uint16`` :ref:`CommunicationStatus ` | ``string`` :ref:`SystemName ` | ``string[]`` :ref:`StatusDescriptions ` | ``string`` :ref:`Status ` | ``string`` :ref:`ElementName ` | ``string`` :ref:`Description ` | ``uint16`` :ref:`TransitioningToState ` | ``boolean`` :ref:`Started ` | ``datetime`` :ref:`TimeOfLastStateChange ` | ``uint16`` :ref:`PrimaryStatus ` | ``uint16`` :ref:`DetailedStatus ` | ``string`` :ref:`Name ` | ``datetime`` :ref:`InstallDate ` | ``uint16`` :ref:`EnabledDefault ` | ``uint16`` :ref:`EnabledState ` | ``string`` :ref:`Caption ` | ``string`` :ref:`StartMode ` | ``uint16[]`` :ref:`AvailableRequestedStates ` | ``uint64`` :ref:`Generation ` | ``string`` :ref:`OtherEnabledState ` | ``uint16[]`` :ref:`OperationalStatus ` | ``uint16`` :ref:`OperatingStatus ` | ``string`` :ref:`PrimaryOwnerContact ` | ``string`` :ref:`CreationClassName ` | ``string`` :ref:`PrimaryOwnerName ` Inherited methods ^^^^^^^^^^^^^^^^^ | :ref:`RequestStateChange ` | :ref:`StopService ` | :ref:`ChangeAffectedElementsAssignedSequence ` | :ref:`StartService `