################ /etc/network/interfaces:
#############
auto bond1
iface bond1 inet manual
bond-slaves eno2 eno4
bond-mode 802.3ad
bond-miimon 100
bond-downdelay 200
bond-updelay 200
bond-lacp-rate 1
mtu 9000
auto bond1.30
iface bond1.30 inet manual
vlan-raw-device bond1
## (br-pubv is for my public vip)
auto bond1.232
iface bond1.232 inet manual
vlan-raw-device bond1
auto br-overlay
iface br-overlay inet static
bridge_stp off
bridge_waitport 0
bridge_fd 0
bridge_ports bond1.30
address
auto br-pubv
iface br-pubv inet static
address
gateway
bridge_stp off
bridge_waitport 0
bridge_fd 0
bridge_ports bond1.232
#############
### openstack_user_config.yml:
#############
- network:
container_bridge: "br-ex"
network_interface: "bond1"
type: "vlan"
range: "232:332"
net_name: "physnet1"
group_binds:
- neutron_ovn_controller
#############
### user_variables.yml
#############
neutron_plugin_type: ml2.ovn
neutron_plugin_base:
- ovn-router
- qos
- neutron.services.ovn_l3.plugin.OVNL3RouterPlugin
- neutron_dynamic_routing.services.bgp.bgp_plugin.BgpPlugin
- vpnaas
- metering
- firewall_v2
neutron_ml2_drivers_type: "vlan,local,geneve,flat"
neutron_provider_networks:
network_types: "geneve"
network_geneve_ranges: "1:1000"
network_vlan_ranges: "physnet1"
network_mappings: "physnet1:br-ex"
network_interface_mappings: "br-ex:bond1"
Bond1 is a trunk port (no native vlan), that has access to both overlay vlan and the 232:332 vlan range which both work when setting either network as a bridge on bond1 so connectivity is there.
I have network-northd/gateway_hosts defined as well as:
neutron_neutron_conf_overrides:
ovn:
enable_distributed_floating_ip: True
openstack_host_specific_kernel_modules:
- name: "openvswitch"
pattern: "CONFIG_OPENVSWITCH"