Yes, follow the example here:

POST /ovirt-engine/api/vms/123/nics

<nic>
  <name>mynic</name>
  <interface>virtio</interface>
  <vnic_profile id="456"/>
</nic>

http://ovirt.github.io/ovirt-engine-api-model/master/#services/vm_nics/methods/add



*Regards,*

*Shani Leviim*


On Wed, Apr 21, 2021 at 10:05 AM <[email protected]> wrote:

> Thanks. Is it possible to do it like this via the REST-API?
> I can't find it in the documentation. :-(
> I don't use Python.
> _______________________________________________
> Users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/[email protected]/message/GBCOWSEHG6HR2FFWTY6MLD632EPOOQWT/
>
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/574T3PCT6HQZXDQYBJCNACRZ5G5GGM25/

Reply via email to