Interface HostService.DiscoverIscsiRequest

  • All Superinterfaces:
    Request<HostService.DiscoverIscsiRequest,​HostService.DiscoverIscsiResponse>
    Enclosing interface:
    HostService

    public static interface HostService.DiscoverIscsiRequest
    extends Request<HostService.DiscoverIscsiRequest,​HostService.DiscoverIscsiResponse>
    Discovers iSCSI targets on the host, using the initiator details. Returns a list of IscsiDetails objects containing the discovered data. For example, to discover iSCSI targets available in `myiscsi.example.com`, from host `123`, send a request like this: [source] ---- POST /ovirt-engine/api/hosts/123/discoveriscsi ---- With a request body like this: [source,xml] ----
    myiscsi.example.com
    ---- The result will be like this: [source,xml] ----
    10.35.1.72
    3260 10.35.1.72:3260,1 iqn.2015-08.com.tgt:444
    ---- IMPORTANT: When using this method to discover iscsi targets, you can use an FQDN or an IP address, but you must use the iscsi details from the discovered targets results to log in using the iscsilogin method.