[ovirt-users] Re: Attaching/Detaching Export Domain from CLI

2019-06-23 Thread Benny Zlotnik
you can use the remove action[1], notice you need to send a DELETE request http://ovirt.github.io/ovirt-engine-api-model/4.3/#services/attached_storage_domain/methods/remove On Sun, Jun 23, 2019 at 4:05 PM wrote: > Hello, > > Thanks Benny! I was able to attach and detach using the links you

[ovirt-users] Re: Attaching/Detaching Export Domain from CLI

2019-06-23 Thread alexander . stockel
Hello, Thanks Benny! I was able to attach and detach using the links you gave me. Namely, I used curl to attach: curl \ --insecure \ --user 'admin@internal:abc' \ --request POST \ --header 'Version: 4' \ --header 'Content-Type: application/xml' \ --header 'Accept: application/xml' \ --data '

[ovirt-users] Re: Attaching/Detaching Export Domain from CLI

2019-06-23 Thread Benny Zlotnik
You can do this using the SDK/REST API[1][2] [1] https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/attach_nfs_iso_storage_domain.py [2] http://ovirt.github.io/ovirt-engine-api-model/4.3/#_attach_storage_domains_to_data_center On Sun, Jun 23, 2019 at 11:24 AM Alexander Stockel |