.. _LMI-FirewalldRule: LMI_FirewalldRule ----------------- Class reference =============== Subclass of :ref:`CIM_SettingData ` LMI_FirewalldRule is an abstract class that represents one rule in the Firewalld Zone configuration. All the packets matching any of the rules are accepted. If the packet doesn't match any of the rules, it will be accepted, rejected or dropped, depending on value of Target property of associated LMI_FirewalldZone. Key properties ^^^^^^^^^^^^^^ | :ref:`InstanceID ` Local properties ^^^^^^^^^^^^^^^^ *None* Local methods ^^^^^^^^^^^^^ .. _LMI-FirewalldRule-AddRuleComponent: ``uint32`` **AddRuleComponent** (:ref:`LMI_FirewalldRule ` Rule) Extend current rule with some detailed specification. For example add a new port to the service definition. TODO: specify what rules are allowed to add to what rule. **Parameters** *IN* :ref:`LMI_FirewalldRule ` **Rule** Firewalld Rule that should extend the rule. Inherited properties ^^^^^^^^^^^^^^^^^^^^ | ``string`` :ref:`ElementName ` | ``string`` :ref:`Description ` | ``uint16`` :ref:`ChangeableType ` | ``string`` :ref:`InstanceID ` | ``uint64`` :ref:`Generation ` | ``string`` :ref:`Caption ` | ``string`` :ref:`ConfigurationName ` Inherited methods ^^^^^^^^^^^^^^^^^ *None*