Hi,
I can't figure out how to do the following, a sample code will be helpful.
Put a storage domain in maintenance mode
Detach the storage domain
Remove the storage domain
By the way, do you have an API doc or wiki?
Thanks,
Huab
___
Users mailing lis
Thanks Ondra.
I am able to do the storage, but stuck in the host nic. I have rhvm 4.0
beta, and the sdk seems still v3.6.
Who knows where I can find the sample and doc for v3?
Thanks,
Huan
On 8/2/16, 11:56 PM, "Ondra Machacek" wrote:
>On 08/02/2016 10:53 PM, Huan He (huhe)
Hi Ondra,
Thinking about to upgrade to v4, but I can’t find host nic and bonding
example in the link you provided
https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples
Thanks,
Huan
On 8/4/16, 12:13 PM, "Ondra Machacek" wrote:
>On 08/04/2016 08:17 PM, Huan He
Hi,
I tried the host nic and bond sample code in
http://www.ovirt.org/develop/api/pythonapi/. In gui, I am able to create bond
and vlan network without issues.
here is my code
if __name__ == '__main__':
url = 'https://huhe-rhev-m.cisco.com/ovirt-engine/api'
usr = 'admin@internal'
I have ovirt engine 3.6 on centos 6.5 and tried to add centos 6.5 host.
I used the command below to install the host
yum localinstall
http://plain.resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm
The ovirt repo are listed below.
I tried to uncomment out the baseurl, still got the same is
I wonder if it has something to do with the centos version? I have
[root@host-182 ~]# uname -a
Linux host-182 2.6.32-642.3.1.el6.x86_64 #1 SMP Tue Jul 12 18:30:56 UTC 2016
x86_64 x86_64 x86_64 GNU/Linux
[root@host-182 ~]# more /etc/redhat-release
CentOS release 6.8 (Final)
[root@host-182 ~]#
Assuming the logical network ovirtmgmt has been configured in host NIC enp6s0.
host = api.hosts.get('host-123')
host_nic = host.nics.get('enp6s0')
How to get the logical network name ovirtmgmt?
I basically need to find ovirtmgmt is configured in which NIC.
Thanks,
Huan
Action.
Thanks,
Huan
On 8/13/16, 5:09 AM, "Juan Hernández" wrote:
>On 08/13/2016 12:17 AM, Huan He (huhe) wrote:
>> Assuming the logical network ovirtmgmt has been configured in host NIC
>> enp6s0.
>>
>> host = api.hosts.get(Œhost-123¹)
>> host_nic
8 matches
Mail list logo