Re: [ovirt-users] ovirt 3.6 python sdk how to find logical network from a host nic?

2016-08-16 Thread Huan He (huhe)
in the Action. Thanks, Huan On 8/13/16, 5:09 AM, "Juan Hernández" <jhern...@redhat.com> 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(Œhos

[ovirt-users] ovirt 3.6 python sdk how to find logical network from a host nic?

2016-08-12 Thread Huan He (huhe)
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

Re: [ovirt-users] Cannot locate vdsm package, possible cause is incorrect channels

2016-08-08 Thread Huan He (huhe)
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

[ovirt-users] Cannot locate vdsm package, possible cause is incorrect channels

2016-08-08 Thread Huan He (huhe)
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

Re: [ovirt-users] storage domain operation python api sample codes needed

2016-08-04 Thread Huan He (huhe)
oVirt/ovirt-system-tests/blob/master/basic_suite_master >/test-scenarios/002_bootstrap.py#L136 > >> >> Thanks, >> Huan >> >> >> On 8/2/16, 11:56 PM, "Ondra Machacek" <omach...@redhat.com> wrote: >> >>> On 08/02/2016 10:53 PM, Huan

Re: [ovirt-users] storage domain operation python api sample codes needed

2016-08-04 Thread Huan He (huhe)
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" <omach...@redhat.com> wrote: >On 08/02/201

[ovirt-users] storage domain operation python api sample codes needed

2016-08-02 Thread Huan He (huhe)
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