[ovirt-users] API -- Do I need to use templates? Can I change network for the nic?

Itamar Heim iheim at redhat.com
Wed Oct 1 10:38:13 UTC 2014


On 10/01/2014 10:54 AM, Lior Vernia wrote:
> Hi Morgan,
>
> I'm not sure if you want all VMs to use the same network or not. If you
> do, the best way would be to create a template with one interface, and
> the relevant network (profile) attached.
>
> If you want certain VMs to be connected to other networks, once you
> create the VM you can send a PUT request on /api/vms/{id}/nics/{id}/ and
> update it with the relevant network (profile).

I thought we allow to change the logical network at vm creation since 
instance types were added?

>
> Hope this helps! Let us know please :)
> Yours, Lior.
>
> On 01/10/14 10:32, Morgan McLean wrote:
>> Hi,
>>
>> Trying to remotely spawn a large amount of VM's. It would appear I can
>> only use templates...which would have a NIC stuck to one network vlan.
>> It doesn't appear that I can change that vlan remotely.
>>
>> Is there any easy way I can get this done?
>>
>> Thanks,
>> Morgan
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>




More information about the Users mailing list