Fix mtu reference in standalone template

The standalone documentation instructs to use the
'InterfaceLocalMtu' parameter to define the MTU
for the interface.

The 'local_mtu' variable used in the standalone template
get's the value of {{role.name}}LocalMtu.

This changes the standalone template to use the value of
the 'ctlplane_mtu', which in the depends on is set from
the 'InterfaceLocalMtu' parameter.

Depends-On: https://review.opendev.org/769709
Change-Id: I95dac5daa3176286fa5f83d27368aa2a54c32186
This commit is contained in:
Harald Jensås 2021-01-11 21:21:55 +01:00
parent 3d0245527a
commit dd9340608c
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@
tripleo_network_config_template: templates/standalone.j2
tripleo_network_config_manage_service: false
tripleo_network_config_hide_sensitive_logs: false
local_mtu: 1500
ctlplane_mtu: 1500
ctlplane_ip: 203.0.113.1
ctlplane_subnet_cidr: 24
ctlplane_host_routes: []

View File

@ -15,7 +15,7 @@ network_config:
- type: ovs_bridge
name: br-ctlplane
use_dhcp: false
mtu: {{ local_mtu }}
mtu: {{ ctlplane_mtu }}
ovs_extra:
- br-set-external-id br-ctlplane bridge-id br-ctlplane
addresses:
@ -29,4 +29,4 @@ network_config:
- type: interface
name: {{ neutron_public_interface_name }}
primary: true
mtu: {{ local_mtu }}
mtu: {{ ctlplane_mtu }}