ページの先頭行へ戻る
ServerView Resource Orchestrator Cloud Edition V3.2.0 リファレンスガイド (コマンド/XML編)
FUJITSU Software

14.1.6 ListFirewallRuleset (ファイアーウォールのルールセットの一覧を取得)

名前

【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 テナント名

機能説明

ファイアーウォールのルールセットの一覧を取得します。

オプション

-version

L-Platform APIのバージョンIDを指定します。

-locale

L-Platform APIと通信するための言語を指定します。

-userId

L-Platform APIを実行するユーザーIDを指定します。

-password

L-Platform APIを実行するユーザーIDのパスワードを指定します。

-orgId

L-Platform APIを実行するユーザーのテナント名を指定します。

必要な権限・実行環境

権限

OSの管理者権限をもつユーザー

実行環境

管理サーバ

使用例

【Windowsマネージャー】
> 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>
【Linuxマネージャー】
# 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>

終了ステータス

以下の終了ステータスが返されます。

0

正常に処理されました。

0以外

エラーが発生しました。