Fix physical network mapping for linuxbridge

The same physical network label cannot be used more than once with
Linuxbridge.

This patch standardises the label physnet1 for the flat public network
and instead uses physnet2 for the vlan project networks for
Linuxbridge.

Change-Id: Ie42b995c93e081d484fc177fb665802950335c50
This commit is contained in:
Jonathan Rosser 2024-03-13 13:12:35 +00:00
parent 671ed19c3f
commit 52e02439ca
8 changed files with 10 additions and 8 deletions

View File

@ -106,7 +106,7 @@ global_overrides:
container_interface: "eth11" container_interface: "eth11"
type: "vlan" type: "vlan"
range: "101:200,301:400" range: "101:200,301:400"
net_name: "physnet1" net_name: "physnet2"
group_binds: group_binds:
- neutron_linuxbridge_agent - neutron_linuxbridge_agent
- network: - network:

View File

@ -162,6 +162,7 @@ global_overrides:
container_interface: "eth12" container_interface: "eth12"
host_bind_override: "eth12" host_bind_override: "eth12"
type: "flat" type: "flat"
# ensure that public network is consistently physnet1 between OVS / OVN and Linuxbridge
net_name: "physnet1" net_name: "physnet1"
group_binds: group_binds:
- neutron_linuxbridge_agent - neutron_linuxbridge_agent
@ -171,7 +172,8 @@ global_overrides:
container_interface: "eth11" container_interface: "eth11"
type: "vlan" type: "vlan"
range: "101:200,301:400" range: "101:200,301:400"
net_name: "physnet1" # special case for project networks - cannot re-use the physnet1 label with Linuxbridge
net_name: "physnet2"
group_binds: group_binds:
- neutron_linuxbridge_agent - neutron_linuxbridge_agent
{% else %} {% else %}

View File

@ -295,7 +295,7 @@
# container_interface: "eth12" # container_interface: "eth12"
# host_bind_override: "eth12" # host_bind_override: "eth12"
# type: "flat" # type: "flat"
# net_name: "physnet1" # net_name: "physnet2"
# #
# -------- # --------
# #

View File

@ -181,7 +181,7 @@ global_overrides:
container_interface: "eth12" container_interface: "eth12"
host_bind_override: "eth12" host_bind_override: "eth12"
type: "flat" type: "flat"
net_name: "physnet1" net_name: "physnet2"
group_binds: group_binds:
- neutron_linuxbridge_agent - neutron_linuxbridge_agent
- network: - network:

View File

@ -57,7 +57,7 @@ global_overrides:
container_interface: "eth11" container_interface: "eth11"
type: "vlan" type: "vlan"
range: "101:200,301:400" range: "101:200,301:400"
net_name: "physnet1" net_name: "physnet2"
group_binds: group_binds:
- neutron_linuxbridge_agent - neutron_linuxbridge_agent
- network: - network:

View File

@ -56,7 +56,7 @@ global_overrides:
container_interface: "eth11" container_interface: "eth11"
type: "vlan" type: "vlan"
range: "101:200,301:400" range: "101:200,301:400"
net_name: "physnet1" net_name: "physnet2"
group_binds: group_binds:
- neutron_linuxbridge_agent - neutron_linuxbridge_agent
- network: - network:

View File

@ -81,7 +81,7 @@ global_overrides:
host_bind_override: "ens1f0" host_bind_override: "ens1f0"
type: "vlan" type: "vlan"
range: "101:200,301:400" range: "101:200,301:400"
net_name: "physnet1" net_name: "physnet2"
group_binds: group_binds:
- network_hosts - network_hosts
# #

View File

@ -52,7 +52,7 @@ global_overrides:
container_interface: "eth11" container_interface: "eth11"
type: "vlan" type: "vlan"
range: "101:200,301:400" range: "101:200,301:400"
net_name: "physnet1" net_name: "physnet2"
group_binds: group_binds:
- neutron_linuxbridge_agent - neutron_linuxbridge_agent
- network: - network: