Hammer CLI ガイド

Red Hat Satellite 6.5

Satellite の CLI ツール、Hammer の使用

Red Hat Satellite Documentation Team

概要

本ガイドは、Hammer CLI ツールを使用して Red Hat Satellite を設定/管理する方法を説明します。

第1章 Hammer の概要

Hammer は、Red Hat Satellite 6 で提供される強力なコマンドラインツールです。Hammer を使用して、CLI コマンド、またはシェルスクリプトによる自動化により、Red Hat Satellite Server を設定/管理することができます。Hammer は対話式のシェルも提供します。

Hammer と Satellite Web UI の比較

Web UI の操作感と比較すると、Hammer を使用する場合には環境変数やエイリアスなどのシェル機能が自由に使えるため、Satellite Server との対話がはるかに速くなります。また、Hammer のコマンドを再利用可能なスクリプトに組み込み、あらゆるレベルで複雑なタスクを自動化することもできます。Hammer コマンドからの出力を他のツールにリダイレクトして、既存の環境と統合することができます。Hammer コマンドは、Red Hat Satellite を稼働するベースオペレーティングシステムで直接実行できます。

Hammer コマンドを発行するには、Satellite Server のベースのオペレーティングシステムにアクセスする必要があるため、Web UI と比較すると、潜在的なユーザー数が限定されてしまいます。Hammer と Web UI の違いはほぼありませんが、Web UI の開発の優先度は高く、特に新しく導入される機能についてはこちらが優先されることがあります。

Hammer と Satellite API の比較

多くのタスクで、Hammer も Satellite API も同等に利用可能です。Hammer は、スクリプトに適用する前に API の呼び出しの応答をテストするなど、Satellite API よりも使いやすいインターフェースとして利用できます (hammer -d organization list など、Hammer で発行した API の呼び出しを検査するには -d オプションを使用します)。API での変更は自動的に Hammer に適用されますが、API を直接使用するスクリプトは手動で更新する必要があります。

バックグラウンドで、各 Hammer コマンドは最初に API へのバインドを確立し、要求を送信します。大量の Hammer コマンドを順番に実行する場合には、パフォーマンスに影響が出る可能性があります。反対に、API で直接通信するスクリプトではバインドを確立するのは一度で済みます。詳しい情報は 『Red Hat Satellite API ガイド』を参照してください。

1.1. ヘルプ

hammer オプションおよびサブコマンドの完全な一覧を表示するには以下を実行します。

$ hammer --help

以下のように --help を使用してサブコマンドを確認します。

$ hammer organization --help

以下のように grep を使用して help の出力を検索するか、テキストビューワーにリダイレクトすることができます。

$ hammer | less

1.2. 認証

hammer コマンドを使用する場合は Red Hat Satellite に ID を証明する必要があります。hammer コマンドは手動または自動で実行できます。いずれの場合も、認証には Satellite 認証情報が必要です。hammer 認証には 3 つの方法があります。

  • Hammer 認証セッション
  • hammer 設定ファイルに認証情報を保存
  • hammer コマンドを使用するたびに認証情報を指定

自動でコマンドを実行する場合は、hammer 設定ファイルを使用することが推奨されます。たとえば、cron ジョブから Satellite メンテナンスコマンドを実行する場合です。コマンドを手動で実行する場合は、hammer 認証セッションを使用して、コマンドを実行するたびに認証情報を提供する方法が推奨されます。

1.2.1. Hammer 認証セッション

Hammer 認証セッションは、認証情報が保存されるキャッシュです。認証情報は、セッションの開始時に、一度だけ指定する必要があります。この方法は、たとえば hammer コマンドを含むスクリプトなど、hammer コマンドを続けて複数実行するのに適しています。このシナリオでは、Satellite 認証情報を一度だけ入力すると、そのスクリプトは期待通りに実行します。hammer 認証セッションを使用する場合は、スクリプトに認証情報を保存せず、hammer 設定ファイル ~/.hammer/cli.modules.d/foreman.yml に保存します。

セッションの使用方法は以下のようになります。

  • セッションを有効にするには、:use_sessions: true~/.hammer/cli.modules.d/foreman.yml ファイルに追加します。

    :foreman:
     :use_sessions: true

    セッションを有効にすると、設定ファイルに保存している認証情報は無視されます。

  • セッションを開始するには、以下のコマンドを入力します。

    # hammer auth login

    Satellite 認証情報が求められ、ログインします。その認証情報は、セッションの有効期限が切れるまで持続するため、再要求はされません。

  • セッションのデフォルトの長さは 60 分ですが、自由に変更できます。たとえば、30 分に変更するには、以下のコマンドを使用します。

    # hammer settings set --name idle_timeout --value 30
    Setting [idle_timeout] updated to [30]
  • セッションの現在のステータスを表示するには、以下のコマンドを実行します。

    # hammer auth status
  • セッションを終了するには、以下のコマンドを入力します。

    # hammer auth logout

1.2.2. Hammer 設定ファイル

--foreman-admin-username オプションおよび --foreman-admin-password オプションを使用して Satellite のインストールを実行すると、入力した認証情報が ~/.hammer/cli.modules.d/foreman.yml に保存され、hammer により認証情報の入力が求められます。

認証情報は、手動で ~/.hammer/cli.modules.d/foreman.yml 設定ファイルに追加することもできます。

:foreman:
 :username: 'username'
 :password: 'password'
重要

hammer 設定ファイルのインデントには、スペースのみを使用するようにしてください。タブは使用しないでください。

1.2.3. コマンドライン

Satellite 認証情報を ~/.hammer/cli.modules.d/foreman.yml 設定ファイルに保存しないと、コマンドを入力するたびに hammer によって認証情報が求められます。以下のように、コマンドの実行時に認証情報を指定できます。

$ hammer -u username -p password subcommands
注記

本ガイドの例は、設定ファイルの認証情報が保存されているか、hammer 認証セッションを使用していることを前提としています。

1.3. スタンドアロンの Hammer の使用

Satellite Server がインストールされていないホストに、hammer をインストールして、リモートの Satellite への接続に使用できます。

前提条件

  • Satellite Server または Capsule Server にホストを登録するようにしてください。詳細は、『プロビジョニングガイド』の「ホストの登録」を参照してください。
  • Satellite Server または Capsule Server で以下のリポジトリーを同期してください。詳細は、『コンテンツ管理ガイド』「Red Hat リポジトリーの同期」を参照してください。

    • rhel-7-server-rpms
    • rhel-server-rhscl-7-rpms
    • rhel-7-server-satellite-tools-6.5-rpms

手順

ホストで、以下の手順を実行して hammer をインストールします。

  1. Red Hat Enterprise Linux、Red Hat Software Collections および Red Hat Satellite Tools の各リポジトリーを有効にします。

    # subscription-manager repos --enable=rhel-7-server-rpms \
    --enable=rhel-server-rhscl-7-rpms \
    --enable=rhel-7-server-satellite-tools-6.5-rpms
  2. hammer をインストールします。

    # yum install tfm-rubygem-hammer_cli_katello
  3. Satellite の IP アドレスまたは FQDN を含めるように、/etc/hammer/cli.modules.d/foreman.yml ファイルの :host: エントリーを編集します。

    :host: 'https://satellite.example.com'

1.4. デフォルトの組織の設定

多くの hammer コマンドは組織固有のものです。--organization パラメーターや --organization-id パラメーターを毎回指定しなくてもよいように、hammer コマンドにデフォルトの組織を設定できます。デフォルトの組織を設定するには、以下のいずれかのコマンドを使用します。

$ hammer defaults add --param-name organization --param-value org_name
$ hammer defaults add --param-name organization_id --param-value org_ID

hammer organization list コマンドの出力で org_ID を確認します。

同様に、名前または ID を指定して、デフォルトのロケーションを設定します。以下のいずれかのコマンドを実行します。

$ hammer defaults add --param-name location --param-value loc_name
$ hammer defaults add --param-name location_id --param-value loc_ID

現在指定しているデフォルトの設定を表示するには、以下のコマンドを実行します。

$ hammer defaults list

1 つの組織を管理することが多い場合には、デフォルトの組織を指定するとコマンドを省略できるので便利です。ただし、別の組織に切り替える場合には、コマンドラインオプションを使用して指定する必要があります。本ガイドの例は、デフォルトの組織を指定していないことを前提としており、「Hammer コマンドで組織の特定」のように、シェル変数のアプローチを使用します。

1.5. Hammer の設定

デフォルトでは、グローバルの hammer 設定は以下の場所に配置されています。

  • 一般的な hammer の設定: /etc/hammer/cli_config.yml
  • CLI モジュールの設定ファイル: /etc/hammer/cli.modules.d/

hammer (~/.hammer/cli_config.yml) または CLI モジュール (~/.hammer/cli.modules.d/ の適切な .yml ファイル) にユーザー固有のディレクティブを設定できます。

設定ファイルの読み込み順と、読み込んだモジュールのバージョンを表示するには、以下を実行します。

$ hammer -d --version
注記

多くの CLI モジュールの設定を読み込むと、hammer コマンドの実行の速度が遅くなる可能性があります。このような場合に、あまり使用しない CLI モジュールを無効化することを検討してください。

「認証」に記載されているような認証情報を保存する以外に、~/.hammer/ 設定ディレクトリーに他の複数のオプションを設定できます。たとえば、~/.hammer/cli_config.yml でデフォルトのログレベルを変更して、以下のディレクティブを使用してログのローテーションを設定することができます。これらのディレクティブは、現在のユーザーにのみ影響を及ぼし、グローバルには適用されない点に注意してください。

:log_level: 'warning'
:log_size: 5 #in MB

同様に、ユーザーインターフェースの設定を行います。たとえば、Hammer 出力で、要求ごとに表示するエントリー数を設定するには、以下の行を変更します。

:per_page: 30

この設定は、--per-page Hammer オプションと同等です。

1.6. Hammer ロギングの設定

hammer を設定して、さまざまな Satellite コンポーネントのデバッグ情報をロギングすることができます。

全 Satellite コンポーネントに対してデバッグまたは通常の設定オプションを設定できます。

注記

hammer のロギング動作を変更したら、Satellite サービスを再起動する必要があります。

# foreman-maintain service restart
  • 全コンポーネントのデバッグレベルを設定するには、以下のコマンドを使用します。

    # hammer admin logging --all --level-debug
    # foreman-maintain service restart
  • 実稼動レベルのロギングを設定するには、以下のコマンドを使用します。

    # hammer admin logging --all --level-production
    # foreman-maintain service restart
  • ロギングが設定可能なコンポーネントで現在認識されているものを表示するには、以下のコマンドを使用します。

    # hammer admin logging --list
  • 利用可能なロギングオプションを一覧表示するには、以下のコマンドを使用します。

    # hammer admin logging --help
    
    Usage:
        hammer admin logging [OPTIONS]

1.7. Hammer シェルの呼び出し

対話型シェルで hammer コマンドを発行することができます。このシェルを呼び出すには、以下のコマンドを発行します。

$ hammer shell

このシェルでは、「hammer」と入力せずに直接サブコマンドを入力できるので、スクリプトで使用する前にコマンドをテストする際に便利です。このシェルを終了するには、exit と入力するか、[Ctrl + D] を押してください。

1.8. フォーマット済みの出力の生成

hammer コマンドのデフォルトの出力形式を変更して、他のコマンドラインツールやアプリケーションでこの出力結果を処理しやすくすることができます。たとえば、CSV 形式で、カスタムの区切り文字を利用して (ここではセミコロンを使用) 組織を表示するには、以下のコマンドを実行します。

$ hammer --csv --csv-separator ";" organization list

CSV 形式での出力は、ID を解析したり for ループで使用したりする必要がある場合に便利です (例2.6「ACME 組織の全リポジトリーの同期」または例2.8「複数製品への同期プランの割り当て」を参照してください)。

--output オプションには、他に複数のフォーマットオプションがあります。

$ hammer --output output_format organization list

output_format を、以下のいずれかに置き換えます。

  • table: 人間が判読できる表形式 (デフォルト) で出力を生成します。
  • base: キーと値のペアの形式で出力を生成します。
  • yaml: YAML 形式で出力を生成します。
  • csv: コンマ区切りの値形式で出力を生成します。カスタムの区切り文字を定義するには、代わりに --csv および --csv-separator オプションを使用してください。
  • json: JavaScript Object Notation (JSON) 形式の出力を生成します。
  • silent: 出力を表示しません。

1.9. Hammer コマンドからヘッダー出力を隠す

hammer コマンドの使用時には、出力からヘッダーを隠すオプションがあります。カスタムスクリプトでパイプを使用するまたは出力を使用する場合は、出力の非表示が便利です。

  • ヘッダー出力を隠すには、--no-headers オプションを hammer コマンドに追加します。

1.10. Hammer でのトラブルシューティング

hammer ping コマンドを使用して、コアの Satellite サービスのステータスを確認することができます。foreman-maintain service status コマンドと併用すると、Satellite の問題の診断、トラブルシューティングに役立ちます。すべてのサービスが予想どおりに実行されている場合には、出力は以下のようになります。

$ hammer ping
candlepin:
    Status:          ok
    Server Response: Duration: 22ms
candlepin_auth:
    Status:          ok
    Server Response: Duration: 17ms
pulp:
    Status:          ok
    Server Response: Duration: 41ms
pulp_auth:
    Status:          ok
    Server Response: Duration: 23ms
foreman_tasks:
    Status:          ok
    Server Response: Duration: 33ms

第2章 組織、ロケーション、リポジトリーの管理

hammer を使用して、組織、ロケーション、リポジトリーの作成、編集、管理を行うことができます。以下の手順を Web UI で行う場合は『コンテンツ管理ガイド』の「組織の管理」および「Red Hat コンテンツのインポート」を参照してください。

2.1. 組織

Red Hat Satellite の組織は、Satellite デプロイメント内にあるシステム、コンテンツ、その他の機能を分離して集めたものです。本章では、hammer を使用した組織の作成、変更の方法を説明します。

2.1.1. 組織の作成

以下のコマンドを使用して組織を作成します。

$ hammer organization create \
--name "org_name" \
--label "org_label" \
--description "org_description"

ここで、

  • org_name は組織の名前に置き換えます。このパラメーターは必須です。
  • org_labelsubscription-manager など、コマンドラインアプリケーションで使用する組織のラベルに置き換えます。ラベルにはホワイトスペースを含めることはできず、後で変更することもできません。ラベルを指定しない場合は、組織名から自動的に生成されます (ホワイトスペースはアンダースコアに置き換えられます)。
  • org_description は、組織の簡単な説明に置き換えます。このパラメーターは必須ではありませんが、組織が多くなったときに管理しやすくなります。

組織の作成時に全設定を行うことができます (hammer organization create --help を実行してオプションを表示します)。また、hammer organization update コマンドを使用して既存の組織を変更することもできます。

例2.1 ACME の組織の作成および更新

以下の例では、ACME という名前の組織の作成方法を示します。

$ ORG="ACME"
$ hammer organization create \
--name $ORG \
--description "Example_organization"

このコマンドは、組織にコンピュートリソースを割り当てます。

$ hammer organization update \
--name $ORG \
--compute-resource-ids 1

2.1.2. Hammer コマンドで組織の特定

Satellite Server で実行可能なタスクの多くは、組織固有のものです。Hammer コマンドは、organization オプション、organization-label オプション、または organization-id オプションを使用して、3 つの方法で組織を特定することができます。組織 ID を検索するには、以下のコマンドを使用します。

$ hammer organization list

組織名が長い場合には、シェル変数に保存することを検討してください。Hammer コマンドではこの変数を使用できます。以下に例を示します。

$ ORG = "Red Hat Enterprise Linux Developer Team"
$ hammer product list --organization $ORG

本ガイドの例ではこのアプローチを使用します。

1 つの組織を管理することが多い場合は、これをデフォルトとして設定できます。詳しい方法は「デフォルトの組織の設定」を参照してください。

2.1.3. マニフェストのアップロード

サブスクリプションマニフェストにより、Red Hat カスタマーポータルから Satellite Server にサブスクリプションが移行されます。まず『コンテンツ管理ガイド』「サブスクリプションマニフェストの作成」の説明通りに、Red Hat カスタマーポータルでマニフェストを作成し、そのマニフェストを以下のように組織にアップロードします。

$ hammer subscription upload \
--organization-label org_label \
--file path_to_manifest

例2.2 マニフェストの ACME 組織へのアップロード

以下の例では、サブスクリプションマニフェストファイルを ACME 組織にアップロードする方法を説明します (組織名がシェル変数に保存されていることを前提とします)。

$ hammer subscription upload --organization $ORG --file /tmp/manifest.zip

マニフェストでインポートしたサブスクリプションを表示するには、以下を実行します。

$ hammer subscription list --organization $ORG

2.2. ロケーション」

Red Hat Satellite のロケーションは、物理的な場所を示すデフォルトの設定を集めたものです。本セクションでは、hammer を使用した場所の作成方法を説明します。

2.2.1. ロケーションの作成

以下のコマンドを使用してロケーションを作成します。

$ hammer location create --name location_name

例2.3 スクリプトを使用した複数のロケーションの作成

以下の Bash スクリプトでは、3 つのロケーション (ロンドン、ミュンヘン、ボストン) を作成して、これらの場所を ACME 組織に割り当てます。

ORG="ACME"
LOCATIONS="london munich boston"

for LOC in ${LOCATIONS}
do
  hammer location create --name "${LOC}"
  hammer location add-organization --name "${LOC}" --organization "${ORG}"
done

hammer location --help を実行して考えられるロケーション関連の操作を表示します。

2.3. リポジトリー

リポジトリーは、コンテンツコレクション用のストレージを提供します。本セクションでは、hammer を使用してリポジトリーを有効にして、同期する方法を説明します。

2.3.1. リポジトリーの有効化

Red Hat リポジトリーを有効化する前に、リポジトリーの名前、リポジトリーが提供する製品の名前、ベースアーキテクチャー、リリースバージョンを知っておく必要があります。以下のコマンドを使用して、リポジトリーを有効にします。

$ hammer repository-set enable \
--organization-label org_label \
--product "product_name" \
--basearch "base_architecture" \
--releasever "release_version" \
--name "repository_name"

例2.4 Red Hat Enterprise Linux リポジトリーの有効化

以下のコマンドは、組織用に Red Hat Enterprise Linux 7 Server リポジトリーを有効化します。

$ hammer repository-set enable \
--organization $ORG \
--product "Red Hat Enterprise Linux Server" \
--basearch "x86_64" \
--releasever "7Server" \
--name "Red Hat Enterprise Linux 7 Server (RPMs)"

hammer repository-set --help を実行して、利用可能なリポジトリー関連の操作を表示します。また、hammer repository --help も参照してください。

2.3.2. リポジトリーの同期

リポジトリーを同期すると、Red Hat カスタマーポータルから Satellite Server にコンテンツをプルします。リポジトリーを同期するには、リポジトリーの名前と製品名を指定する必要があります。

$ hammer repository synchronize \
--product "product_name" \
--name "repo_name" \
--organization-label org_label \
--async

コンテンツビューを作成した場合に、単一の組織内に同じ名前を持つリポジトリーが複数存在する可能性がある点に注意してください。--id オプションを使用して、同期するリポジトリーを特定します (hammer repository list を実行してリポジトリー ID を検索します)。

例2.5 Red Hat Enterprise Linux リポジトリーの同期

以下のコマンドは、組織内の Red Hat Enterprise Linux 7 Server リポジトリーを一度同期します。

$ hammer repository synchronize \
--product "Red Hat Enterprise Linux Server" \
--name "Red Hat Enterprise Linux 7 Server (RPMs)" \
--organization $ORG \
--async

上記のコマンドを実行すると、タスク ID が表示されます。

Repository is being synchronized in task 640bb71f-0ce5-40a3-a675-425a4acacceb

タスクの進捗を表示するには以下を実行します。

$ hammer task progress --id 640bb71f-0ce5-40a3-a675-425a4acacceb

最初の同期を完了すると、リポジトリーが Satellite Server にミラーリングされたリポジトリー一覧に追加されます。以下のコマンドを実行して一覧を表示します。

$ hammer repository list --organization $ORG

以下のように製品に含まれる全リポジトリーを同期することもできます。

$ hammer product synchronize \
--organization-label org_label \
--name "product_name" \
--async

--async オプションを指定すると、リポジトリーの同期はバックグラウンドで実行するため、並行して複数のリポジトリーを有効にし、同期することも可能です。

例2.6 ACME 組織の全リポジトリーの同期

以下の Bash スクリプトは、ACME 組織内の全リポジトリーを同期します。

ORG="ACME"

for i in $(hammer --csv repository list --organization $ORG | grep -vi '^ID' | awk -F, {'print $1'})
do
  hammer repository synchronize --id ${i} --organization $ORG --async
done

2.3.3. 同期プランの作成

Red Hat Satellite の製品は、同期プロセスの最小単位として機能するリポジトリーの集まりです。指定の間隔で、選択した製品のリポジトリーを自動的に更新するように同期プランを作成することができます。

同期プランを定義するには、以下のコマンドを実行します。

$ hammer sync-plan create \
--name "sync_plan_name" \
--enabled=true \
--interval repetition_interval \
--organization-label org_label \
--sync-date "initial_sync"

repetition_intervalhourlydaily、または weekly に置き換えます。initial_sync は、初回同期の日時 (「YYYY-MM-DD HH:MM:SS」形式) に置き換えます。

例2.7 同期プランの作成

以下のコマンドは、2016 年 1 月 15 日から、毎日午前 3 時に実行する ACME 組織の日次の同期スケジュールを作成します。

$ hammer sync-plan create \
--name "daily sync at 3 a.m." \
--enabled=true \
--interval daily \
--organization $ORG \
--sync-date "2016-01-15 03:00:00"

同期プランと製品を関連付けるには、以下のコマンドを発行します。

$ hammer product set-sync-plan \
--organization-label org_label \
--name "product_name" \
--sync-plan "sync_plan_name"

例2.8 複数製品への同期プランの割り当て

以下の Bash スクリプトは、最低 1 回は同期しており、リポジトリーが 1 つ以上含まれる ACME 組織の製品を選択し、「daily sync at 3 a.m」という同期プランに割り当てます。

ORG="ACME"
SYNC_PLAN="daily sync at 3 a.m."

for i in $(hammer --csv product list --organization $ORG --per-page 999 | grep -vi '^ID' | grep -vi not_synced | awk -F, {'{ if ($5!=0) print $1}'})
do
  hammer product set-sync-plan --sync-plan $SYNC_PLAN --organization $ORG --id $i
done

スクリプトを実行したら、以下のコマンドを発行して、どの製品が同期プランに割り当てられたのかを確認します。

$ hammer product list --organization $ORG --sync-plan "daily sync at 3 a.m."

選択した組織で利用可能な同期プランを表示するには、以下のコマンドを実行します。

$ hammer sync-plan list --organization-label org_label

製品および同期プランとの連携方法に関する詳しい情報は hammer sync-plan --help および hammer product --help を参照してください。

2.3.4. カスタムリポジトリーの作成

Red Hat のリポジトリーを有効にすると、適切な製品が自動的に作成されます。カスタムのパッケージのリポジトリーを有効にするには、最初にこのリポジトリーの製品を手動で作成する必要があります。

以下のコマンドを使用してカスタムの製品を作成します。

$ hammer product create --name "product_name" --organization-label org_label

以下のコマンドは、カスタムの製品の下に新規リポジトリーを作成します。

$ hammer repository create \
--name "repo_name" \
--organization-label org_label \
--product "product_name" \
--content-type cont_type --publish-via-http true \
--url "repo_url"

例で使用している値は独自の値で置き換えてください。

  • cont_type はリポジトリーのコンテンツタイプを指定します。yumpuppetdocker の中から 1 つ選択してください。
  • repo_url は、利用可能なリポジトリーの URL を指定します。これは、--publish-via-http が有効の場合に限り有効です。

カスタムのリポジトリーにパッケージをアップロードするには、以下のコマンドを実行します。

$ hammer repository upload-content \
 --organization-label org_label \
 --id "repo_id" \
--path path_to_dir

path_to_dir は、カスタムリポジトリーに追加するコンテンツ (RPM パッケージ、Puppet モジュール、Docker イメージ) を含むディレクトリーへのパスに置きかえます。

第3章 コンテンツのライフサイクルの管理

このセクションは、hammer を使用してコンテンツビューを作成し、ライフサイクルの環境全体でプロモートする方法を説明します。

3.1. ライフサイクル環境の作成

ライフサイクル環境は、コンテンツライフサイクルのステージを表します。本セクションでは、hammer を使用してライフサイクル環境を表示、作成する方法を説明します。デフォルトでは、組織ごとにライブラリー環境が存在します。以下の構文を使用して、新しいライフサイクル環境を作成します。

$ hammer lifecycle-environment create \
--name env_name \
--description "env_description" \
--organization-label org_label \
--prior prior_env_name

例3.1 ライフサイクル環境の作成

以下の例では、ACME 組織のライブラリーをもとに新しい環境を作成する方法を示します (組織名がシェル変数に保存されていることが前提です)。

$ hammer lifecycle-environment create \
--name Development \
--description "Initial testing" \
--organization $ORG \
--prior Library

--prior を使用して、Development をベースにして別のライフサイクル環境を作成することができます。

既存のライフサイクル環境を表示するには、以下のコマンドを実行します。

$ hammer lifecycle-environment list --organization-label org_label

上記のコマンドの出力は以下のようになります。

---|-------------|------------
ID | NAME        | PRIOR
---|-------------|------------
2  | Library     |
5  | Development | Library
6  | Testing     | Development
---|-------------|------------

ライフサイクル環境に関するコマンドの情報は、hammer lifecycle-environment --help を参照してください。

3.2. コンテンツビューの作成

コンテンツビューとは、ライブラリーからのコンテンツのサブセットで、インテリジェントフィルターで作成されます。コンテンツビューは、さまざまな用途 (通常は開発、QA、実稼働環境) でコンテンツを利用できるように、ライフサイクル環境に公開してプロモートすることができます。

$ hammer content-view create \
--name cv_name \
--repository-ids repo_ID1,repo_ID2,repo_ID3 \
--description "cv_description" \
--organization-label org_label

--repository-ids オプションは、選択したリポジトリーをコンテンツビューに追加して、hammer repository list コマンドを使用して ID を検索します。このオプションを省略して空のコンテンツビューを作成し、後でサブコマンド update または add-repository を使用して変更することもできます。

例3.2 コンテンツビューの作成

以下の例は、ACME 組織の下にコンテンツビューを作成して、3 つのリポジトリーに割り当てます。

$ hammer content-view create \
--name cv-rhel7-server \
--repository-ids 1,2,3 \
--description "Initial CV for RHEL 7" \
--organization $ORG

例3.3 複合コンテンツビューの作成

複合コンテンツビューは、1 つまたは複数のコンテンツビューで構成されます。以下の例は、2 つの既存のコンテンツビューから複合コンテンツビューを作成する方法を示します。

$ hammer content-view create \
--name ccv-rhel7-server-scl \
--description "CCV for RHEL7 and Software Collections" \
--organization $ORG \
--composite --component-ids 2,6 \
--auto-publish yes

hammer content-view list を実行して、--component-ids オプションの ID を検索します。--auto-publish オプションを yes に設定すると、含まれるコンテンツビューが再発行される際に、自動で複合コンテンツビューが再発行されます。

コンテンツビューに追加可能なコンテンツビューは、RPM パッケージ、Puppet モジュール、Docker イメージの 3 つです。

3.2.1. リポジトリーのコンテンツビューへの追加

以下のコマンドを使用して既存のコンテンツビューにリポジトリーを追加します。

$ hammer content-view update \
--repository-ids repo_ID1,repo_ID2... \
--name cv_name \
--organization-label org_label

上記のコマンドは、複数のリポジトリーからなる空のコンテンツビューを生成するのに便利です。既存のリポジトリーは上書きされるため、コンテンツビューのリポジトリー数を増やすには以下を使用します。

$ hammer content-view add-repository \
--organization-label org_label \
--name cv_name \
--repository-id repo_ID

同様に remove-repository サブコマンドを使用してコンテンツビューからリポジトリーを削除することができます。コンテンツビューのリポジトリーを検査するには hammer content-view info を使用します。

例3.4 コンテンツビューのパッケージのフィルタリング (パッケージの除外)

フィルターを使用すると、リポジトリーからパッケージのサブセットを選択して (除外/包含して) カスタマイズしたコンテンツビューを作成できます。以下の例は、フィルターを作成して cv-rhel7-server コンテンツビューから emacs パッケージを除外する方法を示します。

まず、組織内にコンテンツビューのフィルターを作成します。

$ hammer content-view filter create \
--type rpm \
--name exclude-emacs \
--description "Excluding emacs package" \
--inclusion false \
--organization $ORG \
--repository-ids 1,2,3 \
--content-view cv-rhel7-server

hammer repository list を実行してリポジトリー ID を検索します。「emac」で始まる名前のパッケージを除外するルールを作成して、以下のようにフィルターに追加します。

$ hammer content-view filter rule create \
--name "emacs*" \
--organization $ORG \
--content-view cv-rhel7-server \
--content-view-filter exclude-emacs

上記を実行すると、cv-rhel7-server のコンテンツビューを使用したホストは macs へアクセスできなくなります。複数のルールをフィルターに追加することができます。フィルタリングパラメーターの完全な一覧については hammer content-view filter rule create --help を参照してください。フィルターに存在するルールを確認するには、以下のコマンドを実行します。

$ hammer content-view filter rule list \
--content-view cv-rhel7-server \
--content-view-filter exclude-emacs \
--organization $ORG

例3.5 コンテンツビュー用のパッケージのフィルタリング (日付別のエラータの絞込)

以下の例では、cv-rhel7-server コンテンツビューから特定日以前に発表されたエラータを除外するフィルターを作成する方法を示します。エラータ管理の情報は「8章エラータの管理」を参照してください。以下のようにコンテンツビューのフィルターを作成します。

$ hammer content-view filter create \
--type erratum \
--name limit-errata-by-date \
--description "Excluding errata by date" \
--inclusion false \
--organization $ORG \
--repository-ids 1,2,3 \
--content-view cv-rhel7-server

以下のように「emac」で始まる名前のエラータを除外するルールを作成し、フィルターに追加します。

$ hammer content-view filter rule create \
--end-date YYYY-MM-DD \
--organization $ORG \
--content-view cv-rhel7-server \
--content-view-filter limit-errata-by-date \
--types enhancement,bugfix,security

3.2.2. コンテンツビューの Puppet モジュールへの追加

Puppet モジュールをコンテンツビューに追加するには、最初にこのモジュールをカスタムの製品内の Puppet リポジトリーにアップロードします。「カスタムリポジトリーの作成」のコマンドを使用して、リポジトリーに製品を作成し、そのリポジトリーに Puppet モジュールをアップロードします。

Puppet モジュールをコンテンツビューに追加するには、以下のコマンドを実行します。

$ hammer content-view puppet-module add \
--content-view cv_name \
--name module_name

例3.6 Puppet モジュールのコンテンツビューへの追加

以下の例では、外部ソースからの Puppet モジュールをcv-rhel7-server コンテンツビューに追加する方法を示します。

  1. Puppet Forge から concat モジュール (複数のテキストの断片からファイルを構築) をダウンロードします。

    $ wget -O /tmp/puppetlabs-concat-1.2.5.tar.gz https://forgeapi.puppetlabs.com
    /v3/files/puppetlabs-concat-1.2.3.tar.gz
  2. ACME-puppet 製品配下に Puppet リポジトリーを作成して、このリポジトリーにモジュールをアップロードします (この例では、リポジトリー ID は 6 です)。

    $ hammer product create \
    --name "ACME-puppet" \
    --organization $ORG
    $ hammer repository create \
    --organization $ORG \
    --product ACME-puppet \
    --name "ACME Puppet Repository" \
    --content-type puppet \
    --url "https://forge.puppetlabs.com/"
    $ hammer repository upload-content \
    --organization $ORG \
    --product ACME-puppet \
    --id 6 \
    --path /tmp/puppetlabs-concat-1.2.5.tar.gz
  3. パラメーター idnameauthor を使用してコンテンツビューにモジュールを追加します。正確な値は、以下のコマンドで確認できます。

    $ hammer puppet-module list --organization $ORG
    ---|--------|------------|--------
    ID | NAME   | AUTHOR     | VERSION
    ---|--------|------------|--------
    1  | concat | puppetlabs | 1.2.3
    ---|--------|------------|--------

    コンテンツビューにモジュールを追加するには、以下を実行します。

    $ hammer content-view puppet-module add \
    --name concat \
    --content-view cv-rhel7-server \
    --organization $ORG

    モジュールが正常に追加されたかどうかを検証するには、以下のコマンドを実行します。

    $ hammer content-view puppet-module list \
    --content-view cv-rhel7-server \
    --organization $ORG

3.2.3. Docker イメージのコンテンツビューへの追加

以下のように、Docker イメージを専用のリポジトリーに直接アップロードできます。

$ hammer repository upload-content --path image_archive --id repo_id

image_archive は、Docker イメージを含むアーカイブのパスに置き換えます。repo_id コマンドで Docker のコンテンツタイプのリポジトリーを確認し、そのリポジトリーをコンテンツビューに追加します。

3.3. コンテンツビューの公開

コンテンツビューを公開し、ホストから利用できるようにします。以下のコマンドを使用して選択したコンテンツビューを公開します。

$ hammer content-view publish \
--id cv_ID \
--organization-label org_label \
--async

hammer content-view list コマンドを実行し、公開するコンテンツビューのcv_ID を確認します。公開したコンテンツビューはライブラリー環境で利用できます。コンテンツビューのステータスを確認するには、以下のコマンドを実行します。

$ hammer content-view info --id cv_ID

3.4. コンテンツビューのプロモート

プロモーションとは、別のライフサイクル環境にコンテンツビューを移動することです。これには以下のコマンドを実行します。

$ hammer content-view version promote \
--content-view cv_name \
--organization-label org_label \
--to-lifecycle-environment env_name

ここで、env_name は移行後のライフサイクル環境名を示します。

例3.7 ライフサイクル環境全体でのコンテンツビューのプロモート

以下の Bash スクリプトは、ACME 組織の全ライフサイクル環境のライブラリーから、選択したコンテンツビューをプロモートします。

ORG="ACME"
CV_ID=1

for i in $(hammer --csv lifecycle-environment list --organization $ORG | grep -vi '^ID' | awk -F, {'print $1'} | sort -n)
do
   hammer content-view version promote --organization $ORG --to-lifecycle-environment-id $i --id $CV_ID
done

コンテンツビューが正しくプロモートされていることを確認するには、以下のコマンドを実行します。

$ hammer content-view version info --id 1

3.5. コンテンツビューの増分更新

増分更新では、ライフサイクル環境で新規コンテンツビューのバージョンをプロモートしなくても、公開されているコンテンツビューを変更できます。増分更新の結果、新規コンテンツビューのマイナーバージョンが作成されます。増分更新は、緊急時に素早く更新するのに有用です。エラータ、パッケージ、または Puppet モジュールの追加に増分更新を使用できます。

コンテンツビューに新規パッケージを追加する増分更新を作成するには、以下を実行します。

$ hammer content-view version incremental-update \
--content-view-version-id cv_ID \
--packages pkg_name1,pkg_name2 \
--lifecycle-environment-ids env_ID1, env_ID2,... \
--organization-id org_ID

hammer content view version list の出力でコンテンツビューのバージョン ID を検索します。--packages オプションでパッケージを指定する代わりに、--puppet-modules で Puppet モジュールを、--errata-ids でエラータを追加できます (例3.8「増分更新を使用してコンテンツビューにエラータを追加する手順」を参照します)。増分更新との連携についての情報は hammer content-view version incremental-update --help を参照してください。

例3.8 増分更新を使用してコンテンツビューにエラータを追加する手順

以下の例では、コンテンツビューの増分更新を作成して、ホスト (auth01.example.com) にエラータを適用する方法を示します。

$ hammer content-view version incremental-update \
--content-view-version-id 4 \
--errata-ids 8c3801f6-12a7-4a62-83f4-addbb1f34ce6 \
--lifecycle-environments Infrastructure \
--organization $ORG

上記のコマンドで必要な情報を特定するには、以下の手順を実行します。

  1. 組織 ID と名前を検索するには、以下を実行します。

    $ hammer organization list
  2. 以下を実行して、ホストが登録されているコンテンツビューとライフサイクル環境を特定します。

    $ hammer host info --name auth01.example.com
  3. 次にコンテンツビューの現在のバージョンを特定します (ここでは、コンテンツビューの名前は RHEL7_Infra です)。

    $ hammer content-view info --name "RHEL7_Infra" --organization $ORG
  4. ライブラリー にあるアプリケーションエラータの一覧に適用するエラータ ID を確認します。

    $ hammer erratum list --content-view-version-id 4 --organization $ORG
    $ hammer host errata list --host auth01.example.com

第4章 アクティベーションキーの管理

アクティベーションキーは、ホストのサブスクリプションプロパティーを定義します。アクティベーションキーを使用すると、ホストの登録にかかる時間が短縮されます。以下の手順と同等の Web UI での手順は、『コンテンツ管理ガイド』の「アクティベーションキーの管理」を参照してください。

アクティベーションキーで考えられるユースケースとして、以下の 3 つが挙げられます。

注記

アクティべーションキーは、ホストが登録されている場合にのみ使用できます。アクティベーションキーに変更が加えられた場合に、その変更したアクティベーションキーで登録したホストにのみ、その変更が適用されます。既存のホストには、その変更が適用されません。

アクティベーションキーを作成するには以下のコマンドを実行します。

$ hammer activation-key create --name ak_name \
--organization-label org_label \
--content-view cv_name \
--lifecycle-environment lc_name

コンテンツビューは公開する必要があります。アクティベーションキーに関するすべての操作を表示するには hammer activation-key --help のコマンドを使用します。

アクティベーションキーにサブスクリプションを追加するには、以下のコマンドを実行します。

$ hammer activation-key add-subscription \
--id ak_ID \
--subscription-id sub_ID

アクティベーションキー ID を検索するには hammer activation-key list を使用し、サブスクリプション ID を検索するには hammer subscription list を使用します。

例4.1 空のアクティベーションキーの作成

以下の例では、関連付けられたホストを自動的に最適なサブスクリプションにアタッチするアクティベーションキーを作成する方法を示します。

$ hammer activation-key create \
--name "automatically attach key" \
--organization $ORG \
--content-view cv-rhel7-server \
--lifecycle-environment Testing

上記のコマンドを実行すると、cv-rhel7-server コンテンツビューに登録されたホストがこのアクティベーションキーに関連付けられます。

例4.2 カスタムのサブスクリプションプールを使用したアクティベーションキーの作成

以下の例では、関連付けられたホストを自動的に、アクティベーションキーに指定された一覧にある最適なサブスクリプションにアタッチするアクティベーションキーを作成する方法を示します。

まず、空のアクティベーションキーを作成します。

$ hammer activation-key create \
--name "custom pool key" \
--organization $ORG \
--content-view cv-rhel7-server \
--lifecycle-environment Testing

サブスクリプションをアクティベーションキーに追加します。

$ hammer activation-key add-subscription \
--name "custom pool key" \
--subscription-id 1

必要なサブスクリプションがすべてアクティベーションキーに追加されるまで、この手順を繰り返します。

例4.3 必須のサブスクリプション一覧でのアクティベーションキーの作成

以下の例では、関連付けられたホストを、アクティベーションキーに指定したすべてのサブスクリプションにアタッチするアクティベーションキーを作成する方法を示します。

最初にアクティベーションキーを作成して、必要なすべてのサブスクリプションを、そのアクティベーションキーに追加します。例4.2「カスタムのサブスクリプションプールを使用したアクティベーションキーの作成」の手順に従ってください。

次に、アクティベーションキーの auto-attach プロパティーを無効にします。

$ hammer activation-key update \
--organization $ORG \
--name "mandatory subs key" \
--auto-attach false
重要

複数のアクティベーションキーを 1 つのコンテンツビューに割り当てることができます。設定が競合した場合には、最後に指定したキーの値が優先されます。以下のようにホストグループのパラメーターを設定して、優先順位を指定できます。

$ hammer hostgroup set-parameter \
--name kt_activation_keys \
--value name_of_first_key, name_of_second_key,... \
--hostgroup hostgroup_name

第5章 プロビジョニング環境の設定

本章では、hammer を使用してプロビジョニング環境のあらゆる段階を設定する方法を示します。以下の手順を Web UI で行う場合は『プロビジョニングガイド』「プロビジョニングリソースの設定」を参照してください。

5.1. ドメイン

Red Hat Satellite のドメインは DNS ゾーンを表します。Satellite は、Red Hat Satellite Capsule Server DNS を使用してドメイン名を割り当てる機能があります。これにより、特定のドメイン内のホストをグループ化し、名前を指定して、パラメーターや Puppet 変数と関連付けることができます。

新規ドメインを作成するには、以下のコマンドを実行します。

$ hammer domain create --name domain_name

hammer organization add-domain または hammer location add-domain コマンドを使用して、組織とロケーションに、新規作成したドメインを関連付けることができます。ドメインのステータスを表示するには、以下のコマンドを実行します。

$ hammer domain info --name domain_name

5.2. サブネット

Red Hat Satellite のサブネットは、システムのグループを指定するネットワークを定義します。サブネットは、標準の IP アドレス設定を使用してネットワークを定義し、Red Hat Satellite Capsule Server の DHCP 機能を使用して、サブネット内のシステムに IP アドレスを割り当てます。以下のコマンドには、サブネットの作成に最小限必要なオプションが含まれます。

$ hammer subnet create \
--name subnet_name \
--organization-ids org_ID1,org_ID2... \
--location-ids loc_ID1,loc_ID2... \
--domain-ids dom_ID1,dom_ID2... \
--boot-mode boot_mode \
--network network_address \
--mask netmask \
--ipam ipam

boot_mode には Static または DHCP のいずれか、ipam には DHCP, Internal DBNone のいずれかを指定します。DHCP を使用する場合は --from オプションおよび --to オプションを使用して、IP 範囲を設定してください。設定可能なオプションの完全な一覧は、hammer subnet create --help コマンドの出力を参照してください。

5.3. アーキテクチャー

Satellite のアーキテクチャーはホストおよびオペレーティングシステムの論理グループを表します。アーキテクチャーを表示するには以下のコマンドを実行します。

$ hammer architecture list

アーキテクチャーは、ホストが Puppet に登録されると、Satellite により自動的に登録されるため、(hammer でこのオプションが提供されていますが) 手動で作成する必要はほぼありません。

5.4. コンピュートリソース

コンピュートリソースは、仮想化およびクラウドプロバイダーからハードウェアを抽象化したものです。Satellite はコンピュートリソースを使用して仮想マシンとコンテナーをプロビジョニングします。以下のコマンドを使用してコンピュートリソースを作成します。

$ hammer compute-resource create \
--name cr_name \
--organization-ids org_ID1,org_ID2... \
--location-ids loc_ID1,loc_ID2... \
--provider provider

ここでは、provider に、RHEVRHEL OpenStack PlatformLibvirtDockerRackspaceGoogleEC2、または VMware のいずれかを指定します。プロバイダーのタイプに従い、--url または --user などのオプションも必要になる場合があります。詳しい情報は hammer compute-resource create --help コマンドの出力を参照してください。

5.5. インストールメディア

インストールメディア (ISO イメージ) では、Red Hat Satellite のキックスタートツリーおよび新規ホストインストールのコンテンツを提供します。メディアを表示するには、以下のコマンドを実行します。

$ hammer medium list

新規メディアを追加するには以下のコマンドを実行します。

$ hammer medium create --name medium_name --path path_to_medium

メディアの追加時 (hammer medium create --help コマンドの出力を参照)、もしくは後で hammer organization add-medium コマンドか hammer location add-medium コマンドを使用して、メディアを組織およびロケーションに直接公開できます。

5.6. パーティションテーブル

パーティションテーブルは、システムのプロビジョニング時に、新規インストール用のパーティションとファイルシステムのレイアウトを定義します。Red Hat Satellite により、オペレーティングシステムファミリーが関連付けられたデフォルトのパーティションテーブルを提供します。パーティションテーブルを表示するには、以下のコマンドを実行します。

$ hammer partition-table list

新しいパーティションテーブルを作成するには、以下のコマンドを実行します。

$ hammer partition-table create \
--name table_name \
--file path_to_layout_file \
--os-family os_family

他のサブコマンドについては hammer partition-table --help コマンドを参照してください。

5.7. プロビジョニングテンプレート

テンプレートをプロビジョニングすると、無人インストールを体系的に実行する手段が提供されます。Satellite が提供するプロビジョニングテンプレートを表示するには、以下のコマンドを実行します。

$ hammer template list

新規テンプレートを追加するには、以下のコマンドを実行します。

$ hammer template create --name template_name --file path_to_template_file

他のサブオプションについては hammer template --help コマンドの出力を参照します。

5.7.1. テンプレートのインポート

hammer import-templates コマンドを使うと任意のリポジトリーからテンプレートをインポートできます。/tmp/dirgit://example.comhttps://example.comssh://example.com などの異なるプロトコルを使ってリポジトリーにポイントさせることもできます。

テンプレートのインデックス化と管理には、--prefix を使ってテンプレートにカテゴリーを設定することができます。大型リポジトリーから特定のテンプレートを選択するには、--filter を使ってインポートするテンプレートのタイトルを定義します。たとえば、--filter '.*Ansible Default$' とすると、各種 Ansible Default テンプレートをインポートします。

リポジトリーからテンプレートをインポートするには、以下のコマンドを実行します。

$ hammer import-templates \
    --prefix '[Custom Index] ' \
    --filter '.*Template Name$' \
    --repo https://github.com/examplerepo/exampledirectory \
    --branch my_branch \
    --organization 'Default Organization'

5.7.2. テンプレートのエクスポート

hammer export-templates コマンドを使うとテンプレートを Git リポジトリーにエクスポートできます。

  1. Git リポジトリーのローカルコピーをクローンします。

    $ git clone https://github.com/theforeman/community-templates /custom/templates
  2. 以下のコマンドで、ローカルディレクトリーの所有者を foreman ユーザーに変更し、SELinux コンテキストを変更します。

    # chown -R foreman:foreman /custom/templates
    # chcon -R -t httpd_sys_rw_content_t /custom/templates
  3. テンプレートをローカルリポジトリーにエクスポートするには、以下のコマンドを実行します。

    hammer export-templates --organization 'Default Organization' --repo /custom/templates

5.8. オペレーティングシステム

オペレーティングシステムは、インストールの方法とメディアの組み合わせを定義して、ファミリーにグループ化します。デフォルトでは、Red Hat Satellite は Red Hat ファミリーを使用します。ファミリーを使用すると、Satellite はホストのプロビジョニング時の特定の動作を変更することができます。オペレーティングシステムを表示するには以下のコマンドを実行します。

$ hammer os list

新規オペレーティングシステムを作成するには、以下のコマンドを実行します。

$ hammer os create --name os_name --major version_number

次に、アーキテクチャー、パーティションテーブル、インストールメディア、設定テンプレートをオペレーティングシステムに追加することができます。詳しい情報は hammer os --help の出力を参照してください。

例5.1 複数のオペレーティングシステムの更新

以下の Bash スクリプトは、各オペレーティングシステムにパーティションテーブル (Kickstart default)、設定テンプレート (Kickstart default PXELinux) およびプロビジョニングテンプレート(Satellite Kickstart Default) を割り当てます。

PARTID=$(hammer --csv partition-table list | grep "Kickstart default" | cut -d, -f1)
PXEID=$(hammer --csv template list --per-page=1000 | grep "Kickstart default PXELinux" | cut -d, -f1)
SATID=$(hammer --csv template list --per-page=1000 | grep "provision" | grep "Satellite Kickstart Default" | cut -d, -f1)

for i in $(hammer --csv os list | grep -vi '^ID' | awk -F, {'print $1'})
do
   hammer partition-table add-operatingsystem --id="${PARTID}" --operatingsystem-id="${i}"
   hammer template add-operatingsystem --id="${PXEID}" --operatingsystem-id="${i}"
   hammer os set-default-template --id="${i}" --config-template-id="${PXEID}"
   hammer os add-config-template --id="${i}" --config-template-id="${SATID}"
   hammer os set-default-template --id="${i}" --config-template-id="${SATID}"
done

for ステートメントに grep コマンドを追加して、影響を受けるオペレーティングシステムをさらに指定することができます。割当が正しく行われたかどうかを確認するには hammer os info コマンドを実行します。

5.9. パラメーター

パラメーターは、プロビジョニング時の Red Hat Satellite の動作を定義します。パラメーターは複数ありますが、詳しい情報は『Puppet ガイド』「パラメーター」を参照してください。以下の例を使用して、グローバルパラメーターを設定します。

$ hammer global-parameter set --name param_name --value param_value

例5.2 ファイアウォールを無効化するためのグローバルパラメーターの設定

以下のコマンドを実行して firewall のグローバルオプションを disabled に設定します。

$ hammer global-parameter set --name firewall --value --disabled

設定を確認するには、以下のコマンドを実行します。

$ hammer global-parameter list
---------|-------------
NAME     | VALUE
---------|-------------
firewall | --disabled
---------|-------------

同様に、hammer で他のパラメータータイプを設定することができます。

  • ドメインパラメーターを設定するには、以下のコマンドを使用します。
$ hammer domain set-parameter \
--name param_name \
--value param_value \
--domain domain_name
  • ホストグループのパラメーターを設定するには、以下のコマンドを使用します。
$ hammer hostgroup set-parameter \
--name param_name \
--value param_value \
--hostgroup hg_name
  • ホストパラメーターを設定するには、以下のコマンドを使用します。
$ hammer host set-parameter \
--name param_name \
--value param_value \
--host h_name
  • スマートクラスパラメーターを更新するには、以下のコマンドを使用します。
$ hammer sc-param \
--name param_name \
--default-value param_value

第6章 ホストの管理

ホストは、Red Hat Satellite が管理する物理システムまたは仮想システムのことを指します。以下のセクションでは、hammer を使用したホストとホストグループの作成方法および設定方法を説明します。以下の手順を Web UI で行う場合は『ホストの管理』を参照してください。

6.1. ホストグループの作成

ホストグループは、ホストまたはホストグループの集まりです。ホストパラメーターを共有するために、ホストグループを作成することが推奨されます。ホストグループのメンバーは、このパラメーターを継承するため、ホストの作成時に別途設定する必要はありません。階層形式でホストグループをネスト化できる点に注意してください。

以下のコマンドは、ホストグループの作成に使用する基本オプションを示しています。

$ hammer hostgroup create \
--name "hostgroup_name" \
--environment "environment_name" \
--architecture "architecture_name" \
--domain domain_name \
--subnet subnet_name \
--puppet-proxy proxy_name \
--puppet-ca-proxy ca-proxy_name \
--operatingsystem "os_name" \
--partition-table "table_name" \
--medium "medium_name" \
--organization-ids org_ID1,org_ID2... \
--location-ids loc_ID1,loc_ID2...

設定可能なオプションの完全一覧については hammer hostgroup create --help を参照してください。ホストグループの作成時に構成できない設定が 2 つあります。

  • アクティベーションキーは、ホストグループの作成後に、以下を使用して追加する必要があります。
$ hammer hostgroup set-parameter \
--hostgroup "hostgroup_name" \
--name "kt_activation_keys" \
--value key_name

hammer activation-key list を実行してアクティベーションキーの名前を検索します (アクティベーションキーの詳細は「4章アクティベーションキーの管理」を参照してください)。

  • root パスワードは、ホストグループにホストを追加する際に指定する必要があります。

例6.1 複数のコンテンツビューに対するホストグループの作成

以下の Bash スクリプトは、ライフサイクル環境ごとにホストグループを作成します。

MAJOR="7"
OS=$(hammer --output csv os list | awk -F "," "/RedHat ${MAJOR}/ {print \$2;exit}")
ARCH="x86_64"
ORG="ACME"
LOCATIONS="london,munich"
PTABLE_NAME="ptable-acme-os-rhel-server"
DOMAIN="example.com"

hammer lifecycle-environment list --organization "${ORG}" | awk -F "|" '/[[:digit:]]/ {print $2}' | sed s'/ //' | while read LC_ENV
do
  if [[ ${LC_ENV} == "Library" ]]; then
    continue
  fi

  LC_ENV_LOWER=$(echo ${LC_ENV} | tr '[[:upper:]' '[[:lower:]]')
  ParentID=$(hammer --output csv hostgroup list --per-page 999 | awk -F"," "(\$3 ~ /^${LC_ENV_LOWER}$/) {print \$1}")

  hammer hostgroup create --name "rhel-${MAJOR}server-${ARCH}" \
    --medium "${ORG}/Library/Red_Hat_Server/Red_Hat_Enterprise_Linux_${MAJOR}_Server_Kickstart_${ARCH}_${MAJOR}
    Server" \
    --parent-id ${ParentID} \
    --architecture "${ARCH}" \
    --operatingsystem "${OS}" \
    --partition-table "${PTABLE_NAME}" \
    --subnet "${DOMAIN}" \
    --domain "${DOMAIN}" \
    --organizations "${ORG}" \
    --locations "${LOCATIONS}" \
    --content-view "cv-os-rhel-${MAJOR}Server" \
    --environment-id $(hammer --output csv environment list --per-page 999 | awk -F "," "/KT_$ {ORG}_${LC_ENV}_cv_os_rhel_${MAJOR}Server/ {print \$1}")

  HgID=$(hammer --output csv hostgroup list --per-page 999 | awk -F"," "(\$3 ~ /^${LC_ENV_LOWER}\/rhel-${MAJOR}server-${ARCH}$/) {print \$1}")

  hammer hostgroup set-parameter \
    --hostgroup-id "${HgID}" \
    --name "kt_activation_keys" \
    --value "act-${LC_ENV_LOWER}-os-rhel-${MAJOR}server-${ARCH}"
done

6.2. ホストの作成

ホストグループに一般的なパラメーターを設定して、ホスト作成時に必要なオプションの数を減らすことが推奨されます。以下のコマンドは、基本的なホストを作成してホストグループに関連付けます。

$ hammer host create \
--name "host_name" \
--hostgroup "hostgroup_name" \
--interface="primary=true, \
            provision=true, \
            mac=mac_address, \
            ip=ip_address" \
--organization-id org_ID \
--location-id loc_ID \
--ask-root-password yes

上記のコマンドを実行後に、root パスワードを指定するように求められます。ホストの IP および MAC アドレスを指定する必要があります。プライマリーのネットワークインターフェースの他のプロパティーはホストグループから継承するか、subnet および domain パラメーターを使用して設定することができます。--interface オプションを使用して追加のインターフェースを設定できます。このオプションはキーと値のペアの一覧を受け入れます。利用可能なインターフェース設定の一覧については、表6.1「--interface オプションの利用可能なキー」を参照してください。

ホストグループのメンバーを追加せずにホストを作成する場合には、「ホストグループの作成」に記載されている追加のオプションを指定します。利用可能なホストのパラメーターは多くありますが、詳しい情報は hammer host create --help の出力を参照してください。特定のパラメーターの値は、ホストがプロビジョニングするコンピュートリソースの種別により異なります。詳細は 表6.2「プロビジョニングに固有のホストオプション」を参照してください。

表6.1 --interface オプションの利用可能なキー

キー説明

type

Nic::ManagedNic::BMCNic::Bond のいずれかのインターフェースタイプを定義します。

name、identifier

インターフェースの ID

mac、ip、domain (または domain_id)、subnet (または subnet_id)

ネットワーク設定、ドメイン、サブネット ID はホストグループから継承できます。

primary、provision、managed、virtual

許容される値は true または false です。管理ホストは、プライマリーおよびプロビジョニングインターフェースを 1 つ指定する必要があります。

仮想インタフェースに固有のキー

 

tag

VLAN タグ。この属性はサブネット VLAN ID より優先されます。

attached_to

このインターフェースが属するインターフェース ID (例: eth1)

ボンディングインタフェースに固有のキー

 

mode

ボンディングモード。balance-rractive-backupbalance-xorbroadcast802.3adbalance-tlb および balance-alb の 1 つ

BMC インターフェースに固有のキー

 

provider

BMC プロバイダー。IPMI に設定可能

username、password

BMC アクセスの認証情報

Libvirt でプロビジョニングされるホストに固有のキー

 

compute_type

インターフェースタイプ。bridge または network の 1 つ

compute_network または compute_bridge

インターフェース名を指定します。インターフェースタイプに合わせて 1 つ選択します。

compute_model

virtiortl8139ne2k_pcipcnete1000 の 1 つ

RHEV でプロビジョニングされるホストに固有のキー

 

compute_name

インターフェース名 (例: eth0)

compute_network

クラスターに利用可能なネットワークの中から 1 つ選択します。RHV からの UUID を使用します。

VMware でプロビジョニングされるホストに固有のキー

 

compute_type

ネットワークアダプターのタイプ。vSphere のバージョンに合わせて指定します。

compute_network

VMware からのネットワーク ID

表6.2 プロビジョニングに固有のホストオプション

プロバイダーキー

--compute-attributes オプションのキー

 

EC2

flavor_id、image_id、availability_zone、security_group_ids、managed_ip

GCE

machine_type、image_id、network、external_ip

Libvirt

cpus、memory、start

OpenStack

flavor_ref、image_ref、tenant_id、security_groups、network

RHEV

cluster、template、cores、memory、start

VMware

cpus、corespersocket、memory_mb、cluster、path、guest_id、scsi_controller_type、hardware_version、start

--volume オプションのキー

 

Libvirt

poll_name、capacity、format_type

RHEV

size_gb、storage_domain、bootable

VMware

datastore、name、size_gb、thin、eager_zero

例6.2 ボンディングインターフェースペアでのホストの作成

以下の例では、ボンディングインターフェースのペアでホストを作成する方法を示します。インターフェースのボンディングに関する詳しい情報は『Red Hat Enterprise Linux ネットワークガイド』「ネットワークボンディングの設定」を参照してください。

$ hammer host create --name bondtest \
--hostgroup-id 1 \
--ip=192.168.100.123 \
--mac=52:54:00:14:92:2a \
--subnet-id=1 \
--managed true \
   --interface="identifier=eth1, \
               mac=52:54:00:62:43:06, \
               managed=true, \
               type=Nic::Managed, \
               domain_id=1, \
               subnet_id=1" \
   --interface="identifier=eth2, \
               mac=52:54:00:d3:87:8f, \
               managed=true, \
               type=Nic::Managed, \
               domain_id=1, \
               subnet_id=1" \
   --interface="identifier=bond0, \
               ip=172.25.18.123, \
               type=Nic::Bond, \
               mode=active-backup, \
               attached_devices=[eth1,eth2], \
               managed=true, \
               domain_id=1, \
               subnet_id=1" \
--organization-id 1 \
--location-id 1 \
--ask-root-password yes

6.3. ホストコレクションの作成

Red Hat Satellite ホストコレクションは、ホストのグループを指します。以下のコマンドはホストコレクションを作成する際に最低限必要なオプションです。

$ hammer host-collection create \
--organization-label org_label \
--name hc_name

ホストコレクションにホストを追加するには、以下のコマンドを実行します。

$ hammer host-collection add-host \
--id hc_ID \
--host-ids ch_ID1,ch_ID2...

以下のコマンドを実行して、ホストコレクションとアクティベーションキーを関連付けます (アクティベーションキーの詳細は「4章アクティベーションキーの管理」を参照してください)。

$ hammer activation-key add-host-collection \
--id ak_ID \
--host-collection hc_name

ホストコレクションのグループに含まれるホストは、アクティベーションからの設定を継承します。

6.4. ホストでのリモートジョブの実行

リモートの実行機能により、Satellite Server で任意のコマンドを定義して、リモートホストで実行できます。コマンドは、プロビジョニングテンプレートとよく似たジョブテンプレートで定義されます。デフォルトでジョブテンプレートが複数含まれているので、それを使用することも、リモートホストでのソフトウェアパッケージの操作や Puppet プロセスの起動などのカスタムテンプレートを定義することも可能です。Hammer でこの機能を使用するには、root として以下のコマンドを実行してリモートの実行 CLI モジュールをインストールします。

# yum install tfm-rubygem-hammer_cli_foreman_remote_execution

利用可能なジョブテンプレートを表示するには、以下のコマンドを実行します。

$ hammer job-template list

テンプレート定義ファイルを使用してジョブテンプレートを作成するには、以下のコマンドを使用します。

$ hammer job-template create \
--file "template" \
--name "template_name" \
--provider-type SSH \
--job-category "category_name"

template は、テンプレート定義が含まれるファイルへのパスに置き換えてください。また、カスタムの category_name を指定するか、既存のカテゴリーの 1 つを選択してください (CommandsKatelloPackagesPowerPuppet または Services)。他に利用可能なパラメーターに関する情報は hammer job-template create --help の出力を参照してください。

カスタムパラメーターでジョブを呼び出すには以下を実行します。

$ hammer job-invocation create \
--job-template "template_name" \
--inputs key1="value",key2="value",... \
--search-query "query"

リモートジョブに使用するテンプレート名を指定します。キーと値のペアをコンマ区切りのリストとして入力値を指定してください。hammer job-template info を実行して、テンプレートに必要なパラメーターを確認します。query は、影響を受けるホストを定義するフィルターの表現に置き換えます (例: name ~ rex01)。

例6.3 選択したホストでの httpd サービスの起動

以下の例では、デフォルトの Service Action - SSH Default テンプレートをベースにリモートジョブを実行する方法を示します。このテンプレートは、名前に「target」が含まれるホストで httpd サービスを機能します。

$ hammer job-invocation create \
--job-template "Service Action - SSH Default" \
--inputs service="httpd",action="start" \
--search-query "name ~ target"

ジョブ出力 の ID を検索するには以下を実行します。

$ hammer job-invocation list

ジョブ出力を監視するには以下を実行します。

$ hammer job-invocation output \
--id job_ID \
--host host_name

ジョブ出力をキャンセルするには以下を実行します。

$ hammer job-invocation cancel \
--id job_ID

hammer でのリモートコマンドの実行に関する詳しい情報は hammer job-template --help または hammer job-invocation --help を参照してください。

第7章 ユーザーおよびパーミッションの管理

Red Hat Satellite では、管理者はユーザーを作成、変更、および削除できます。また、ロールをユーザーに割り当てて、アクセスパーミッションを設定することもできます。以下のセクションでは hammer を使用してこれらのタスクを実行する方法を説明します。以下の手順を Web UI で行う場合は『Red Hat Satellite の管理』「ユーザーとロールの管理」を参照してください。

7.1. ユーザーの作成

Red Hat Satellite ではシステムを使用する各ユーザーに各種情報を定義できます。hammer では、Red Hat Satellite のユーザーを設定するために user create および user update コマンドがあります。以下のコマンドを使用して新規ユーザーを作成します。

$ hammer user create \
--login user_name \
--password user_password \
--mail user_mail \
--auth-source-id 1 \
--organization-ids org_ID1,org_ID2...

--auth-source-id 1 の設定は、ユーザーは内部で認証されることを意味します。 代わりに外部認証を指定することもできます。--admin オプションを指定して、管理者権限をユーザーに付与します。組織 ID を指定する必要はありません。update サブコマンドを使用してユーザーの詳細を変更できます。

ユーザー関連のサブコマンドに関する情報は、hammer user --help の出力を参照してください。

7.2. ユーザーグループの作成

複数のユーザーのパーミッションは、ユーザーグループにまとめることで一括して管理できます。また、ユーザーグループ自体をさらにグループ化してパーミッションの階層を作成できます。以下のコマンドを使用して新規ユーザーグループを作成します。

$ hammer user-group create --name usergroup_name

ユーザーグループを追加するには、以下のコマンドを実行します。

$ hammer user-group add-user --user user_name --id usergroup_id

hammer user-group list を実行してユーザーグループ ID を検索します。同様に、add-user-group のサブコマンドを使用するとユーザーグループを追加できます。ユーザーグループ関連の操作に関する情報は hammer user-group --help の出力を参照してください。

7.3. ロールの作成

Red Hat Satellite のロールは、パーミッションおよびアクセスレベルを定義します。Satellite には、事前定義済みのロールが複数含まれています。これらのロールを表示するには以下のコマンドを実行します。

$ hammer role list

ロールに関連付けられたパーミッションを表示するには、以下のコマンドを実行します。

$ hammer role filters --id role_id

role_id は、hammer role list に出力されたロールの ID です。

カスタムロールを作成するには、以下のコマンドを実行します。

$ hammer role create --name role_name

以下のコマンドでロールにパーミッションフィルターを追加します。

$ hammer filter create \
--role role_name \
--permission-ids perm_ID1,perm_ID2...

hammer filter available-permissions を使用してロールに追加するパーミッションを検索します。ロールおよびパーミッションの詳細については hammer role --help および hammer filter --help の出力を参照します。

例7.1 詳細なパーミッションフィルタリング

Red Hat Satellite には、設定済みのユーザーパーミッションを選択したリソースタイプのインスタンスに限定する機能があります。パーミッションフィルターを限定するには、以下のように --search オプションを使用します。

$ hammer filter create \
--permission-ids 91 \
--search "name ~ ccv*" \
--role qa-user

上記のコマンドは qa-user ロールに、ccv という名前で始まるコンテンツビューにのみ適用されるコンテンツビューを表示、作成、編集、破棄するパーミッションを追加します。詳しい情報は『Red Hat Satellite の管理』「詳細なパーミッションフィルタリング」を参照してください。

7.4. ユーザーへのロール割り当て

ユーザーにロールを割り当てるには、以下のコマンドを実行します。

$ hammer user add-role --id user_id --role role_name

同様に、ユーザーグループにロールを割り当てることができます。

$ hammer user-group add-role --id usergroup_id --role role_name

7.5. ユーザーへの SSH キーの追加

以下の手順は、hammer を使用して既存ユーザーに公開 SSH キーを追加する方法を説明します。SSH キーの作成方法と詳しい情報は『Red Hat Enterprise Linux 7 システム管理者のガイド』「鍵のペアの作成」を参照してください。

以下の手順を Web UI で行う場合は『Red Hat Satellite の管理』「ユーザーへの SSH キーの追加」を参照してください。

前提条件

公開 SSH キーファイル、またはクリップボードにコピーする公開 SSH キーのコンテンツへのパスが必要です。

公開 SSH キーファイルがある場合:

$ hammer user ssh-keys add --user-id user_id --name key_name --key-file ~/.ssh/id_rsa.pub

公開 SSH キーのコンテンツがある場合:

$ hammer user ssh-keys add --user-id user_id --name key_name --key ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNtYAAABBBHHS2KmNyIYa27Qaa7EHp+2l99ucGStx4P77e03ZvE3yVRJEFikpoP3MJtYYfIe8k 1/46MTIZo9CPTX4CYUHeN8= host@user

7.6. ユーザーから SSH キーの削除

ユーザーから SSH キーの削除:

$ hammer user ssh-keys delete --id key_id --user-id user_id

7.7. ユーザーの SSH キーの表示

ユーザーに関連付けられている SSH キーの表示:

$ hammer user ssh-keys info --id key_id --user-id user_id

ユーザーに関連付けられている SSH キーの一覧表示:

$ hammer user ssh-keys list --user-id user_id

第8章 エラータの管理

Red Hat 製品のソフトウェアパッケージは、エラータと呼ばれる更新に依存します。これらのソフトウェアパッケージは定期的な間隔で、非同期的にリリースされます。本セクションでは hammer を使用してエラータを検出、適用する方法を説明します。以下の手順を Web UI で行う場合は『コンテンツ管理ガイド』「エラータの管理」を参照してください。

8.1. 利用可能なエラータの検出

全組織で利用可能なエラータを表示するには、以下のコマンドを実行します。

$ hammer erratum list

例8.1 エラータのフィルタリング

hammer erratum list コマンドは出力一覧のフィルタリングおよび順序付けのオプションが数多く含まれています。たとえば、特定のセキュリティー修正が含まれるエラータを検索するには、以下のコマンドを実行します。

$ hammer erratum list --cve CVE-2014-0453

以下のコマンドを実行した、選択した製品に、指定したバグが含まれる場合に、適用可能なエラータが表示されます。このとき、セキュリティーエラータが一番上に表示されます。

$ hammer erratum list \
--product-id 7 \
--search "bug = 1213000 or bug = 1207972" \
--errata-restrict-applicable 1 \
--order "type desc"

--search オプションに使用する構文に関する情報は『コンテンツ管理ガイド』「利用可能なエラータの検出」を参照してください。hammer に実装されるフィルタリングオプションの詳細は hammer erratum list --help の出力を参照してください。

特定のエラータの詳細を表示するには、以下のコマンドを実行します。

$ hammer erratum info --id erratum_ID

erratum_ID は、hammer erratum list コマンドの出力にあるエラータの一意識別子に置き換えます。名前やリポジトリー名でエラータを特定することも可能です。詳しくは hammer erratum info --help の出力を参照してください。

8.2. ホストへのエラータの適用

ホストで利用可能なエラータを表示するには、以下のコマンドを実行します。

$ hammer host errata list --host hostname

選択したエラータをホストに適用するには、以下のコマンドを実行します。

$ hammer host errata apply \
--host hostname \
--errata-ids erratum_ID1,erratum_ID2...

例8.2 ホストへの全エラータの適用

以下の Bash スクリプトは、ホストで利用可能なエラータをすべて適用します (auth01.example.com)。

HOST="auth01.example.com"
for i in $(hammer --csv host errata list --host $HOST | grep -vi '^ID' | awk -F, {'print $2'})
do
  hammer host errata apply --host $HOST --errata-ids $i
done

例8.3 セキュリティーアドバイザリーの適用

以下の例は、hammer を使用してホストにセキュリティー修正を適用する方法を示します。

  1. 選択した問題の修正が含まれるエラータ (CVE-2015-3238) を検索します。

    $ hammer erratum list --cve CVE-2015-3238
    -------|----------------|----------|------------------------------
    ID     | ERRATA ID      | TYPE     | TITLE
    -------|----------------|----------|------------------------------
    f30e66 | RHSA-2015:1640 | security | Moderate: pam security update
    -------|----------------|----------|------------------------------
  2. セキュリティーエラータ (RHSA-2015:1640) がお使いのホスト (auth01.example.com) に適用可能かどうかを確認します。

    $ hammer host errata list \
    --host auth01.example.com \
    --search "RHSA-2015:1640"
  3. ホストにエラータを適用します。

    $ hammer host errata apply \
    --host auth01.example.com \
    --errata-ids "RHSA-2015:1640"

以下の Bash スクリプトを使用して、該当する場合にはセキュリティーエラータを全ホストに適用することができます (例: RHSA-2015:1640)。

ORG="ACME"
RHSA="RHSA-2015:1640"

for i in $(hammer --csv host list --organization $ORG | grep -vi '^ID' | awk -F, {'print $2'})
do
  hammer host errata apply --host $i --errata-ids $RHSA
done

エラータが正しく適用されたことを確認するには、以下のコマンドの出力で適切なタスクを検索します。

$ hammer task list

選択したタスクの状態を確認するには、以下のコマンドを実行します。

$ hammer task progress --id task_ID

8.3. ホストコレクションへのエラータの適用

ホストコレクションに選択したエラータを適用するには、以下のようにコマンドを入力します。

$ hammer host-collection erratum install \
--errata "erratum_ID1,erratum_ID2,..." \
--name "my-collection" --organization $ORG

このコマンドは、Red Hat Satellite 6.2.8 以降で利用できます。

第9章 Docker コンテナーの管理

Docker コンテナーは、アプリケーション分離のサンドボックスです。コンテナーイメージにはコンテナーの設定が保存されています。本セクションでは、hammer を使用して Docker コンテナーをプロビジョニングする方法を示します。以下の手順を Web UI で行う場合は『ホストの管理』「コンテナーの管理」を参照してください。

Red Hat Satellite では、コンテナーを、Docker プロバイダータイプのコンピュートリソースにのみデプロイできます。コンテナーホストの作成方法は『ホストの管理』「コンテナーホストの準備」を参照してください。このホストをコンピュートリソースとして登録するには、以下のコマンドを実行します。

$ hammer compute-resource create
--name cr_name \
--organization-ids org_ID1,org_ID2... \
--location-ids loc_ID1,loc_ID2... \
--url cr_url \
--provider docker

以下の構文を使用してコンピュートリソースにコンテナーをプロビジョニングします。

$ hammer docker container create \
--name container_name \
--compute-resource-id cr_ID \
--repository-name repo_name \
--tag tag \
--command command

hammer compute-resource list の出力でコンピュートリソース ID を検索します。repo_name は、Docker イメージが含まれる同期リポジトリーの名前に置き換えます。これには、Docker Hub や内部レジストリーを参照するカスタムリポジトリー (「カスタムリポジトリーの作成」を参照)、または公式の Red Hat イメージリポジトリーを指定することもできます。コンテンツビューからプロビジョニングする場合は、repo_name を、コンテンツビューの名前に置き換えます。コンテンツビューへのイメージの追加方法は「Docker イメージのコンテンツビューへの追加」を参照してください。

コンテナーを起動すると、コンテナーの作成時に --command オプションを指定したプロセスが開始されます。コンテナーを起動するには、以下のコマンドを実行します。

$ hammer docker container start --id container_ID

コンテナー関連のオプションの完全一覧は、hammer docker container --help コマンドの出力を参照してください。

第10章 参考情報

本章では、Hammer の使用方法の一覧を提供します。この使用方法は、Satellite 6.5 でリリースされた Hammer およびそのコンポーネントのバージョンに対応しています。

10.1. hammer activation-key

アクティベーションキーを操作します。

Usage:
    hammer activation-key [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 add-host-collection           Associate a resource
 add-subscription              Add subscription
 content-override              Override product content defaults
 copy                          Copy an activation key
 create                        Create an activation key
 delete                        Destroy an activation key
 host-collections              List associated host collections
 info                          Show an activation key
 list                          List activation keys
 product-content               List associated products
 remove-host-collection        Disassociate a resource
 remove-subscription           Remove subscription
 subscriptions                 List associated subscriptions
 update                        Update an activation key

Options:
 -h, --help                    Print help

10.1.1. hammer activation-key add-host-collection

リソースを関連付けます。

Usage:
    hammer activation-key add-host-collection [OPTIONS]

Options:
 --host-collection HOST_COLLECTION_NAME  Host collection name to search by
 --host-collection-id HOST_COLLECTION_ID Id of the host collection
 --id ID                                 ID of the activation key
 --name NAME                             Activation key name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.1.2. hammer activation-key add-subscription

サブスクリプションを追加します。

Usage:
    hammer activation-key add-subscription [OPTIONS]

Options:
 --id ID                                 ID of the activation key
 --name NAME                             Activation key name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --quantity QUANTITY                     Quantity of this subscription to add
 --subscription-id SUBSCRIPTION_ID       ID of subscription
 -h, --help                              Print help

10.1.3. hammer activation-key content-override

製品コンテンツのデフォルトを上書きします。

Usage:
    hammer activation-key content-override [OPTIONS]

Options:
 --content-label CONTENT_LABEL           Label of the content
 --id ID                                 ID of the activation key
 --name NAME                             Activation key name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --override-name OVERRIDE_NAME           Override parameter key or name.
                                         To enable or disable a repo select 'enabled'.
                                         Default value: enabled
                                         Default: "enabled"
 --remove                                Remove a content override
 --value VALUE                           Override value. Note for repo enablement you can use a boolean value
 -h, --help                              Print help

10.1.4. hammer activation-key copy

アクティベーションキーをコピーします。

Usage:
    hammer activation-key copy [OPTIONS]

Options:
 --id ID                                 ID of the activation key
 --name NAME                             Activation key name to search by
 --new-name NEW_NAME                     Name of new activation key
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.1.5. hammer activation-key create

アクティベーションキーを作成します。

Usage:
    hammer activation-key create [OPTIONS]

Options:
 --content-view CONTENT_VIEW_NAME                    Content view name to search by
 --content-view-id CONTENT_VIEW_ID                   Content view numeric identifier
 --description DESCRIPTION                           Description
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME  Environment name
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID
 --max-hosts MAX_HOSTS                               Maximum number of registered content hosts
 --name NAME                                         Name
 --organization ORGANIZATION_NAME                    Organization name to search by
 --organization-id ORGANIZATION_ID                   Organization ID
 --organization-label ORGANIZATION_LABEL             Organization label to search by
 --unlimited-hosts                                   Set hosts max to unlimited
 -h, --help                                          Print help

10.1.6. hammer activation-key delete

アクティベーションキーを破棄します。

Usage:
    hammer activation-key delete [OPTIONS]

Options:
 --id ID                                 ID of the activation key
 --name NAME                             Activation key name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.1.7. hammer activation-key host-collections

関連付けられているホストコレクションを一覧表示します。

Usage:
    hammer activation-key host-collections [OPTIONS]

Options:
 --available-for AVAILABLE_FOR           Interpret specified object to return only Host Collections that can be
                                         Associated with specified object. The value 'host' is supported.
 --full-result FULL_RESULT               Whether or not to show all results
                                         One of true/false, yes/no, 1/0
 --host-id HOST_ID                       Filter products by host id
 --id ID                                 ID of activation key
 --name NAME                             Name of activation key
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.1.8. hammer activation-key info

アクティベーションキーを表示します。

Usage:
    hammer activation-key info [OPTIONS]

Options:
 --id ID                                 ID of the activation key
 --name NAME                             Activation key name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.1.9. hammer activation-key list

アクティベーションキーを一覧表示します。

Usage:
    hammer activation-key list [OPTIONS]

Options:
 --by BY                                             Field to sort the results on
 --content-view CONTENT_VIEW_NAME                    Content view name to search by
 --content-view-id CONTENT_VIEW_ID                   Content view numeric identifier
 --full-result FULL_RESULT                           Whether or not to show all results
                                                     One of true/false, yes/no, 1/0
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME  Environment name
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID
 --name NAME                                         Activation key name to filter by
 --order ORDER                                       Sort field and order, eg. 'name DESC'
 --organization ORGANIZATION_NAME                    Organization name to search by
 --organization-id ORGANIZATION_ID                   Organization ID
 --organization-label ORGANIZATION_LABEL             Organization label to search by
 --page PAGE                                         Page number, starting at 1
 --per-page PER_PAGE                                 Number of results per page to return
 --search SEARCH                                     Search string
 -h, --help                                          Print help

10.1.10. hammer activation-key product-content

関連付けられた製品を一覧表示します。

Usage:
    hammer activation-key product-content [OPTIONS]

Options:
 --content-access-mode-all CONTENT_ACCESS_MODE_ALL Get all content available, not just that provided by subscriptions
                                                   One of true/false, yes/no, 1/0
 --content-access-mode-env CONTENT_ACCESS_MODE_ENV Limit content to just that available in the activation key's content
                                                   View version
                                                   One of true/false, yes/no, 1/0
 --id ID                                           ID of the activation key
 --name NAME                                       Activation key name to search by
 --organization ORGANIZATION_NAME                  Organization name to search by
 --organization-id ORGANIZATION_ID                 Organization ID
 --organization-label ORGANIZATION_LABEL           Organization label to search by
 -h, --help                                        Print help

10.1.11. hammer activation-key remove-host-collection

リソースの関連付けを解除します。

Usage:
    hammer activation-key remove-host-collection [OPTIONS]

Options:
 --host-collection HOST_COLLECTION_NAME  Host collection name to search by
 --host-collection-id HOST_COLLECTION_ID Id of the host collection
 --id ID                                 ID of the activation key
 --name NAME                             Activation key name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.1.12. hammer activation-key remove-subscription

サブスクリプションを削除します。

Usage:
    hammer activation-key remove-subscription [OPTIONS]

Options:
 --id ID                                 ID of the activation key
 --name NAME                             Activation key name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --subscription-id SUBSCRIPTION_ID       ID of subscription
 -h, --help                              Print help

10.1.13. hammer activation-key subscriptions

関連付けられたサブスクリプションを一覧表示します。

Usage:
    hammer activation-key subscriptions [OPTIONS]

Options:
 --activation-key ACTIVATION_KEY_NAME    Activation key name to search by
 --activation-key-id ACTIVATION_KEY_ID   ID of the activation key
 --available-for AVAILABLE_FOR           Object to show subscriptions available for, either 'host' or
                                         'activation_key'
 --by BY                                 Field to sort the results on
 --full-result FULL_RESULT               Whether or not to show all results
                                         One of true/false, yes/no, 1/0
 --host HOST_NAME                        Host name
 --host-id HOST_ID
 --id ACTIVATION_KEY_ID                  ID of the activation key
 --match-host MATCH_HOST                 Ignore subscriptions that are unavailable to the specified host
                                         One of true/false, yes/no, 1/0
 --match-installed MATCH_INSTALLED       Return subscriptions that match installed products of the specified host
                                         One of true/false, yes/no, 1/0
 --name ACTIVATION_KEY_NAME              Activation key name to search by
 --no-overlap NO_OVERLAP                 Return subscriptions which do not overlap with a currently-attached
                                         Subscription
                                         One of true/false, yes/no, 1/0
 --order ORDER                           Sort field and order, eg. 'name DESC'
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --page PAGE                             Page number, starting at 1
 --per-page PER_PAGE                     Number of results per page to return
 --search SEARCH                         Search string
 -h, --help                              Print help

10.1.14. hammer activation-key update

アクティベーションキーを更新します。

Usage:
    hammer activation-key update [OPTIONS]

Options:
 --auto-attach AUTO_ATTACH                           Auto attach subscriptions upon registration
                                                     One of true/false, yes/no, 1/0
 --content-view CONTENT_VIEW_NAME                    Content view name to search by
 --content-view-id CONTENT_VIEW_ID                   Content view numeric identifier
 --description DESCRIPTION                           Description
 --id ID                                             ID of the activation key
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME  Environment name
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID
 --max-hosts MAX_HOSTS                               Maximum number of registered content hosts
 --name NAME                                         Activation key name to search by
 --new-name NEW_NAME                                 Name
 --organization ORGANIZATION_NAME                    Organization name to search by
 --organization-id ORGANIZATION_ID                   Organization ID
 --organization-label ORGANIZATION_LABEL             Organization label to search by
 --release-version RELEASE_VERSION                   Content release version
 --service-level SERVICE_LEVEL                       Service level
 --unlimited-hosts                                   Set hosts max to unlimited
 -h, --help                                          Print help

10.2. hammer admin

サーバー側の管理タスク

Usage:
    hammer admin [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 logging                       Logging verbosity level setup

Options:
 -h, --help                    Print help

10.2.1. hammer admin logging

ロギングの詳細レベルの設定

Usage:
    hammer admin logging [OPTIONS]

Options:
 --no-backup                   Skip configuration backups creation.
 --prefix PATH                 Operate on prefixed environment (e.g. chroot).
 -a, --all                     Apply to all components.
 -c, --components COMPONENTS   Components to apply, use --list to get them.
                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -d, --level-debug             Increase verbosity level to debug.
 -h, --help                    Print help
 -l, --list                    List available components.
 -n, --dry-run                 Do not apply specified changes.
 -p, --level-production        Decrease verbosity level to standard.

10.3. hammer ansible

foreman ansible の管理

Usage:
    hammer ansible [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 roles                         Manage ansible roles

Options:
 -h, --help                    Print help

10.3.1. hammer ansible roles

Ansible ロールの管理

Usage:
    hammer ansible roles [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:

 delete                        Deletes Ansible role
 import                        Import Ansible roles
 info                          Show role
 list                          List Ansible roles
 obsolete                      Obsolete Ansible roles

Options:
 -h, --help                    Print help

10.3.1.1. hammer ansible roles delete

Ansible role の削除

Usage:
    hammer ansible roles delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.3.1.2. hammer ansible roles import

Ansible ロールのインポート

Usage:
    hammer ansible roles import [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --proxy-id PROXY_ID                     Capsule to import from
 -h, --help                              Print help
 -h, --help                              Print help

10.3.1.3. hammer ansible roles info

ロールの表示

Usage:
    hammer ansible roles info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.3.1.4. hammer ansible roles list

Ansible ロールを一覧表示します。

Usage:
    hammer ansible roles list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.3.1.5. hammer ansible roles obsolete

Ansible ロールを廃止します。

Usage:
    hammer ansible roles obsolete [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --proxy-id PROXY_ID                     Capsule to import from
 -h, --help                              Print help
 -h, --help                              Print help

10.4. hammer architecture

アーキテクチャーを操作します。

Usage:
    hammer architecture [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 add-operatingsystem           Associate an operating system
 create                        Create an architecture
 delete                        Delete an architecture
 info                          Show an architecture
 list                          List all architectures
 remove-operatingsystem        Disassociate an operating system
 update                        Update an architecture

Options:
 -h, --help                    Print help

10.4.1. hammer architecture add-operatingsystem

オペレーティングシステムを関連付けます。

Usage:
    hammer architecture add-operatingsystem [OPTIONS]

Options:
 --id ID
 --name NAME                             Architecture name
 --operatingsystem OPERATINGSYSTEM_TITLE Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID
 -h, --help                              Print help

10.4.2. hammer architecture create

アーキテクチャーを作成します。

Usage:
    hammer architecture create [OPTIONS]

Options:
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE           Location title
 --name NAME
 --operatingsystem-ids OPERATINGSYSTEM_IDS Operating system IDs
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --operatingsystems OPERATINGSYSTEM_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-title ORGANIZATION_TITLE   Organization title
 -h, --help                                Print help

10.4.3. hammer architecture delete

アーキテクチャーを削除します。

Usage:
    hammer architecture delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Architecture name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.4.4. hammer architecture info

アーキテクチャーを表示します。

Usage:
    hammer architecture info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Architecture name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.4.5. hammer architecture list

アーキテクチャーの一覧を表示します。

Usage:
    hammer architecture list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --operatingsystem OPERATINGSYSTEM_TITLE Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.4.6. hammer architecture remove-operatingsystem

オペレーティングシステムの関連付けを解除します。

Usage:
    hammer architecture remove-operatingsystem [OPTIONS]

Options:
 --id ID
 --name NAME                             Architecture name
 --operatingsystem OPERATINGSYSTEM_TITLE Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID
 -h, --help                              Print help

10.4.7. hammer architecture update

アーキテクチャーを更新します。

Usage:
    hammer architecture update [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE           Location title
 --name NAME                               Architecture name
 --new-name NEW_NAME
 --operatingsystem-ids OPERATINGSYSTEM_IDS Operating system IDs
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --operatingsystems OPERATINGSYSTEM_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-title ORGANIZATION_TITLE   Organization title
 -h, --help                                Print help

10.5. hammer arf-report

コンプライアンスレポートを操作します。

Usage:
    hammer arf-report [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 delete                        Delete an ARF Report
 download                      Download bzipped ARF report
 download-html                 Download ARF report in HTML
 info                          Show an ARF report
 list                          List ARF reports

Options:
 -h, --help                    Print help

10.5.1. hammer arf-report delete

ARF レポートを削除します。

Usage:
    hammer arf-report delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME          Name to search by
 --location-id LOCATION_ID
 --organization ORGANIZATION_NAME  Name to search by
 --organization-id ORGANIZATION_ID Organization ID
 -h, --help                        Print help

10.5.2. hammer arf-report download

bzip された ARF レポートをダウンロードします。

Usage:
    hammer arf-report download [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME          Name to search by
 --location-id LOCATION_ID
 --organization ORGANIZATION_NAME  Name to search by
 --organization-id ORGANIZATION_ID Organization ID
 --path PATH                       Path to directory where downloaded file will be saved
 -h, --help                        Print help

10.5.3. hammer arf-report download-html

HTML 形式で ARF レポートをダウンロードします。

Usage:
    hammer arf-report download-html [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME          Name to search by
 --location-id LOCATION_ID
 --organization ORGANIZATION_NAME  Name to search by
 --organization-id ORGANIZATION_ID Organization ID
 --path PATH                       Path to directory where downloaded file will be saved
 -h, --help                        Print help

10.5.4. hammer arf-report info

ARF レポートを表示します。

Usage:
    hammer arf-report info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME          Name to search by
 --location-id LOCATION_ID
 --organization ORGANIZATION_NAME  Name to search by
 --organization-id ORGANIZATION_ID Organization ID
 -h, --help                        Print help

10.5.5. hammer arf-report list

ARF レポートを一覧表示します。

Usage:
    hammer arf-report list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.6. hammer audit

監査証跡を検索します。

Usage:
    hammer audit [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 info                          Show an audit
 list                          List all audits

Options:
 -h, --help                    Print help

10.6.1. hammer audit info

監査を表示します。

Usage:
    hammer audit info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.6.2. hammer audit list

すべての監査を一覧表示します。

Usage:
    hammer audit list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.7. hammer auth

Foreman 接続をログイン/ログアウトします。

Usage:
    hammer auth [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 login                         Set credentials
 logout                        Wipe your credentials
 status                        Information about current connections

Options:
 -h, --help                    Print help

10.7.1. hammer auth login

資格情報を設定します。

Usage:
    hammer auth login [OPTIONS]

Options:
 -h, --help                    Print help
 -p, --password PASSWORD       Password to access the remote system
 -u, --username USERNAME       Username to access the remote system

10.7.2. hammer auth logout

資格情報をワイプします。

Usage:
    hammer auth logout [OPTIONS]

Options:
 -h, --help                    Print help

10.7.3. hammer auth status

現在の接続に関する情報

Usage:
    hammer auth status [OPTIONS]

Options:
 -h, --help                    Print help

10.8. hammer auth-source

認証ソースを操作します。

Usage:
    hammer auth-source [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 ldap                          Manage LDAP auth sources
 list                          List all auth sources.

Options:
 -h, --help                    Print help

10.8.1. hammer auth-source ldap

LDAP 認証ソースを管理します。

Usage:
    hammer auth-source ldap [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 create                        Create an LDAP authentication source
 delete                        Delete an LDAP authentication source
 info                          Show an LDAP authentication source
 list                          List all LDAP authentication sources
 update                        Update an LDAP authentication source

Options:
 -h, --help                    Print help

10.8.1.1. hammer auth-source ldap create

LDAP 認証ソースを作成します。

Usage:
    hammer auth-source ldap create [OPTIONS]

Options:
 --account ACCOUNT
 --account-password ACCOUNT_PASSWORD       Required if onthefly_register is true
 --attr-firstname ATTR_FIRSTNAME           Required if onthefly_register is true
 --attr-lastname ATTR_LASTNAME             Required if onthefly_register is true
 --attr-login ATTR_LOGIN                   Required if onthefly_register is true
 --attr-mail ATTR_MAIL                     Required if onthefly_register is true
 --attr-photo ATTR_PHOTO
 --base-dn BASE_DN
 --groups-base GROUPS_BASE                 Groups base DN
 --host HOST
 --ldap-filter LDAP_FILTER                 LDAP filter
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               REPLACE locations with given ids
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --name NAME
 --onthefly-register ONTHEFLY_REGISTER     One of true/false, yes/no, 1/0
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       REPLACE organizations with given ids.
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --port PORT                               Defaults to 389
 --server-type SERVER_TYPE                 Type of the LDAP server
                                           Possible value(s): 'free_ipa', 'active_directory', 'posix'
 --tls TLS                                 One of true/false, yes/no, 1/0
 --use-netgroups USE_NETGROUPS             Use NIS netgroups instead of posix groups, applicable only when server_type
                                           Is posix or free_ipa
                                           One of true/false, yes/no, 1/0
 --usergroup-sync USERGROUP_SYNC           Sync external user groups on login
                                           One of true/false, yes/no, 1/0
 -h, --help                                Print help

10.8.1.2. hammer auth-source ldap delete

LDAP 認証ソースを削除します。

Usage:
    hammer auth-source ldap delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.8.1.3. hammer auth-source ldap info

LDAP 認証ソースを表示します。

Usage:
    hammer auth-source ldap info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.8.1.4. hammer auth-source ldap list

LDAP 認証ソースの一覧を表示します。

Usage:
    hammer auth-source ldap list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.8.1.5. hammer auth-source ldap update

LDAP 認証ソースを更新します。

Usage:
    hammer auth-source ldap update [OPTIONS]

Options:
 --account ACCOUNT
 --account-password ACCOUNT_PASSWORD       Required if onthefly_register is true
 --attr-firstname ATTR_FIRSTNAME           Required if onthefly_register is true
 --attr-lastname ATTR_LASTNAME             Required if onthefly_register is true
 --attr-login ATTR_LOGIN                   Required if onthefly_register is true
 --attr-mail ATTR_MAIL                     Required if onthefly_register is true
 --attr-photo ATTR_PHOTO
 --base-dn BASE_DN
 --groups-base GROUPS_BASE                 Groups base DN
 --host HOST
 --id ID
 --ldap-filter LDAP_FILTER                 LDAP filter
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               REPLACE locations with given ids
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --name NAME                               Name to search by
 --new-name NEW_NAME
 --onthefly-register ONTHEFLY_REGISTER     One of true/false, yes/no, 1/0
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       REPLACE organizations with given ids.
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --port PORT                               Defaults to 389
 --server-type SERVER_TYPE                 Type of the LDAP server
                                           Possible value(s): 'free_ipa', 'active_directory', 'posix'
 --tls TLS                                 One of true/false, yes/no, 1/0
 --use-netgroups USE_NETGROUPS             Use NIS netgroups instead of posix groups, applicable only when server_type
                                           Is posix or free_ipa
                                           One of true/false, yes/no, 1/0
 --usergroup-sync USERGROUP_SYNC           Sync external user groups on login
                                           One of true/false, yes/no, 1/0
 -h, --help                                Print help

10.8.2. hammer auth-source ldap list

すべての認証ソースを一覧表示します。

Usage:
    hammer auth-source list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.9. hammer bootdisk

ブートディスクをダウンロードします。

Usage:
    hammer bootdisk [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 generic                       Download generic image
 host                          Download host image
 subnet                        Download subnet generic image

Options:
 -h, --help                    Print help

10.9.1. hammer bootdisk generic

汎用イメージをダウンロードします。

Usage:
    hammer bootdisk generic [OPTIONS]

Options:
 --file PATH                             File or device to write image to
 --force                                 Force writing to existing destination (device etc.)
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --sudo                                  Use sudo to write to device
 -h, --help                              Print help

10.9.2. hammer bootdisk host

ホストイメージをダウンロードします。

Usage:
    hammer bootdisk host [OPTIONS]

Options:
 --file PATH                             File or device to write image to
 --force                                 Force writing to existing destination (device etc.)
 --full FULL                             True for full, false for basic reusable image
                                         One of true/false, yes/no, 1/0
 --host HOST_NAME                        Host name
 --host-id HOST_ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --sudo                                  Use sudo to write to device
 -h, --help                              Print help

10.9.3. hammer bootdisk subnet

サブネット汎用イメージをダウンロードします。

Usage:
    hammer bootdisk subnet [OPTIONS]

Options:
 --file PATH                             File or device to write image to
 --force                                 Force writing to existing destination (device etc.)
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --subnet SUBNET_NAME                    Subnet name
 --subnet-id SUBNET_ID
 --sudo                                  Use sudo to write to device
 -h, --help                              Print help

10.10. hammer capsule

Capsule を操作します。

Usage:
    hammer capsule [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 content                       Manage the capsule content
 create                        Create a capsule
 delete                        Delete a capsule
 import-classes                Import puppet classes from puppet Capsule
 info                          Show a capsule
 list                          List all capsules
 refresh-features              Refresh capsule features
 update                        Update a capsule

Options:
 -h, --help                    Print help

10.10.1. hammer capsule content

Capsule コンテンツを管理します。

Usage:
    hammer capsule content [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 add-lifecycle-environment        Add lifecycle environments to the capsule
 available-lifecycle-environments List the lifecycle environments not attached to the capsule
 cancel-synchronization           Cancel running capsule synchronization.
 info                             Get current capsule synchronization status
 lifecycle-environments           List the lifecycle environments attached to the capsule
 remove-lifecycle-environment     Remove lifecycle environments from the capsule
 synchronization-status           Get current capsule synchronization status
 synchronize                      Synchronize the content to the capsule

Options:
 -h, --help                    Print help

10.10.1.1. hammer capsule content add-lifecycle-environment

ライフサイクル環境を Capsule に追加します。

Usage:
    hammer capsule content add-lifecycle-environment [OPTIONS]

Options:
 --environment ENVIRONMENT_NAME  Environment name
 --environment-id ENVIRONMENT_ID
 --id ID                         Id of the capsule
 --name NAME                     Name to search by
 --organization NAME             Organization name
 --organization-id ID            Organization ID
 -h, --help                      Print help

10.10.1.2. hammer capsule content available-lifecycle-environments

Capsule に割り当てられていないライフサイクル環境を一覧表示します。

Usage:
    hammer capsule content available-lifecycle-environments [OPTIONS]

Options:
 --id ID                                 Id of the capsule
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.10.1.3. hammer capsule content cancel-synchronization

実行中の Capsule 同期をキャンセルします。

Usage:
    hammer capsule content cancel-synchronization [OPTIONS]

Options:
 --id ID                       Id of the capsule
 --name NAME                   Name to search by
 -h, --help                    Print help

10.10.1.4. hammer capsule content info

現在の Capsule 同期ステータスを取得します。

Usage:
    hammer capsule content info [OPTIONS]

Options:
 --id ID                                 Id of the capsule
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.10.1.5. hammer capsule content lifecycle-environments

Capsule に割り当てられたライフサイクル環境を一覧表示します。

Usage:
    hammer capsule content lifecycle-environments [OPTIONS]

Options:
 --id ID                                 Id of the capsule
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.10.1.6. hammer capsule content remove-lifecycle-environment

ライフサイクル環境を Capsule から削除します。

Usage:
    hammer capsule content remove-lifecycle-environment [OPTIONS]

Options:
 --environment ENVIRONMENT_NAME  Environment name
 --environment-id ENVIRONMENT_ID
 --id ID                         Id of the capsule
 --name NAME                     Name to search by
 --organization NAME             Organization name
 --organization-id ID            Organization ID
 -h, --help                      Print help

10.10.1.7. hammer capsule content synchronization-status

現在の Capsule 同期ステータスを取得します。

Usage:
    hammer capsule content synchronization-status [OPTIONS]

Options:
 --id ID                                 Id of the capsule
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.10.1.8. hammer capsule content synchronize

コンテンツと Capsule を同期します。

Usage:
    hammer capsule content synchronize [OPTIONS]

Options:
 --async                                   Do not wait for the task
 --environment ENVIRONMENT_NAME            Environment name
 --environment-id ENVIRONMENT_ID
 --id ID                                   Id of the capsule
 --name NAME                               Name to search by
 --organization NAME                       Organization name
 --organization-id ID                      Organization ID
 --skip-metadata-check SKIP_METADATA_CHECK Skip metadata check on each repository on the capsule
                                           One of true/false, yes/no, 1/0
 -h, --help                                Print help

10.10.2. hammer capsule create

Capsule を作成します。

Usage:
    hammer capsule create [OPTIONS]

Options:
 --download-policy DOWNLOAD_POLICY         Download Policy of the capsule, must be one of immediate, on_demand,
                                           Background, inherit
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               REPLACE locations with given ids
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --name NAME
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       REPLACE organizations with given ids.
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --url URL
 -h, --help                                Print help

10.10.3. hammer capsule delete

Capsule を削除します。

Usage:
    hammer capsule delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.10.4. hammer capsule import-classes

Puppet Capsule から puppet クラスをインポートします。

Usage:
    hammer capsule import-classes [OPTIONS]

Options:
 --dryrun                                Do not run the import
 --environment ENVIRONMENT_NAME          Environment name
 --environment-id ENVIRONMENT_ID
 --except EXCEPT                         Optional comma-delimited string containing either 'new',
                                         'updated', or 'obsolete' that is used to limit the imported
                                         Puppet classes
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.10.5. hammer capsule info

Capsule を表示します。

Usage:
    hammer capsule info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.10.6. hammer capsule list

Capsule を一覧表示します。

Usage:
    hammer capsule list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.10.7. hammer capsule refresh-features

Capsule 機能を更新します。

Usage:
    hammer capsule refresh-features [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.10.8. hammer capsule update

Capsule を更新します。

Usage:
    hammer capsule update [OPTIONS]

Options:
 --download-policy DOWNLOAD_POLICY         Download Policy of the capsule, must be one of immediate, on_demand,
                                           Background, inherit
 --id ID
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               REPLACE locations with given ids
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --name NAME                               Name to search by
 --new-name NEW_NAME
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       REPLACE organizations with given ids.
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --url URL
 -h, --help                                Print help

10.11. hammer compute-resource

コンピュートリソースを操作します。

Usage:
    hammer compute-resource [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 create                        Create a compute resource
 delete                        Delete a compute resource
 image                         View and manage compute resource's images
 info                          Show a compute resource
 list                          List all compute resources
 networks                      Show available networks
 update                        Update a compute resource

Options:
 -h, --help                    Print help

10.11.1. hammer compute-resource create

コンピュートリソースを作成します。

Usage:
    hammer compute-resource create [OPTIONS]

Options:
 --caching-enabled CACHING_ENABLED           Enable caching, for VMware only
                                             One of true/false, yes/no, 1/0
 --datacenter DATACENTER                     For RHEV, VMware Datacenter
 --description DESCRIPTION
 --display-type DISPLAY_TYPE                 For Libvirt only
                                             Possible value(s): 'VNC', 'SPICE'
 --domain DOMAIN                             For RHEL OpenStack Platform only
 --location LOCATION_NAME                    Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS                 REPLACE locations with given ids
                                             Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE             Location title
 --location-titles LOCATION_TITLES           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                  Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --name NAME
 --organization ORGANIZATION_NAME            Organization name
 --organization-id ORGANIZATION_ID           Organization ID
 --organization-ids ORGANIZATION_IDS         REPLACE organizations with given ids.
                                             Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE     Organization title
 --organization-titles ORGANIZATION_TITLES   Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES          Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --ovirt-quota OVIRT_QUOTA                   For RHEV only
 --password PASSWORD                         Password for RHEV, EC2, VMware, OpenStack. Secret key for EC2
 --provider PROVIDER                         Providers include Libvirt, Ovirt, EC2, Vmware, Openstack, Rackspace, GCE,
                                             Docker
 --region REGION                             For EC2 only, use 'us-gov-west-1' for GovCloud region
 --server SERVER                             For VMware
 --set-console-password SET_CONSOLE_PASSWORD For Libvirt and VMware only
                                             One of true/false, yes/no, 1/0
 --tenant TENANT                             For RHEL OpenStack Platform only
 --url URL                                   URL for Docker, Libvirt, RHEV, OpenStack and Rackspace
 --use-v4 USE_V4                             For RHEV only
                                             One of true/false, yes/no, 1/0
 --user USER                                 Username for RHEV, EC2, VMware, OpenStack. Access Key for EC2.
 --uuid UUID                                 Deprecated, please use datacenter
 -h, --help                                  Print help

10.11.2. hammer compute-resource delete

コンピュートリソースを削除します。

Usage:
    hammer compute-resource delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Compute resource name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.11.3. hammer compute-resource image

コンピュートリソースのイメージを表示および管理します。

Usage:
    hammer compute-resource image [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 available                     Show images available for addition
 create                        Create an image
 delete                        Delete an image
 info                          Show an image
 list                          List all images for a compute resource
 update                        Update an image

Options:
 -h, --help                    Print help

10.11.3.1. hammer compute-resource image available

追加できるイメージを表示します。

Usage:
    hammer compute-resource image available [OPTIONS]

Options:
 --compute-resource NAME                 Compute resource name
 --compute-resource-id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.11.3.2. hammer compute-resource image create

イメージを作成します。

Usage:
    hammer compute-resource image create [OPTIONS]

Options:
 --architecture ARCHITECTURE_NAME          Architecture name
 --architecture-id ARCHITECTURE_ID
 --compute-resource COMPUTE_RESOURCE_NAME  Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE           Location title
 --name NAME
 --operatingsystem OPERATINGSYSTEM_TITLE   Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-title ORGANIZATION_TITLE   Organization title
 --password PASSWORD
 --user-data USER_DATA                     Whether or not the image supports user data
                                           One of true/false, yes/no, 1/0
 --username USERNAME
 --uuid UUID
 -h, --help                                Print help

10.11.3.3. hammer compute-resource image delete

イメージを削除します。

Usage:
    hammer compute-resource image delete [OPTIONS]

Options:
 --compute-resource COMPUTE_RESOURCE_NAME  Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID
 --id ID
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE           Location title
 --name NAME                               Name to search by
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-title ORGANIZATION_TITLE   Organization title
 -h, --help                                Print help

10.11.3.4. hammer compute-resource image info

イメージを表示します。

Usage:
    hammer compute-resource image info [OPTIONS]

Options:
 --architecture ARCHITECTURE_NAME          Architecture name
 --architecture-id ARCHITECTURE_ID
 --compute-resource COMPUTE_RESOURCE_NAME  Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID
 --id ID
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE           Location title
 --name NAME                               Name to search by
 --operatingsystem OPERATINGSYSTEM_TITLE   Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-title ORGANIZATION_TITLE   Organization title
 -h, --help                                Print help

10.11.3.5. hammer compute-resource image list

コンピュートリソースのイメージを一覧表示します。

Usage:
    hammer compute-resource image list [OPTIONS]

Options:
 --architecture ARCHITECTURE_NAME          Architecture name
 --architecture-id ARCHITECTURE_ID
 --compute-resource COMPUTE_RESOURCE_NAME  Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE           Location title
 --operatingsystem OPERATINGSYSTEM_TITLE   Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID
 --order ORDER                             Sort results
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-title ORGANIZATION_TITLE   Organization title
 --page PAGE                               Paginate results
 --per-page PER_PAGE                       Number of entries per request
 --search SEARCH                           Filter results
 -h, --help                                Print help

10.11.3.6. hammer compute-resource image update

イメージを更新します。

Usage:
    hammer compute-resource image update [OPTIONS]

Options:
 --architecture ARCHITECTURE_NAME          Architecture name
 --architecture-id ARCHITECTURE_ID
 --compute-resource COMPUTE_RESOURCE_NAME  Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID
 --id ID
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE           Location title
 --name NAME                               Name to search by
 --new-name NEW_NAME
 --operatingsystem OPERATINGSYSTEM_TITLE   Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-title ORGANIZATION_TITLE   Organization title
 --password PASSWORD
 --user-data USER_DATA                     Whether or not the image supports user data
                                           One of true/false, yes/no, 1/0
 --username USERNAME
 --uuid UUID
 -h, --help                                Print help

10.11.4. hammer compute-resource info

コンピュートリソースを表示します。

Usage:
    hammer compute-resource info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Compute resource name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.11.5. hammer compute-resource list

コンピュートリソースの一覧を表示します。

Usage:
    hammer compute-resource list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.11.6. hammer compute-resource networks

利用可能なネットワークを表示します。

Usage:
    hammer compute-resource networks [OPTIONS]

Options:
 --cluster-id CLUSTER_ID
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Compute resource name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.11.7. hammer compute-resource update

コンピュートリソースを更新します。

Usage:
    hammer compute-resource update [OPTIONS]

Options:
 --caching-enabled CACHING_ENABLED           Enable caching, for VMware only
                                             One of true/false, yes/no, 1/0
 --datacenter DATACENTER                     For RHEV, VMware Datacenter
 --description DESCRIPTION
 --display-type DISPLAY_TYPE                 For Libvirt only
                                             Possible value(s): 'VNC', 'SPICE'
 --domain DOMAIN                             For RHEL OpenStack Platform only
 --id ID
 --location LOCATION_NAME                    Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS                 REPLACE locations with given ids
                                             Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE             Location title
 --location-titles LOCATION_TITLES           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                  Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --name NAME                                 Compute resource name
 --new-name NEW_NAME
 --organization ORGANIZATION_NAME            Organization name
 --organization-id ORGANIZATION_ID           Organization ID
 --organization-ids ORGANIZATION_IDS         REPLACE organizations with given ids.
                                             Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE     Organization title
 --organization-titles ORGANIZATION_TITLES   Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES          Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --ovirt-quota OVIRT_QUOTA                   For RHEV only
 --password PASSWORD                         Password for RHEV, EC2, VMware, OpenStack. Secret key for EC2
 --provider PROVIDER                         Providers include Libvirt, Ovirt, EC2, Vmware, Openstack, Rackspace, GCE,
                                             Docker
 --region REGION                             For EC2 only, use 'us-gov-west-1' for GovCloud region
 --server SERVER                             For VMware
 --set-console-password SET_CONSOLE_PASSWORD For Libvirt and VMware only
                                             One of true/false, yes/no, 1/0
 --tenant TENANT                             For RHEL OpenStack Platform only
 --url URL                                   URL for Docker, Libvirt, RHEV, OpenStack and Rackspace
 --use-v4 USE_V4                             For RHEV only
                                             One of true/false, yes/no, 1/0
 --user USER                                 Username for RHEV, EC2, VMware, OpenStack. Access Key for EC2.
 --uuid UUID                                 Deprecated, please use datacenter
 -h, --help                                  Print help

10.12. hammer config-group

設定グループを操作します。

Usage:
    hammer config-group [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 create                        Create a config group
 delete                        Delete a config group
 info                          Show a config group
 list                          List of config groups
 update                        Update a config group

Options:
 -h, --help                    Print help

10.12.1. hammer config-group create

設定グループを作成します。

Usage:
    hammer config-group create [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --puppet-class-ids PUPPET_CLASS_IDS     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --puppet-classes PUPPET_CLASS_NAMES     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                              Print help

10.12.2. hammer config-group delete

設定グループを削除します。

Usage:
    hammer config-group delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.12.3. hammer config-group info

設定グループを表示します。

Usage:
    hammer config-group info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.12.4. hammer config-group list

設定グループの一覧を表示します。

Usage:
    hammer config-group list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.12.5. hammer config-group update

設定グループを更新します。

Usage:
    hammer config-group update [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --new-name NEW_NAME
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --puppet-class-ids PUPPET_CLASS_IDS     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --puppet-classes PUPPET_CLASS_NAMES     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                              Print help

10.13. hammer content-view

コンテンツビューを操作します。

Usage:
    hammer content-view [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 add-repository                Associate a resource
 add-version                   Add a content view version to a composite view
 component                     View and manage components
 copy                          Copy a content view
 create                        Create a content view
 delete                        Delete a content view
 filter                        View and manage filters
 info                          Show a content view
 list                          List content views
 publish                       Publish a content view
 puppet-module                 View and manage puppet modules
 purge                         Delete old versions of a content view
 remove                        Remove versions and/or environments from a content view and reassign systems and keys
 remove-from-environment       Remove a content view from an environment
 remove-repository             Disassociate a resource
 remove-version                Remove a content view version from a composite view
 update                        Update a content view
 version                       View and manage content view versions

Options:
 -h, --help                    Print help

10.13.1. hammer content-view add-repository

リソースを関連付けます。

Usage:
    hammer content-view add-repository [OPTIONS]

Options:
 --id ID                                 Content view numeric identifier
 --name NAME                             Content view name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID to search by
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --product PRODUCT_NAME                  Product name to search by
 --product-id PRODUCT_ID                 Product numeric identifier
 --repository REPOSITORY_NAME            Repository name to search by
 --repository-id REPOSITORY_ID           Repository ID
 -h, --help                              Print help

10.13.2. hammer content-view add-version

コンテンツビューバージョンを複合ビューに追加します。

Usage:
    hammer content-view add-version [OPTIONS]

Options:
 --content-view CONTENT_VIEW_NAME                    Content view name to search by
 --content-view-id CONTENT_VIEW_ID                   Content view numeric identifier
 --content-view-version CONTENT_VIEW_VERSION_VERSION Content view version number
 --content-view-version-id CONTENT_VIEW_VERSION_ID   Content view version identifier
 --id ID                                             Content view numeric identifier
 --name NAME                                         Content view name to search by
 --organization ORGANIZATION_NAME                    Organization name to search by
 --organization-id ORGANIZATION_ID                   Organization ID to search by
 --organization-label ORGANIZATION_LABEL             Organization label to search by
 -h, --help                                          Print help

10.13.3. hammer content-view component

コンポーネントを表示および管理します。

Usage:
    hammer content-view component [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 add                           Add components to the content view
 list                          List components attached to this content view
 remove                        Remove components from the content view
 update                        Update a component associated with the content view

Options:
 -h, --help                    Print help

10.13.3.1. hammer content-view component add

コンポーネントをコンテンツビューに追加します。

Usage:
    hammer content-view component add [OPTIONS]

Options:
 --component-content-view COMPONENT_CONTENT_VIEW_NAME                    Content View name of the component who's latest version is desired
 --component-content-view-id COMPONENT_CONTENT_VIEW_ID                   Content View identifier of the component who's latest version is desired
 --component-content-view-version COMPONENT_CONTENT_VIEW_VERSION_VERSION Content View Version number of the component. Either use this or --component-content-view-version-id option
 --component-content-view-version-id COMPONENT_CONTENT_VIEW_VERSION_ID   Content View Version identifier of the component
 --composite-content-view COMPOSITE_CONTENT_VIEW_NAME                    Name of the composite content view
 --composite-content-view-id COMPOSITE_CONTENT_VIEW_ID                   Composite content view identifier
 --latest                                                                Select the latest version of the components content view is desired
 --organization ORGANIZATION_NAME                                        Organization name to search by
 --organization-id ORGANIZATION_ID                                       Organization ID to search by
 --organization-label ORGANIZATION_LABEL                                 Organization label to search by
 -h, --help                                                              Print help

10.13.3.2. hammer content-view component list

このコンテンツビューに割り当てられたコンポーネントの一覧を表示します。

Usage:
    hammer content-view component list [OPTIONS]

Options:
 --composite-content-view COMPOSITE_CONTENT_VIEW_NAME  Name of the composite content view
 --composite-content-view-id COMPOSITE_CONTENT_VIEW_ID Composite content view identifier
 --organization ORGANIZATION_NAME                      Organization name to search by
 --organization-id ORGANIZATION_ID                     Organization ID to search by
 --organization-label ORGANIZATION_LABEL               Organization label to search by
 -h, --help                                            Print help

10.13.3.3. hammer content-view component remove

コンテンツビューからコンポーネントを削除します。

Usage:
    hammer content-view component remove [OPTIONS]

Options:
 --component-content-view-ids COMPONENT_CONTENT_VIEW_IDs Array of component content view identfiers to remove. Comma separated list of values
 --component-content-views COMPONENT_CONTENT_VIEW_NAMES  Array of component content view names to remove. Comma separated list of values
 --component-ids COMPONENT_IDS                           Array of content view component IDs to remove. Identifier of the component
                                                         Association
                                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --composite-content-view COMPOSITE_CONTENT_VIEW_NAME    Name of the composite content view
 --composite-content-view-id COMPOSITE_CONTENT_VIEW_ID   Composite content view identifier
 --organization ORGANIZATION_NAME                        Organization name to search by
 --organization-id ORGANIZATION_ID                       Organization ID to search by
 --organization-label ORGANIZATION_LABEL                 Organization label to search by
 -h, --help                                              Print help

10.13.3.4. hammer content-view component update

コンテンツビューに関連付けられたコンポーネントを更新します。

Usage:
    hammer content-view component update [OPTIONS]

Options:
 --component-content-view COMPONENT_CONTENT_VIEW_NAME                    Content View name of the component who's latest version is desired
 --component-content-view-id COMPONENT_CONTENT_VIEW_ID                   Content View identifier of the component who's latest version is desired
 --component-content-view-version COMPONENT_CONTENT_VIEW_VERSION_VERSION Content View Version number of the component. Either use this or --component-content-view-version-id option
 --component-content-view-version-id COMPONENT_CONTENT_VIEW_VERSION_ID   Content View Version identifier of the component
 --composite-content-view COMPOSITE_CONTENT_VIEW_NAME                    Name of the composite content view
 --composite-content-view-id COMPOSITE_CONTENT_VIEW_ID                   Composite content view identifier
 --id ID                                                                 Content view component ID. Identifier of the component association
 --latest                                                                Select the latest version of the components content view is desired
 --organization ORGANIZATION_NAME                                        Organization name to search by
 --organization-id ORGANIZATION_ID                                       Organization ID to search by
 --organization-label ORGANIZATION_LABEL                                 Organization label to search by
 -h, --help                                                              Print help

10.13.4. hammer content-view copy

コンテンツビューをコピーします。

Usage:
    hammer content-view copy [OPTIONS]

Options:
 --id ID                                 Content view numeric identifier
 --name NAME                             Content view name to search by
 --new-name NEW_NAME                     New content view name
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID to search by
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.13.5. hammer content-view create

コンテンツビューを作成します。

Usage:
    hammer content-view create [OPTIONS]

Options:
 --auto-publish AUTO_PUBLISH             Enable/Disable auto publish of composite view
                                         One of true/false, yes/no, 1/0
 --component-ids COMPONENT_IDS           List of component content view version ids for composite views
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --composite                             Create a composite content view
 --description DESCRIPTION               Description for the content view
 --label LABEL                           Content view label
 --name NAME                             Name of the content view
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --product PRODUCT_NAME                  Product name to search by
 --product-id PRODUCT_ID                 Product numeric identifier
 --repositories REPOSITORY_NAMES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --repository-ids REPOSITORY_IDS         List of repository ids
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                              Print help

10.13.6. hammer content-view delete

コンテンツビューを削除します。

Usage:
    hammer content-view delete [OPTIONS]

Options:
 --async                                 Do not wait for the task
 --id ID                                 Content view numeric identifier
 --name NAME                             Content view name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID to search by
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.13.7. hammer content-view filter

フィルターを表示および管理します。

Usage:
    hammer content-view filter [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 add-repository                Associate a resource
 create                        Create a filter for a content view
 delete                        Delete a filter
 info                          Show filter info
 list                          List filters
 remove-repository             Disassociate a resource
 rule                          View and manage filter rules
 update                        Update a filter

Options:
 -h, --help                    Print help

10.13.7.1. hammer content-view filter add-repository

リソースを関連付けます。

Usage:
    hammer content-view filter add-repository [OPTIONS]

Options:
 --content-view CONTENT_VIEW_NAME        Content view name to search by
 --content-view-id CONTENT_VIEW_ID       Content view numeric identifier
 --id ID                                 Filter identifier
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID to search by
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --product PRODUCT_NAME                  Product name to search by
 --product-id PRODUCT_ID                 Product numeric identifier
 --repository REPOSITORY_NAME            Repository name to search by
 --repository-id REPOSITORY_ID           Repository ID
 -h, --help                              Print help

10.13.7.2. hammer content-view filter create

コンテンツビューのフィルターを作成します。

Usage:
    hammer content-view filter create [OPTIONS]

Options:
 --content-view CONTENT_VIEW_NAME        Content view name to search by
 --content-view-id CONTENT_VIEW_ID       Content view numeric identifier
 --description DESCRIPTION               Description of the filter
 --inclusion INCLUSION                   Specifies if content should be included or excluded, default:
                                         Inclusion=false
                                         One of true/false, yes/no, 1/0
 --name NAME                             Name of the filter
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID to search by
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --original-packages ORIGINAL_PACKAGES   Add all packages without errata to the included/excluded list. (package
                                         Filter only)
                                         One of true/false, yes/no, 1/0
 --product PRODUCT_NAME                  Product name to search by
 --product-id PRODUCT_ID                 Product numeric identifier
 --repositories REPOSITORY_NAMES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --repository-ids REPOSITORY_IDS         List of repository ids
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --type TYPE                             Type of filter (e.g. rpm, package_group, erratum, docker)
 -h, --help                              Print help

10.13.7.3. hammer content-view filter delete

フィルターを削除します。

Usage:
    hammer content-view filter delete [OPTIONS]

Options:
 --content-view CONTENT_VIEW_NAME        Content view name to search by
 --content-view-id CONTENT_VIEW_ID       Content view numeric identifier
 --id ID                                 Filter identifier
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID to search by
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.13.7.4. hammer content-view filter info

フィルター情報を表示します。

Usage:
    hammer content-view filter info [OPTIONS]

Options:
 --content-view CONTENT_VIEW_NAME        Content view name to search by
 --content-view-id CONTENT_VIEW_ID       Content view numeric identifier
 --id ID                                 Filter identifier
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID to search by
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.13.7.5. hammer content-view filter list

フィルターの一覧を表示します。

Usage:
    hammer content-view filter list [OPTIONS]

Options:
 --by BY                                 Field to sort the results on
 --content-view CONTENT_VIEW_NAME        Content view name to search by
 --content-view-id CONTENT_VIEW_ID       Content view numeric identifier
 --full-result FULL_RESULT               Whether or not to show all results
                                         One of true/false, yes/no, 1/0
 --name NAME                             Filter content view filters by name
 --order ORDER                           Sort field and order, eg. 'name DESC'
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID to search by
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --page PAGE                             Page number, starting at 1
 --per-page PER_PAGE                     Number of results per page to return
 --search SEARCH                         Search string
 --types TYPES                           Types of filters
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                              Print help

10.13.7.6. hammer content-view filter remove-repository

リソースの関連付けを解除します。

Usage:
    hammer content-view filter remove-repository [OPTIONS]

Options:
 --content-view CONTENT_VIEW_NAME        Content view name to search by
 --content-view-id CONTENT_VIEW_ID       Content view numeric identifier
 --id ID                                 Filter identifier
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID to search by
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --product PRODUCT_NAME                  Product name to search by
 --product-id PRODUCT_ID                 Product numeric identifier
 --repository REPOSITORY_NAME            Repository name to search by
 --repository-id REPOSITORY_ID           Repository ID
 -h, --help                              Print help

10.13.7.7. hammer content-view filter rule

フィルタールールを表示および管理します。

Usage:
    hammer content-view filter rule [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 create                        Create a filter rule. The parameters included should be based upon the filter type.
 delete                        Delete a filter rule
 info                          Show filter rule info
 list                          List filter rules
 update                        Update a filter rule. The parameters included should be based upon the filter type.

Options:
 -h, --help                    Print help

# ===== hammer content-view filter rule create

フィルタールールを作成します。組み込まれるパラメーターはフィルタータイプに基づいている必要があります。

Usage:
    hammer content-view filter rule create [OPTIONS]

Options:
 --architecture ARCHITECTURE                     Package: architecture
 --content-view CONTENT_VIEW_NAME                Content view name to search by
 --content-view-filter CONTENT_VIEW_FILTER_NAME  Name to search by
 --content-view-filter-id CONTENT_VIEW_FILTER_ID Filter identifier
 --content-view-id CONTENT_VIEW_ID               Content view numeric identifier
 --date-type DATE_TYPE                           Erratum: search using the 'Issued On' or 'Updated On'
                                                 Column of the errata. Values are 'issued'/'updated'
 --end-date END_DATE                             Erratum: end date (YYYY-MM-DD)
 --errata-id ERRATA_ID                           Erratum: id
 --errata-ids ERRATA_IDS                         Erratum: IDs or a select all object
                                                 Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --max-version MAX_VERSION                       Package: maximum version
 --min-version MIN_VERSION                       Package: minimum version
 --name NAME                                     Package, package group, or docker tag names
                                                 Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --names NAMES                                   Package and package group names
 --organization ORGANIZATION_NAME                Organization name to search by
 --organization-id ORGANIZATION_ID               Organization ID to search by
 --organization-label ORGANIZATION_LABEL         Organization label to search by
 --start-date START_DATE                         Erratum: start date (YYYY-MM-DD)
 --types TYPES                                   Erratum: types (enhancement, bugfix, security)
                                                 Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --uuid UUID                                     Package group: uuid
 --version VERSION                               Package: version
 -h, --help                                      Print help

# ===== hammer content-view filter rule delete

フィルタールールを削除します。

Usage:
    hammer content-view filter rule delete [OPTIONS]

Options:
 --content-view CONTENT_VIEW_NAME                Content view name to search by
 --content-view-filter CONTENT_VIEW_FILTER_NAME  Name to search by
 --content-view-filter-id CONTENT_VIEW_FILTER_ID Filter identifier
 --content-view-id CONTENT_VIEW_ID               Content view numeric identifier
 --id ID                                         Rule identifier
 --name NAME                                     Name to search by
 --organization ORGANIZATION_NAME                Organization name to search by
 --organization-id ORGANIZATION_ID               Organization ID to search by
 --organization-label ORGANIZATION_LABEL         Organization label to search by
 -h, --help                                      Print help

# ===== hammer content-view filter rule info

フィルタールール情報を表示します。

Usage:
    hammer content-view filter rule info [OPTIONS]

Options:
 --content-view CONTENT_VIEW_NAME                Content view name to search by
 --content-view-filter CONTENT_VIEW_FILTER_NAME  Name to search by
 --content-view-filter-id CONTENT_VIEW_FILTER_ID Filter identifier
 --content-view-id CONTENT_VIEW_ID               Content view numeric identifier
 --id ID                                         Rule identifier
 --name NAME                                     Name to search by
 --organization ORGANIZATION_NAME                Organization name to search by
 --organization-id ORGANIZATION_ID               Organization ID to search by
 --organization-label ORGANIZATION_LABEL         Organization label to search by
 -h, --help                                      Print help

# ===== hammer content-view filter rule list

フィルタールールを一覧表示します。

Usage:
    hammer content-view filter rule list [OPTIONS]

Options:
 --by BY                                         Field to sort the results on
 --content-view CONTENT_VIEW_NAME                Content view name to search by
 --content-view-filter CONTENT_VIEW_FILTER_NAME  Name to search by
 --content-view-filter-id CONTENT_VIEW_FILTER_ID Filter identifier
 --content-view-id CONTENT_VIEW_ID               Content view numeric identifier
 --full-result FULL_RESULT                       Whether or not to show all results
                                                 One of true/false, yes/no, 1/0
 --order ORDER                                   Sort field and order, eg. 'name DESC'
 --organization ORGANIZATION_NAME                Organization name to search by
 --organization-id ORGANIZATION_ID               Organization ID to search by
 --organization-label ORGANIZATION_LABEL         Organization label to search by
 --page PAGE                                     Page number, starting at 1
 --per-page PER_PAGE                             Number of results per page to return
 --search SEARCH                                 Search string
 -h, --help                                      Print help

# ===== hammer content-view filter rule update

フィルタールールを更新します。組み込まれるパラメーターはフィルタータイプに基づくものでなければなりません。

Usage:
    hammer content-view filter rule update [OPTIONS]

Options:
 --architecture ARCHITECTURE                     Package: architecture
 --content-view CONTENT_VIEW_NAME                Content view name to search by
 --content-view-filter CONTENT_VIEW_FILTER_NAME  Name to search by
 --content-view-filter-id CONTENT_VIEW_FILTER_ID Filter identifier
 --content-view-id CONTENT_VIEW_ID               Content view numeric identifier
 --end-date END_DATE                             Erratum: end date (YYYY-MM-DD)
 --errata-id ERRATA_ID                           Erratum: id
 --id ID                                         Rule identifier
 --max-version MAX_VERSION                       Package: maximum version
 --min-version MIN_VERSION                       Package: minimum version
 --name NAME                                     Name to search by
 --new-name NEW_NAME                             Package, package group, or docker tag: name
 --organization ORGANIZATION_NAME                Organization name to search by
 --organization-id ORGANIZATION_ID               Organization ID to search by
 --organization-label ORGANIZATION_LABEL         Organization label to search by
 --start-date START_DATE                         Erratum: start date (YYYY-MM-DD)
 --types TYPES                                   Erratum: types (enhancement, bugfix, security)
                                                 Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --version VERSION                               Package: version
 -h, --help                                      Print help

10.13.7.8. hammer content-view filter update

フィルターを更新します。

Usage:
    hammer content-view filter update [OPTIONS]

Options:
 --content-view CONTENT_VIEW_NAME        Content view name to search by
 --content-view-id CONTENT_VIEW_ID       Content view numeric identifier
 --id ID                                 Filter identifier
 --inclusion INCLUSION                   Specifies if content should be included or excluded, default:
                                         Inclusion=false
                                         One of true/false, yes/no, 1/0
 --name NAME                             Name to search by
 --new-name NEW_NAME                     New name for the filter
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID to search by
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --original-packages ORIGINAL_PACKAGES   Add all packages without errata to the included/excluded list. (package
                                         Filter only)
                                         One of true/false, yes/no, 1/0
 --repositories REPOSITORY_NAMES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --repository-ids REPOSITORY_IDS         List of repository ids
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                              Print help

10.13.8. hammer content-view info

コンテンツビューを表示します。

Usage:
    hammer content-view info [OPTIONS]

Options:
 --id ID                                 Content view numeric identifier
 --name NAME                             Content view name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID to search by
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.13.9. hammer content-view list

コンテンツビューの一覧を表示します。

Usage:
    hammer content-view list [OPTIONS]

Options:
 --by BY                                             Field to sort the results on
 --composite COMPOSITE                               Filter only composite content views
                                                     One of true/false, yes/no, 1/0
 --full-result FULL_RESULT                           Whether or not to show all results
                                                     One of true/false, yes/no, 1/0
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME  Environment name
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID
 --name NAME                                         Name of the content view
 --noncomposite NONCOMPOSITE                         Filter out composite content views
                                                     One of true/false, yes/no, 1/0
 --nondefault NONDEFAULT                             Filter out default content views
                                                     One of true/false, yes/no, 1/0
 --order ORDER                                       Sort field and order, eg. 'name DESC'
 --organization ORGANIZATION_NAME                    Organization name to search by
 --organization-id ORGANIZATION_ID                   Organization ID
 --organization-label ORGANIZATION_LABEL             Organization label to search by
 --page PAGE                                         Page number, starting at 1
 --per-page PER_PAGE                                 Number of results per page to return
 --search SEARCH                                     Search string
 --without WITHOUT                                   Do not include this array of content views
                                                     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                                          Print help

10.13.10. hammer content-view publish

コンテンツビューを公開します。

Usage:
    hammer content-view publish [OPTIONS]

Options:
 --async                                                           Do not wait for the task
 --description DESCRIPTION                                         Description for the new published content view version
                                                                   Version
                                                                   One of true/false, yes/no, 1/0
 --id ID                                                           Content view identifier
 --name NAME                                                       Content view name to search by
 --organization ORGANIZATION_NAME                                  Organization name to search by
 --organization-id ORGANIZATION_ID                                 Organization ID to search by
 --organization-label ORGANIZATION_LABEL                           Organization label to search by
 -h, --help                                                        Print help

10.13.11. hammer content-view puppet-module

puppet モジュールを表示および管理します。

Usage:
    hammer content-view puppet-module [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 add                           Add a puppet module to the content view
 list                          List content view puppet modules
 remove                        Remove a puppet module from the content view

Options:
 -h, --help                    Print help

10.13.11.1. hammer content-view puppet-module add

Puppet モジュールをコンテンツビューに追加します。

Usage:
    hammer content-view puppet-module add [OPTIONS]

Options:
 --author AUTHOR                         Puppet module's author to search by
 --content-view CONTENT_VIEW_NAME        Content view name to search by
 --content-view-id CONTENT_VIEW_ID       Content view numeric identifier
 --id ID                                 The id of the puppet module to associate
 --name NAME                             Puppet module name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID to search by
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --uuid UUID                             Puppet module's UUID to search by
 -h, --help                              Print help

10.13.11.2. hammer content-view puppet-module list

コンテンツビューの Puppet モジュールを一覧表示します。

Usage:
    hammer content-view puppet-module list [OPTIONS]

Options:
 --author AUTHOR                         Author of the puppet module
 --by BY                                 Field to sort the results on
 --content-view CONTENT_VIEW_NAME        Content view name to search by
 --content-view-id CONTENT_VIEW_ID       Content view numeric identifier
 --full-result FULL_RESULT               Whether or not to show all results
                                         One of true/false, yes/no, 1/0
 --name NAME                             Name of the puppet module
 --order ORDER                           Sort field and order, eg. 'name DESC'
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID to search by
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --page PAGE                             Page number, starting at 1
 --per-page PER_PAGE                     Number of results per page to return
 --search SEARCH                         Search string
 --uuid UUID                             The uuid of the puppet module to associate
 -h, --help                              Print help

10.13.11.3. hammer content-view puppet-module remove

コンテンツビューから Puppet モジュールを削除します。

Usage:
    hammer content-view puppet-module remove [OPTIONS]

Options:
 --author AUTHOR                         Puppet module's author to search by
 --content-view CONTENT_VIEW_NAME        Content view name to search by
 --content-view-id CONTENT_VIEW_ID       Content view numeric identifier
 --id ID                                 Puppet module ID
 --name NAME                             Puppet module name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID to search by
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --uuid UUID                             Puppet module's UUID to search by
 -h, --help                              Print help

10.13.12. hammer content-view purge

古いバージョンのコンテンツビューを削除します。

Usage:
    hammer content-view purge [OPTIONS]

Options:
 --async                                 Do not wait for the task
 --count COUNT                           Count of unused versions to keep
                                         Default: 3
 --id ID                                 Content View numeric identifier
 --name NAME                             Content View name
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID to search by
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

Unfortunately the server does not support such operation.

10.13.13. hammer content-view remove

コンテンツビューからバージョンや環境を削除し、システムおよびキーを再度割り当てます。

Usage:
    hammer content-view remove [OPTIONS]

Options:
 --async                                               Do not wait for the task
 --content-view-version-ids VERSION_IDS                Version ids to remove
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --content-view-versions CONTENT_VIEW_VERSION_VERSIONS Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --environment-ids ENVIRONMENT_IDS                     Environment ids to remove
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --environments ENVIRONMENT_NAMES                      Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --id ID                                               Content view numeric identifier
 --key-content-view-id KEY_CONTENT_VIEW_ID             Content view to reassign orphaned activation keys to
 --key-environment-id KEY_ENVIRONMENT_ID               Environment to reassign orphaned activation keys to
 --name NAME                                           Content view name to search by
 --organization ORGANIZATION_NAME                      Organization name to search by
 --organization-id ORGANIZATION_ID                     Organization ID to search by
 --organization-label ORGANIZATION_LABEL               Organization label to search by
 --system-content-view-id SYSTEM_CONTENT_VIEW_ID       Content view to reassign orphaned systems to
 --system-environment-id SYSTEM_ENVIRONMENT_ID         Environment to reassign orphaned systems to
 -h, --help                                            Print help

10.13.14. hammer content-view remove-from-environment

環境からコンテンツビューを削除します。

Usage:
    hammer content-view remove-from-environment [OPTIONS]

Options:
 --async                                             Do not wait for the task
 --id ID                                             Content view numeric identifier
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME  Environment name
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID
 --name NAME                                         Content view name to search by
 --organization ORGANIZATION_NAME                    Organization name to search by
 --organization-id ORGANIZATION_ID                   Organization ID to search by
 --organization-label ORGANIZATION_LABEL             Organization label to search by
 -h, --help                                          Print help

10.13.15. hammer content-view remove-repository

リソースの関連付けを解除します。

Usage:
    hammer content-view remove-repository [OPTIONS]

Options:
 --id ID                                 Content view numeric identifier
 --name NAME                             Content view name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID to search by
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --product PRODUCT_NAME                  Product name to search by
 --product-id PRODUCT_ID                 Product numeric identifier
 --repository REPOSITORY_NAME            Repository name to search by
 --repository-id REPOSITORY_ID           Repository ID
 -h, --help                              Print help

10.13.16. hammer content-view remove-version

複合ビューからコンテンツビューのバージョンを削除します。

Usage:
    hammer content-view remove-version [OPTIONS]

Options:
 --content-view CONTENT_VIEW_NAME                    Content view name to search by
 --content-view-id CONTENT_VIEW_ID                   Content view numeric identifier
 --content-view-version CONTENT_VIEW_VERSION_VERSION Content view version number
 --content-view-version-id CONTENT_VIEW_VERSION_ID   Content view version identifier
 --id ID                                             Content view numeric identifier
 --name NAME                                         Content view name to search by
 --organization ORGANIZATION_NAME                    Organization name to search by
 --organization-id ORGANIZATION_ID                   Organization ID to search by
 --organization-label ORGANIZATION_LABEL             Organization label to search by
 -h, --help                                          Print help

10.13.17. hammer content-view update

コンテンツビューを更新します。

Usage:
    hammer content-view update [OPTIONS]

Options:
 --auto-publish AUTO_PUBLISH             Enable/Disable auto publish of composite view
                                         One of true/false, yes/no, 1/0
 --component-ids COMPONENT_IDS           List of component content view version ids for composite views
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --description DESCRIPTION               Description for the content view
 --id ID                                 Content view identifier
 --name NAME                             Content view name to search by
 --new-name NEW_NAME                     New name for the content view
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID to search by
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --repositories REPOSITORY_NAMES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --repository-ids REPOSITORY_IDS         List of repository ids
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                              Print help

10.13.18. hammer content-view version

コンテンツビューのバージョンを表示および管理します。

Usage:
    hammer content-view version [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 delete                        Remove content view version
 export                        Export a content view version
 incremental-update            Perform an Incremental Update on one or more Content View Versions
 info                          Show content view version
 list                          List content view versions
 promote                       Promote a content view version
 republish-repositories        Forces a republish of the version's repositories' metadata.

Options:
 -h, --help                    Print help

10.13.18.1. hammer content-view version delete

コンテンツビューバージョンを削除します。

Usage:
    hammer content-view version delete [OPTIONS]

Options:
 --async                                 Do not wait for the task
 --content-view CONTENT_VIEW_NAME        Content view name to search by
 --content-view-id CONTENT_VIEW_ID       Content view numeric identifier
 --environment ENVIRONMENT_NAME          Environment name
 --environment-id ENVIRONMENT_ID
 --id ID                                 Content view version identifier
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --version VERSION                       Content view version number
 -h, --help                              Print help

10.13.18.2. hammer content-view version export

コンテンツビューバージョンをエクスポートします。

Usage:
    hammer content-view version export [OPTIONS]

Options:
 --async                                 Do not wait for the task
 --content-view CONTENT_VIEW_NAME        Content view name to search by
 --content-view-id CONTENT_VIEW_ID       Content view numeric identifier
 --environment ENVIRONMENT_NAME          Environment name
 --environment-id ENVIRONMENT_ID
 --export-to-iso EXPORT_TO_ISO           Export to ISO format
                                         One of true/false, yes/no, 1/0
 --id ID                                 Content view version identifier
 --iso-mb-size ISO_MB_SIZE               Maximum size of each ISO in MB
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --since SINCE                           Optional date of last export (ex: 2010-01-01T12:00:00Z)
 --version VERSION                       Content view version number
 -h, --help                              Print help

10.13.18.3. hammer content-view version incremental-update

1 つ以上のコンテンツビューバージョンで増分更新を実行します。

Usage:
    hammer content-view version incremental-update [OPTIONS]

Options:
 --async                                             Do not wait for the task
 --content-view-version CONTENT_VIEW_VERSION_VERSION Content view version number
 --content-view-version-id CONTENT_VIEW_VERSION_ID   Content view version identifier
 --description DESCRIPTION                           The description for the new generated Content View Versions
 --errata-ids ERRATA_IDS                             Errata ids or uuids to copy into the new versions.
                                                     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --host-ids HOST_IDS                                 IDs of hosts to update
                                                     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --lifecycle-environment-ids ENVIRONMENT_IDS         List of lifecycle environment IDs to update the content view version in
                                                     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --lifecycle-environments ENVIRONMENTS               List of lifecycle environment names to update the content view version in
                                                     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization ORGANIZATION_NAME                    Organization name for resolving lifecycle environment names
 --organization-id ORGANIZATION_ID                   Organization id for resolving lifecycle environment names
 --package-ids PACKAGE_IDS                           Package ids or uuids to copy into the new versions.
                                                     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --packages PACKAGE_NAMES                            Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --propagate-all-composites PROPAGATE_ALL_COMPOSITES If true, will publish a new composite version using any specified
                                                     Content_view_version_id that has been promoted to a lifecycle environment.
                                                     One of true/false, yes/no, 1/0
 --puppet-module-ids PUPPET_MODULE_IDS               Puppet Module ids or uuids to copy into the new versions.
                                                     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --puppet-modules PUPPET_MODULE_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --resolve-dependencies RESOLVE_DEPENDENCIES         If true, when adding the specified errata or packages, any needed
                                                     Dependencies will be copied as well.
                                                     One of true/false, yes/no, 1/0
 --update-all-hosts UPDATE                           Update all editable and applicable hosts within the specified Content View and \
                                                                    Lifecycle Environments
                                                     One of true/false, yes/no, 1/0
 -h, --help                                          Print help

10.13.18.4. hammer content-view version info

コンテンツビューバージョンを表示します。

Usage:
    hammer content-view version info [OPTIONS]

Options:
 --content-view CONTENT_VIEW_NAME        Content view name to search by
 --content-view-id CONTENT_VIEW_ID       Content view numeric identifier
 --environment ENVIRONMENT_NAME          Environment name
 --environment-id ENVIRONMENT_ID
 --id ID                                 Content view version identifier
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --version VERSION                       Content view version number
 -h, --help                              Print help

10.13.18.5. hammer content-view version list

コンテンツビューのバージョンを一覧表示します。

Usage:
    hammer content-view version list [OPTIONS]

Options:
 --by BY                                     Field to sort the results on
 --composite-version-id COMPOSITE_VERSION_ID Filter versions that are components in the specified composite version
 --content-view CONTENT_VIEW_NAME            Content view name to search by
 --content-view-id CONTENT_VIEW_ID           Content view numeric identifier
 --environment ENVIRONMENT_NAME              Environment name
 --environment-id ENVIRONMENT_ID
 --full-result FULL_RESULT                   Whether or not to show all results
                                             One of true/false, yes/no, 1/0
 --order ORDER                               Sort field and order, eg. 'name DESC'
 --organization ORGANIZATION_NAME            Organization name to search by
 --organization-id ORGANIZATION_ID           Organization ID
 --organization-label ORGANIZATION_LABEL     Organization label to search by
 --page PAGE                                 Page number, starting at 1
 --per-page PER_PAGE                         Number of results per page to return
 --puppet-module PUPPET_MODULE_NAME          Name to search by
 --puppet-module-id PUPPET_MODULE_ID         A puppet module identifier
 --search SEARCH                             Search string
 --triggered-by-id TRIGGERED_BY_ID           Filter composite versions whose publish was triggered by the specified
                                             Component version
 --version VERSION                           Filter versions by version number
 -h, --help                                  Print help

10.13.18.6. hammer content-view version promote

コンテンツビューバージョンをプロモートします。

Usage:
    hammer content-view version promote [OPTIONS]

Options:
 --async                                                           Do not wait for the task
 --content-view CONTENT_VIEW_NAME                                  Content view name to search by
 --content-view-id CONTENT_VIEW_ID                                 Content view numeric identifier
 --description DESCRIPTION                                         The description for the content view version promotion
 --environment-ids ENVIRONMENT_IDS                                 Identifiers for Lifecycle Environment
                                                                   Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --force                                                           Force content view promotion and bypass lifecycle environment restriction
                                                                   One of true/false, yes/no, 1/0
 --from-lifecycle-environment FROM_ENVIRONMENT_ID                  Environment name from where to promote its version from (if version is unknown)
 --from-lifecycle-environment-id FROM_ENVIRONMENT_ID               Id of the environment from where to promote its version from (if version is unknown)
 --id ID                                                           Content view version identifier
 --organization ORGANIZATION_NAME                                  Organization name to search by
 --organization-id ORGANIZATION_ID                                 Organization ID
 --organization-label ORGANIZATION_LABEL                           Organization label to search by
 --to-lifecycle-environment TO_ENVIRONMENT                         Name of the target environment
 --to-lifecycle-environment-id TO_ENVIRONMENT_ID                   Id of the target environment
 --version VERSION                                                 Content view version number
 -h, --help                                                        Print help

10.13.18.7. hammer content-view version republish-repositories

バージョンのリポジトリーのメタデータを強制的に再公開します。

Usage:
    hammer content-view version republish-repositories [OPTIONS]

Options:
 --async                                 Do not wait for the task
 --content-view CONTENT_VIEW_NAME        Content view name to search by
 --content-view-id CONTENT_VIEW_ID       Content view numeric identifier
 --id ID                                 Content view version identifier
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --version VERSION                       Content view version number
 -h, --help                              Print help

10.14. hammer csv

実行中の Foreman サーバーに対してインポートまたはエクスポートします。

Usage:
    hammer csv [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 activation-keys               Import or export activation keys
 architectures                 Import or export architectures
 compute-profiles              Import or export compute profiles
 compute-resources             Import or export compute resources
 containers                    Import or export containers
 content-hosts                 Import or export content hosts
 content-view-filters          Import or export content-view-filters
 content-views                 Import or export content-views
 domains                       Import or export domains
 export                        Export into directory
 host-collections              Import or export host collections
 host-groups                   Import or export host-groups
 hosts                         Import or export hosts
 import                        Import by directory
 installation-media            Import or export media
 job-templates                 Import or export job templates
 lifecycle-environments        Import or export lifecycle environments
 locations                     Import or export locations
 operating-systems             Import or export operating systems
 organizations                 Import or export organizations
 partition-tables              Import or export partition tables
 products                      Import or export products
 provisioning-templates        Import or export provisioning templates
 puppet-environments           Import or export puppet environments
 puppet-facts                  Import or export puppet facts
 puppet-reports                Import or export puppet reports
 reports                       Import or export reports
 roles                         Import or export roles
 settings                      Import or export settings
 smart-proxies                 Import or export smart proxies
 splice                        Import Satellite-5 splice data
 subnets                       Import or export subnets
 subscriptions                 Import or export subscriptions
 sync-plans                    Import or export repository sync plans
 users                         Import or export users

Options:
 -h, --help                    Print help

10.14.1. hammer csv activation-keys

アクティベーションキーをインポートまたはエクスポートします。

Usage:
    hammer csv activation-keys [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --itemized-subscriptions      Export one subscription per row, only process update subscriptions on import
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv architectures

アーキテクチャーをインポートまたはエクスポートします。

Usage:
    hammer csv architectures [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv compute-profiles

コンピュートプロファイルをインポートまたはエクスポートします。

Usage:
    hammer csv compute-profiles [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv compute-resources

コンピュートリソースをインポートまたはエクスポートします。

Usage:
    hammer csv compute-resources [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv containers

コンテナーをインポートまたはエクスポートします。

Usage:
    hammer csv containers [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.

10.14.2. hammer csv content-hosts

コンテンツホストをインポートまたはエクスポートします。

Usage:
    hammer csv content-hosts [OPTIONS]

Options:
 --clear-subscriptions         When processing --itemized-subscriptions, clear existing subscriptions first
 --columns COLUMN_NAMES        Comma separated list of column names to export
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --itemized-subscriptions      Export one subscription per row, only process update subscriptions on import
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.

Columns:
 Name - Name of resource
 Search - Search for matching names during import (overrides 'Name' column)
 Organization - Organization name
 Environment - Lifecycle environment name
 Content View - Content view name
 Host Collections - Comma separated list of host collection names
 Virtual - Is a virtual host, Yes or No
 Guest of Host - Hypervisor host name for virtual hosts
 OS - Operating system
 Arch - Architecture
 Sockets - Number of sockets
 RAM - Quantity of RAM in bytes
 Cores - Number of cores
 SLA - Service Level Agreement value
 Products - Comma separated list of products, each of the format "<sku>|<name>"
 Subscriptions - Comma separated list of subscriptions, each of the format "<quantity>|<sku>|<name>|<contract>|<account>"
 Subscription Name - Subscription name (only applicable for --itemized-subscriptions)
 Subscription Type - Subscription type (only applicable for --itemized-subscriptions)
 Subscription Quantity - Subscription quantity (only applicable for --itemized-subscriptions)
 Subscription SKU - Subscription SKU (only applicable for --itemized-subscriptions)
 Subscription Contract - Subscription contract number (only applicable for --itemized-subscriptions)
 Subscription Account - Subscription account number (only applicable for --itemized-subscriptions)
 Subscription Start - Subscription start date (only applicable for --itemized-subscriptions)
 Subscription End - Subscription end date (only applicable for --itemized-subscriptions)
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv content-view-filters

コンテンツビューフィルターをインポートまたはエクスポートします。

Usage:
    hammer csv content-view-filters [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv content-views

コンテンツビューをインポートまたはエクスポートします。

Usage:
    hammer csv content-views [OPTIONS]

Options:
 --[no-]promote                Publish and promote content view on import (default false)
 --[no-]publish                Publish content view on import (default false)
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv domains

ドメインをインポートまたはエクスポートします。

Usage:
    hammer csv domains [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.

10.14.3. hammer csv export

ディレクトリーにエクスポートします。

Usage:
    hammer csv export [OPTIONS]

Options:
 --dir DIRECTORY               Directory to export to
 --organization ORGANIZATION   Only process organization matching this name
 --settings FILE               Csv file for settings
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv host-collections

ホストコレクションをインポートまたはエクスポートします。

Usage:
    hammer csv host-collections [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv host-groups

ホストグループをインポートまたはエクスポートします。

Usage:
    hammer csv host-groups [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv hosts

ホストをインポートまたはエクスポートします。

Usage:
    hammer csv hosts [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.

10.14.4. hammer csv import

ディレクトリーからインポートします。

Usage:
    hammer csv import [OPTIONS]

Options:
 --dir DIRECTORY               Directory to import from
 --organization ORGANIZATION   Only process organization matching this name
 --settings FILE               Csv file for settings
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv installation-media

メディアをインポートまたはエクスポートします。

Usage:
    hammer csv installation-media [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv job-templates

ジョブテンプレートをインポートまたはエクスポートします。

Usage:
    hammer csv job-templates [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv lifecycle-environments

ライフサイクル環境をインポートまたはエクスポートします。

Usage:
    hammer csv lifecycle-environments [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv locations

ロケーションをインポートまたはエクスポートします。

Usage:
    hammer csv locations [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv operating-systems

オペレーティングシステムをインポートまたはエクスポートします。

Usage:
    hammer csv operating-systems [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv organizations

組織をインポートまたはエクスポートします。

Usage:
    hammer csv organizations [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv partition-tables

パーティションテーブルをインポートまたはエクスポートします。

Usage:
    hammer csv partition-tables [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv products

製品ページをインポートまたはエクスポートします。

Usage:
    hammer csv products [OPTIONS]

Options:
 --[no-]sync                   Sync product repositories (default true)
                               Default: true
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv provisioning-templates

プロビジョニングテンプレートをインポートまたはエクスポートします。

Usage:
    hammer csv provisioning-templates [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --include-locked              Include locked templates (will fail if re-imported)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv puppet-environments

puppet 環境をインポートまたはエクスポートします。

Usage:
    hammer csv puppet-environments [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv puppet-facts

puppet-facts をインポートまたはエクスポートします。

Usage:
    hammer csv puppet-facts [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv puppet-reports

puppet-reports をインポートまたはエクスポートします。

Usage:
    hammer csv puppet-reports [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv reports

レポートをインポートまたはエクスポートします。

Usage:
    hammer csv reports [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv roles

ロールをインポートまたはエクスポートします。

Usage:
    hammer csv roles [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.

10.14.5. hammer csv settings

設定をインポートまたはエクスポートします。

Usage:
    hammer csv settings [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv smart-proxies

smart-proxies をインポートまたはエクスポートします。

Usage:
    hammer csv smart-proxies [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv splice

Satellite-5 splice データをインポートします。

Usage:
    hammer csv splice [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --dir DIR                     Directory of Splice exported CSV files (default pwd)
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --mapping-dir DIR             Directory of Splice product mapping files (default /usr/share/rhsm/product/RHEL-6)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv subnets

サブネットをインポートまたはエクスポートします。

Usage:
    hammer csv subnets [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.

10.14.6. hammer csv subscriptions

サブスクリプションをインポートまたはエクスポートします。

Usage:
    hammer csv subscriptions [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv sync-plans

リポジトリーの同期プランをインポートまたはエクスポートします。

Usage:
    hammer csv sync-plans [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.
  • このコマンドはサポートされておらず、テクノロジープレビューとして提供されています。 ** ==== hammer csv users

ユーザーをインポートまたはエクスポートします。

Usage:
    hammer csv users [OPTIONS]

Options:
 --continue-on-error           Continue processing even if individual resource error
 --export                      Export current data instead of importing
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
 --organization ORGANIZATION   Only process organization matching this name
 --search SEARCH               Only export search results
 -h, --help                    Print help
 -v, --verbose                 Be verbose

Unfortunately the server does not support such operation.

10.15. hammer defaults

デフォルト管理

Usage:
    hammer defaults [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 add                           Add a default parameter to config
 delete                        Delete a default param
 list                          List all the default parameters
 providers                     List all the providers

Options:
 -h, --help                    Print help

10.15.1. hammer defaults add

デフォルトパラメーターを設定に追加します。

Usage:
    hammer defaults add [OPTIONS]

Options:
 --param-name OPTION_NAME      The name of the default option (e.g. organization_id)
 --param-value OPTION_VALUE    The value for the default option
 --provider OPTION_PROVIDER    The name of the provider providing the value. For list available providers see `hammer defaults providers`
 -h, --help                    Print help

10.15.2. hammer defaults delete

デフォルトパラメーターを削除します。

Usage:
    hammer defaults delete [OPTIONS]

Options:
 --param-name OPTION_NAME      The name of the default option
 -h, --help                    Print help

10.15.3. hammer defaults list

デフォルトパラメーターの一覧を表示します。

Usage:
    hammer defaults list [OPTIONS]

Options:
 -h, --help                    Print help

10.15.4. hammer defaults providers

プロバイダーの一覧を表示します。

Usage:
    hammer defaults providers [OPTIONS]

Options:
 -h, --help                    Print help

10.16. hammer discovery

検出されたホストを操作します。

Usage:
    hammer discovery [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 auto-provision                Auto provision a host
 delete                        Delete a discovered host
 facts                         List all fact values
 info                          Show a discovered host
 list                          List all discovered hosts
 provision                     Provision a discovered host
 reboot                        Reboot a host
 refresh-facts                 Refresh the facts of a host

Options:
 -h, --help                    Print help

10.16.1. hammer discovery auto-provision

ホストの自動プロビジョニングを行います。

Usage:
    hammer discovery auto-provision [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.16.2. hammer discovery delete

検出されたホストを削除します。

Usage:
    hammer discovery delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.16.3. hammer discovery facts

ファクト値の一覧を表示します。

Usage:
    hammer discovery facts [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.16.4. hammer discovery info

検出されたホストを表示します。

Usage:
    hammer discovery info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.16.5. hammer discovery list

検出されたホストの一覧を表示します。

Usage:
    hammer discovery list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.16.6. hammer discovery provision

検出されたホストをプロビジョニングします。

Usage:
    hammer discovery provision [OPTIONS]

Options:
 --architecture ARCHITECTURE_NAME                        Architecture name
 --architecture-id ARCHITECTURE_ID
 --ask-root-password ASK_ROOT_PW                         One of true/false, yes/no, 1/0
 --build BUILD                                           One of true/false, yes/no, 1/0
 --capabilities CAPABILITIES
 --domain DOMAIN_NAME                                    Domain name
 --domain-id DOMAIN_ID                                   Numerical ID or domain name
 --enabled ENABLED                                       One of true/false, yes/no, 1/0
 --environment ENVIRONMENT_NAME                          Environment name
 --environment-id ENVIRONMENT_ID
 --host-parameters-attributes HOST_PARAMETERS_ATTRIBUTES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hostgroup HOSTGROUP_NAME                              Hostgroup name
 --hostgroup-id HOSTGROUP_ID
 --hostgroup-title HOSTGROUP_TITLE                       Hostgroup title
 --id ID
 --image IMAGE_NAME                                      Name to search by
 --image-id IMAGE_ID
 --interface INTERFACE                                   Interface parameters
                                                         Comma-separated list of key=value
                                                         Can be specified multiple times.
 --ip IP                                                 Not required if using a subnet with DHCP Capsule
 --location LOCATION_NAME                                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE                         Location title
 --mac MAC                                               Not required if it's a virtual machine
 --managed MANAGED                                       One of true/false, yes/no, 1/0
 --medium MEDIUM_NAME                                    Medium name
 --medium-id MEDIUM_ID
 --model MODEL_NAME                                      Model name
 --model-id MODEL_ID
 --name NAME                                             Name to search by
 --new-name NEW_NAME
 --operatingsystem OPERATINGSYSTEM_TITLE                 Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID
 --organization ORGANIZATION_NAME                        Organization name
 --organization-id ORGANIZATION_ID                       Organization ID
 --organization-title ORGANIZATION_TITLE                 Organization title
 --overwrite OVERWRITE                                   One of true/false, yes/no, 1/0
 --owner-id OWNER_ID
 --parameters PARAMS                                     Host parameters
                                                         Comma-separated list of key=value
 --partition-table PARTITION_TABLE_NAME                  Partition table name
 --partition-table-id PARTITION_TABLE_ID
 --progress-report-id PROGRESS_REPORT_ID                 UUID to track orchestration tasks status, GET
                                                         /api/orchestration/:UUID/tasks
 --provision-method METHOD                               Possible value(s): 'build', 'image'
 --puppet-ca-proxy-id PUPPET_CA_PROXY_ID
 --puppet-proxy-id PUPPET_PROXY_ID
 --puppetclass-ids PUPPETCLASS_IDS                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --pxe-loader PXE_LOADER                                 DHCP filename option (Grub2 or PXELinux by default)
                                                         Possible value(s): 'None', 'PXELinux BIOS', 'PXELinux UEFI', 'Grub UEFI', 'Grub2 UEFI', 'Grub2 UEFI SecureBoot'
 --root-password ROOT_PW
 --sp-subnet-id SP_SUBNET_ID
 --subnet SUBNET_NAME                                    Subnet name
 --subnet-id SUBNET_ID
 -h, --help                                              Print help

10.16.7. hammer discovery reboot

ホストを再起動します。

Usage:
    hammer discovery reboot [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.16.8. hammer discovery refresh-facts

ホストのファクトを更新します。

Usage:
    hammer discovery refresh-facts [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.17. hammer discovery-rule

検出されたルールを操作します。

Usage:
    hammer discovery-rule [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 create                        Create a discovery rule
 delete                        Delete a rule
 info                          Show a discovery rule
 list                          List all discovery rules
 update                        Update a rule

Options:
 -h, --help                    Print help

10.17.1. hammer discovery-rule create

検出ルールを作成します。

Usage:
    hammer discovery-rule create [OPTIONS]

Options:
 --enabled ENABLED                         Flag is used for temporary shutdown of rules
                                           One of true/false, yes/no, 1/0
 --hostgroup HOSTGROUP_NAME                Hostgroup name
 --hostgroup-id HOSTGROUP_ID
 --hostgroup-title HOSTGROUP_TITLE         Hostgroup title
 --hostname HOSTNAME                       Defines a pattern to assign human-readable hostnames to the matching hosts
 --hosts-limit HOSTS_LIMIT
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               Location ID for provisioned hosts
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --max-count MAX_COUNT                     Enables to limit maximum amount of provisioned hosts per rule
 --name NAME                               Represents rule name shown to the users
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       Organization ID for provisioned hosts
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --priority PRIORITY                       Puts the rules in order, low numbers go first. Must be greater then zero
 --search SEARCH                           Query to match discovered hosts for the particular rule
 -h, --help                                Print help

10.17.2. hammer discovery-rule delete

ルールを削除します。

Usage:
    hammer discovery-rule delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.17.3. hammer discovery-rule info

検出ルールを表示します。

Usage:
    hammer discovery-rule info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.17.4. hammer discovery-rule list

検出ルールの一覧を表示します。

Usage:
    hammer discovery-rule list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.17.5. hammer discovery-rule update

ルールを更新します。

Usage:
    hammer discovery-rule update [OPTIONS]

Options:
 --enabled ENABLED                         Flag is used for temporary shutdown of rules
                                           One of true/false, yes/no, 1/0
 --hostgroup HOSTGROUP_NAME                Hostgroup name
 --hostgroup-id HOSTGROUP_ID
 --hostgroup-title HOSTGROUP_TITLE         Hostgroup title
 --hostname HOSTNAME                       Defines a pattern to assign human-readable hostnames to the matching hosts
 --hosts-limit HOSTS_LIMIT
 --id ID
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               Location ID for provisioned hosts
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --max-count MAX_COUNT                     Enables to limit maximum amount of provisioned hosts per rule
 --name NAME                               Name to search by
 --new-name NEW_NAME                       Represents rule name shown to the users
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       Organization ID for provisioned hosts
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --priority PRIORITY                       Puts the rules in order, low numbers go first. Must be greater then zero
 --search SEARCH                           Query to match discovered hosts for the particular rule
 -h, --help                                Print help

10.18. hammer docker

Docker コンテナを操作します。

Usage:
    hammer docker [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 container                     Manage docker containers
 manifest                      Manage docker manifests
 registry                      Manage docker registries
 tag                           Manage docker tags

Options:
 -h, --help                    Print help

Unfortunately the server does not support such operation.

10.18.1. hammer docker container

Docker コンテナーを管理します。

Usage:
    hammer docker container [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 create                        Create a container
 delete                        Delete a container
 info                          Show a container
 list                          List all containers
 logs                          Show container logs
 start                         Power a container on
 status                        Run power operation on a container
 stop                          Power a container off

Options:
 -h, --help                    Print help

10.18.1.1. hammer docker container create

コンテナーを作成します。

Usage:
    hammer docker container create [OPTIONS]

Options:
 --attach-stderr ATTACH_STDERR                 One of true/false, yes/no, 1/0
 --attach-stdin ATTACH_STDIN                   One of true/false, yes/no, 1/0
 --attach-stdout ATTACH_STDOUT                 One of true/false, yes/no, 1/0
 --capsule CAPSULE_NAME                        Name to search by
 --capsule-id CAPSULE_ID                       Id of the capsule
 --command COMMAND
 --compute-resource COMPUTE_RESOURCE_NAME      Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID
 --cpu-set CPU_SET
 --cpu-shares CPU_SHARES
 --entrypoint ENTRYPOINT
 --environment-variables ENVIRONMENT_VARIABLES Optional array of environment variables hashes. e.g.
                                               'environment_variables': [{'name' => 'example',
                                               'value' => '123'}]
                                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location LOCATION_NAME                      Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS                   REPLACE locations with given ids
                                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE               Location title
 --location-titles LOCATION_TITLES             Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                    Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --memory MEMORY
 --name NAME
 --organization ORGANIZATION_NAME              Organization name
 --organization-id ORGANIZATION_ID             Organization ID
 --organization-ids ORGANIZATION_IDS           REPLACE organizations with given ids.
                                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE       Organization title
 --organization-titles ORGANIZATION_TITLES     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES            Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --registry REGISTRY_NAME                      Name to search by
 --registry-id REGISTRY_ID
 --repository-name REPOSITORY_NAME             Name of the repository to use to create the container. e.g. centos
 --tag TAG                                     Tag to use to create the container. e.g. latest
 --tty TTY                                     One of true/false, yes/no, 1/0
 -h, --help                                    Print help

10.18.1.2. hammer docker container delete

コンテナーを削除します。

Usage:
    hammer docker container delete [OPTIONS]

Options:
 --compute-resource COMPUTE_RESOURCE_NAME  Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID
 --id ID
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE           Location title
 --name NAME                               Name to search by
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-title ORGANIZATION_TITLE   Organization title
 -h, --help                                Print help

10.18.1.3. hammer docker container info

コンテナーを表示します。

Usage:
    hammer docker container info [OPTIONS]

Options:
 --compute-resource COMPUTE_RESOURCE_NAME  Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID
 --id ID
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE           Location title
 --name NAME                               Name to search by
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-title ORGANIZATION_TITLE   Organization title
 -h, --help                                Print help

10.18.1.4. hammer docker container list

コンテナーの一覧を表示します。

Usage:
    hammer docker container list [OPTIONS]

Options:
 --compute-resource COMPUTE_RESOURCE_NAME  Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE           Location title
 --order ORDER                             Sort results
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-title ORGANIZATION_TITLE   Organization title
 --page PAGE                               Paginate results
 --per-page PER_PAGE                       Number of entries per request
 --search SEARCH                           Filter results
 -h, --help                                Print help

10.18.1.5. hammer docker container logs

コンテナーログを表示します。

Usage:
    hammer docker container logs [OPTIONS]

Options:
 --compute-resource COMPUTE_RESOURCE_NAME  Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID
 --id ID
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE           Location title
 --name NAME                               Name to search by
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-title ORGANIZATION_TITLE   Organization title
 --stderr STDERR                           One of true/false, yes/no, 1/0
 --stdout STDOUT                           One of true/false, yes/no, 1/0
 --tail TAIL                               Number of lines to tail. Default: 100
 -h, --help                                Print help

10.18.1.6. hammer docker container start

コンテナのパワーをオンにします。

Usage:
    hammer docker container start [OPTIONS]

Options:
 --compute-resource COMPUTE_RESOURCE_NAME  Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID
 --id ID
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE           Location title
 --name NAME                               Name to search by
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-title ORGANIZATION_TITLE   Organization title
 -h, --help                                Print help

10.18.1.7. hammer docker container status

コンテナーでパワー操作を実行します。

Usage:
    hammer docker container status [OPTIONS]

Options:
 --compute-resource COMPUTE_RESOURCE_NAME  Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID
 --id ID
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE           Location title
 --name NAME                               Name to search by
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-title ORGANIZATION_TITLE   Organization title
 -h, --help                                Print help

10.18.1.8. hammer docker container stop

コンテナのパワーをオフします

Usage:
    hammer docker container stop [OPTIONS]

Options:
 --compute-resource COMPUTE_RESOURCE_NAME  Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID
 --id ID
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE           Location title
 --name NAME                               Name to search by
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-title ORGANIZATION_TITLE   Organization title
 -h, --help                                Print help

10.18.2. hammer docker manifest

docker マニフェストを管理します。

Usage:
    hammer docker manifest [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 info                          Show a docker manifest
 list                          List docker_manifests

Options:
 -h, --help                    Print help

10.18.2.1. hammer docker manifest info

docker マニフェストを表示します。

Usage:
    hammer docker manifest info [OPTIONS]

Options:
 --id ID                       A docker manifest identifier
 --name NAME                   Name to search by
 --repository REPOSITORY_NAME  Repository name to search by
 --repository-id REPOSITORY_ID Repository ID
 -h, --help                    Print help

10.18.2.2. hammer docker manifest list

docker マニフェストの一覧を表示します。

Usage:
    hammer docker manifest list [OPTIONS]

Options:
 --by BY                                             Field to sort the results on
 --content-view CONTENT_VIEW_NAME                    Content view name to search by
 --content-view-filter CONTENT_VIEW_FILTER_NAME      Name to search by
 --content-view-filter-id CONTENT_VIEW_FILTER_ID     Filter identifier
 --content-view-id CONTENT_VIEW_ID                   Content view numeric identifier
 --content-view-version CONTENT_VIEW_VERSION_VERSION Content view version number
 --content-view-version-id CONTENT_VIEW_VERSION_ID   Content view version identifier
 --environment ENVIRONMENT_NAME                      Environment name
 --environment-id ENVIRONMENT_ID
 --full-result FULL_RESULT                           Whether or not to show all results
                                                     One of true/false, yes/no, 1/0
 --ids IDS                                           Ids to filter content by
                                                     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --order ORDER                                       Sort field and order, eg. 'name DESC'
 --organization ORGANIZATION_NAME                    Organization name to search by
 --organization-id ORGANIZATION_ID                   Organization ID
 --organization-label ORGANIZATION_LABEL             Organization label to search by
 --page PAGE                                         Page number, starting at 1
 --per-page PER_PAGE                                 Number of results per page to return
 --product PRODUCT_NAME                              Product name to search by
 --product-id PRODUCT_ID                             Product numeric identifier
 --repository REPOSITORY_NAME                        Repository name to search by
 --repository-id REPOSITORY_ID                       Repository ID
 --search SEARCH                                     Search string
 -h, --help                                          Print help

10.18.3. hammer docker registry

Docker レジストリーを管理します。

Usage:
    hammer docker registry [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 create                        Create a docker registry
 delete                        Delete a docker registry
 info                          Show a docker registry
 list                          List all docker registries
 update                        Update a docker registry

Options:
 -h, --help                    Print help

10.18.3.1. hammer docker registry create

Docker レジストリーを作成します。

Usage:
    hammer docker registry create [OPTIONS]

Options:
 --description DESCRIPTION
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               REPLACE locations with given ids
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --name NAME
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       REPLACE organizations with given ids.
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --password PASSWORD
 --url URL
 --username USERNAME
 -h, --help                                Print help

10.18.3.2. hammer docker registry delete

Docker レジストリーを削除します。

Usage:
    hammer docker registry delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.18.3.3. hammer docker registry info

Docker レジストリーを表示します。

Usage:
    hammer docker registry info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.18.3.4. hammer docker registry list

Docker レジストリーの一覧を表示します。

Usage:
    hammer docker registry list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.18.3.5. hammer docker registry update

Docker レジストリーを更新します。

Usage:
    hammer docker registry update [OPTIONS]

Options:
 --description DESCRIPTION
 --id ID
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               REPLACE locations with given ids
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --name NAME                               Name to search by
 --new-name NEW_NAME
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       REPLACE organizations with given ids.
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --password PASSWORD
 --url URL
 --username USERNAME
 -h, --help                                Print help

10.18.4. hammer docker tag

Docker Tags を管理します。

Usage:
    hammer docker tag [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 info                          Show a docker tag
 list                          List docker_tags

Options:
 -h, --help                    Print help

10.18.4.1. hammer docker tag info

docker タグを表示します。

Usage:
    hammer docker tag info [OPTIONS]

Options:
 --id ID                       A docker tag identifier
 --name NAME                   Name to search by
 --repository REPOSITORY_NAME  Repository name to search by
 --repository-id REPOSITORY_ID Repository ID
 -h, --help                    Print help

10.18.4.2. hammer docker tag list

docker タグを一覧表示します。

Usage:
    hammer docker tag list [OPTIONS]

Options:
 --by BY                                             Field to sort the results on
 --content-view CONTENT_VIEW_NAME                    Content view name to search by
 --content-view-filter CONTENT_VIEW_FILTER_NAME      Name to search by
 --content-view-filter-id CONTENT_VIEW_FILTER_ID     Filter identifier
 --content-view-id CONTENT_VIEW_ID                   Content view numeric identifier
 --content-view-version CONTENT_VIEW_VERSION_VERSION Content view version number
 --content-view-version-id CONTENT_VIEW_VERSION_ID   Content view version identifier
 --environment ENVIRONMENT_NAME                      Environment name
 --environment-id ENVIRONMENT_ID
 --full-result FULL_RESULT                           Whether or not to show all results
                                                     One of true/false, yes/no, 1/0
 --ids IDS                                           Ids to filter content by
                                                     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --order ORDER                                       Sort field and order, eg. 'name DESC'
 --organization ORGANIZATION_NAME                    Organization name to search by
 --organization-id ORGANIZATION_ID                   Organization ID
 --organization-label ORGANIZATION_LABEL             Organization label to search by
 --page PAGE                                         Page number, starting at 1
 --per-page PER_PAGE                                 Number of results per page to return
 --product PRODUCT_NAME                              Product name to search by
 --product-id PRODUCT_ID                             Product numeric identifier
 --repository REPOSITORY_NAME                        Repository name to search by
 --repository-id REPOSITORY_ID                       Repository ID
 --search SEARCH                                     Search string
 -h, --help                                          Print help

10.19. hammer domain

ドメインを操作します。

Usage:
    hammer domain [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 create                        Create a domain
 delete                        Delete a domain
 delete-parameter              Delete parameter for a domain
 info                          Show a domain
 list                          List of domains
 set-parameter                 Create or update parameter for a domain
 update                        Update a domain

Options:
 -h, --help                    Print help

10.19.1. hammer domain create

ドメインを作成します。

Usage:
    hammer domain create [OPTIONS]

Options:
 --description DESC                        Full name describing the domain
 --dns DNS_NAME                            Name of DNS proxy to use within this domain
 --dns-id DNS_ID                           ID of DNS proxy to use within this domain
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               REPLACE locations with given ids
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --name NAME                               The full DNS domain name
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       REPLACE organizations with given ids.
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                                Print help

10.19.2. hammer domain delete

ドメインを削除します。

Usage:
    hammer domain delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Domain name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.19.3. hammer domain delete-parameter

ドメインのパラメーターを削除します。

Usage:
    hammer domain delete-parameter [OPTIONS]

Options:
 --domain DOMAIN_NAME          Domain name
 --domain-id DOMAIN_ID         Numerical ID or domain name
 --name NAME                   Parameter name
 -h, --help                    Print help

10.19.4. hammer domain info

ドメインを表示します。

Usage:
    hammer domain info [OPTIONS]

Options:
 --id ID                                         Numerical ID or domain name
 --location LOCATION_NAME                        Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE                 Location title
 --name NAME                                     Domain name
 --organization ORGANIZATION_NAME                Organization name
 --organization-id ORGANIZATION_ID               Organization ID
 --organization-title ORGANIZATION_TITLE         Organization title
 --show-hidden-parameters SHOW_HIDDEN_PARAMETERS Display hidden parameter values
                                                 One of true/false, yes/no, 1/0
 -h, --help                                      Print help

10.19.5. hammer domain list

ドメインを一覧表示します。

Usage:
    hammer domain list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 --subnet SUBNET_NAME                    Subnet name
 --subnet-id SUBNET_ID
 -h, --help                              Print help

10.19.6. hammer domain set-parameter

ドメインのパラメーターを作成または更新します。

Usage:
    hammer domain set-parameter [OPTIONS]

Options:
 --domain DOMAIN_NAME          Domain name
 --domain-id DOMAIN_ID         Numerical ID or domain name
 --hidden-value HIDDEN_VALUE   Should the value be hidden
                               One of true/false, yes/no, 1/0
 --name NAME                   Parameter name
 --value VALUE                 Parameter value
 -h, --help                    Print help

10.19.7. hammer domain update

ドメインを更新します。

Usage:
    hammer domain update [OPTIONS]

Options:
 --description DESC                        Full name describing the domain
 --dns DNS_NAME                            Name of DNS proxy to use within this domain
 --dns-id DNS_ID                           ID of DNS proxy to use within this domain
 --id ID
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               REPLACE locations with given ids
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --name NAME                               Domain name
 --new-name NEW_NAME                       The full DNS domain name
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       REPLACE organizations with given ids.
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                                Print help

10.20. hammer environment

環境を操作します。

Usage:
    hammer environment [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 create                        Create an environment
 delete                        Delete an environment
 info                          Show an environment
 list                          List all environments
 sc-params                     List all smart class parameters
 update                        Update an environment

Options:
 -h, --help                    Print help

10.20.1. hammer environment create

環境を作成します。

Usage:
    hammer environment create [OPTIONS]

Options:
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               REPLACE locations with given ids
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --name NAME
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       REPLACE organizations with given ids.
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                                Print help

10.20.2. hammer environment delete

環境を削除します。

Usage:
    hammer environment delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Environment name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.20.3. hammer environment info

環境を表示します。

Usage:
    hammer environment info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Environment name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.20.4. hammer environment list

環境を一覧表示します。

Usage:
    hammer environment list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --puppet-class PUPPET_CLASS_NAME        Puppet class name
 --puppet-class-id PUPPET_CLASS_ID       ID of Puppet class
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.20.5. hammer environment sc-params

スマートクラスパラメーターの一覧を表示します。

Usage:
    hammer environment sc-params [OPTIONS]

Options:
 --environment ENVIRONMENT_NAME          Environment name
 --environment-id ENVIRONMENT_ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 --show-hidden SHOW_HIDDEN               Display hidden values
                                         One of true/false, yes/no, 1/0
 -h, --help                              Print help

10.20.6. hammer environment update

環境を更新します。

Usage:
    hammer environment update [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               REPLACE locations with given ids
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --name NAME                               Environment name
 --new-name NEW_NAME
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       REPLACE organizations with given ids.
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                                Print help

10.21. hammer erratum

エラータを操作します。

Usage:
    hammer erratum [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 info                          Show an erratum
 list                          List errata

Options:
 -h, --help                    Print help

10.21.1. hammer erratum info

エラータを表示します。

Usage:
    hammer erratum info [OPTIONS]

Options:
 --id ID                       An erratum identifier
 --name NAME                   Name to search by
 --repository REPOSITORY_NAME  Repository name to search by
 --repository-id REPOSITORY_ID Repository ID
 -h, --help                    Print help

10.21.2. hammer erratum list

エラータを一覧表示します。

Usage:
    hammer erratum list [OPTIONS]

Options:
 --by BY                                                   Field to sort the results on
 --content-view CONTENT_VIEW_NAME                          Content view name to search by
 --content-view-filter CONTENT_VIEW_FILTER_NAME            Name to search by
 --content-view-filter-id CONTENT_VIEW_FILTER_ID           Filter identifier
 --content-view-id CONTENT_VIEW_ID                         Content view numeric identifier
 --content-view-version CONTENT_VIEW_VERSION_VERSION       Content view version number
 --content-view-version-id CONTENT_VIEW_VERSION_ID         Content view version identifier
 --cve CVE                                                 CVE identifier
 --environment ENVIRONMENT_NAME                            Environment name
 --environment-id ENVIRONMENT_ID
 --errata-restrict-applicable ERRATA_RESTRICT_APPLICABLE   Show only errata with one or more applicable hosts
                                                           One of true/false, yes/no, 1/0
 --errata-restrict-installable ERRATA_RESTRICT_INSTALLABLE Show only errata with one or more installable hosts
                                                           One of true/false, yes/no, 1/0
 --full-result FULL_RESULT                                 Whether or not to show all results
                                                           One of true/false, yes/no, 1/0
 --order ORDER                                             Sort field and order, eg. 'name DESC'
 --organization ORGANIZATION_NAME                          Organization name to search by
 --organization-id ORGANIZATION_ID                         Organization ID
 --organization-label ORGANIZATION_LABEL                   Organization label to search by
 --page PAGE                                               Page number, starting at 1
 --per-page PER_PAGE                                       Number of results per page to return
 --product PRODUCT_NAME                                    Product name to search by
 --product-id PRODUCT_ID                                   Product numeric identifier
 --repository REPOSITORY_NAME                              Repository name to search by
 --repository-id REPOSITORY_ID                             Repository ID
 --search SEARCH                                           Search string
 -h, --help                                                Print help

10.22. hammer export-templates

テンプレートを git repo またはサーバー上のディレクトリーにエクスポートします。

Usage:
    hammer export-templates [OPTIONS]

Options:
 --branch BRANCH                             Branch in Git repo.
 --dirname DIRNAME                           The directory within Git repo containing the templates
 --filter FILTER                             Export templates with names matching this regex (case-insensitive; snippets
                                             Are not filtered).
 --location LOCATION_NAME                    Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS                 REPLACE locations with given ids
                                             Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE             Location title
 --location-titles LOCATION_TITLES           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                  Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --metadata-export-mode METADATA_EXPORT_MODE Specify how to handle metadata
                                             Possible value(s): 'refresh', 'keep', 'remove'
 --negate NEGATE                             Negate the prefix (for purging).
                                             One of true/false, yes/no, 1/0
 --organization ORGANIZATION_NAME            Organization name
 --organization-id ORGANIZATION_ID           Organization ID
 --organization-ids ORGANIZATION_IDS         REPLACE organizations with given ids.
                                             Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE     Organization title
 --organization-titles ORGANIZATION_TITLES   Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES          Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --repo REPO                                 Override the default repo from settings.
 -h, --help                                  Print help

10.23. hammer fact

fact を検索します。

Usage:
    hammer fact [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 list                          List all fact values

Options:
 -h, --help                    Print help

10.23.1. hammer fact list

ファクト値の一覧を表示します。

Usage:
    hammer fact list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.24. hammer file

ファイルを操作します。

Usage:
    hammer file [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 info                          Show a file
 list                          List files

Options:
 -h, --help                    Print help

10.24.1. hammer file info

ファイルを表示します。

Usage:
    hammer file info [OPTIONS]

Options:
 --content-view CONTENT_VIEW_NAME                    Content view name to search by
 --content-view-id CONTENT_VIEW_ID                   Content view numeric identifier
 --content-view-version CONTENT_VIEW_VERSION_VERSION Content view version number
 --content-view-version-id CONTENT_VIEW_VERSION_ID   Content View Version ID
 --id ID                                             A file identifier
 --name NAME                                         File name to search by
 --organization ORGANIZATION_NAME                    Organization name to search by
 --organization-id ORGANIZATION_ID                   Organization ID
 --organization-label ORGANIZATION_LABEL             Organization label to search by
 --product PRODUCT_NAME                              Product name to search by
 --product-id PRODUCT_ID                             Product numeric identifier
 --repository REPOSITORY_NAME                        Repository name to search by
 --repository-id REPOSITORY_ID                       Repository ID
 -h, --help                                          Print help

10.24.2. hammer file list

ファイルを一覧表示します。

Usage:
    hammer file list [OPTIONS]

Options:
 --by BY                                             Field to sort the results on
 --content-view CONTENT_VIEW_NAME                    Content view name to search by
 --content-view-filter CONTENT_VIEW_FILTER_NAME      Name to search by
 --content-view-filter-id CONTENT_VIEW_FILTER_ID     Filter identifier
 --content-view-id CONTENT_VIEW_ID                   Content view numeric identifier
 --content-view-version CONTENT_VIEW_VERSION_VERSION Content view version number
 --content-view-version-id CONTENT_VIEW_VERSION_ID   Content view version identifier
 --environment ENVIRONMENT_NAME                      Environment name
 --environment-id ENVIRONMENT_ID
 --full-result FULL_RESULT                           Whether or not to show all results
                                                     One of true/false, yes/no, 1/0
 --ids IDS                                           Ids to filter content by
                                                     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --order ORDER                                       Sort field and order, eg. 'name DESC'
 --organization ORGANIZATION_NAME                    Organization name to search by
 --organization-id ORGANIZATION_ID                   Organization ID
 --organization-label ORGANIZATION_LABEL             Organization label to search by
 --page PAGE                                         Page number, starting at 1
 --per-page PER_PAGE                                 Number of results per page to return
 --product PRODUCT_NAME                              Product name to search by
 --product-id PRODUCT_ID                             Product numeric identifier
 --repository REPOSITORY_NAME                        Repository name to search by
 --repository-id REPOSITORY_ID                       Repository ID
 --search SEARCH                                     Search string
 -h, --help                                          Print help

10.25. hammer filter

パーミッションフィルターを管理します。

Usage:
    hammer filter [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 available-permissions         List all permissions
 available-resources           List available resource types
 create                        Create a filter
 delete                        Delete a filter
 info                          Show a filter
 list                          List all filters
 update                        Update a filter

Options:
 -h, --help                    Print help

10.25.1. hammer filter available-permissions

パーミッションの一覧を表示します。

Usage:
    hammer filter available-permissions [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --resource-type RESOURCE_TYPE
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.25.2. hammer filter available-resources

利用可能なリソースタイプを一覧表示します。

Usage:
    hammer filter available-resources [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.25.3. hammer filter create

フィルターを作成します。

Usage:
    hammer filter create [OPTIONS]

Options:
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --override OVERRIDE                       One of true/false, yes/no, 1/0
 --permission-ids PERMISSION_IDS           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --permissions PERMISSION_NAMES            Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --role ROLE_NAME                          User role name
 --role-id ROLE_ID
 --search SEARCH
 -h, --help                                Print help

Overriding organizations and locations:

Filters inherit organizations and locations from its role by default. This behavior can be changed by setting --override=true.
Therefore options --organization[s|-ids] and --location[s|-ids] are applicable only when the override flag is set.

10.25.4. hammer filter delete

フィルターを削除します。

Usage:
    hammer filter delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.25.5. hammer filter info

フィルターを表示します。

Usage:
    hammer filter info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.25.6. hammer filter list

フィルターの一覧を表示します。

Usage:
    hammer filter list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.25.7. hammer filter update

フィルターを更新します。

Usage:
    hammer filter update [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --override OVERRIDE                       One of true/false, yes/no, 1/0
 --permission-ids PERMISSION_IDS           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --permissions PERMISSION_NAMES            Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --role ROLE_NAME                          User role name
 --role-id ROLE_ID
 --search SEARCH
 -h, --help                                Print help

Overriding organizations and locations:

Filters inherit organizations and locations from its role by default. This behavior can be changed by setting --override=true.
Therefore options --organization[s|-ids] and --location[s|-ids] are applicable only when the override flag is set.

10.26. hammer foreign-input-set

外部入力セットを管理します。

Usage:
    hammer foreign-input-set [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 create                        Create a foreign input set
 delete                        Delete a foreign input set
 info                          Show foreign input set details
 list                          List foreign input sets
 update                        Update a foreign input set

Options:
 -h, --help                    Print help

10.26.1. hammer foreign-input-set create

外部入力セットを作成します。

Usage:
    hammer foreign-input-set create [OPTIONS]

Options:
 --description DESCRIPTION               Input set description
 --exclude EXCLUDE                       A comma separated list of input names to be included from the foreign
                                         Template.
 --include INCLUDE                       A comma separated list of input names to be included from the foreign
                                         Template.
 --include-all INCLUDE_ALL               Include all inputs from the foreign template
                                         One of true/false, yes/no, 1/0
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --target-template-id TARGET_TEMPLATE_ID Target template ID
 --template-id TEMPLATE_ID
 -h, --help                              Print help

10.26.2. hammer foreign-input-set delete

外部入力セットを削除します。

Usage:
    hammer foreign-input-set delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --template-id TEMPLATE_ID
 -h, --help                              Print help

10.26.3. hammer foreign-input-set info

外部入力セット詳細を表示します。

Usage:
    hammer foreign-input-set info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --template-id TEMPLATE_ID
 -h, --help                              Print help

10.26.4. hammer foreign-input-set list

外部入力セットを一覧表示します。

Usage:
    hammer foreign-input-set list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 --template-id TEMPLATE_ID
 -h, --help                              Print help

10.26.5. hammer foreign-input-set update

外部入力セットを更新します。

Usage:
    hammer foreign-input-set update [OPTIONS]

Options:
 --description DESCRIPTION               Input set description
 --exclude EXCLUDE                       A comma separated list of input names to be included from the foreign
                                         Template.
 --id ID
 --include INCLUDE                       A comma separated list of input names to be included from the foreign
                                         Template.
 --include-all INCLUDE_ALL               Include all inputs from the foreign template
                                         One of true/false, yes/no, 1/0
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --new-name NEW_NAME
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --target-template-id TARGET_TEMPLATE_ID Target template ID
 --template-id TEMPLATE_ID
 -h, --help                              Print help

10.27. hammer full-help

全 hammer コマンドの help の表示します。

Usage:
    hammer full-help [OPTIONS]

Options:
 --md                          Format output in markdown
 -h, --help                    Print help

10.28. hammer global-parameter

グローバルパラメーターを操作します。

Usage:
    hammer global-parameter [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 delete                        Delete a global parameter
 list                          List all global parameters
 set                           Set a global parameter

Options:
 -h, --help                    Print help

10.28.1. hammer global-parameter delete

グローバルパラメーターを削除します。

Usage:
    hammer global-parameter delete [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Common parameter name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.28.2. hammer global-parameter list

グローバルパラメーターを一覧表示します。

Usage:
    hammer global-parameter list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 --show-hidden SHOW_HIDDEN               Display hidden values
                                         One of true/false, yes/no, 1/0
 -h, --help                              Print help

10.28.3. hammer global-parameter set

グローバルパラメーターを設定します。

Usage:
    hammer global-parameter set [OPTIONS]

Options:
 --hidden-value HIDDEN_VALUE   Should the value be hidden
                               One of true/false, yes/no, 1/0
 --name NAME                   Parameter name
 --value VALUE                 Parameter value
 -h, --help                    Print help

10.29. hammer gpg

サーバー上で GPG キーアクションを操作します。

Usage:
    hammer gpg [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 create                        Create a gpg key
 delete                        Destroy a gpg key
 info                          Show a gpg key
 list                          List gpg keys
 update                        Update a repository

Options:
 -h, --help                    Print help

10.29.1. hammer gpg create

GPG キーを作成します。

Usage:
    hammer gpg create [OPTIONS]

Options:
 --key GPG_KEY_FILE                      GPG Key file
 --name NAME                             Identifier of the gpg key
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.29.2. hammer gpg delete

GPG キーを破棄します。

Usage:
    hammer gpg delete [OPTIONS]

Options:
 --id ID                                 Gpg key numeric identifier
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.29.3. hammer gpg info

GPG キーを表示します。

Usage:
    hammer gpg info [OPTIONS]

Options:
 --id ID                                 Gpg key numeric identifier
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.29.4. hammer gpg list

GPG キーを一覧表示します。

Usage:
    hammer gpg list [OPTIONS]

Options:
 --by BY                                 Field to sort the results on
 --full-result FULL_RESULT               Whether or not to show all results
                                         One of true/false, yes/no, 1/0
 --name NAME                             Name of the GPG key
 --order ORDER                           Sort field and order, eg. 'name DESC'
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --page PAGE                             Page number, starting at 1
 --per-page PER_PAGE                     Number of results per page to return
 --search SEARCH                         Search string
 -h, --help                              Print help

10.29.5. hammer gpg update

リポジトリーを更新します。

Usage:
    hammer gpg update [OPTIONS]

Options:
 --id ID                                 Gpg key numeric identifier
 --key GPG_KEY_FILE                      GPG Key file
 --name NAME                             Name to search by
 --new-name NEW_NAME                     Identifier of the gpg key
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.30. hammer host

ホストを操作します。

Usage:
    hammer host [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 ansible-roles
 create                        Create a host
 delete                        Delete a host
 delete-parameter              Delete parameter for a host
 enc-dump                      Dump host's ENC YAML
 errata                        Manage errata on your hosts
 facts                         List all fact values
 info                          Show a host
 interface                     View and manage host's network interfaces
 list                          List all hosts
 package                       Manage packages on your hosts
 package-group                 Manage package-groups on your hosts
 puppet-classes                List all Puppet classes
 puppetrun                     Force a Puppet agent run on the host
 reboot                        Reboot a host
 rebuild-config                Rebuild orchestration related configurations for host
 reports                       List all reports
 sc-params                     List all smart class parameters
 set-parameter                 Create or append a parameter for a host
 smart-variables               List all smart variables
 start                         Power a host on
 status                        Get configuration status of host
 stop                          Power a host off
 subscription                  Manage subscription information on your hosts
 update                        Update a host

Options:
 -h, --help                    Print help

10.30.1. hammer host ansible-roles

Usage:
    hammer host ansible-roles [OPTIONS]

Options:
 -h, --help                    Print help

Unfortunately the server does not support such operation.

10.30.2. hammer host create

ホストを作成します。

Usage:
    hammer host create [OPTIONS]

Options:
 --ansible-role-ids ANSIBLE_ROLE_IDS                           IDs of associated ansible roles
                                                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --ansible-roles ANSIBLE_ROLE_NAMES                            Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --architecture ARCHITECTURE_NAME                              Architecture name
 --architecture-id ARCHITECTURE_ID
 --ask-root-password ASK_ROOT_PW                               One of true/false, yes/no, 1/0
 --autoheal AUTOHEAL                                           Sets whether the Host will autoheal subscriptions upon checkin
                                                               One of true/false, yes/no, 1/0
 --build BUILD                                                 One of true/false, yes/no, 1/0
 --comment COMMENT                                             Additional information about this host
 --compute-attributes COMPUTE_ATTRS                            Compute resource attributes
                                                               Comma-separated list of key=value
 --compute-profile COMPUTE_PROFILE_NAME                        Name to search by
 --compute-profile-id COMPUTE_PROFILE_ID
 --compute-resource COMPUTE_RESOURCE_NAME                      Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID
 --config-group-ids CONFIG_GROUP_IDS                           IDs of associated config groups
                                                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --config-groups CONFIG_GROUP_NAMES                            Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --content-source CONTENT_SOURCE_NAME                          Content Source name
 --content-source-id CONTENT_SOURCE_ID
 --content-view CONTENT_VIEW_NAME                              Name to search by
 --content-view-id CONTENT_VIEW_ID                             Content view numeric identifier
 --domain DOMAIN_NAME                                          Domain name
 --domain-id DOMAIN_ID                                         Numerical ID or domain name
 --enabled ENABLED                                             Include this host within Satellite reporting
                                                               One of true/false, yes/no, 1/0
 --environment ENVIRONMENT_NAME                                Environment name
 --environment-id ENVIRONMENT_ID
 --hostgroup HOSTGROUP_NAME                                    Hostgroup name
 --hostgroup-id HOSTGROUP_ID
 --hostgroup-title HOSTGROUP_TITLE                             Hostgroup title
 --hypervisor-guest-uuids HYPERVISOR_GUEST_UUIDS               List of hypervisor guest uuids
                                                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --image IMAGE_NAME                                            Name to search by
 --image-id IMAGE_ID
 --installed-products-attributes INSTALLED_PRODUCTS_ATTRIBUTES List of products installed on the host
                                                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --interface INTERFACE                                         Interface parameters
                                                               Comma-separated list of key=value
                                                               Can be specified multiple times.
 --ip IP                                                       Not required if using a subnet with DHCP Capsule
 --kickstart-repository REPOSITORY_NAME                        Kickstart repository name
 --kickstart-repository-id KICKSTART_REPOSITORY_ID             Repository Id associated with the kickstart repo used for provisioning
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME            Name to search by
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID           ID of the environment
 --location LOCATION_NAME                                      Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE                               Location title
 --mac MAC                                                     Required for managed host that is bare metal, not required if it's a
                                                               Virtual machine
 --managed MANAGED                                             True/False flag whether a host is managed or unmanaged. Note: this value
                                                               Also determines whether several parameters are required or not
                                                               One of true/false, yes/no, 1/0
 --medium MEDIUM_NAME                                          Medium name
 --medium-id MEDIUM_ID
 --model MODEL_NAME                                            Model name
 --model-id MODEL_ID
 --name NAME
 --operatingsystem OPERATINGSYSTEM_TITLE                       Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID
 --organization ORGANIZATION_NAME                              Organization name
 --organization-id ORGANIZATION_ID                             Organization ID
 --organization-title ORGANIZATION_TITLE                       Organization title
 --overwrite OVERWRITE                                         One of true/false, yes/no, 1/0
                                                               Default: "true"
 --owner OWNER_LOGIN                                           Login of the owner
 --owner-id OWNER_ID                                           ID of the owner
 --owner-type OWNER_TYPE                                       Host's owner type
                                                               Possible value(s): 'User', 'Usergroup'
 --parameters PARAMS                                           Host parameters
                                                               Comma-separated list of key=value
 --partition-table PARTITION_TABLE_NAME                        Partition table name
 --partition-table-id PARTITION_TABLE_ID
 --product PRODUCT_NAME                                        Name to search by
 --product-id PRODUCT_ID                                       Product numeric identifier
 --progress-report-id PROGRESS_REPORT_ID                       UUID to track orchestration tasks status, GET
                                                               /api/orchestration/:UUID/tasks
 --provision-method PROVISION_METHOD                           The method used to provision the host.
                                                               Possible value(s): 'build', 'image', 'bootdisk'
 --puppet-ca-proxy PUPPET_CA_PROXY_NAME
 --puppet-ca-proxy-id PUPPET_CA_PROXY_ID                       Puppet CA Capsule ID
 --puppet-class-ids PUPPET_CLASS_IDS                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --puppet-classes PUPPET_CLASS_NAMES                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --puppet-proxy PUPPET_PROXY_NAME
 --puppet-proxy-id PUPPET_PROXY_ID                             Puppet Capsule ID
 --pxe-loader PXE_LOADER                                       DHCP filename option (Grub2/PXELinux by default)
                                                               Possible value(s): 'None', 'PXELinux BIOS', 'PXELinux UEFI', 'Grub UEFI', 'Grub2 UEFI', 'Grub2 UEFI SecureBoot'
 --realm REALM_NAME                                            Name to search by
 --realm-id REALM_ID                                           Numerical ID or realm name
 --release-version RELEASE_VERSION                             Release version for this Host to use (7Server, 7.1, etc)
 --root-password ROOT_PW                                       Required if host is managed and value is not inherited from host group or default password in settings
 --service-level SERVICE_LEVEL                                 Service level to be used for autoheal.
 --subnet SUBNET_NAME                                          Subnet name
 --subnet-id SUBNET_ID
 --volume VOLUME                                               Volume parameters
                                                               Comma-separated list of key=value
                                                               Can be specified multiple times.
 -h, --help                                                    Print help

Available keys for --interface:
  mac
  ip
  type                Possible values: interface, bmc, bond, bridge
  name
  subnet_id
  domain_id
  identifier
  managed             true/false
  primary             true/false, each managed hosts needs to have one primary interface.
  provision           true/false
  virtual             true/false

  For virtual=true:
    tag                 VLAN tag, this attribute has precedence over the subnet VLAN ID. Only for virtual interfaces.
    attached_to         Identifier of the interface to which this interface belongs, e.g. eth1.

  For type=bond:
    mode                Possible values: balance-rr, active-backup, balance-xor, broadcast, 802.3ad, balance-tlb, balance-alb
    attached_devices    Identifiers of slave interfaces, e.g. [eth1,eth2]
    bond_options

  For type=bmc:
    provider            always IPMI
    username
    password

Provider specific options:
  EC2:
    --compute-attributes:
      flavor_id
      image_id
      availability_zone
      security_group_ids
      managed_ip

  GCE:
    --compute-attributes:
      machine_type
      image_id
      network
      external_ip

  Libvirt:
    --compute-attributes:
      cpus                Number of CPUs
      memory              String, amount of memory, value in bytes
      start               Boolean (expressed as 0 or 1), whether to start the machine or not

    --interface:
      compute_type                      Possible values: bridge, network
      compute_network / compute_bridge  Name of interface according to type
      compute_model                     Possible values: virtio, rtl8139, ne2k_pci, pcnet, e1000

    --volume:
      pool_name           One of available storage pools
      capacity            String value, eg. 10G
      format_type         Possible values: raw, qcow2

  OpenStack:
    --compute-attributes:
      flavor_ref
      image_ref
      tenant_id
      security_groups
      network

  oVirt:
    --compute-attributes:
      cluster
      template            Hardware profile to use
      cores               Integer value, number of cores
      memory              Amount of memory, integer value in bytes
      start               Boolean (expressed as 0 or 1), whether to start the machine or not

    --interface:
      compute_name        Eg. eth0
      compute_network     Select one of available networks for a cluster

    --volume:
      size_gb             Volume size in GB, integer value
      storage_domain      Select one of available storage domains
      bootable            Boolean, only one volume can be bootable

  Rackspace:
    --compute-attributes:
      flavor_id
      image_id

  VMWare:
    --compute-attributes:
      cpus                  Cpu count
      corespersocket        Number of cores per socket (applicable to hardware versions < 10 only)
      memory_mb             Integer number, amount of memory in MB
      cluster               Cluster id from VMware
      path                  Path to folder
      guest_id              Guest OS id form VMware
      scsi_controller_type  Id of the controller from VMware
      hardware_version      Hardware version id from VMware
      start                 Must be a 1 or 0, whether to start the machine or not

    --interface:
      compute_type        Type of the network adapter, for example one of:
                            VirtualVmxnet,
                            VirtualVmxnet2,
                            VirtualVmxnet3,
                            VirtualE1000,
                            VirtualE1000e,
                            VirtualPCNet32
                          See documentation center for your version of vSphere to find more details about available adapter types:
                            https://www.vmware.com/support/pubs/
      compute_network     Network id from VMware

    --volume:
      name
      datastore           Datastore id from VMware
      size_gb             Integer number, volume size in GB
      thin                true/false
      eager_zero          true/false

10.30.3. hammer host delete

ホストを削除します。

Usage:
    hammer host delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Host name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.30.4. hammer host delete-parameter

ホストのパラメーターを削除します。

Usage:
    hammer host delete-parameter [OPTIONS]

Options:
 --host HOST_NAME              Host name
 --host-id HOST_ID
 --name NAME                   Parameter name
 -h, --help                    Print help

10.30.5. hammer host enc-dump

ホストの ENC YAML をダンプします。

Usage:
    hammer host enc-dump [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Host name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.30.6. hammer host errata

お使いのホストに関するエラータを管理します。

Usage:
    hammer host errata [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 apply                         Schedule errata for installation
 info                          Retrieve a single errata for a host
 list                          List errata available for the content host

Options:
 -h, --help                    Print help

Unfortunately the server does not support such operation.

10.30.6.1. hammer host errata apply

エラータのインストールをスケジュールします。

Usage:
    hammer host errata apply [OPTIONS]

Options:
 --async                       Do not wait for the task
 --errata-ids ERRATA_IDS       List of Errata ids to install
                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --host HOST_NAME              Host name
 --host-id HOST_ID
 -h, --help                    Print help

10.30.6.2. hammer host errata info

ホストに関するエラータを 1 つ取得します。

Usage:
    hammer host errata info [OPTIONS]

Options:
 --host HOST_NAME              Host name
 --host-id HOST_ID
 --id ID                       Errata id of the erratum (RHSA-2012:108)
 --name NAME                   Name to search by
 -h, --help                    Print help

10.30.6.3. hammer host errata list

コンテンツホストに利用可能なエラータを一覧表示します。

Usage:
    hammer host errata list [OPTIONS]

Options:
 --by BY                           Field to sort the results on
 --content-view CONTENT_VIEW_NAME  Content view name to search by
 --content-view-id CONTENT_VIEW_ID Content view numeric identifier
 --environment ENVIRONMENT_NAME    Environment name
 --environment-id ENVIRONMENT_ID
 --full-result FULL_RESULT         Whether or not to show all results
                                   One of true/false, yes/no, 1/0
 --host HOST_NAME                  Host name
 --host-id HOST_ID
 --order ORDER                     Sort field and order, eg. 'name DESC'
 --page PAGE                       Page number, starting at 1
 --per-page PER_PAGE               Number of results per page to return
 --search SEARCH                   Search string
 -h, --help                        Print help

10.30.7. hammer host facts

ファクト値の一覧を表示します。

Usage:
    hammer host facts [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Host name
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.30.8. hammer host info

ホストを表示します。

Usage:
    hammer host info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                        Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE                 Location title
 --name NAME                                     Host name
 --organization ORGANIZATION_NAME                Organization name
 --organization-id ORGANIZATION_ID               Organization ID
 --organization-title ORGANIZATION_TITLE         Organization title
 --show-hidden-parameters SHOW_HIDDEN_PARAMETERS Display hidden parameter values
                                                 One of true/false, yes/no, 1/0
 -h, --help                                      Print help

10.30.9. hammer host interface

ホストのネットワークインターフェースを表示および管理します。

Usage:
    hammer host interface [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 create                        Create an interface on a host
 delete                        Delete a host's interface
 info                          Show an interface for host
 list                          List all interfaces for host
 update                        Update a host's interface

Options:
 -h, --help                    Print help

10.30.9.1. hammer host interface create

ホストにインターフェースを作成します。

Usage:
    hammer host interface create [OPTIONS]

Options:
 --attached-devices ATTACHED_DEVICES     Identifiers of attached interfaces, e.g. `['eth1',
                                         'eth2']`. For bond interfaces those are the slaves. Only for bond
                                         And bridges interfaces.
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --attached-to ATTACHED_TO               Identifier of the interface to which this interface belongs, e.g. eth1.
                                         Only for virtual interfaces.
 --bond-options BOND_OPTIONS             Space separated options, e.g. miimon=100. Only for bond interfaces.
 --compute-attributes COMPUTE_ATTRS      Compute resource specific attributes
                                         Comma-separated list of key=value
 --domain DOMAIN_NAME                    Domain name
 --domain-id DOMAIN_ID                   Numerical ID or domain name
 --host HOST_NAME                        Host name
 --host-id HOST_ID
 --identifier IDENTIFIER                 Device identifier, e.g. eth0 or eth1.1
 --ip IP                                 IPv4 address of interface
 --ip6 IP6                               IPv6 address of interface
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --mac MAC                               MAC address of interface. Required for managed interfaces on bare metal.
 --managed MANAGED                       Should this interface be managed via DHCP and DNS capsule and should it be
                                         Configured during provisioning?
                                         One of true/false, yes/no, 1/0
 --mode MODE                             Bond mode of the interface, e.g. balance-rr. Only for bond interfaces.
                                         Possible value(s): 'balance-rr', 'active-backup', 'balance-xor', 'broadcast', '802.3ad', 'balance-tlb', 'balance-alb'
 --mtu MTU                               MTU, this attribute has precedence over the subnet MTU.
 --name NAME                             Interface's DNS name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --password PASSWORD                     Only for BMC interfaces.
 --primary                               Should this interface be used for constructing the FQDN of the host? Each managed hosts needs to have one primary interface
 --provider PROVIDER                     Interface provider, e.g. IPMI. Only for BMC interfaces.
                                         Possible value(s): 'IPMI', 'SSH'
 --provision                             Should this interface be used for TFTP of PXELinux (or SSH for image-based hosts)? Each managed hosts needs to have one provision interface
 --subnet SUBNET_NAME                    Subnet name
 --subnet-id SUBNET_ID
 --subnet6-id SUBNET6_ID                 Satellite subnet ID of IPv6 interface
 --tag TAG                               VLAN tag, this attribute has precedence over the subnet VLAN ID. Only for
                                         Virtual interfaces.
 --type TYPE                             Interface type, e.g. bmc. Default is interface
                                         Possible value(s): 'interface', 'bmc', 'bond', 'bridge'
 --username USERNAME                     Only for BMC interfaces.
 --virtual VIRTUAL                       Alias or VLAN device
                                         One of true/false, yes/no, 1/0
 -h, --help                              Print help

10.30.9.2. hammer host interface delete

ホストのインターフェースを削除します。

Usage:
    hammer host interface delete [OPTIONS]

Options:
 --host HOST_NAME                        Host name
 --host-id HOST_ID
 --id ID                                 ID of interface
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.30.9.3. hammer host interface info

ホストのインターフェースを表示します。

Usage:
    hammer host interface info [OPTIONS]

Options:
 --host HOST_NAME                        Host name
 --host-id HOST_ID
 --id ID                                 ID or name of interface
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.30.9.4. hammer host interface list

ホストのインターフェース一覧を表示します。

Usage:
    hammer host interface list [OPTIONS]

Options:
 --domain DOMAIN_NAME                    Domain name
 --domain-id DOMAIN_ID                   Numerical ID or domain name
 --host HOST_NAME                        Host name
 --host-id HOST_ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --subnet SUBNET_NAME                    Subnet name
 --subnet-id SUBNET_ID
 -h, --help                              Print help

10.30.9.5. hammer host interface update

ホストのインターフェースを更新します。

Usage:
    hammer host interface update [OPTIONS]

Options:
 --attached-devices ATTACHED_DEVICES     Identifiers of attached interfaces, e.g. `['eth1',
                                         'eth2']`. For bond interfaces those are the slaves. Only for bond
                                         And bridges interfaces.
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --attached-to ATTACHED_TO               Identifier of the interface to which this interface belongs, e.g. eth1.
                                         Only for virtual interfaces.
 --bond-options BOND_OPTIONS             Space separated options, e.g. miimon=100. Only for bond interfaces.
 --compute-attributes COMPUTE_ATTRS      Compute resource specific attributes
                                         Comma-separated list of key=value
 --domain DOMAIN_NAME                    Domain name
 --domain-id DOMAIN_ID                   Numerical ID or domain name
 --host HOST_NAME                        Host name
 --host-id HOST_ID
 --id ID                                 ID of interface
 --identifier IDENTIFIER                 Device identifier, e.g. eth0 or eth1.1
 --ip IP                                 IPv4 address of interface
 --ip6 IP6                               IPv6 address of interface
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --mac MAC                               MAC address of interface. Required for managed interfaces on bare metal.
 --managed MANAGED                       Should this interface be managed via DHCP and DNS capsule and should it be
                                         Configured during provisioning?
                                         One of true/false, yes/no, 1/0
 --mode MODE                             Bond mode of the interface, e.g. balance-rr. Only for bond interfaces.
                                         Possible value(s): 'balance-rr', 'active-backup', 'balance-xor', 'broadcast', '802.3ad', 'balance-tlb', 'balance-alb'
 --mtu MTU                               MTU, this attribute has precedence over the subnet MTU.
 --name NAME                             Interface's DNS name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --password PASSWORD                     Only for BMC interfaces.
 --primary                               Should this interface be used for constructing the FQDN of the host? Each managed hosts needs to have one primary interface
 --provider PROVIDER                     Interface provider, e.g. IPMI. Only for BMC interfaces.
                                         Possible value(s): 'IPMI', 'SSH'
 --provision                             Should this interface be used for TFTP of PXELinux (or SSH for image-based hosts)? Each managed hosts needs to have one provision interface
 --subnet SUBNET_NAME                    Subnet name
 --subnet-id SUBNET_ID
 --subnet6-id SUBNET6_ID                 Satellite subnet ID of IPv6 interface
 --tag TAG                               VLAN tag, this attribute has precedence over the subnet VLAN ID. Only for
                                         Virtual interfaces.
 --type TYPE                             Interface type, e.g. bmc. Default is interface
                                         Possible value(s): 'interface', 'bmc', 'bond', 'bridge'
 --username USERNAME                     Only for BMC interfaces.
 --virtual VIRTUAL                       Alias or VLAN device
                                         One of true/false, yes/no, 1/0
 -h, --help                              Print help

10.30.10. hammer host list

ホストを一覧表示します。

Usage:
    hammer host list [OPTIONS]

Options:
 --environment ENVIRONMENT_NAME          Environment name
 --environment-id ENVIRONMENT_ID
 --hostgroup HOSTGROUP_NAME              Hostgroup name
 --hostgroup-id HOSTGROUP_ID
 --hostgroup-title HOSTGROUP_TITLE       Hostgroup title
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.30.11. hammer host package

お使いのホストのパッケージを管理します。

Usage:
    hammer host package [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 install                       Install packages remotely
 list                          List packages installed on the host
 remove                        Uninstall packages remotely
 upgrade                       Update packages remotely
 upgrade-all                   Update packages remotely

Options:
 -h, --help                    Print help

Unfortunately the server does not support such operation.

10.30.11.1. hammer host package install

パッケージをリモートからインストールします。

Usage:
    hammer host package install [OPTIONS]

Options:
 --async                       Do not wait for the task
 --host HOST_NAME              Host name
 --host-id HOST_ID
 --packages PACKAGES           List of package names
                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                    Print help

10.30.11.2. hammer host package list

ホストにインストールされているパッケージの一覧を表示します。

Usage:
    hammer host package list [OPTIONS]

Options:
 --by BY                       Field to sort the results on
 --full-result FULL_RESULT     Whether or not to show all results
                               One of true/false, yes/no, 1/0
 --host HOST_NAME              Host name
 --host-id HOST_ID
 --order ORDER                 Sort field and order, eg. 'name DESC'
 --page PAGE                   Page number, starting at 1
 --per-page PER_PAGE           Number of results per page to return
 --search SEARCH               Search string
 -h, --help                    Print help

10.30.11.3. hammer host package remove

パッケージをリモートからアンインストールします。

Usage:
    hammer host package remove [OPTIONS]

Options:
 --async                       Do not wait for the task
 --host HOST_NAME              Host name
 --host-id HOST_ID
 --packages PACKAGES           List of package names
                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                    Print help

10.30.11.4. hammer host package upgrade

パッケージをリモートから更新します。

Usage:
    hammer host package upgrade [OPTIONS]

Options:
 --async                       Do not wait for the task
 --host HOST_NAME              Host name
 --host-id HOST_ID
 --packages PACKAGES           List of packages names
                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                    Print help

10.30.11.5. hammer host package upgrade-all

パッケージをリモートから更新します。

Usage:
    hammer host package upgrade-all [OPTIONS]

Options:
 --async                       Do not wait for the task
 --host HOST_NAME              Host name
 --host-id HOST_ID
 -h, --help                    Print help

10.30.12. hammer host package-group

お使いのホストのパッケージグループを管理します。

Usage:
    hammer host package-group [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 install                       Install packages remotely
 remove                        Uninstall packages remotely

Options:
 -h, --help                    Print help

Unfortunately the server does not support such operation.

10.30.12.1. hammer host package-group install

パッケージをリモートからインストールします。

Usage:
    hammer host package-group install [OPTIONS]

Options:
 --async                       Do not wait for the task
 --groups GROUPS               List of package group names
                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --host HOST_NAME              Host name
 --host-id HOST_ID
 -h, --help                    Print help

10.30.12.2. hammer host package-group remove

パッケージをリモートからアンインストールします。

Usage:
    hammer host package-group remove [OPTIONS]

Options:
 --async                       Do not wait for the task
 --groups GROUPS               List of package group names
                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --host HOST_NAME              Host name
 --host-id HOST_ID
 -h, --help                    Print help

10.30.13. hammer host puppet-classes

Puppet クラスの一覧を表示します。

Usage:
    hammer host puppet-classes [OPTIONS]

Options:
 --host HOST_NAME                  Host name
 --host-id HOST_ID
 --location-id LOCATION_ID         Scope by locations
 --order ORDER                     Sort results
 --organization-id ORGANIZATION_ID Scope by organizations
 --page PAGE                       Paginate results
 --per-page PER_PAGE               Number of entries per request
 --search SEARCH                   Filter results
 -h, --help                        Print help

10.30.14. hammer host puppetrun

ホストで Puppet エージェントを強制的に実行します。

Usage:
    hammer host puppetrun [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.30.15. hammer host reboot

ホストを再起動します。

Usage:
    hammer host reboot [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Host name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.30.16. hammer host rebuild-config

ホスト向けオーケストレーション関連設定を再ビルドします。

Usage:
    hammer host rebuild-config [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Host name
 --only ONLY                             Limit rebuild steps, valid steps are DHCP, DNS, TFTP
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.30.17. hammer host reports

レポートの一覧を表示します。

Usage:
    hammer host reports [OPTIONS]

Options:
 --id ID                                 Host id
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Host name
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.30.18. hammer host sc-params

スマートクラスパラメーターの一覧を表示します。

Usage:
    hammer host sc-params [OPTIONS]

Options:
 --host HOST_NAME                        Host name
 --host-id HOST_ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 --show-hidden SHOW_HIDDEN               Display hidden values
                                         One of true/false, yes/no, 1/0
 -h, --help                              Print help

10.30.19. hammer host set-parameter

ホストのパラメーターの作成または追加

Usage:
    hammer host set-parameter [OPTIONS]

Options:
 --hidden-value HIDDEN_VALUE   Should the value be hidden
                               One of true/false, yes/no, 1/0
 --host HOST_NAME              Host name
 --host-id HOST_ID
 --name NAME                   Parameter name
 --value VALUE                 Parameter value
 -h, --help                    Print help

10.30.20. hammer host smart-variables

スマート変数の一覧を表示します。

Usage:
    hammer host smart-variables [OPTIONS]

Options:
 --host HOST_NAME                        Host name
 --host-id HOST_ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 --show-hidden SHOW_HIDDEN               Display hidden values
                                         One of true/false, yes/no, 1/0
 -h, --help                              Print help

10.30.21. hammer host start

ホストのパワーをオンにします。

Usage:
    hammer host start [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Host name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.30.22. hammer host status

ホストの設定ステータスを取得します。

Usage:
    hammer host status [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Host name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.30.23. hammer host stop

ホストのパワーをオフにします。

Usage:
    hammer host stop [OPTIONS]

Options:
 --force                                 Force turning off a host
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Host name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.30.24. hammer host subscription

お使いのホストのサブスクリプション情報を管理します。

Usage:
    hammer host subscription [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 attach                        Add a subscription to a host
 auto-attach                   Trigger an auto-attach of subscriptions
 content-override              Override product content defaults
 product-content               List associated products
 register                      Register a host with subscription and information.
 remove
 unregister                    Unregister the host as a subscription consumer

Options:
 -h, --help                    Print help

Unfortunately the server does not support such operation.

10.30.24.1. hammer host subscription attach

ホストにサブスクリプションを追加します。

Usage:
    hammer host subscription attach [OPTIONS]

Options:
 --host HOST_NAME                  Host name
 --host-id HOST_ID
 --quantity Quantity               Quantity of this subscriptions to add. Defaults to 1
 --subscription-id SUBSCRIPTION_ID ID of subscription
 -h, --help                        Print help

10.30.24.2. hammer host subscription auto-attach

サブスクリプションの自動割り当てをトリガーします。

Usage:
    hammer host subscription auto-attach [OPTIONS]

Options:
 --host HOST_NAME              Host name
 --host-id HOST_ID
 -h, --help                    Print help

10.30.24.3. hammer host subscription content-override

製品コンテンツのデフォルトを上書きします。

Usage:
    hammer host subscription content-override [OPTIONS]

Options:
 --content-label CONTENT_LABEL Label of the content
 --host HOST_NAME              Host name
 --host-id HOST_ID
 --override-name OVERRIDE_NAME Override parameter key or name.
                               To enable or disable a repo select 'enabled'.
                               Default value: enabled
                               Default: "enabled"
 --remove                      Remove a content override
 --value VALUE                 Override value. Note for repo enablement you can use a boolean value
 -h, --help                    Print help

10.30.24.4. hammer host subscription product-content

関連付けられた製品を一覧表示します。

Usage:
    hammer host subscription product-content [OPTIONS]

Options:
 --content-access-mode-all CONTENT_ACCESS_MODE_ALL Get all content available, not just that provided by subscriptions
                                                   One of true/false, yes/no, 1/0
 --content-access-mode-env CONTENT_ACCESS_MODE_ENV Limit content to just that available in the host's content view version
                                                   One of true/false, yes/no, 1/0
 --host HOST_NAME                                  Host name
 --host-id HOST_ID
 -h, --help                                        Print help

10.30.24.5. hammer host subscription register

ホストをサブスクリプションと情報で登録します。

Usage:
    hammer host subscription register [OPTIONS]

Options:
 --content-view CONTENT_VIEW_NAME                    Content view name to search by
 --content-view-id CONTENT_VIEW_ID                   Content view numeric identifier
 --hypervisor-guest-uuids HYPERVISOR_GUEST_UUIDS     UUIDs of the virtual guests from the host's hypervisor
                                                     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME  Lifecycle environment name to search by
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID ID of the environment
 --name NAME                                         Name of the host
 --organization ORGANIZATION_NAME                    Organization name to search by
 --organization-id ORGANIZATION_ID                   Organization ID to search by
 --organization-label ORGANIZATION_LABEL             Organization label to search by
 --release-version RELEASE_VERSION                   Release version of the content host
 --service-level SERVICE_LEVEL                       A service level for auto-healing process, e.g. SELF-SUPPORT
 --uuid UUID                                         UUID to use for registered host, random uuid is generated if not provided
 -h, --help                                          Print help

10.30.24.6. hammer host subscription remove

Usage:
    hammer host subscription remove [OPTIONS]

Options:
 --host HOST_NAME                  Host name
 --host-id HOST_ID
 --quantity Quantity               Remove the first instance of a subscription with matching id and quantity
 --subscription-id SUBSCRIPTION_ID ID of subscription
 -h, --help                        Print help

10.30.24.7. hammer host subscription unregister

ホストからサブスクリプションの登録を解除します。

Usage:
    hammer host subscription unregister [OPTIONS]

Options:
 --host HOST_NAME              Host name
 --host-id HOST_ID
 -h, --help                    Print help

10.30.25. hammer host update

ホストを更新します。

Usage:
    hammer host update [OPTIONS]

Options:
 --ansible-role-ids ANSIBLE_ROLE_IDS                           IDs of associated ansible roles
                                                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --ansible-roles ANSIBLE_ROLE_NAMES                            Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --architecture ARCHITECTURE_NAME                              Architecture name
 --architecture-id ARCHITECTURE_ID
 --ask-root-password ASK_ROOT_PW                               One of true/false, yes/no, 1/0
 --autoheal AUTOHEAL                                           Sets whether the Host will autoheal subscriptions upon checkin
                                                               One of true/false, yes/no, 1/0
 --build BUILD                                                 One of true/false, yes/no, 1/0
 --comment COMMENT                                             Additional information about this host
 --compute-attributes COMPUTE_ATTRS                            Compute resource attributes
                                                               Comma-separated list of key=value
 --compute-profile COMPUTE_PROFILE_NAME                        Name to search by
 --compute-profile-id COMPUTE_PROFILE_ID
 --compute-resource COMPUTE_RESOURCE_NAME                      Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID
 --config-group-ids CONFIG_GROUP_IDS                           IDs of associated config groups
                                                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --config-groups CONFIG_GROUP_NAMES                            Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --content-source CONTENT_SOURCE_NAME                          Content Source name
 --content-source-id CONTENT_SOURCE_ID
 --content-view CONTENT_VIEW_NAME                              Name to search by
 --content-view-id CONTENT_VIEW_ID                             Content view numeric identifier
 --domain DOMAIN_NAME                                          Domain name
 --domain-id DOMAIN_ID                                         Numerical ID or domain name
 --enabled ENABLED                                             Include this host within Satellite reporting
                                                               One of true/false, yes/no, 1/0
 --environment ENVIRONMENT_NAME                                Environment name
 --environment-id ENVIRONMENT_ID
 --hostgroup HOSTGROUP_NAME                                    Hostgroup name
 --hostgroup-id HOSTGROUP_ID
 --hostgroup-title HOSTGROUP_TITLE                             Hostgroup title
 --hypervisor-guest-uuids HYPERVISOR_GUEST_UUIDS               List of hypervisor guest uuids
                                                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --id ID
 --image IMAGE_NAME                                            Name to search by
 --image-id IMAGE_ID
 --installed-products-attributes INSTALLED_PRODUCTS_ATTRIBUTES List of products installed on the host
                                                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --interface INTERFACE                                         Interface parameters
                                                               Comma-separated list of key=value
                                                               Can be specified multiple times.
 --ip IP                                                       Not required if using a subnet with DHCP Capsule
 --kickstart-repository REPOSITORY_NAME                        Kickstart repository name
 --kickstart-repository-id KICKSTART_REPOSITORY_ID             Repository Id associated with the kickstart repo used for provisioning
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME            Name to search by
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID           ID of the environment
 --location LOCATION_NAME                                      Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE                               Location title
 --mac MAC                                                     Required for managed host that is bare metal, not required if it's a
                                                               Virtual machine
 --managed MANAGED                                             True/False flag whether a host is managed or unmanaged. Note: this value
                                                               Also determines whether several parameters are required or not
                                                               One of true/false, yes/no, 1/0
 --medium MEDIUM_NAME                                          Medium name
 --medium-id MEDIUM_ID
 --model MODEL_NAME                                            Model name
 --model-id MODEL_ID
 --name NAME                                                   Host name
 --new-name NEW_NAME
 --operatingsystem OPERATINGSYSTEM_TITLE                       Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID
 --organization ORGANIZATION_NAME                              Organization name
 --organization-id ORGANIZATION_ID                             Organization ID
 --organization-title ORGANIZATION_TITLE                       Organization title
 --overwrite OVERWRITE                                         One of true/false, yes/no, 1/0
 --owner OWNER_LOGIN                                           Login of the owner
 --owner-id OWNER_ID                                           ID of the owner
 --owner-type OWNER_TYPE                                       Host's owner type
                                                               Possible value(s): 'User', 'Usergroup'
 --parameters PARAMS                                           Replaces existing host parameters
                                                               Comma-separated list of key=value
 --partition-table PARTITION_TABLE_NAME                        Partition table name
 --partition-table-id PARTITION_TABLE_ID
 --product PRODUCT_NAME                                        Name to search by
 --product-id PRODUCT_ID                                       Product numeric identifier
 --progress-report-id PROGRESS_REPORT_ID                       UUID to track orchestration tasks status, GET
                                                               /api/orchestration/:UUID/tasks
 --provision-method PROVISION_METHOD                           The method used to provision the host.
                                                               Possible value(s): 'build', 'image', 'bootdisk'
 --puppet-ca-proxy PUPPET_CA_PROXY_NAME
 --puppet-ca-proxy-id PUPPET_CA_PROXY_ID                       Puppet CA Capsule ID
 --puppet-class-ids PUPPET_CLASS_IDS                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --puppet-classes PUPPET_CLASS_NAMES                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --puppet-proxy PUPPET_PROXY_NAME
 --puppet-proxy-id PUPPET_PROXY_ID                             Puppet Capsule ID
 --pxe-loader PXE_LOADER                                       DHCP filename option (Grub2/PXELinux by default)
                                                               Possible value(s): 'None', 'PXELinux BIOS', 'PXELinux UEFI', 'Grub UEFI', 'Grub2 UEFI', 'Grub2 UEFI SecureBoot'
 --realm REALM_NAME                                            Name to search by
 --realm-id REALM_ID                                           Numerical ID or realm name
 --release-version RELEASE_VERSION                             Release version for this Host to use (7Server, 7.1, etc)
 --root-password ROOT_PW                                       Required if host is managed and value is not inherited from host group or default password in settings
 --service-level SERVICE_LEVEL                                 Service level to be used for autoheal.
 --subnet SUBNET_NAME                                          Subnet name
 --subnet-id SUBNET_ID
 --volume VOLUME                                               Volume parameters
                                                               Comma-separated list of key=value
                                                               Can be specified multiple times.
 -h, --help                                                    Print help

Available keys for --interface:
  mac
  ip
  type                Possible values: interface, bmc, bond, bridge
  name
  subnet_id
  domain_id
  identifier
  managed             true/false
  primary             true/false, each managed hosts needs to have one primary interface.
  provision           true/false
  virtual             true/false

  For virtual=true:
    tag                 VLAN tag, this attribute has precedence over the subnet VLAN ID. Only for virtual interfaces.
    attached_to         Identifier of the interface to which this interface belongs, e.g. eth1.

  For type=bond:
    mode                Possible values: balance-rr, active-backup, balance-xor, broadcast, 802.3ad, balance-tlb, balance-alb
    attached_devices    Identifiers of slave interfaces, e.g. [eth1,eth2]
    bond_options

  For type=bmc:
    provider            always IPMI
    username
    password

Provider specific options:
  EC2:
    --compute-attributes:
      flavor_id
      image_id
      availability_zone
      security_group_ids
      managed_ip

  GCE:
    --compute-attributes:
      machine_type
      image_id
      network
      external_ip

  Libvirt:
    --compute-attributes:
      cpus                Number of CPUs
      memory              String, amount of memory, value in bytes
      start               Boolean (expressed as 0 or 1), whether to start the machine or not

    --interface:
      compute_type                      Possible values: bridge, network
      compute_network / compute_bridge  Name of interface according to type
      compute_model                     Possible values: virtio, rtl8139, ne2k_pci, pcnet, e1000

    --volume:
      pool_name           One of available storage pools
      capacity            String value, eg. 10G
      format_type         Possible values: raw, qcow2

  OpenStack:
    --compute-attributes:
      flavor_ref
      image_ref
      tenant_id
      security_groups
      network

  oVirt:
    --compute-attributes:
      cluster
      template            Hardware profile to use
      cores               Integer value, number of cores
      memory              Amount of memory, integer value in bytes
      start               Boolean (expressed as 0 or 1), whether to start the machine or not

    --interface:
      compute_name        Eg. eth0
      compute_network     Select one of available networks for a cluster

    --volume:
      size_gb             Volume size in GB, integer value
      storage_domain      Select one of available storage domains
      bootable            Boolean, only one volume can be bootable

  Rackspace:
    --compute-attributes:
      flavor_id
      image_id

  VMWare:
    --compute-attributes:
      cpus                  Cpu count
      corespersocket        Number of cores per socket (applicable to hardware versions < 10 only)
      memory_mb             Integer number, amount of memory in MB
      cluster               Cluster id from VMware
      path                  Path to folder
      guest_id              Guest OS id form VMware
      scsi_controller_type  Id of the controller from VMware
      hardware_version      Hardware version id from VMware
      start                 Must be a 1 or 0, whether to start the machine or not

    --interface:
      compute_type        Type of the network adapter, for example one of:
                            VirtualVmxnet,
                            VirtualVmxnet2,
                            VirtualVmxnet3,
                            VirtualE1000,
                            VirtualE1000e,
                            VirtualPCNet32
                          See documentation center for your version of vSphere to find more details about available adapter types:
                            https://www.vmware.com/support/pubs/
      compute_network     Network id from VMware

    --volume:
      name
      datastore           Datastore id from VMware
      size_gb             Integer number, volume size in GB
      thin                true/false
      eager_zero          true/false

10.31. hammer host-collection

ホストコレクションを操作します。

Usage:
    hammer host-collection [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 add-host                      Add host to the host collection
 copy                          Copy a host collection
 create                        Create a host collection
 delete                        Destroy a host collection
 erratum                       Manipulate errata for a host collection
 hosts                         List all hosts
 info                          Show a host collection
 list                          List host collections
 package                       Manipulate packages for a host collection
 package-group                 Manipulate package-groups for a host collection
 remove-host                   Remove hosts from the host collection
 update                        Update a host collection

Options:
 -h, --help                    Print help

10.31.1. hammer host-collection add-host

ホストをホストコレクションに追加します。

Usage:
    hammer host-collection add-host [OPTIONS]

Options:
 --host-ids HOST_IDS                     Array of host ids
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hosts HOST_NAMES                      Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --id ID                                 Id of the host collection
 --name NAME                             Host collection name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.31.2. hammer host-collection copy

ホストコレクションをコピーします。

Usage:
    hammer host-collection copy [OPTIONS]

Options:
 --id ID                                 ID of the host collection
 --name NAME                             Host collection name to search by
 --new-name NEW_NAME                     New host collection name
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.31.3. hammer host-collection create

ホストコレクションを作成します。

Usage:
    hammer host-collection create [OPTIONS]

Options:
 --description DESCRIPTION
 --host-ids HOST_IDS                     List of host ids to replace the hosts in host collection
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hosts HOST_NAMES                      Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --max-hosts MAX_HOSTS                   Maximum number of hosts in the host collection
 --name NAME                             Host Collection name
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --unlimited-hosts UNLIMITED_HOSTS       Whether or not the host collection may have unlimited hosts
                                         One of true/false, yes/no, 1/0
 -h, --help                              Print help

10.31.4. hammer host-collection delete

ホストコレクションを破棄します。

Usage:
    hammer host-collection delete [OPTIONS]

Options:
 --id ID                                 Id of the host collection
 --name NAME                             Host collection name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.31.5. hammer host-collection erratum

ホストコレクションのエラータを操作します。

Usage:
    hammer host-collection erratum [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 install                       Install errata on content hosts contained within a host collection

Options:
 -h, --help                    Print help

Unfortunately the server does not support such operation.

10.31.5.1. hammer host-collection erratum install

ホストコレクション内に含まれるコンテンツホストにエラータをインストールします。

Usage:
    hammer host-collection erratum install [OPTIONS]

Options:
 --errata ERRATA                         List of Errata to install
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --id HOST_COLLECTION_ID                 Host Collection ID
 --name HOST_COLLECTION_NAME             Host Collection Name
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.31.6. hammer host-collection hosts

ホストを一覧表示します。

Usage:
    hammer host-collection hosts [OPTIONS]

Options:
 --environment ENVIRONMENT_NAME          Environment name
 --environment-id ENVIRONMENT_ID
 --hostgroup HOSTGROUP_NAME              Hostgroup name
 --hostgroup-id HOSTGROUP_ID
 --hostgroup-title HOSTGROUP_TITLE       Hostgroup title
 --id HOST_COLLECTION_ID                 Host Collection ID
 --include INCLUDE                       Array of extra information types to include
                                         Possible value(s): 'parameters', 'all_parameters'
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name HOST_COLLECTION_NAME             Host Collection Name
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 --thin THIN                             Only list ID and name of hosts
                                         One of true/false, yes/no, 1/0
 -h, --help                              Print help

10.31.7. hammer host-collection info

ホストコレクションを表示します。

Usage:
    hammer host-collection info [OPTIONS]

Options:
 --id ID                                 Id of the host collection
 --name NAME                             Host collection name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.31.8. hammer host-collection list

ホストコレクションの一覧を表示します。

Usage:
    hammer host-collection list [OPTIONS]

Options:
 --activation-key ACTIVATION_KEY_NAME    Activation key name to search by
 --activation-key-id ACTIVATION_KEY_ID   ID of the activation key
 --available-for AVAILABLE_FOR           Interpret specified object to return only Host Collections that can be
                                         Associated with specified object. The value 'host' is supported.
 --by BY                                 Field to sort the results on
 --full-result FULL_RESULT               Whether or not to show all results
                                         One of true/false, yes/no, 1/0
 --host HOST_NAME                        Host name
 --host-id HOST_ID
 --name NAME                             Host collection name to filter by
 --order ORDER                           Sort field and order, eg. 'name DESC'
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --page PAGE                             Page number, starting at 1
 --per-page PER_PAGE                     Number of results per page to return
 --search SEARCH                         Search string
 -h, --help                              Print help

10.31.9. hammer host-collection package

ホストコレクションのパッケージを操作します。

Usage:
    hammer host-collection package [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 install                       Install packages on content hosts contained within a host collection
 remove                        Remove packages on content hosts contained within a host collection
 update                        Update packages on content hosts contained within a host collection

Options:
 -h, --help                    Print help

Unfortunately the server does not support such operation.

10.31.9.1. hammer host-collection package install

ホストコレクションに含まれるコンテンツホストにパッケージをインストールします。

Usage:
    hammer host-collection package install [OPTIONS]

Options:
 --id HOST_COLLECTION_ID                 Host Collection ID
 --name HOST_COLLECTION_NAME             Host Collection Name
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --packages PACKAGES                     Comma-separated list of packages to install
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                              Print help

10.31.9.2. hammer host-collection package remove

ホストコレクションに含まれるコンテンツホストでパッケージを削除します。

Usage:
    hammer host-collection package remove [OPTIONS]

Options:
 --id HOST_COLLECTION_ID                 Host Collection ID
 --name HOST_COLLECTION_NAME             Host Collection Name
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --packages PACKAGES                     Comma-separated list of packages to install
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                              Print help

10.31.9.3. hammer host-collection package update

ホストコレクションに含まれるコンテンツホストでパッケージを更新します。

Usage:
    hammer host-collection package update [OPTIONS]

Options:
 --id HOST_COLLECTION_ID                 Host Collection ID
 --name HOST_COLLECTION_NAME             Host Collection Name
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --packages PACKAGES                     Comma-separated list of packages to install
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                              Print help

10.31.10. hammer host-collection package-group

ホストコレクションのパッケージグループを操作します。

Usage:
    hammer host-collection package-group [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 install                       Install package-groups on content hosts contained within a host collection
 remove                        Remove package-groups on content hosts contained within a host collection
 update                        Update package-groups on content hosts contained within a host collection

Options:
 -h, --help                    Print help

Unfortunately the server does not support such operation.

10.31.10.1. hammer host-collection package-group install

ホストコレクションに含まれるコンテンツホストにパッケージグループをインストールします。

Usage:
    hammer host-collection package-group install [OPTIONS]

Options:
 --id HOST_COLLECTION_ID                 Host Collection ID
 --name HOST_COLLECTION_NAME             Host Collection Name
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --package-groups PACKAGE-GROUPS         Comma-separated list of package-groups to install
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                              Print help

10.31.10.2. hammer host-collection package-group remove

ホストコレクションに含まれるコンテンツホストでパッケージグループを削除します。

Usage:
    hammer host-collection package-group remove [OPTIONS]

Options:
 --id HOST_COLLECTION_ID                 Host Collection ID
 --name HOST_COLLECTION_NAME             Host Collection Name
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --package-groups PACKAGE-GROUPS         Comma-separated list of package-groups to install
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                              Print help

10.31.10.3. hammer host-collection package-group update

ホストコレクションに含まれるコンテンツホストでパッケージグループを更新します。

Usage:
    hammer host-collection package-group update [OPTIONS]

Options:
 --id HOST_COLLECTION_ID                 Host Collection ID
 --name HOST_COLLECTION_NAME             Host Collection Name
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --package-groups PACKAGE-GROUPS         Comma-separated list of package-groups to install
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                              Print help

10.31.11. hammer host-collection remove-host

ホストコレクションからホストを削除します。

Usage:
    hammer host-collection remove-host [OPTIONS]

Options:
 --host-ids HOST_IDS                     Array of host ids
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hosts HOST_NAMES                      Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --id ID                                 Id of the host collection
 --name NAME                             Host collection name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.31.12. hammer host-collection update

ホストコレクションを更新します。

Usage:
    hammer host-collection update [OPTIONS]

Options:
 --description DESCRIPTION
 --host-ids HOST_IDS                     List of host ids to replace the hosts in host collection
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hosts HOST_NAMES                      Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --id ID                                 Id of the host collection
 --max-hosts MAX_HOSTS                   Maximum number of hosts in the host collection
 --name NAME                             Host collection name to search by
 --new-name NEW_NAME                     Host Collection name
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --unlimited-hosts UNLIMITED_HOSTS       Whether or not the host collection may have unlimited hosts
                                         One of true/false, yes/no, 1/0
 -h, --help                              Print help

10.32. hammer hostgroup

ホストグループを操作します。

Usage:
    hammer hostgroup [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 ansible-roles
 create                        Create a host group
 delete                        Delete a host group
 delete-parameter              Delete parameter for a hostgroup
 info                          Show a host group
 list                          List all host groups
 puppet-classes                List all Puppet classes
 sc-params                     List all smart class parameters
 set-parameter                 Create or update parameter for a hostgroup
 smart-variables               List all smart variables
 update                        Update a host group

Options:
 -h, --help                    Print help

10.32.1. hammer hostgroup ansible-roles

Usage:
    hammer hostgroup ansible-roles [OPTIONS]

Options:
 -h, --help                    Print help

Unfortunately the server does not support such operation.

10.32.2. hammer hostgroup create

ホストグループを作成します。

Usage:
    hammer hostgroup create [OPTIONS]

Options:
 --ansible-role-ids ANSIBLE_ROLE_IDS                       IDs of associated ansible roles
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --ansible-roles ANSIBLE_ROLE_NAMES                        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --architecture ARCHITECTURE_NAME                          Architecture name
 --architecture-id ARCHITECTURE_ID
 --ask-root-pass ASK_ROOT_PW                               One of true/false, yes/no, 1/0
 --compute-profile COMPUTE_PROFILE_NAME                    Name to search by
 --compute-profile-id COMPUTE_PROFILE_ID
 --compute-resource COMPUTE_RESOURCE_NAME                  Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID
 --config-group-ids CONFIG_GROUP_IDS                       IDs of associated config groups
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --config-groups CONFIG_GROUP_NAMES                        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --content-source CONTENT_SOURCE_NAME                      Content Source name
 --content-source-id CONTENT_SOURCE_ID                     Content source ID
 --content-view CONTENT_VIEW_NAME                          Name to search by
 --content-view-id CONTENT_VIEW_ID                         Content view numeric identifier
 --description DESCRIPTION                                 Host group description
 --domain DOMAIN_NAME                                      Domain name
 --domain-id DOMAIN_ID                                     Numerical ID or domain name
 --environment ENVIRONMENT_NAME                            Environment name
 --environment-id ENVIRONMENT_ID
 --group-parameters-attributes GROUP_PARAMETERS_ATTRIBUTES Array of parameters
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --kickstart-repository REPOSITORY_NAME                    Kickstart repository name
 --kickstart-repository-id KICKSTART_REPOSITORY_ID         Kickstart repository ID
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME        Name to search by
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID       ID of the environment
 --location LOCATION_NAME                                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS                               REPLACE locations with given ids
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE                           Location title
 --location-titles LOCATION_TITLES                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --medium MEDIUM_NAME                                      Medium name
 --medium-id MEDIUM_ID
 --name NAME                                               Name of the host group
 --openscap-proxy-id OPENSCAP_PROXY_ID                     ID of OpenSCAP Capsule
 --operatingsystem OPERATINGSYSTEM_TITLE                   Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID
 --organization ORGANIZATION_NAME                          Organization name
 --organization-id ORGANIZATION_ID                         Organization ID
 --organization-ids ORGANIZATION_IDS                       REPLACE organizations with given ids.
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE                   Organization title
 --organization-titles ORGANIZATION_TITLES                 Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES                        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --parent PARENT_NAME                                      Name of parent hostgroup
 --parent-id PARENT_ID                                     Parent ID of the host group
 --partition-table PARTITION_TABLE_NAME                    Partition table name
 --partition-table-id PARTITION_TABLE_ID
 --puppet-ca-proxy PUPPET_CA_PROXY_NAME                    Name of puppet CA proxy
 --puppet-ca-proxy-id PUPPET_CA_PROXY_ID                   Puppet CA Capsule ID
 --puppet-class-ids PUPPETCLASS_IDS                        List of puppetclass ids
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --puppet-classes PUPPET_CLASS_NAMES                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --puppet-proxy PUPPET_PROXY_NAME                          Name of puppet proxy
 --puppet-proxy-id PUPPET_PROXY_ID                         Puppet Capsule ID
 --pxe-loader PXE_LOADER                                   DHCP filename option (Grub2/PXELinux by default)
                                                           Possible value(s): 'None', 'PXELinux BIOS', 'PXELinux UEFI', 'Grub UEFI', 'Grub2 UEFI', 'Grub2 UEFI SecureBoot'
 --query-organization ORGANIZATION_NAME                    Organization name to search by
 --query-organization-id ORGANIZATION_ID                   Organization ID to search by
 --query-organization-label ORGANIZATION_LABEL             Organization label to search by
 --realm REALM_NAME                                        Name to search by
 --realm-id REALM_ID                                       Numerical ID or realm name
 --root-pass ROOT_PASSWORD                                 Root password
 --subnet SUBNET_NAME                                      Subnet name
 --subnet-id SUBNET_ID
 -h, --help                                                Print help

10.32.3. hammer hostgroup delete

ホストグループを削除します。

Usage:
    hammer hostgroup delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Hostgroup name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --title TITLE                           Hostgroup title
 -h, --help                              Print help

10.32.4. hammer hostgroup delete-parameter

ホストグループのパラメーターを削除します。

Usage:
    hammer hostgroup delete-parameter [OPTIONS]

Options:
 --hostgroup HOSTGROUP_NAME        Hostgroup name
 --hostgroup-id HOSTGROUP_ID
 --hostgroup-title HOSTGROUP_TITLE Hostgroup title
 --name NAME                       Parameter name
 -h, --help                        Print help

10.32.5. hammer hostgroup info

ホストグループを表示します。

Usage:
    hammer hostgroup info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                        Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE                 Location title
 --name NAME                                     Hostgroup name
 --organization ORGANIZATION_NAME                Organization name
 --organization-id ORGANIZATION_ID               Organization ID
 --organization-title ORGANIZATION_TITLE         Organization title
 --show-hidden-parameters SHOW_HIDDEN_PARAMETERS Display hidden parameter values
                                                 One of true/false, yes/no, 1/0
 --title TITLE                                   Hostgroup title
 -h, --help                                      Print help

10.32.6. hammer hostgroup list

ホストグループの一覧を表示します。

Usage:
    hammer hostgroup list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --puppet-class PUPPET_CLASS_NAME        Puppet class name
 --puppet-class-id PUPPET_CLASS_ID       ID of Puppet class
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.32.7. hammer hostgroup puppet-classes

Puppet クラスの一覧を表示します。

Usage:
    hammer hostgroup puppet-classes [OPTIONS]

Options:
 --hostgroup HOSTGROUP_NAME        Hostgroup name
 --hostgroup-id HOSTGROUP_ID
 --hostgroup-title HOSTGROUP_TITLE Hostgroup title
 --location-id LOCATION_ID         Scope by locations
 --order ORDER                     Sort results
 --organization-id ORGANIZATION_ID Scope by organizations
 --page PAGE                       Paginate results
 --per-page PER_PAGE               Number of entries per request
 --search SEARCH                   Filter results
 -h, --help                        Print help

10.32.8. hammer hostgroup sc-params

スマートクラスパラメーターの一覧を表示します。

Usage:
    hammer hostgroup sc-params [OPTIONS]

Options:
 --hostgroup HOSTGROUP_NAME              Hostgroup name
 --hostgroup-id HOSTGROUP_ID
 --hostgroup-title HOSTGROUP_TITLE       Hostgroup title
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 --show-hidden SHOW_HIDDEN               Display hidden values
                                         One of true/false, yes/no, 1/0
 -h, --help                              Print help

10.32.9. hammer hostgroup set-parameter

ホストグループのパラメーターを作成または更新します。

Usage:
    hammer hostgroup set-parameter [OPTIONS]

Options:
 --hidden-value HIDDEN_VALUE       Should the value be hidden
                                   One of true/false, yes/no, 1/0
 --hostgroup HOSTGROUP_NAME        Hostgroup name
 --hostgroup-id HOSTGROUP_ID
 --hostgroup-title HOSTGROUP_TITLE Hostgroup title
 --name NAME                       Parameter name
 --value VALUE                     Parameter value
 -h, --help                        Print help

10.32.10. hammer hostgroup smart-variables

スマート変数の一覧を表示します。

Usage:
    hammer hostgroup smart-variables [OPTIONS]

Options:
 --hostgroup HOSTGROUP_NAME              Hostgroup name
 --hostgroup-id HOSTGROUP_ID
 --hostgroup-title HOSTGROUP_TITLE       Hostgroup title
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 --show-hidden SHOW_HIDDEN               Display hidden values
                                         One of true/false, yes/no, 1/0
 -h, --help                              Print help

10.32.11. hammer hostgroup update

ホストグループを更新します。

Usage:
    hammer hostgroup update [OPTIONS]

Options:
 --ansible-role-ids ANSIBLE_ROLE_IDS                       IDs of associated ansible roles
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --ansible-roles ANSIBLE_ROLE_NAMES                        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --architecture ARCHITECTURE_NAME                          Architecture name
 --architecture-id ARCHITECTURE_ID
 --ask-root-pass ASK_ROOT_PW                               One of true/false, yes/no, 1/0
 --compute-profile COMPUTE_PROFILE_NAME                    Name to search by
 --compute-profile-id COMPUTE_PROFILE_ID
 --compute-resource COMPUTE_RESOURCE_NAME                  Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID
 --config-group-ids CONFIG_GROUP_IDS                       IDs of associated config groups
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --config-groups CONFIG_GROUP_NAMES                        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --content-source CONTENT_SOURCE_NAME                      Content Source name
 --content-source-id CONTENT_SOURCE_ID                     Content source ID
 --content-view CONTENT_VIEW_NAME                          Name to search by
 --content-view-id CONTENT_VIEW_ID                         Content view numeric identifier
 --description DESCRIPTION                                 Host group description
 --domain DOMAIN_NAME                                      Domain name
 --domain-id DOMAIN_ID                                     Numerical ID or domain name
 --environment ENVIRONMENT_NAME                            Environment name
 --environment-id ENVIRONMENT_ID
 --group-parameters-attributes GROUP_PARAMETERS_ATTRIBUTES Array of parameters
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --id ID
 --kickstart-repository REPOSITORY_NAME                    Kickstart repository name
 --kickstart-repository-id KICKSTART_REPOSITORY_ID         Kickstart repository ID
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME        Name to search by
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID       ID of the environment
 --location LOCATION_NAME                                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS                               REPLACE locations with given ids
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE                           Location title
 --location-titles LOCATION_TITLES                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --medium MEDIUM_NAME                                      Medium name
 --medium-id MEDIUM_ID
 --name NAME                                               Hostgroup name
 --new-name NEW_NAME                                       Name of the host group
 --openscap-proxy-id OPENSCAP_PROXY_ID                     ID of OpenSCAP Capsule
 --operatingsystem OPERATINGSYSTEM_TITLE                   Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID
 --organization ORGANIZATION_NAME                          Organization name
 --organization-id ORGANIZATION_ID                         Organization ID
 --organization-ids ORGANIZATION_IDS                       REPLACE organizations with given ids.
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE                   Organization title
 --organization-titles ORGANIZATION_TITLES                 Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES                        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --parent PARENT_NAME                                      Name of parent hostgroup
 --parent-id PARENT_ID                                     Parent ID of the host group
 --partition-table PARTITION_TABLE_NAME                    Partition table name
 --partition-table-id PARTITION_TABLE_ID
 --puppet-ca-proxy PUPPET_CA_PROXY_NAME                    Name of puppet CA proxy
 --puppet-ca-proxy-id PUPPET_CA_PROXY_ID                   Puppet CA Capsule ID
 --puppet-class-ids PUPPETCLASS_IDS                        List of puppetclass ids
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --puppet-classes PUPPET_CLASS_NAMES                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --puppet-proxy PUPPET_PROXY_NAME                          Name of puppet proxy
 --puppet-proxy-id PUPPET_PROXY_ID                         Puppet Capsule ID
 --pxe-loader PXE_LOADER                                   DHCP filename option (Grub2/PXELinux by default)
                                                           Possible value(s): 'None', 'PXELinux BIOS', 'PXELinux UEFI', 'Grub UEFI', 'Grub2 UEFI', 'Grub2 UEFI SecureBoot'
 --query-organization ORGANIZATION_NAME                    Organization name to search by
 --query-organization-id ORGANIZATION_ID                   Organization ID to search by
 --query-organization-label ORGANIZATION_LABEL             Organization label to search by
 --realm REALM_NAME                                        Name to search by
 --realm-id REALM_ID                                       Numerical ID or realm name
 --root-pass ROOT_PASSWORD                                 Root password
 --subnet SUBNET_NAME                                      Subnet name
 --subnet-id SUBNET_ID
 --title TITLE                                             Hostgroup title
 -h, --help                                                Print help

10.33. hammer import-templates

テンプレートを git repo またはサーバー上のディレクトリーからインポートします。

Usage:
    hammer import-templates [OPTIONS]

Options:
 --associate ASSOCIATE                     Associate to OS's, Locations & Organizations. Options are: always,
                                           New or never.
                                           Possible value(s): 'always', 'new', 'never'
 --branch BRANCH                           Branch in Git repo.
 --dirname DIRNAME                         The directory within Git repo containing the templates
 --filter FILTER                           Export templates with names matching this regex (case-insensitive; snippets
                                           Are not filtered).
 --force FORCE                             Update templates that are locked
                                           One of true/false, yes/no, 1/0
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               REPLACE locations with given ids
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --lock LOCK                               Lock imported templates
                                           One of true/false, yes/no, 1/0
 --negate NEGATE                           Negate the prefix (for purging).
                                           One of true/false, yes/no, 1/0
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       REPLACE organizations with given ids.
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --prefix PREFIX                           The string all imported templates should begin with.
 --repo REPO                               Override the default repo from settings.
 --verbose VERBOSE                         Show template diff in response
                                           One of true/false, yes/no, 1/0
 -h, --help                                Print help

10.34. hammer job-invocation

ジョブ呼び出しを管理します。

Usage:
    hammer job-invocation [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 cancel                        Cancel the job
 create                        Create a job invocation
 info                          Show job invocation
 list                          List job invocations
 output                        View the output for a host
 rerun                         Rerun the job

Options:
 -h, --help                    Print help

10.34.1. hammer job-invocation cancel

ジョブをキャンセルします。

Usage:
    hammer job-invocation cancel [OPTIONS]

Options:
 --force FORCE                     One of true/false, yes/no, 1/0
 --id ID
 --location-id LOCATION_ID         Scope by locations
 --organization-id ORGANIZATION_ID Scope by organizations
 -h, --help                        Print help

10.34.2. hammer job-invocation create

ジョブ呼び出しを作成します。

Usage:
    hammer job-invocation create [OPTIONS]

Options:
 --async                                                 Do not wait for the task
 --bookmark BOOKMARK_NAME                                Name to search by
 --bookmark-id BOOKMARK_ID
 --concurrency-level CONCURRENCY_LEVEL                   Run at most N tasks at a time
 --cron-line CRONLINE                                    Create a recurring execution
                                                         Cron line format 'a b c d e', where:
                                                           a. is minute (range: 0-59)
                                                           b. is hour (range: 0-23)
                                                           c. is day of month (range: 1-31)
                                                           d. is month (range: 1-12)
                                                           e. is day of week (range: 0-6)
 --description-format DESCRIPTION_FORMAT                 Override the description format from the template for this invocation only
 --dynamic                                               Dynamic search queries are evaluated at run time
 --effective-user EFFECTIVE_USER                         What user should be used to run the script (using sudo-like mechanisms).
                                                         Defaults to a template parameter or global setting.
 --end-time DATETIME                                     Perform no more executions after this time, used with --cron-line
                                                         Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
 --execution-timeout-interval EXECUTION_TIMEOUT_INTERVAL Override the timeout interval from the template for this invocation only
 --feature FEATURE                                       Remote execution feature label that should be triggered, job template
                                                         Assigned to this feature will be used
 --input-files INPUT FILES                               Read input values from files
                                                         Comma-separated list of key=file, where file is a path to a text file to be read
 --inputs INPUTS                                         Specify inputs from command line
                                                         Comma-separated list of key=value
 --job-template JOB_TEMPLATE_NAME                        Name to search by
 --job-template-id JOB_TEMPLATE_ID
 --location LOCATION_NAME                                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE                         Location title
 --max-iteration MAX_ITERATION                           Repeat a maximum of N times
 --organization ORGANIZATION_NAME                        Organization name
 --organization-id ORGANIZATION_ID                       Organization ID
 --organization-title ORGANIZATION_TITLE                 Organization title
 --search-query SEARCH_QUERY
 --start-at DATETIME                                     Schedule the execution for a later time
                                                         Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
 --start-before DATETIME                                 Execution should be cancelled if it cannot be started before --start-at
                                                         Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
 --time-span TIME_SPAN                                   Distribute tasks over N seconds
 -h, --help                                              Print help

10.34.3. hammer job-invocation info

ジョブ呼び出しを表示します。

Usage:
    hammer job-invocation info [OPTIONS]

Options:
 --id ID
 --location-id LOCATION_ID         Scope by locations
 --organization-id ORGANIZATION_ID Scope by organizations
 -h, --help                        Print help

10.34.4. hammer job-invocation list

ジョブ呼び出しの一覧を表示します。

Usage:
    hammer job-invocation list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.34.5. hammer job-invocation output

ホストの出力を表示します。

Usage:
    hammer job-invocation output [OPTIONS]

Options:
 --async                                 Do not wait for job to complete, shows current output only
 --host HOST_NAME                        Host name
 --host-id HOST_ID
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.34.6. hammer job-invocation output

ジョブを再実行します。

Usage:
    hammer job-invocation rerun [OPTIONS]

Options:
 --failed-only FAILED_ONLY         One of true/false, yes/no, 1/0
 --id ID
 --location-id LOCATION_ID         Scope by locations
 --organization-id ORGANIZATION_ID Scope by organizations
 -h, --help                        Print help

10.35. hammer job-template

ジョブテンプレートを管理します。

Usage:
    hammer job-template [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 create                        Create a job template
 delete                        Delete a job template
 dump                          View job template content
 export                        Export a template including all metadata
 import                        Import a job template from ERB
 info                          Show job template details
 list                          List job templates
 update                        Update a job template

Options:
 -h, --help                    Print help

10.35.1. hammer job-template create

ジョブテンプレートを作成します。

Usage:
    hammer job-template create [OPTIONS]

Options:
 --audit-comment AUDIT_COMMENT
 --current-user CURRENT_USER               Whether the current user login should be used as the effective user
                                           One of true/false, yes/no, 1/0
 --description-format DESCRIPTION_FORMAT   This template is used to generate the description. Input values can be used
                                           Using the syntax %{package}. You may also include the job category and
                                           Template name using %{job_category} and %{template_name}.
 --file TEMPLATE                           Path to a file that contains the template
 --job-category JOB_CATEGORY               Job category
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               REPLACE locations with given ids
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locked LOCKED                           Whether or not the template is locked for editing
                                           One of true/false, yes/no, 1/0
 --name NAME                               Template name
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       REPLACE organizations with given ids.
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --overridable OVERRIDABLE                 Whether it should be allowed to override the effective user from the
                                           Invocation form.
                                           One of true/false, yes/no, 1/0
 --provider-type PROVIDER_TYPE             Provider type
                                           Possible value(s): 'SSH', 'Ansible'
 --snippet SNIPPET                         One of true/false, yes/no, 1/0
 --value VALUE                             What user should be used to run the script (using sudo-like mechanisms)
 -h, --help                                Print help

10.35.2. hammer job-template delete

ジョブテンプレートを削除します。

Usage:
    hammer job-template delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.35.3. hammer job-template dump

ジョブテンプレートコンテンツを表示します。

Usage:
    hammer job-template dump [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.35.4. hammer job-template export

すべてのメターデータを含むテンプレートをエクスポートします。

Usage:
    hammer job-template export [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.35.5. hammer job-template import

ERB からジョブテンプレートをインポートします。

Usage:
    hammer job-template import [OPTIONS]

Options:
 --file TEMPLATE                         Path to a file that contains the template - must include ERB metadata
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --overwrite OVERWRITE                   Overwrite template if it already exists
                                         One of true/false, yes/no, 1/0
 -h, --help                              Print help

10.35.6. hammer job-template info

ジョブテンプレートの詳細を表示します。

Usage:
    hammer job-template info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.35.7. hammer job-template list

ジョブテンプレートの一覧を表示します。

Usage:
    hammer job-template list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.35.8. hammer job-template update

ジョブテンプレートを更新します。

Usage:
    hammer job-template update [OPTIONS]

Options:
 --audit-comment AUDIT_COMMENT
 --current-user CURRENT_USER               Whether the current user login should be used as the effective user
                                           One of true/false, yes/no, 1/0
 --description-format DESCRIPTION_FORMAT   This template is used to generate the description. Input values can be used
                                           Using the syntax %{package}. You may also include the job category and
                                           Template name using %{job_category} and %{template_name}.
 --file TEMPLATE                           Path to a file that contains the template
 --id ID
 --job-category JOB_CATEGORY               Job category
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               REPLACE locations with given ids
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locked LOCKED                           Whether or not the template is locked for editing
                                           One of true/false, yes/no, 1/0
 --name NAME                               Name to search by
 --new-name NEW_NAME                       Template name
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       REPLACE organizations with given ids.
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --overridable OVERRIDABLE                 Whether it should be allowed to override the effective user from the
                                           Invocation form.
                                           One of true/false, yes/no, 1/0
 --provider-type PROVIDER_TYPE             Provider type
                                           Possible value(s): 'SSH', 'Ansible'
 --snippet SNIPPET                         One of true/false, yes/no, 1/0
 --value VALUE                             What user should be used to run the script (using sudo-like mechanisms)
 -h, --help                                Print help

10.36. hammer lifecycle-environment

サーバーで lifecycle_environments を操作します。

Usage:
    hammer lifecycle-environment [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 create                        Create an environment
 delete                        Destroy an environment
 info                          Show an environment
 list                          List environments in an organization
 paths                         List environment paths
 update                        Update an environment

Options:
 -h, --help                    Print help

10.36.1. hammer lifecycle-environment create

環境を作成します。

Usage:
    hammer lifecycle-environment create [OPTIONS]

Options:
 --description DESCRIPTION                     Description of the environment
 --label LABEL                                 Label of the environment
 --name NAME                                   Name of the environment
 --organization ORGANIZATION_NAME              Organization name to search by
 --organization-id ORGANIZATION_ID             Organization ID
 --organization-label ORGANIZATION_LABEL       Organization label to search by
 --prior PRIOR                                 Name of the prior environment
 --prior-id PRIOR_ID                           ID of an environment that is prior to the new environment in the chain. It
                                               Has to be either the ID of Library or the ID of an environment at the end
                                               Of a chain.
 --registry-name-pattern REGISTRY_NAME_PATTERN Pattern for container image names
 -h, --help                                    Print help

10.36.2. hammer lifecycle-environment delete

環境を破棄します。

Usage:
    hammer lifecycle-environment delete [OPTIONS]

Options:
 --id ID                                 ID of the environment
 --name NAME                             Lifecycle environment name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.36.3. hammer lifecycle-environment info

環境を表示します。

Usage:
    hammer lifecycle-environment info [OPTIONS]

Options:
 --id ID                                 ID of the environment
 --name NAME                             Lifecycle environment name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 -h, --help                              Print help

10.36.4. hammer lifecycle-environment list

組織の環境の一覧を表示します。

Usage:
    hammer lifecycle-environment list [OPTIONS]

Options:
 --by BY                                 Field to sort the results on
 --full-result FULL_RESULT               Whether or not to show all results
                                         One of true/false, yes/no, 1/0
 --library LIBRARY                       Set true if you want to see only library environments
                                         Possible value(s): 'true', 'false'
 --name NAME                             Filter only environments containing this name
 --order ORDER                           Sort field and order, eg. 'name DESC'
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --page PAGE                             Page number, starting at 1
 --per-page PER_PAGE                     Number of results per page to return
 --search SEARCH                         Search string
 -h, --help                              Print help

10.36.5. hammer lifecycle-environment paths

環境パスの一覧を表示します。

Usage:
    hammer lifecycle-environment paths [OPTIONS]

Options:
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --permission-type PERMISSION_TYPE       The associated permission type. One of (readable | promotable) Default:
                                         Readable
 -h, --help                              Print help

10.36.6. hammer lifecycle-environment update

環境を更新します。

Usage:
    hammer lifecycle-environment update [OPTIONS]

Options:
 --async ASYNC                                 Do not wait for the update action to finish. Default: true
                                               One of true/false, yes/no, 1/0
 --description DESCRIPTION                     Description of the environment
 --id ID                                       ID of the environment
 --name NAME                                   Lifecycle environment name to search by
 --new-name NEW_NAME                           New name to be given to the environment
 --organization ORGANIZATION_NAME              Organization name to search by
 --organization-id ORGANIZATION_ID             Organization ID
 --organization-label ORGANIZATION_LABEL       Organization label to search by
 --registry-name-pattern REGISTRY_NAME_PATTERN Pattern for container image names
 -h, --help                                    Print help

10.37. hammer location

ロケーションを操作します。

Usage:
    hammer location [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 add-compute-resource          Associate a compute resource
 add-config-template           Associate a configuration template
 add-domain                    Associate a domain
 add-environment               Associate an environment
 add-hostgroup                 Associate a hostgroup
 add-medium                    Associate a medium
 add-organization              Associate an organization
 add-smart-proxy               Associate a smart proxy
 add-subnet                    Associate a subnet
 add-user                      Associate an user
 create                        Create a location
 delete                        Delete a location
 delete-parameter              Delete parameter for a location
 info                          Show a location
 list                          List all locations
 remove-compute-resource       Disassociate a compute resource
 remove-config-template        Disassociate a configuration template
 remove-domain                 Disassociate a domain
 remove-environment            Disassociate an environment
 remove-hostgroup              Disassociate a hostgroup
 remove-medium                 Disassociate a medium
 remove-organization           Disassociate an organization
 remove-smart-proxy            Disassociate a smart proxy
 remove-subnet                 Disassociate a subnet
 remove-user                   Disassociate an user
 set-parameter                 Create or update parameter for a location
 update                        Update a location

Options:
 -h, --help                    Print help

10.37.1. hammer location add-compute-resource

コンピュートリソースを関連付けます。

Usage:
    hammer location add-compute-resource [OPTIONS]

Options:
 --compute-resource COMPUTE_RESOURCE_NAME  Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID
 --id ID
 --name NAME                               Location name
 --title TITLE                             Location title
 -h, --help                                Print help

10.37.2. hammer location add-config-template

設定テンプレートを関連付けます。

Usage:
    hammer location add-config-template [OPTIONS]

Options:
 --config-template CONFIG_TEMPLATE_NAME  Name to search by
 --config-template-id CONFIG_TEMPLATE_ID
 --id ID
 --name NAME                             Location name
 --title TITLE                           Location title
 -h, --help                              Print help

10.37.3. hammer location add-domain

ドメインを関連付けます。

Usage:
    hammer location add-domain [OPTIONS]

Options:
 --domain DOMAIN_NAME          Domain name
 --domain-id DOMAIN_ID         Numerical ID or domain name
 --id ID
 --name NAME                   Location name
 --title TITLE                 Location title
 -h, --help                    Print help

10.37.4. hammer location add-environment

環境を関連付けます。

Usage:
    hammer location add-environment [OPTIONS]

Options:
 --environment ENVIRONMENT_NAME  Environment name
 --environment-id ENVIRONMENT_ID
 --id ID
 --name NAME                     Location name
 --title TITLE                   Location title
 -h, --help                      Print help

10.37.5. hammer location add-hostgroup

ホストグループを関連付けます。

Usage:
    hammer location add-hostgroup [OPTIONS]

Options:
 --hostgroup HOSTGROUP_NAME        Hostgroup name
 --hostgroup-id HOSTGROUP_ID
 --hostgroup-title HOSTGROUP_TITLE Hostgroup title
 --id ID
 --name NAME                       Location name
 --title TITLE                     Location title
 -h, --help                        Print help

10.37.6. hammer location add-medium

メディアを関連付けます。

Usage:
    hammer location add-medium [OPTIONS]

Options:
 --id ID
 --medium MEDIUM_NAME          Medium name
 --medium-id MEDIUM_ID
 --name NAME                   Location name
 --title TITLE                 Location title
 -h, --help                    Print help

10.37.7. hammer location add-organization

組織を関連付けます。

Usage:
    hammer location add-organization [OPTIONS]

Options:
 --id ID
 --name NAME                             Location name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --title TITLE                           Location title
 -h, --help                              Print help

10.37.8. hammer location add-smart-proxy

スマートプロキシーを関連付けます。

Usage:
    hammer location add-smart-proxy [OPTIONS]

Options:
 --id ID
 --name NAME                     Location name
 --smart-proxy SMART_PROXY_NAME  Name to search by
 --smart-proxy-id SMART_PROXY_ID
 --title TITLE                   Location title
 -h, --help                      Print help

10.37.9. hammer location add-subnet

サブネットを関連付けます。

Usage:
    hammer location add-subnet [OPTIONS]

Options:
 --id ID
 --name NAME                   Location name
 --subnet SUBNET_NAME          Subnet name
 --subnet-id SUBNET_ID
 --title TITLE                 Location title
 -h, --help                    Print help

10.37.10. hammer location add-user

ユーザーを関連付けます。

Usage:
    hammer location add-user [OPTIONS]

Options:
 --id ID
 --name NAME                   Location name
 --title TITLE                 Location title
 --user USER_LOGIN             User's login to search by
 --user-id USER_ID
 -h, --help                    Print help

10.37.11. hammer location create

ロケーションを作成します。

Usage:
    hammer location create [OPTIONS]

Options:
 --compute-resource-ids COMPUTE_RESOURCE_IDS           Compute resource IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --compute-resources COMPUTE_RESOURCE_NAMES            Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --config-template-ids CONFIG_TEMPLATE_IDS             Provisioning template IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --config-templates CONFIG_TEMPLATE_NAMES              Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --description DESCRIPTION
 --domain-ids DOMAIN_IDS                               Domain IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --domains DOMAIN_NAMES                                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --environment-ids ENVIRONMENT_IDS                     Environment IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --environments ENVIRONMENT_NAMES                      Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hostgroup-ids HOSTGROUP_IDS                         Host group IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hostgroup-titles HOSTGROUP_TITLES                   Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hostgroups HOSTGROUP_NAMES                          Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --ignore-types IGNORE_TYPES                           List of resources types that will be automatically associated
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location LOCATION_NAME                              Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE                       Location title
 --media MEDIUM_NAMES                                  Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --medium-ids MEDIUM_IDS                               Medium IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --name NAME
 --organization ORGANIZATION_NAME                      Organization name
 --organization-id ORGANIZATION_ID                     Organization ID
 --organization-title ORGANIZATION_TITLE               Organization title
 --parent-id PARENT_ID                                 Parent ID
 --partition-table-ids PARTITION_TABLE_IDS             Partition template IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --partition-tables PARTITION_TABLE_NAMES              Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --provisioning-template-ids PROVISIONING_TEMPLATE_IDS Provisioning template IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --provisioning-templates PROVISIONING_TEMPLATE_NAMES  Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --realm-ids REALM_IDS                                 Realm IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --realms REALM_NAMES                                  Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --smart-proxies SMART_PROXY_NAMES                     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --smart-proxy-ids SMART_PROXY_IDS                     Capsule IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --subnet-ids SUBNET_IDS                               Subnet IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --subnets SUBNET_NAMES                                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --user-ids USER_IDS                                   User IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --users USER_LOGINS                                   Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                                            Print help

10.37.12. hammer location delete

ロケーションを削除します。

Usage:
    hammer location delete [OPTIONS]

Options:
 --id ID                                 Location numeric id to search by
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Organization name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --title TITLE                           Organization title
 -h, --help                              Print help

10.37.13. hammer location delete-parameter

ロケーションのパラメーターを削除します。

Usage:
    hammer location delete-parameter [OPTIONS]

Options:
 --location LOCATION_NAME        Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE Location title
 --name NAME                     Parameter name
 -h, --help                      Print help

10.37.14. hammer location info

ロケーションを表示します。

Usage:
    hammer location info [OPTIONS]

Options:
 --id ID                                         Location numeric id to search by
 --location LOCATION_NAME                        Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE                 Location title
 --name NAME                                     Organization name
 --organization ORGANIZATION_NAME                Organization name
 --organization-id ORGANIZATION_ID               Organization ID
 --organization-title ORGANIZATION_TITLE         Organization title
 --show-hidden-parameters SHOW_HIDDEN_PARAMETERS Display hidden parameter values
                                                 One of true/false, yes/no, 1/0
 --title TITLE                                   Organization title
 -h, --help                                      Print help

10.37.15. hammer location list

ロケーションの一覧を表示します。

Usage:
    hammer location list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.37.16. hammer location remove-compute-resource

コンピュートリソースの関連付けを解除します。

Usage:
    hammer location remove-compute-resource [OPTIONS]

Options:
 --compute-resource COMPUTE_RESOURCE_NAME  Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID
 --id ID
 --name NAME                               Location name
 --title TITLE                             Location title
 -h, --help                                Print help

10.37.17. hammer location remove-config-template

設定テンプレートの関連付けを解除します。

Usage:
    hammer location remove-config-template [OPTIONS]

Options:
 --config-template CONFIG_TEMPLATE_NAME  Name to search by
 --config-template-id CONFIG_TEMPLATE_ID
 --id ID
 --name NAME                             Location name
 --title TITLE                           Location title
 -h, --help                              Print help

10.37.18. hammer location remove-domain

ドメインの関連付けを解除します。

Usage:
    hammer location remove-domain [OPTIONS]

Options:
 --domain DOMAIN_NAME          Domain name
 --domain-id DOMAIN_ID         Numerical ID or domain name
 --id ID
 --name NAME                   Location name
 --title TITLE                 Location title
 -h, --help                    Print help

10.37.19. hammer location remove-environment

環境の関連付けを解除します。

Usage:
    hammer location remove-environment [OPTIONS]

Options:
 --environment ENVIRONMENT_NAME  Environment name
 --environment-id ENVIRONMENT_ID
 --id ID
 --name NAME                     Location name
 --title TITLE                   Location title
 -h, --help                      Print help

10.37.20. hammer location remove-hostgroup

ホストグループの関連付けを解除します。

Usage:
    hammer location remove-hostgroup [OPTIONS]

Options:
 --hostgroup HOSTGROUP_NAME        Hostgroup name
 --hostgroup-id HOSTGROUP_ID
 --hostgroup-title HOSTGROUP_TITLE Hostgroup title
 --id ID
 --name NAME                       Location name
 --title TITLE                     Location title
 -h, --help                        Print help

10.37.21. hammer location remove-medium

メディアの関連付けを解除します。

Usage:
    hammer location remove-medium [OPTIONS]

Options:
 --id ID
 --medium MEDIUM_NAME          Medium name
 --medium-id MEDIUM_ID
 --name NAME                   Location name
 --title TITLE                 Location title
 -h, --help                    Print help

10.37.22. hammer location remove-organization

組織の関連付けを解除します。

Usage:
    hammer location remove-organization [OPTIONS]

Options:
 --id ID
 --name NAME                             Location name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --title TITLE                           Location title
 -h, --help                              Print help

10.37.23. hammer location remove-smart-proxy

スマートプロキシーの関連付けを解除します。

Usage:
    hammer location remove-smart-proxy [OPTIONS]

Options:
 --id ID
 --name NAME                     Location name
 --smart-proxy SMART_PROXY_NAME  Name to search by
 --smart-proxy-id SMART_PROXY_ID
 --title TITLE                   Location title
 -h, --help                      Print help

10.37.24. hammer location remove-subnet

サブネットの関連付けを解除します。

Usage:
    hammer location remove-subnet [OPTIONS]

Options:
 --id ID
 --name NAME                   Location name
 --subnet SUBNET_NAME          Subnet name
 --subnet-id SUBNET_ID
 --title TITLE                 Location title
 -h, --help                    Print help

10.37.25. hammer location remove-user

ユーザーの関連付けを解除します。

Usage:
    hammer location remove-user [OPTIONS]

Options:
 --id ID
 --name NAME                   Location name
 --title TITLE                 Location title
 --user USER_LOGIN             User's login to search by
 --user-id USER_ID
 -h, --help                    Print help

10.37.26. hammer location set-parameter

ロケーションのパラメーターを作成または更新します。

Usage:
    hammer location set-parameter [OPTIONS]

Options:
 --hidden-value HIDDEN_VALUE     Should the value be hidden
                                 One of true/false, yes/no, 1/0
 --location LOCATION_NAME        Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE Location title
 --name NAME                     Parameter name
 --value VALUE                   Parameter value
 -h, --help                      Print help

10.37.27. hammer location update

ロケーションを更新します。

Usage:
    hammer location update [OPTIONS]

Options:
 --compute-resource-ids COMPUTE_RESOURCE_IDS           Compute resource IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --compute-resources COMPUTE_RESOURCE_NAMES            Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --config-template-ids CONFIG_TEMPLATE_IDS             Provisioning template IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --config-templates CONFIG_TEMPLATE_NAMES              Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --description DESCRIPTION
 --domain-ids DOMAIN_IDS                               Domain IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --domains DOMAIN_NAMES                                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --environment-ids ENVIRONMENT_IDS                     Environment IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --environments ENVIRONMENT_NAMES                      Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hostgroup-ids HOSTGROUP_IDS                         Host group IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hostgroup-titles HOSTGROUP_TITLES                   Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hostgroups HOSTGROUP_NAMES                          Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --id ID                                               Location numeric id to search by
 --ignore-types IGNORE_TYPES                           List of resources types that will be automatically associated
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location LOCATION_NAME                              Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE                       Location title
 --media MEDIUM_NAMES                                  Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --medium-ids MEDIUM_IDS                               Medium IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --name NAME                                           Location name
 --new-name NEW_NAME
 --organization ORGANIZATION_NAME                      Organization name
 --organization-id ORGANIZATION_ID                     Organization ID
 --organization-title ORGANIZATION_TITLE               Organization title
 --parent-id PARENT_ID                                 Parent ID
 --partition-table-ids PARTITION_TABLE_IDS             Partition template IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --partition-tables PARTITION_TABLE_NAMES              Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --provisioning-template-ids PROVISIONING_TEMPLATE_IDS Provisioning template IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --provisioning-templates PROVISIONING_TEMPLATE_NAMES  Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --realm-ids REALM_IDS                                 Realm IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --realms REALM_NAMES                                  Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --smart-proxies SMART_PROXY_NAMES                     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --smart-proxy-ids SMART_PROXY_IDS                     Capsule IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --subnet-ids SUBNET_IDS                               Subnet IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --subnets SUBNET_NAMES                                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --title TITLE                                         Location title
 --user-ids USER_IDS                                   User IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --users USER_LOGINS                                   Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                                            Print help

10.38. hammer medium

インストールメディアを操作します。

Usage:
    hammer medium [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 add-operatingsystem           Associate an operating system
 create                        Create a medium
 delete                        Delete a medium
 info                          Show a medium
 list                          List all installation media
 remove-operatingsystem        Disassociate an operating system
 update                        Update a medium

Options:
 -h, --help                    Print help

10.38.1. hammer medium add-operatingsystem

オペレーティングシステムを関連付けます。

Usage:
    hammer medium add-operatingsystem [OPTIONS]

Options:
 --id ID
 --name NAME                             Medium name
 --operatingsystem OPERATINGSYSTEM_TITLE Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID
 -h, --help                              Print help

10.38.2. hammer medium create

メディアを作成します。

Usage:
    hammer medium create [OPTIONS]

Options:
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               REPLACE locations with given ids
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --name NAME                               Name of media
 --operatingsystem-ids OPERATINGSYSTEM_IDS Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --operatingsystems OPERATINGSYSTEM_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       REPLACE organizations with given ids.
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --os-family OS_FAMILY                     Operating system family, available values: AIX, Altlinux, Archlinux,
                                           Coreos, Debian, Freebsd, Gentoo, Junos, NXOS, Rancheros, Redhat, Solaris,
                                           Suse, Windows, Xenserver
 --path PATH                               The path to the medium, can be a URL or a valid NFS server (exclusive of
                                           The architecture).

                                           For example mirror.centos.org/centos/$version/os/$arch
                                           Where $arch will be substituted for the host's actual OS architecture
                                           And $version, $major and $minor will be substituted for the version of the
                                           Operating system.

                                           Solaris and Debian media may also use $release.
 -h, --help                                Print help

10.38.3. hammer medium delete

メディアを削除します。

Usage:
    hammer medium delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Medium name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.38.4. hammer medium info

メディアを表示します。

Usage:
    hammer medium info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Medium name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.38.5. hammer medium list

インストールメディアの一覧を表示します。

Usage:
    hammer medium list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --operatingsystem OPERATINGSYSTEM_TITLE Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.38.6. hammer medium remove-operatingsystem

オペレーティングシステムの関連付けを解除します。

Usage:
    hammer medium remove-operatingsystem [OPTIONS]

Options:
 --id ID
 --name NAME                             Medium name
 --operatingsystem OPERATINGSYSTEM_TITLE Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID
 -h, --help                              Print help

10.38.7. hammer medium update

メディアを更新します。

Usage:
    hammer medium update [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               REPLACE locations with given ids
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --name NAME                               Medium name
 --new-name NEW_NAME                       Name of media
 --operatingsystem-ids OPERATINGSYSTEM_IDS Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --operatingsystems OPERATINGSYSTEM_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       REPLACE organizations with given ids.
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --os-family OS_FAMILY                     Operating system family, available values: AIX, Altlinux, Archlinux,
                                           Coreos, Debian, Freebsd, Gentoo, Junos, NXOS, Rancheros, Redhat, Solaris,
                                           Suse, Windows, Xenserver
 --path PATH                               The path to the medium, can be a URL or a valid NFS server (exclusive of
                                           The architecture).

                                           For example mirror.centos.org/centos/$version/os/$arch
                                           Where $arch will be substituted for the host's actual OS architecture
                                           And $version, $major and $minor will be substituted for the version of the
                                           Operating system.

                                           Solaris and Debian media may also use $release.
 -h, --help                                Print help

10.39. hammer model

ハードウェアモデルを操作します。

Usage:
    hammer model [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 create                        Create a hardware model
 delete                        Delete a hardware model
 info                          Show a hardware model
 list                          List all hardware models
 update                        Update a hardware model

Options:
 -h, --help                    Print help

10.39.1. hammer model create

ハードウェアモデルを作成します。

Usage:
    hammer model create [OPTIONS]

Options:
 --hardware-model HARDWARE_MODEL
 --info INFO
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --vendor-class VENDOR_CLASS
 -h, --help                              Print help

10.39.2. hammer model delete

ハードウェアモデルを削除します。

Usage:
    hammer model delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Model name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.39.3. hammer model info

ハードウェアモデルを表示します。

Usage:
    hammer model info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Model name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.39.4. hammer model list

ハードウェアモデルの一覧を表示します。

Usage:
    hammer model list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.39.5. hammer model update

ハードウェアモデルを更新します。

Usage:
    hammer model update [OPTIONS]

Options:
 --hardware-model HARDWARE_MODEL
 --id ID
 --info INFO
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Model name
 --new-name NEW_NAME
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --vendor-class VENDOR_CLASS
 -h, --help                              Print help

10.40. hammer organization

組織を操作します。

Usage:
    hammer organization [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 add-compute-resource          Associate a compute resource
 add-config-template           Associate a configuration template
 add-domain                    Associate a domain
 add-environment               Associate an environment
 add-hostgroup                 Associate a hostgroup
 add-location                  Associate a location
 add-medium                    Associate a medium
 add-smart-proxy               Associate a smart proxy
 add-subnet                    Associate a subnet
 add-user                      Associate an user
 create                        Create organization
 delete                        Delete an organization
 delete-parameter              Delete parameter for an organization
 info                          Show organization
 list                          List all organizations
 remove-compute-resource       Disassociate a compute resource
 remove-config-template        Disassociate a configuration template
 remove-domain                 Disassociate a domain
 remove-environment            Disassociate an environment
 remove-hostgroup              Disassociate a hostgroup
 remove-location               Disassociate a location
 remove-medium                 Disassociate a medium
 remove-smart-proxy            Disassociate a smart proxy
 remove-subnet                 Disassociate a subnet
 remove-user                   Disassociate an user
 set-parameter                 Create or update parameter for an organization
 update                        Update organization

Options:
 -h, --help                    Print help

10.40.1. hammer organization add-compute-resource

コンピュートリソースを関連付けます。

Usage:
    hammer organization add-compute-resource [OPTIONS]

Options:
 --compute-resource COMPUTE_RESOURCE_NAME  Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID
 --id ID                                   Organization ID
 --name NAME                               Organization name
 --title TITLE                             Organization title
 -h, --help                                Print help

10.40.2. hammer organization add-config-template

設定テンプレートを関連付けます。

Usage:
    hammer organization add-config-template [OPTIONS]

Options:
 --config-template CONFIG_TEMPLATE_NAME  Name to search by
 --config-template-id CONFIG_TEMPLATE_ID
 --id ID                                 Organization ID
 --name NAME                             Organization name
 --title TITLE                           Organization title
 -h, --help                              Print help

10.40.3. hammer organization add-domain

ドメインを関連付けます。

Usage:
    hammer organization add-domain [OPTIONS]

Options:
 --domain DOMAIN_NAME          Domain name
 --domain-id DOMAIN_ID         Numerical ID or domain name
 --id ID                       Organization ID
 --name NAME                   Organization name
 --title TITLE                 Organization title
 -h, --help                    Print help

10.40.4. hammer organization add-environment

環境を関連付けます。

Usage:
    hammer organization add-environment [OPTIONS]

Options:
 --environment ENVIRONMENT_NAME  Environment name
 --environment-id ENVIRONMENT_ID
 --id ID                         Organization ID
 --name NAME                     Organization name
 --title TITLE                   Organization title
 -h, --help                      Print help

10.40.5. hammer organization add-hostgroup

ホストグループを関連付けます。

Usage:
    hammer organization add-hostgroup [OPTIONS]

Options:
 --hostgroup HOSTGROUP_NAME        Hostgroup name
 --hostgroup-id HOSTGROUP_ID
 --hostgroup-title HOSTGROUP_TITLE Hostgroup title
 --id ID                           Organization ID
 --name NAME                       Organization name
 --title TITLE                     Organization title
 -h, --help                        Print help

10.40.6. hammer organization add-location

ロケーションを関連付けます。

Usage:
    hammer organization add-location [OPTIONS]

Options:
 --id ID                         Organization ID
 --location LOCATION_NAME        Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE Location title
 --name NAME                     Organization name
 --title TITLE                   Organization title
 -h, --help                      Print help

10.40.7. hammer organization add-medium

メディアを関連付けます。

Usage:
    hammer organization add-medium [OPTIONS]

Options:
 --id ID                       Organization ID
 --medium MEDIUM_NAME          Medium name
 --medium-id MEDIUM_ID
 --name NAME                   Organization name
 --title TITLE                 Organization title
 -h, --help                    Print help

10.40.8. hammer organization add-smart-proxy

スマートプロキシーを関連付けます。

Usage:
    hammer organization add-smart-proxy [OPTIONS]

Options:
 --id ID                         Organization ID
 --name NAME                     Organization name
 --smart-proxy SMART_PROXY_NAME  Name to search by
 --smart-proxy-id SMART_PROXY_ID
 --title TITLE                   Organization title
 -h, --help                      Print help

10.40.9. hammer organization add-subnet

サブネットを関連付けます。

Usage:
    hammer organization add-subnet [OPTIONS]

Options:
 --id ID                       Organization ID
 --name NAME                   Organization name
 --subnet SUBNET_NAME          Subnet name
 --subnet-id SUBNET_ID
 --title TITLE                 Organization title
 -h, --help                    Print help

10.40.10. hammer organization add-user

ユーザーを関連付けます。

Usage:
    hammer organization add-user [OPTIONS]

Options:
 --id ID                       Organization ID
 --name NAME                   Organization name
 --title TITLE                 Organization title
 --user USER_LOGIN             User's login to search by
 --user-id USER_ID
 -h, --help                    Print help

10.40.11. hammer organization create

組織を作成します。

Usage:
    hammer organization create [OPTIONS]

Options:
 --compute-resource-ids COMPUTE_RESOURCE_IDS           Compute resource IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --compute-resources COMPUTE_RESOURCE_NAMES            Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --config-template-ids CONFIG_TEMPLATE_IDS             Provisioning template IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --config-templates CONFIG_TEMPLATE_NAMES              Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --description DESCRIPTION                             Description
 --domain-ids DOMAIN_IDS                               Domain IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --domains DOMAIN_NAMES                                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --environment-ids ENVIRONMENT_IDS                     Environment IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --environments ENVIRONMENT_NAMES                      Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hostgroup-ids HOSTGROUP_IDS                         Host group IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hostgroup-titles HOSTGROUP_TITLES                   Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hostgroups HOSTGROUP_NAMES                          Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --label LABEL                                         Unique label
 --location LOCATION_NAME                              Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE                       Location title
 --media MEDIUM_NAMES                                  Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --medium-ids MEDIUM_IDS                               Medium IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --name NAME                                           Name
 --organization ORGANIZATION_NAME                      Organization name to search by
 --organization-id ORGANIZATION_ID                     Organization ID
 --organization-label ORGANIZATION_LABEL               Organization label to search by
 --provisioning-template-ids PROVISIONING_TEMPLATE_IDS Provisioning template IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --provisioning-templates PROVISIONING_TEMPLATE_NAMES  Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --ptable-ids PTABLE_IDS                               Partition template IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --ptables PTABLE_NAMES                                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --realm-ids REALM_IDS                                 Realm IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --realms REALM_NAMES                                  Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --smart-proxies SMART_PROXY_NAMES                     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --smart-proxy-ids SMART_PROXY_IDS                     Capsule IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --subnet-ids SUBNET_IDS                               Subnet IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --subnets SUBNET_NAMES                                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --user-ids USER_IDS                                   User IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --users USER_NAMES                                    Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                                            Print help

10.40.12. hammer organization delete

組織を削除します。

Usage:
    hammer organization delete [OPTIONS]

Options:
 --async                                 Do not wait for the task
 --id ID
 --label LABEL                           Organization label to search by
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Organization name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 --title TITLE                           Organization title
 -h, --help                              Print help

10.40.13. hammer organization delete-parameter

組織のパラメーターを削除します。

Usage:
    hammer organization delete-parameter [OPTIONS]

Options:
 --name NAME                             Parameter name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.40.14. hammer organization info

組織を表示します。

Usage:
    hammer organization info [OPTIONS]

Options:
 --id ID
 --label LABEL                           Organization label to search by
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Organization name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 --title TITLE                           Organization title
 -h, --help                              Print help

10.40.15. hammer organization list

組織の一覧を表示します。

Usage:
    hammer organization list [OPTIONS]

Options:
 --by BY                                 Field to sort the results on
 --full-result FULL_RESULT               Whether or not to show all results
                                         One of true/false, yes/no, 1/0
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --order ORDER                           Sort field and order, eg. 'name DESC'
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Page number, starting at 1
 --per-page PER_PAGE                     Number of results per page to return
 --search SEARCH                         Search string
 -h, --help                              Print help

10.40.16. hammer organization remove-compute-resource

コンピュートリソースの関連付けを解除します。

Usage:
    hammer organization remove-compute-resource [OPTIONS]

Options:
 --compute-resource COMPUTE_RESOURCE_NAME  Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID
 --id ID                                   Organization ID
 --name NAME                               Organization name
 --title TITLE                             Organization title
 -h, --help                                Print help

10.40.17. hammer organization remove-config-template

設定テンプレートの関連付けを解除します。

Usage:
    hammer organization remove-config-template [OPTIONS]

Options:
 --config-template CONFIG_TEMPLATE_NAME  Name to search by
 --config-template-id CONFIG_TEMPLATE_ID
 --id ID                                 Organization ID
 --name NAME                             Organization name
 --title TITLE                           Organization title
 -h, --help                              Print help

10.40.18. hammer organization remove-domain

ドメインの関連付けを解除します。

Usage:
    hammer organization remove-domain [OPTIONS]

Options:
 --domain DOMAIN_NAME          Domain name
 --domain-id DOMAIN_ID         Numerical ID or domain name
 --id ID                       Organization ID
 --name NAME                   Organization name
 --title TITLE                 Organization title
 -h, --help                    Print help

10.40.19. hammer organization remove-environment

環境の関連付けを解除します。

Usage:
    hammer organization remove-environment [OPTIONS]

Options:
 --environment ENVIRONMENT_NAME  Environment name
 --environment-id ENVIRONMENT_ID
 --id ID                         Organization ID
 --name NAME                     Organization name
 --title TITLE                   Organization title
 -h, --help                      Print help

10.40.20. hammer organization remove-hostgroup

ホストグループの関連付けを解除します。

Usage:
    hammer organization remove-hostgroup [OPTIONS]

Options:
 --hostgroup HOSTGROUP_NAME        Hostgroup name
 --hostgroup-id HOSTGROUP_ID
 --hostgroup-title HOSTGROUP_TITLE Hostgroup title
 --id ID                           Organization ID
 --name NAME                       Organization name
 --title TITLE                     Organization title
 -h, --help                        Print help

10.40.21. hammer organization remove-location

ロケーションの関連付けを解除します。

Usage:
    hammer organization remove-location [OPTIONS]

Options:
 --id ID                         Organization ID
 --location LOCATION_NAME        Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE Location title
 --name NAME                     Organization name
 --title TITLE                   Organization title
 -h, --help                      Print help

10.40.22. hammer organization remove-medium

メディアの関連付けを解除します。

Usage:
    hammer organization remove-medium [OPTIONS]

Options:
 --id ID                       Organization ID
 --medium MEDIUM_NAME          Medium name
 --medium-id MEDIUM_ID
 --name NAME                   Organization name
 --title TITLE                 Organization title
 -h, --help                    Print help

10.40.23. hammer organization remove-smart-proxy

スマートプロキシーの関連付けを解除します。

Usage:
    hammer organization remove-smart-proxy [OPTIONS]

Options:
 --id ID                         Organization ID
 --name NAME                     Organization name
 --smart-proxy SMART_PROXY_NAME  Name to search by
 --smart-proxy-id SMART_PROXY_ID
 --title TITLE                   Organization title
 -h, --help                      Print help

10.40.24. hammer organization remove-subnet

サブネットの関連付けを解除します。

Usage:
    hammer organization remove-subnet [OPTIONS]

Options:
 --id ID                       Organization ID
 --name NAME                   Organization name
 --subnet SUBNET_NAME          Subnet name
 --subnet-id SUBNET_ID
 --title TITLE                 Organization title
 -h, --help                    Print help

10.40.25. hammer organization remove-user

ユーザーの関連付けを解除します。

Usage:
    hammer organization remove-user [OPTIONS]

Options:
 --id ID                       Organization ID
 --name NAME                   Organization name
 --title TITLE                 Organization title
 --user USER_LOGIN             User's login to search by
 --user-id USER_ID
 -h, --help                    Print help

10.40.26. hammer organization set-parameter

組織のパラメーターを作成または更新します。

Usage:
    hammer organization set-parameter [OPTIONS]

Options:
 --hidden-value HIDDEN_VALUE             Should the value be hidden
                                         One of true/false, yes/no, 1/0
 --name NAME                             Parameter name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --value VALUE                           Parameter value
 -h, --help                              Print help

10.40.27. hammer organization update

組織を更新します。

Usage:
    hammer organization update [OPTIONS]

Options:
 --compute-resource-ids COMPUTE_RESOURCE_IDS           Compute resource IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --compute-resources COMPUTE_RESOURCE_NAMES            Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --config-template-ids CONFIG_TEMPLATE_IDS             Provisioning template IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --config-templates CONFIG_TEMPLATE_NAMES              Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --description DESCRIPTION
 --domain-ids DOMAIN_IDS                               Domain IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --domains DOMAIN_NAMES                                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --environment-ids ENVIRONMENT_IDS                     Environment IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --environments ENVIRONMENT_NAMES                      Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hostgroup-ids HOSTGROUP_IDS                         Host group IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hostgroup-titles HOSTGROUP_TITLES                   Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hostgroups HOSTGROUP_NAMES                          Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --id ID
 --ignore-types IGNORE_TYPES                           List of resources types that will be automatically associated
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --label LABEL                                         Organization label to search by
 --location LOCATION_NAME                              Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE                       Location title
 --media MEDIUM_NAMES                                  Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --medium-ids MEDIUM_IDS                               Medium IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --name NAME                                           Organization name
 --new-name NEW_NAME
 --organization ORGANIZATION_NAME                      Organization name
 --organization-id ORGANIZATION_ID                     Organization ID
 --organization-label ORGANIZATION_LABEL               Organization label to search by
 --organization-title ORGANIZATION_TITLE               Organization title
 --parent-id PARENT_ID                                 Parent ID
 --partition-table-ids PARTITION_TABLE_IDS             Partition template IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --partition-tables PARTITION_TABLE_NAMES              Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --provisioning-template-ids PROVISIONING_TEMPLATE_IDS Provisioning template IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --provisioning-templates PROVISIONING_TEMPLATE_NAMES  Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --ptable-ids PTABLE_IDS                               Partition template IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --ptables PTABLE_NAMES                                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --realm-ids REALM_IDS                                 Realm IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --realms REALM_NAMES                                  Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --redhat-repository-url REDHAT_REPOSITORY_URL         Red Hat CDN URL
 --smart-proxies SMART_PROXY_NAMES                     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --smart-proxy-ids SMART_PROXY_IDS                     Capsule IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --subnet-ids SUBNET_IDS                               Subnet IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --subnets SUBNET_NAMES                                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --title TITLE                                         Organization title
 --user-ids USER_IDS                                   User IDs
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --users USER_LOGINS                                   Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 -h, --help                                            Print help

10.41. hammer os

オペレーティングシステムを操作します。

Usage:
    hammer os [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 add-architecture              Associate an architecture
 add-config-template           Associate a configuration template
 add-ptable                    Associate a partition table
 create                        Create an operating system
 delete                        Delete an operating system
 delete-default-template
 delete-parameter              Delete parameter for an operating system
 info                          Show an operating system
 list                          List all operating systems
 remove-architecture           Disassociate an architecture
 remove-config-template        Disassociate a configuration template
 remove-ptable                 Disassociate a partition table
 set-default-template
 set-parameter                 Create or update parameter for an operating system
 update                        Update an operating system

Options:
 -h, --help                    Print help

10.41.1. hammer os add-architecture

アーキテクチャーを関連付けます。

Usage:
    hammer os add-architecture [OPTIONS]

Options:
 --architecture ARCHITECTURE_NAME  Architecture name
 --architecture-id ARCHITECTURE_ID
 --id ID
 --title TITLE                     Operating system title
 -h, --help                        Print help

10.41.2. hammer os add-config-template

設定テンプレートを関連付けます。

Usage:
    hammer os add-config-template [OPTIONS]

Options:
 --config-template CONFIG_TEMPLATE_NAME  Name to search by
 --config-template-id CONFIG_TEMPLATE_ID
 --id ID
 --title TITLE                           Operating system title
 -h, --help                              Print help

10.41.3. hammer os add-ptable

パーティションテーブルを関連付けます。

Usage:
    hammer os add-ptable [OPTIONS]

Options:
 --id ID
 --partition-table PARTITION_TABLE_NAME  Partition table name
 --partition-table-id PARTITION_TABLE_ID
 --title TITLE                           Operating system title
 -h, --help                              Print help

10.41.4. hammer os create

オペレーティングシステムを作成します。

Usage:
    hammer os create [OPTIONS]

Options:
 --architecture-ids ARCHITECTURE_IDS                   IDs of associated architectures
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --architectures ARCHITECTURE_NAMES                    Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --config-template-ids CONFIG_TEMPLATE_IDS             IDs of associated provisioning templates
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --config-templates CONFIG_TEMPLATE_NAMES              Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --description DESCRIPTION
 --family FAMILY
 --location LOCATION_NAME                              Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE                       Location title
 --major MAJOR
 --media MEDIUM_NAMES                                  Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --medium-ids MEDIUM_IDS                               IDs of associated media
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --minor MINOR
 --name NAME
 --organization ORGANIZATION_NAME                      Organization name
 --organization-id ORGANIZATION_ID                     Organization ID
 --organization-title ORGANIZATION_TITLE               Organization title
 --os-parameters-attributes OS_PARAMETERS_ATTRIBUTES   Array of parameters
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --partition-table-ids PARTITION_TABLE_IDS             IDs of associated partition tables
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --partition-tables PARTITION_TABLE_NAMES              Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --password-hash PASSWORD_HASH                         Root password hash function to use, one of MD5, SHA256, SHA512, Base64
 --provisioning-template-ids PROVISIONING_TEMPLATE_IDS IDs of associated provisioning templates
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --provisioning-templates PROVISIONING_TEMPLATE_NAMES  Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --release-name RELEASE_NAME
 -h, --help                                            Print help

10.41.5. hammer os delete

オペレーティングシステムを削除します。

Usage:
    hammer os delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --title TITLE                           Operating system title
 -h, --help                              Print help

10.41.6. hammer os delete-default-template

Usage:
    hammer os delete-default-template [OPTIONS]

Options:
 --id OS ID                    Operatingsystem id
 --type TPL TYPE               Type of the config template
 -h, --help                    Print help

10.41.7. hammer os delete-parameter

オペレーティングシステムのパラメーターを削除します。

Usage:
    hammer os delete-parameter [OPTIONS]

Options:
 --name NAME                             Parameter name
 --operatingsystem OPERATINGSYSTEM_TITLE Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID
 -h, --help                              Print help

10.41.8. hammer os info

オペレーティングシステムを表示します。

Usage:
    hammer os info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                        Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE                 Location title
 --organization ORGANIZATION_NAME                Organization name
 --organization-id ORGANIZATION_ID               Organization ID
 --organization-title ORGANIZATION_TITLE         Organization title
 --show-hidden-parameters SHOW_HIDDEN_PARAMETERS Display hidden parameter values
                                                 One of true/false, yes/no, 1/0
 --title TITLE                                   Operating system title
 -h, --help                                      Print help

10.41.9. hammer os list

オペレーティングシステムの一覧を表示します。

Usage:
    hammer os list [OPTIONS]

Options:
 --architecture ARCHITECTURE_NAME                    Architecture name
 --architecture-id ARCHITECTURE_ID
 --config-template CONFIG_TEMPLATE_NAME              Name to search by
 --config-template-id CONFIG_TEMPLATE_ID
 --location LOCATION_NAME                            Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE                     Location title
 --medium MEDIUM_NAME                                Medium name
 --medium-id MEDIUM_ID
 --order ORDER                                       Sort results
 --organization ORGANIZATION_NAME                    Organization name
 --organization-id ORGANIZATION_ID                   Organization ID
 --organization-title ORGANIZATION_TITLE             Organization title
 --os-parameters-attributes OS_PARAMETERS_ATTRIBUTES Array of parameters
                                                     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --page PAGE                                         Paginate results
 --partition-table PARTITION_TABLE_NAME              Partition table name
 --partition-table-id PARTITION_TABLE_ID
 --per-page PER_PAGE                                 Number of entries per request
 --provisioning-template PROVISIONING_TEMPLATE_NAME  Name to search by
 --provisioning-template-id PROVISIONING_TEMPLATE_ID
 --search SEARCH                                     Filter results
 -h, --help                                          Print help

10.41.10. hammer os remove-architecture

アーキテクチャーの関連付けを解除します。

Usage:
    hammer os remove-architecture [OPTIONS]

Options:
 --architecture ARCHITECTURE_NAME  Architecture name
 --architecture-id ARCHITECTURE_ID
 --id ID
 --title TITLE                     Operating system title
 -h, --help                        Print help

10.41.11. hammer os remove-config-template

設定テンプレートの関連付けを解除します。

Usage:
    hammer os remove-config-template [OPTIONS]

Options:
 --config-template CONFIG_TEMPLATE_NAME  Name to search by
 --config-template-id CONFIG_TEMPLATE_ID
 --id ID
 --title TITLE                           Operating system title
 -h, --help                              Print help

10.41.12. hammer os remove-ptable

パーティションテーブルの関連付けを解除します。

Usage:
    hammer os remove-ptable [OPTIONS]

Options:
 --id ID
 --partition-table PARTITION_TABLE_NAME  Partition table name
 --partition-table-id PARTITION_TABLE_ID
 --title TITLE                           Operating system title
 -h, --help                              Print help

10.41.13. hammer os set-default-template

Usage:
    hammer os set-default-template [OPTIONS]

Options:
 --config-template-id TPL ID   Config template id to be set
 --id OS ID                    Operatingsystem id
 -h, --help                    Print help

10.41.14. hammer os set-parameter

オペレーティングシステムのパラメーターを作成または更新します。

Usage:
    hammer os set-parameter [OPTIONS]

Options:
 --hidden-value HIDDEN_VALUE             Should the value be hidden
                                         One of true/false, yes/no, 1/0
 --name NAME                             Parameter name
 --operatingsystem OPERATINGSYSTEM_TITLE Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID
 --value VALUE                           Parameter value
 -h, --help                              Print help

10.41.15. hammer os update

オペレーティングシステムを更新します。

Usage:
    hammer os update [OPTIONS]

Options:
 --architecture-ids ARCHITECTURE_IDS                   IDs of associated architectures
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --architectures ARCHITECTURE_NAMES                    Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --config-template-ids CONFIG_TEMPLATE_IDS             IDs of associated provisioning templates
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --config-templates CONFIG_TEMPLATE_NAMES              Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --description DESCRIPTION
 --family FAMILY
 --id ID
 --location LOCATION_NAME                              Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE                       Location title
 --major MAJOR
 --media MEDIUM_NAMES                                  Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --medium-ids MEDIUM_IDS                               IDs of associated media
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --minor MINOR
 --name NAME
 --organization ORGANIZATION_NAME                      Organization name
 --organization-id ORGANIZATION_ID                     Organization ID
 --organization-title ORGANIZATION_TITLE               Organization title
 --os-parameters-attributes OS_PARAMETERS_ATTRIBUTES   Array of parameters
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --partition-table-ids PARTITION_TABLE_IDS             IDs of associated partition tables
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --partition-tables PARTITION_TABLE_NAMES              Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --password-hash PASSWORD_HASH                         Root password hash function to use, one of MD5, SHA256, SHA512, Base64
 --provisioning-template-ids PROVISIONING_TEMPLATE_IDS IDs of associated provisioning templates
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --provisioning-templates PROVISIONING_TEMPLATE_NAMES  Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --release-name RELEASE_NAME
 --title TITLE                                         Operating system title
 -h, --help                                            Print help

10.42. hammer ostree-branch

OSTree ブランチを操作します。

Usage:
    hammer ostree-branch [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 info                          Show an ostree branch
 list                          List ostree_branches

Options:
 -h, --help                    Print help

10.42.1. hammer ostree-branch info

ostree ブランチを表示します。

Usage:
    hammer ostree-branch info [OPTIONS]

Options:
 --id ID                       An ostree branch identifier
 --name NAME                   Name to search by
 --repository REPOSITORY_NAME  Repository name to search by
 --repository-id REPOSITORY_ID Repository ID
 -h, --help                    Print help

10.42.2. hammer ostree-branch list

ostree ブランチの一覧を表示します。

Usage:
    hammer ostree-branch list [OPTIONS]

Options:
 --by BY                                             Field to sort the results on
 --content-view CONTENT_VIEW_NAME                    Content view name to search by
 --content-view-filter CONTENT_VIEW_FILTER_NAME      Name to search by
 --content-view-filter-id CONTENT_VIEW_FILTER_ID     Filter identifier
 --content-view-id CONTENT_VIEW_ID                   Content view numeric identifier
 --content-view-version CONTENT_VIEW_VERSION_VERSION Content view version number
 --content-view-version-id CONTENT_VIEW_VERSION_ID   Content view version identifier
 --environment ENVIRONMENT_NAME                      Environment name
 --environment-id ENVIRONMENT_ID
 --full-result FULL_RESULT                           Whether or not to show all results
                                                     One of true/false, yes/no, 1/0
 --ids IDS                                           Ids to filter content by
                                                     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --order ORDER                                       Sort field and order, eg. 'name DESC'
 --organization ORGANIZATION_NAME                    Organization name to search by
 --organization-id ORGANIZATION_ID                   Organization ID
 --organization-label ORGANIZATION_LABEL             Organization label to search by
 --page PAGE                                         Page number, starting at 1
 --per-page PER_PAGE                                 Number of results per page to return
 --product PRODUCT_NAME                              Product name to search by
 --product-id PRODUCT_ID                             Product numeric identifier
 --repository REPOSITORY_NAME                        Repository name to search by
 --repository-id REPOSITORY_ID                       Repository ID
 --search SEARCH                                     Search string
 -h, --help                                          Print help

10.43. hammer package

パッケージを操作します。

Usage:
    hammer package [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 info                          Show a package
 list                          List packages

Options:
 -h, --help                    Print help

10.43.1. hammer package info

パッケージを表示します。

Usage:
    hammer package info [OPTIONS]

Options:
 --id ID                       A package identifier
 --name NAME                   Name to search by
 --repository REPOSITORY_NAME  Repository name to search by
 --repository-id REPOSITORY_ID Repository ID
 -h, --help                    Print help

10.43.2. hammer package list

パッケージの一覧を表示します。

Usage:
    hammer package list [OPTIONS]

Options:
 --by BY                                                     Field to sort the results on
 --content-view CONTENT_VIEW_NAME                            Content view name to search by
 --content-view-filter CONTENT_VIEW_FILTER_NAME              Name to search by
 --content-view-filter-id CONTENT_VIEW_FILTER_ID             Filter identifier
 --content-view-id CONTENT_VIEW_ID                           Content view numeric identifier
 --content-view-version CONTENT_VIEW_VERSION_VERSION         Content view version number
 --content-view-version-id CONTENT_VIEW_VERSION_ID           Content view version identifier
 --environment ENVIRONMENT_NAME                              Environment name
 --environment-id ENVIRONMENT_ID
 --full-result FULL_RESULT                                   Whether or not to show all results
                                                             One of true/false, yes/no, 1/0
 --host HOST_NAME                                            Host name
 --host-id HOST_ID
 --ids IDS                                                   Ids to filter content by
                                                             Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --order ORDER                                               Sort field and order, eg. 'name DESC'
 --organization ORGANIZATION_NAME                            Organization name to search by
 --organization-id ORGANIZATION_ID                           Organization ID
 --organization-label ORGANIZATION_LABEL                     Organization label to search by
 --packages-restrict-applicable PACKAGES_RESTRICT_APPLICABLE Only show packages that are applicable to hosts (defaults to true if
                                                             Host_id is specified)
                                                             One of true/false, yes/no, 1/0
 --packages-restrict-upgradable PACKAGES_RESTRICT_UPGRADABLE Only show packages that are upgradable in the host(s) Content View.
                                                             One of true/false, yes/no, 1/0
 --page PAGE                                                 Page number, starting at 1
 --per-page PER_PAGE                                         Number of results per page to return
 --product PRODUCT_NAME                                      Product name to search by
 --product-id PRODUCT_ID                                     Product numeric identifier
 --repository REPOSITORY_NAME                                Repository name to search by
 --repository-id REPOSITORY_ID                               Repository ID
 --search SEARCH                                             Search string
 -h, --help                                                  Print help

10.44. hammer package-group

パッケージグループを操作します。

Usage:
    hammer package-group [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 info                          Show a package group
 list                          List package_groups

Options:
 -h, --help                    Print help

10.44.1. hammer package-group info

パッケージグループを表示します。

Usage:
    hammer package-group info [OPTIONS]

Options:
 --id ID                       A package group identifier
 --name NAME                   Name to search by
 --repository REPOSITORY_NAME  Repository name to search by
 --repository-id REPOSITORY_ID Repository ID
 -h, --help                    Print help

10.44.2. hammer package-group list

パッケージグループの一覧を表示します。

Usage:
    hammer package-group list [OPTIONS]

Options:
 --by BY                                             Field to sort the results on
 --content-view CONTENT_VIEW_NAME                    Content view name to search by
 --content-view-filter CONTENT_VIEW_FILTER_NAME      Name to search by
 --content-view-filter-id CONTENT_VIEW_FILTER_ID     Filter identifier
 --content-view-id CONTENT_VIEW_ID                   Content view numeric identifier
 --content-view-version CONTENT_VIEW_VERSION_VERSION Content view version number
 --content-view-version-id CONTENT_VIEW_VERSION_ID   Content view version identifier
 --environment ENVIRONMENT_NAME                      Environment name
 --environment-id ENVIRONMENT_ID
 --full-result FULL_RESULT                           Whether or not to show all results
                                                     One of true/false, yes/no, 1/0
 --ids IDS                                           Ids to filter content by
                                                     Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --order ORDER                                       Sort field and order, eg. 'name DESC'
 --organization ORGANIZATION_NAME                    Organization name to search by
 --organization-id ORGANIZATION_ID                   Organization ID
 --organization-label ORGANIZATION_LABEL             Organization label to search by
 --page PAGE                                         Page number, starting at 1
 --per-page PER_PAGE                                 Number of results per page to return
 --product PRODUCT_NAME                              Product name to search by
 --product-id PRODUCT_ID                             Product numeric identifier
 --repository REPOSITORY_NAME                        Repository name to search by
 --repository-id REPOSITORY_ID                       Repository ID
 --search SEARCH                                     Search string
 -h, --help                                          Print help

10.45. hammer partition-table

パーティションテーブルを操作します。

Usage:
    hammer partition-table [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 add-operatingsystem           Associate an operating system
 create                        Create a partition table
 delete                        Delete a partition table
 dump                          View partition table content
 info                          Show a partition table
 list                          List all partition tables
 remove-operatingsystem        Disassociate an operating system
 update                        Update a partition table

Options:
 -h, --help                    Print help

10.45.1. hammer partition-table add-operatingsystem

オペレーティングシステムを関連付けます。

Usage:
    hammer partition-table add-operatingsystem [OPTIONS]

Options:
 --id ID
 --name NAME                             Partition table name
 --operatingsystem OPERATINGSYSTEM_TITLE Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID
 -h, --help                              Print help

10.45.2. hammer partition-table create

パーティションテーブルを作成します。

Usage:
    hammer partition-table create [OPTIONS]

Options:
 --audit-comment AUDIT_COMMENT
 --file LAYOUT                             Path to a file that contains the partition layout
 --host-ids HOST_IDS                       Array of host IDs to associate with the partition table
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hostgroup-ids HOSTGROUP_IDS             Array of host group IDs to associate with the partition table
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hostgroup-titles HOSTGROUP_TITLES       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hostgroups HOSTGROUP_NAMES              Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hosts HOST_NAMES                        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               REPLACE locations with given ids
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locked LOCKED                           Whether or not the template is locked for editing
                                           One of true/false, yes/no, 1/0
 --name NAME
 --operatingsystem-ids OPERATINGSYSTEM_IDS Array of operating system IDs to associate with the partition table
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --operatingsystems OPERATINGSYSTEM_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       REPLACE organizations with given ids.
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --os-family OS_FAMILY
 --snippet SNIPPET                         One of true/false, yes/no, 1/0
 -h, --help                                Print help

10.45.3. hammer partition-table delete

パーティションテーブルを解除します。

Usage:
    hammer partition-table delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Partition table name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.45.4. hammer partition-table dump

パーティションテーブルのコンテンツを表示します。

Usage:
    hammer partition-table dump [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Partition table name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.45.5. hammer partition-table info

パーティションテーブルを表示します。

Usage:
    hammer partition-table info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Partition table name
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.45.6. hammer partition-table list

パーティションテーブルの一覧を表示します。

Usage:
    hammer partition-table list [OPTIONS]

Options:
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --operatingsystem OPERATINGSYSTEM_TITLE Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID
 --order ORDER                           Sort results
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Paginate results
 --per-page PER_PAGE                     Number of entries per request
 --search SEARCH                         Filter results
 -h, --help                              Print help

10.45.7. hammer partition-table remove-operatingsystem

オペレーティングシステムの関連付けを解除します。

Usage:
    hammer partition-table remove-operatingsystem [OPTIONS]

Options:
 --id ID
 --name NAME                             Partition table name
 --operatingsystem OPERATINGSYSTEM_TITLE Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID
 -h, --help                              Print help

10.45.8. hammer partition-table update

パーティションテーブルを更新します。

Usage:
    hammer partition-table update [OPTIONS]

Options:
 --audit-comment AUDIT_COMMENT
 --file LAYOUT                             Path to a file that contains the partition layout
 --host-ids HOST_IDS                       Array of host IDs to associate with the partition table
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hostgroup-ids HOSTGROUP_IDS             Array of host group IDs to associate with the partition table
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hostgroup-titles HOSTGROUP_TITLES       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hostgroups HOSTGROUP_NAMES              Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hosts HOST_NAMES                        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --id ID
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               REPLACE locations with given ids
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locked LOCKED                           Whether or not the template is locked for editing
                                           One of true/false, yes/no, 1/0
 --name NAME                               Partition table name
 --new-name NEW_NAME
 --operatingsystem-ids OPERATINGSYSTEM_IDS Array of operating system IDs to associate with the partition table
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --operatingsystems OPERATINGSYSTEM_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       REPLACE organizations with given ids.
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --os-family OS_FAMILY
 --snippet SNIPPET                         One of true/false, yes/no, 1/0
 -h, --help                                Print help

10.46. hammer ping

サーバーのステータスを取得します。

Usage:
    hammer ping [OPTIONS]

Options:
 -h, --help                    Print help

10.47. hammer policy

ポリシーを操作します。

Usage:
    hammer policy [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 create                        Create a Policy
 delete                        Delete a Policy
 info                          Show a Policy
 list                          List Policies
 update                        Update a Policy

Options:
 -h, --help                    Print help

10.47.1. hammer policy create

ポリシーを作成します。

Usage:
    hammer policy create [OPTIONS]

Options:
 --cron-line CRON_LINE                                 Policy schedule cron line (only if period == “custom”)
 --day-of-month DAY_OF_MONTH                           Policy schedule day of month (only if period == “monthly”)
 --description DESCRIPTION                             Policy description
 --host-ids HOST_IDS                                   Apply policy to hosts
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hostgroup-ids HOSTGROUP_IDS                         Apply policy to host groups
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hostgroups HOSTGROUP_NAMES                          Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --hosts HOST_NAMES                                    Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location LOCATION_NAME                              Name to search by
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS                           REPLACE locations with given ids
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                            Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --name NAME                                           Policy name
 --organization ORGANIZATION_NAME                      Name to search by
 --organization-id ORGANIZATION_ID                     Organization ID
 --organization-ids ORGANIZATION_IDS                   REPLACE organizations with given ids.
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES                    Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --period PERIOD                                       Policy schedule period (weekly, monthly, custom)
 --scap-content SCAP_CONTENT_TITLE                     SCAP content title
 --scap-content-id SCAP_CONTENT_ID
 --scap-content-profile-id SCAP_CONTENT_PROFILE_ID     Policy SCAP content profile ID
 --tailoring-file TAILORING_FILE_NAME                  Tailoring file name
 --tailoring-file-id TAILORING_FILE_ID
 --tailoring-file-profile-id TAILORING_FILE_PROFILE_ID Tailoring file profile ID
 --weekday WEEKDAY                                     Policy schedule weekday (only if period == “weekly”)
 -h, --help                                            Print help

10.47.2. hammer policy delete

ポリシーを削除します。

Usage:
    hammer policy delete [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

10.47.3. hammer policy info

ポリシーを表示します。

Usage:
    hammer policy info [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATI