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
Specify the version ID of the L-Platform API.
Specify the language used to communicate with the L-Platform API.
Specify the user ID for executing the L-Platform API.
Specify the password for the user ID for executing the L-Platform API.
Specify the tenant name of the user for executing the L-Platform API.
Requirements
User with OS administrator privilege
Admin server
Example
> 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>
<name>Firewall1</name>
<type>Firewall</type>
<rulesetCategory>config</rulesetCategory>
<numOfMaxSegment>3</numOfMaxSegment>
<numOfMaxVm>5</numOfMaxVm>
<description>3 Tier firewall system</description>
<lplatformModel>Firewall Only</lplatformModel>
</ruleset>
<ruleset>
<name>Firewall2</name>
<type>Firewall</type>
<rulesetCategory>config</rulesetCategory>
<numOfMaxSegment>3</numOfMaxSegment>
<numOfMaxVm>10</numOfMaxVm>
<description>3 Tier firewall and SLB system</description>
<lplatformModel>Firewall+SLB</lplatformModel>
</ruleset>
</rulesets>
</ListFirewallRulesetResponse># 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>
<name>Firewall1</name>
<type>Firewall</type>
<rulesetCategory>config</rulesetCategory>
<numOfMaxSegment>3</numOfMaxSegment>
<numOfMaxVm>5</numOfMaxVm>
<description>3 Tier firewall system</description>
<lplatformModel>Firewall Only</lplatformModel>
</ruleset>
<ruleset>
<name>Firewall2</name>
<type>Firewall</type>
<rulesetCategory>config</rulesetCategory>
<numOfMaxSegment>3</numOfMaxSegment>
<numOfMaxVm>10</numOfMaxVm>
<description>3 Tier firewall and SLB system</description>
<lplatformModel>Firewall+SLB</lplatformModel>
</ruleset>
</rulesets>
</ListFirewallRulesetResponse>Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.