Deploy a VM with multiple net interfaces on openstack provider

Hi,

i would like to deploy a VM machine using juju and a Openstack cloud provider in a openstack tenant. The tenant has 2 networks and i would like to attach 2 ports belonging to the same VM.

i can set the management network via juju model-config network=“network1” but i don’t know how to attach a second interface, is it possibile?

thank you

As of Juju 3.1, we allow multi-homing on OpenStack.

You can either leave network unconfigured, or configure it with a comma-delimited list of the networks you want to attach to.

This is a new feature; we’d love any feedback you might have.

Hi @manadart i just tried with juju 3.1.5 but it doesn’t work. i have a Openstack tenant with 3 different networks, but it only peaks the first one.

the default one matches the default-space setting too.

do we need to setup spaces too?

What is the model-config value you’re now using for network?

network= “net1,net2,net3” where net1,net2,net3 is the openstack network name