Have you checked the ovirt_host_network ansible module ?
It got a VLAN example and I guess you can loop over all the VLANs.
Best Regards,
Strahil Nikolov
В сряда, 21 октомври 2020 г., 11:12:53 Гринуич+3, kim.kargaard(a)noroff.no
<kim.kargaard(a)noroff.no> написа:
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 -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)ovirt.org
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/users@ovirt.org/message/3YDTCIKQ4GY...