Package org.ovirt.engine.sdk4.services
Interface FenceAgentsService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
FenceAgentsServiceImpl
public interface FenceAgentsService extends Service
A service to manage fence agents for a specific host.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
FenceAgentsService.AddRequest
Add a new fencing-agent to the host.static interface
FenceAgentsService.AddResponse
Add a new fencing-agent to the host.static interface
FenceAgentsService.ListRequest
Returns the list of fencing agents configured for the host.static interface
FenceAgentsService.ListResponse
Returns the list of fencing agents configured for the host.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FenceAgentsService.AddRequest
add()
Add a new fencing-agent to the host.FenceAgentService
agentService(String id)
Reference to service that manages a specific fence agent for this host.FenceAgentsService.ListRequest
list()
Returns the list of fencing agents configured for the host.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
add
FenceAgentsService.AddRequest add()
Add a new fencing-agent to the host. [source] ---- POST /ovirt-engine/api/hosts/123/fenceagents You should consult the /usr/sbin/fence_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 slot=7[,name1=value1, name2=value2,...] slot is mandatory. ---- apc, bladecenter, wti fencing agent/s sample request: [source,xml]apc 1 192.168.1.101 user xxx 9 slot=7[,name1=value1, name2=value2,...] apc_snmp 1 192.168.1.101 user xxx 9 [name1=value1, name2=value2,...] cisco_ucs 1 192.168.1.101 user xxx slot=7[,name1=value1, name2=value2,...] drac7 1 192.168.1.101 user xxx [name1=value1, name2=value2,...]
-
list
FenceAgentsService.ListRequest list()
Returns the list of fencing agents configured for the host. [source] ---- GET /ovirt-engine/api/hosts/123/fenceagents ---- And here is sample response: [source,xml] ----apc 1 192.168.1.101 user xxx 9 name1=value1, name2=value2
-
agentService
FenceAgentService agentService(String id)
Reference to service that manages a specific fence agent for this host.
-
-