Previous page

Next page

Locate page in Contents

Print this page

is_enabled

Linux Summary:

Checks if the firewall is enabled.

Request specification:

Name

Min/Max

Type

Description

is_enabled

0..1

 

 

Returns:

Name

Min/Max

Type

Description

status

0..1

boolean

true -- the firewall is enabled.

false -- the firewall is disabled.

Example:

Input

<packet version="4.0.0">

<dst>

<host>9bafbeb7-85f7-499e-a210-40e00850a5f3</host>

</dst>

<target>firewallm</target>

<data>

<firewallm>

<is_enabled/>

</firewallm>

</data>

</packet>

Output:

<ns1:packet priority="0" version="4.0.0">

<ns1:origin>firewallm</ns1:origin>

<ns1:target>vzclient3</ns1:target>

<ns1:data>

<ns2:firewallm>

<ns2:status>0</ns2:status> <!-- disabled -->

</ns2:firewallm>

</ns1:data>

</ns1:packet>

Please send us your feedback on this help page