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:
parent
671ed19c3f
commit
52e02439ca
@ -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:
|
||||||
|
@ -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 %}
|
||||||
|
@ -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"
|
||||||
#
|
#
|
||||||
# --------
|
# --------
|
||||||
#
|
#
|
||||||
|
@ -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:
|
||||||
|
@ -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:
|
||||||
|
@ -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:
|
||||||
|
@ -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
|
||||||
#
|
#
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user