Interface HostService.FenceRequest

  • All Superinterfaces:
    Request<HostService.FenceRequest,​HostService.FenceResponse>
    Enclosing interface:
    HostService

    public static interface HostService.FenceRequest
    extends Request<HostService.FenceRequest,​HostService.FenceResponse>
    Controls the host's power management device. For example, to start the host. This can be done via: [source] ---- #!/bin/sh -ex url="https://engine.example.com/ovirt-engine/api" user="admin@internal" password="..." curl \ --verbose \ --cacert /etc/pki/ovirt-engine/ca.pem \ --user "${user}:${password}" \ --request POST \ --header "Version: 4" \ --header "Content-Type: application/xml" \ --header "Accept: application/xml" \ --data ' start ' \ "${url}/hosts/123/fence" ----