Hi, Thank you, will check that out.
Kind regards Kim From: Ales Musil <[email protected]> Date: Wednesday, 21 October 2020 at 10:28 To: Kim Kargaard <[email protected]> Cc: users <[email protected]> Subject: Re: [ovirt-users] multiple new networks On Wed, Oct 21, 2020 at 10:12 AM <[email protected]<mailto:[email protected]>> wrote: Hi all, We have Ovirt 4.3, with 11 hosts, and need a bunch of VLANs for our student's to be isolated and do specific things. We have created the VLANs on the switch, but need to create them on the admin portal, with vlan tagging and then add them to the interface on the hosts. We are talking about 400 VLANs. I have done this manually for 4 VLANs and all works fine, but was wondering if there is a way of doing this in one go for all? So I don't have to do it 400 times (at least creating the VLANs on the admin portal). Thanks. Kim _______________________________________________ Users mailing list -- [email protected]<mailto:[email protected]> To unsubscribe send an email to [email protected]<mailto:[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/3YDTCIKQ4GY3KFLH3IBGTERADO7WLHDB/ Hello, you can automate this using oVirt API. The documentation is available on [0]. Another way is to use python-sdk [1]. Python SDK uses the oVirt API under the hood so it corresponds one to another. [1] contains some real python code that is used to manipulate networks through the SDK. Hopefully this helps. Regards, Ales [0] http://ovirt.github.io/ovirt-engine-api-model/4.3/ [1] http://ovirt.github.io/ovirt-engine-sdk/4.3/4.3.2/ [2] https://github.com/oVirt/ovirt-system-tests/blob/master/basic-suite-master/test_utils/network_utils_v4.py -- Ales Musil Software Engineer - RHV Network Red Hat EMEA<https://www.redhat.com> [email protected]<mailto:[email protected]> IM: amusil [Image removed by sender.]<https://red.ht/sig>
_______________________________________________ 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/UABEVRA6IHCL3EMS4YXDDIBQHCCZDWCZ/

