6.94. FenceAgents
特定のホストのフェンスエージェントを管理するサービス。
| 名前 | Summary |
|---|---|
|
| ホストに新しい fencing-agent を追加します。 |
|
| ホストに設定されたフェンシングエージェントのリストを返します。 |
6.94.1. add POST リンクのコピーリンクがクリップボードにコピーされました!
ホストに新しい fencing-agent を追加します。
POST /ovirt-engine/api/hosts/123/fenceagents
You should consult the /usr/sbin/fence_<agent_name> manual page for
the legal parameters to [name1=value1, name2=value2,...] in the options field.
If any parameter in options appears by name that means that it is mandatory.
For example in <options>slot=7[,name1=value1, name2=value2,...]</options>
slot is mandatory.
apc、bladecenter、wti フェンシングエージェントのサンプルリクエスト:
<agent>
<type>apc</type>
<order>1</order>
<ip>192.168.1.101</ip>
<user>user</user>
<password>xxx</password>
<port>9</port>
<options>slot=7[,name1=value1, name2=value2,...]</options>
</agent>
apc_snmp、hpblade、ilo、ilo2、ilo_ssh、redfish、rsa フェンシングエージェントのサンプルリクエスト:
<agent>
<type>apc_snmp</type>
<order>1</order>
<ip>192.168.1.101</ip>
<user>user</user>
<password>xxx</password>
<port>9</port>
<options>[name1=value1, name2=value2,...]</options>
</agent>
cisco_ucs、drac5、eps フェンシングエージェントのサンプルリクエスト:
<agent>
<type>cisco_ucs</type>
<order>1</order>
<ip>192.168.1.101</ip>
<user>user</user>
<password>xxx</password>
<options>slot=7[,name1=value1, name2=value2,...]</options>
</agent>
drac7、ilo3、ilo4、ipmilan、rsb フェンシングエージェントのサンプルリクエスト:
<agent>
<type>drac7</type>
<order>1</order>
<ip>192.168.1.101</ip>
<user>user</user>
<password>xxx</password>
<options>[name1=value1, name2=value2,...]</options>
</agent>
| 名前 | 型 | 方向 | Summary |
|---|---|---|---|
|
| In/Out |
6.94.2. list GET リンクのコピーリンクがクリップボードにコピーされました!
ホストに設定されたフェンシングエージェントのリストを返します。
GET /ovirt-engine/api/hosts/123/fenceagents
応答の例を以下に示します。
<agents>
<agent id="0">
<type>apc</type>
<order>1</order>
<ip>192.168.1.101</ip>
<user>user</user>
<password>xxx</password>
<port>9</port>
<options>name1=value1, name2=value2</options>
</agent>
</agents>
返されたフェンシングエージェントのリストの順序は保証されません。
| 名前 | 型 | 方向 | Summary |
|---|---|---|---|
|
| Out | フェンスエージェントの詳細のリスト。 | |
|
| In | たどる 必要のある内部リンクを指定します。 | |
|
| In | 返すエージェントの最大数を設定します。 |
6.94.2.1. follow リンクのコピーリンクがクリップボードにコピーされました!
たどる 必要のある内部リンクを指定します。これらのリンクで参照されるオブジェクトは、現在の要求の一部としてフェッチされます。詳細は、こちら を参照してください。
6.94.2.2. max リンクのコピーリンクがクリップボードにコピーされました!
返すエージェントの最大数を設定します。指定しない場合、すべてのエージェントが返されます。