6.94. FenceAgents
특정 호스트의 펜스 에이전트를 관리하는 서비스입니다.
| 이름 | 요약 |
|---|---|
|
| 호스트에 새 fencing-agent를 추가합니다. |
|
| 호스트에 구성된 펜싱 에이전트 목록을 반환합니다. |
6.94.1. 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 펜싱 에이전트/s 샘플 요청:
<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 펜싱 에이전트/s 샘플 요청:
<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 펜싱 에이전트/s 샘플 요청:
<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 펜싱 에이전트/s 샘플 요청:
<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>
| 이름 | 유형 | 방향 | 요약 |
|---|---|---|---|
|
| in/Out |
6.94.2. 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>
반환된 펜싱 에이전트 목록의 순서는 보장되지 않습니다.
| 이름 | 유형 | 방향 | 요약 |
|---|---|---|---|
|
| Out | 펜스 에이전트 세부 정보 목록. | |
|
| in | 따라야 할 내부 링크를 나타냅니다. | |
|
| in | 반환할 최대 에이전트 수를 설정합니다. |
6.94.2.1. 팔로우 링크 복사링크가 클립보드에 복사되었습니다!
따라야 할 내부 링크를 나타냅니다. 이러한 링크에서 참조하는 오브젝트는 현재 요청의 일부로 가져옵니다. 자세한 내용은 여기를 참조하십시오.
6.94.2.2. max 링크 복사링크가 클립보드에 복사되었습니다!
반환할 최대 에이전트 수를 설정합니다. 지정하지 않으면 모든 에이전트가 반환됩니다.