Hi Rodolfo,
you helped a lot. I managed configure this, manually. Just for future reference let me write down what I did.
- First I already had the interface br-ex2 configured and correctly assigned physical interfaces in it
- I added the bridge mappings to the OVN DB:
ovs-vsctl set open . external-ids:ovn-bridge-mappings=datacentre:br-ex,m-storage:br-ex2
- I added my nw m-storage to ml2_conf.ini:
[ml2_type_vlan]
network_vlan_ranges=datacentre:1:2700,m-storage:3700:4000
[ml2_type_flat]
flat_networks=datacentre,m-storage
- I restarted the neutron service
- since I already had the m-storage nw created in openstack, but as provider "datacenter" and I already had instance ports using it (but it was not working), I had to create a new network and subnet. Delete the original ports and recreate and reassign it to the instances.
If I may, now I have two questions:
1. Shouldn't I also define this in ml2_conf.ini
[ovs]
bridge_mappings = datacentre:br-ex,m-storage:br-ex2
or is the setting of the vswitch register via ovs-vsctl persistent between redeployments or reboots?
2. Which parameters in tripleo-heat-templates sets the above ml2_conf.ini? I found these params:
NeutronFlatNetworks
NeutronNetworkVLANRanges
NeutronBridgeMappings
Thanks for your help
Tomas