名前
【Windowsマネージャー】
インストールフォルダー\RCXCFMG\bin\ListFirewallRuleset - ファイアーウォールのルールセットの一覧を取得
【Linuxマネージャー】
/opt/FJSVcfmg/bin/ListFirewallRuleset.sh - ファイアーウォールのルールセットの一覧を取得
形式
【Windowsマネージャー】
ListFirewallRuleset -version バージョンID -locale 言語コード -userId ユーザーID -password パスワード -orgId テナント名
【Linuxマネージャー】
ListFirewallRuleset.sh -version バージョンID -locale 言語コード -userId ユーザーID -password パスワード -orgId テナント名
機能説明
ファイアーウォールのルールセットの一覧を取得します。
オプション
L-Platform APIのバージョンIDを指定します。
L-Platform APIと通信するための言語を指定します。
L-Platform APIを実行するユーザーIDを指定します。
L-Platform APIを実行するユーザーIDのパスワードを指定します。
L-Platform APIを実行するユーザーのテナント名を指定します。
必要な権限・実行環境
OSの管理者権限をもつユーザー
管理サーバ
使用例
> ListFirewallRuleset -version 2.0 -locale ja -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># ListFirewallRuleset.sh -version 2.0 -locale ja -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>終了ステータス
以下の終了ステータスが返されます。
正常に処理されました。
エラーが発生しました。