Questo contenuto non è disponibile nella lingua selezionata.
13.3. Methods
13.3.1. Creating a New Storage Connection Copia collegamentoCollegamento copiato negli appunti!
POST
request.
id
or name
is optional; providing it will attempt a connection to the storage via the host.
Example 13.2. Creating a New Storage Connection
13.3.2. Deleting a Storage Connection Copia collegamentoCollegamento copiato negli appunti!
DELETE
request. A storage connection can only be deleted if neither storage domain nor LUN disks reference it.
name
or id
is optional; providing it unmounts the connection from that host.
Example 13.3. Deleting Storage Connection
13.3.3. Updating a Storage Connection Copia collegamentoCollegamento copiato negli appunti!
PUT
request. The storage domain must be in either maintenance mode or unattached to successfully update the connection.
name
or id
is optional; if provided, the host attempts a connection to the updated storage details.
Example 13.4. Updating a Storage Connection
13.3.4. Updating an iSCSI Storage Connection Copia collegamentoCollegamento copiato negli appunti!
PUT
request. An iSCSI storage domain must be in maintenance mode or unattached to successfully update the connection.
Example 13.5. Updating a Storage Connection
13.3.5. Adding New Storage Domain with Existing Storage Connection Copia collegamentoCollegamento copiato negli appunti!
POST
request. This is only applicable with file-based storage domains: NFS
, POSIX
, and local
.
Example 13.6. Adding a New Storage Domain with Existing Storage Connection
13.3.6. Attaching an Additional Storage Connection to iSCSI Storage Copia collegamentoCollegamento copiato negli appunti!
POST
request.
Example 13.7. Attaching an Additional Storage Connection to iSCSI Storage
13.3.7. Detaching a Storage Connection from iSCSI Storage Copia collegamentoCollegamento copiato negli appunti!
DELETE
request.
Example 13.8. Detaching a Storage Connection from iSCSI Storage
DELETE /ovirt-engine/api/storagedomains/iSCSI_Domain_ID/storageconnections/Storage_Connection_ID HTTP/1.1 Accept: application/xml Content-type: application/xml
DELETE /ovirt-engine/api/storagedomains/iSCSI_Domain_ID/storageconnections/Storage_Connection_ID HTTP/1.1
Accept: application/xml
Content-type: application/xml
13.3.8. Defining Credentials to an iSCSI Target Copia collegamentoCollegamento copiato negli appunti!
storageconnectionextensions
element.
Example 13.9. Defining credentials to an iSCSI target