Re: [ovirt-users] [Python-SDK][Ovirt-4.0] Create VM on specific Host.

2017-04-19 Thread TranceWorldLogic .
Hi Juan, It working fine. affinity and hosts have solved my problem. Thanks, ~Rohit On Wed, Apr 19, 2017 at 5:16 PM, Juan Hernández wrote: > On 04/19/2017 01:27 PM, TranceWorldLogic . wrote: > > Hi, > > > > It is working fine. > > But I want to disable migration policy.

Re: [ovirt-users] [Python-SDK][Ovirt-4.0] Create VM on specific Host.

2017-04-19 Thread Juan Hernández
On 04/19/2017 01:27 PM, TranceWorldLogic . wrote: > Hi, > > It is working fine. > But I want to disable migration policy. It didn't solve my purpose. > > What else I have to do to disable migration ? > Not sure what exactly you want to achieve. Can you elaborate a bit? If in addition to pin

Re: [ovirt-users] [Python-SDK][Ovirt-4.0] Create VM on specific Host.

2017-04-19 Thread TranceWorldLogic .
Hi, It is working fine. But I want to disable migration policy. It didn't solve my purpose. What else I have to do to disable migration ? Thanks, ~Rohit On Wed, Apr 19, 2017 at 1:36 PM, TranceWorldLogic . < tranceworldlo...@gmail.com> wrote: > Thanks will try and let you know, > ~Rohit > >

Re: [ovirt-users] [Python-SDK][Ovirt-4.0] Create VM on specific Host.

2017-04-19 Thread TranceWorldLogic .
Thanks will try and let you know, ~Rohit On Wed, Apr 19, 2017 at 1:18 PM, Juan Hernández wrote: > On 04/19/2017 09:34 AM, Juan Hernández wrote: > > On 04/19/2017 08:41 AM, TranceWorldLogic . wrote: > >> Hi, > >> > >> I was trying to create VM on specific HOST using python

Re: [ovirt-users] [Python-SDK][Ovirt-4.0] Create VM on specific Host.

2017-04-19 Thread Juan Hernández
On 04/19/2017 09:34 AM, Juan Hernández wrote: > On 04/19/2017 08:41 AM, TranceWorldLogic . wrote: >> Hi, >> >> I was trying to create VM on specific HOST using python sdk as shown below. >> >> -- Code --- >> vm = vms_service.add( >> host =

Re: [ovirt-users] [Python-SDK][Ovirt-4.0] Create VM on specific Host.

2017-04-19 Thread Juan Hernández
On 04/19/2017 08:41 AM, TranceWorldLogic . wrote: > Hi, > > I was trying to create VM on specific HOST using python sdk as shown below. > > -- Code --- > vm = vms_service.add( > host = types.Host( > name = "host-01", >

[ovirt-users] [Python-SDK][Ovirt-4.0] Create VM on specific Host.

2017-04-19 Thread TranceWorldLogic .
Hi, I was trying to create VM on specific HOST using python sdk as shown below. -- Code --- vm = vms_service.add( host = types.Host( name = "host-01", ), ) -- End Code