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.
    • 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, hpblade, ilo, ilo2, ilo_ssh, redfish, rsa fencing agent/s sample request: [source,xml] apc_snmp 1 192.168.1.101 user xxx 9 [name1=value1, name2=value2,...] cisco_ucs, drac5, eps fencing agent/s sample request: [source,xml] cisco_ucs 1 192.168.1.101 user xxx slot=7[,name1=value1, name2=value2,...] drac7, ilo3, ilo4, ipmilan, rsb fencing agent/s sample request: [source,xml] 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 ---- The order of the returned list of fencing agents isn't guaranteed.
      • agentService

        FenceAgentService agentService​(String id)
        Reference to service that manages a specific fence agent for this host.
      • service

        Service service​(String path)
        Service locator method, returns individual service on which the URI is dispatched.