Top
ServerView Resource Orchestrator Cloud Edition V3.1.2 Reference Guide (Command/XML)
FUJITSU Software

14.1.6 ListFirewallRuleset (Obtain a List of Firewall Rulesets)

Name

[Windows Manager]
Installation_folder\RCXCFMG\bin\ListFirewallRuleset - Obtain a List of Firewall Rulesets

[Linux Manager]
/opt/FJSVcfmg/bin/ListFirewallRuleset.sh - Obtain a List of Firewall Rulesets

Synopsis

[Windows Manager]

ListFirewallRuleset -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name

[Linux Manager]

ListFirewallRuleset.sh -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name

Function description

This command obtains a list of firewall rulesets.

Options

-version

Specify the version ID of the L-Platform API.

-locale

Specify the language used to communicate with the L-Platform API.

-userId

Specify the user ID for executing the L-Platform API.

-password

Specify the password for the user ID for executing the L-Platform API.

-orgId

Specify the tenant name of the user for executing the L-Platform API.

Requirements

Permissions

User with OS administrator privilege

Location

Admin server

Example

[Windows Manager]
> ListFirewallRuleset -version 2.0 -locale en -userId user3 -password password -orgId tenantA
<?xml version="1.0" encoding="UTF-8"?>
<ListFirewallRulesetResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
  <rulesets>
    <ruleset>
      <description>3 tier firewall system(scope is within 3 tiers) that used Simple UI</description>
      <lplatformModel>Firewall+SLB</lplatformModel>
      <name>Simple_FW_setting_for_NS</name>
      <numOfMaxSegment>3</numOfMaxSegment>
      <numOfMaxVm>10</numOfMaxVm>
      <rulesetCategory>config</rulesetCategory>
      <type>Firewall</type>
    </ruleset>
    <ruleset>
      <description>Operation to display logs for Simple UI.</description>
      <name>Simple_log_display_for_NS</name>
      <rulesetCategory>operation</rulesetCategory>
      <type>Firewall</type>
    </ruleset>
  </rulesets>
</ListFirewallRulesetResponse>
[Linux Manager]
# ListFirewallRuleset.sh -version 2.0 -locale en -userId user3 -password password -orgId tenantA
<?xml version="1.0" encoding="UTF-8"?>
<ListFirewallRulesetResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
  <rulesets>
    <ruleset>
      <description>3 tier firewall system(scope is within 3 tiers) that used Simple UI</description>
      <lplatformModel>Firewall+SLB</lplatformModel>
      <name>Simple_FW_setting_for_NS</name>
      <numOfMaxSegment>3</numOfMaxSegment>
      <numOfMaxVm>10</numOfMaxVm>
      <rulesetCategory>config</rulesetCategory>
      <type>Firewall</type>
    </ruleset>
    <ruleset>
      <description>Operation to display logs for Simple UI.</description>
      <name>Simple_log_display_for_NS</name>
      <rulesetCategory>operation</rulesetCategory>
      <type>Firewall</type>
    </ruleset>
  </rulesets>
</ListFirewallRulesetResponse>

Exit Status

This command returns the following values:

0

The command executed successfully.

non-zero

An error has occurred.