6.94. FenceAgents
用于管理特定主机的隔离代理的服务。
名称 | 概述 |
---|---|
| 向主机添加新的 fence-agent。 |
| 返回为主机配置的隔离代理列表。 |
6.94.1. 添加 POST
向主机添加新的 fence-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 |