Create a VNet with flexible IP addresses

Hello OpenNebula Teams,

When I create a Virtual Network Template, I can use it to create a VNet. I can update the available IP range, but I can’t change or add new IP ranges.
How can I create a vNet with flexible IP addresses (different ARs)?
Note: Opennebula version 6.8
Thanks.

You can define multiple address ranges in the same template. Take a look at this example. It only has one AR entry, adding more AR entries should work. You can also use the command onevnet addar to manage the address ranges in a Virtual Nework.