POST /ovirt-engine/api/hosts/123/storageconnectionextensions
public interface StorageServerConnectionExtensionsService extends Service
Modifier and Type | Interface and Description |
---|---|
static interface |
StorageServerConnectionExtensionsService.AddRequest
Creates a new storage server connection extension for the given host.
|
static interface |
StorageServerConnectionExtensionsService.AddResponse
Creates a new storage server connection extension for the given host.
|
static interface |
StorageServerConnectionExtensionsService.ListRequest |
static interface |
StorageServerConnectionExtensionsService.ListResponse |
Modifier and Type | Method and Description |
---|---|
StorageServerConnectionExtensionsService.AddRequest |
add()
Creates a new storage server connection extension for the given host.
|
StorageServerConnectionExtensionsService.ListRequest |
list() |
Service |
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
|
StorageServerConnectionExtensionService |
storageConnectionExtensionService(String id) |
StorageServerConnectionExtensionsService.AddRequest add()
Creates a new storage server connection extension for the given host.
The extension lets the user define credentials for an iSCSI target for a specific host. For example to use
myuser
and mypassword
as the credentials when connecting to the iSCSI target from host 123
send a request
like this:
POST /ovirt-engine/api/hosts/123/storageconnectionextensions
With a request body like this:
<storage_connection_extension>
<target>iqn.2016-01.com.example:mytarget</target>
<username>myuser</username>
<password>mypassword</password>
</storage_connection_extension>
StorageServerConnectionExtensionService storageConnectionExtensionService(String id)
Copyright © 2016. All rights reserved.