Skip to content
Snippets Groups Projects
Commit 31212e42 authored by Quentin MACHU's avatar Quentin MACHU
Browse files

Neutron DHCP Agent now passes a MTU (1438 by default) to instances to make...

Neutron DHCP Agent now passes a MTU (1438 by default) to instances to make Neutron networks working on a physical network swhich don't allow jumboframes
parent 25722812
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,8 @@ class iaas::profile::neutron::router (
$region = hiera('iaas::region', undef),
$endpoint = hiera('iaas::role::endpoint::main_address', undef),
$mtu = 1438,
) {
sysctl { 'net.ipv4.ip_forward': value => '1' }
sysctl { 'net.ipv4.conf.all.rp_filter': value => '0' }
......@@ -36,6 +38,13 @@ class iaas::profile::neutron::router (
dhcp_delete_namespaces => true,
enable_isolated_metadata => true,
enable_metadata_network => true,
dnsmasq_config_file => "/etc/neutron/dnsmasq-neutron.conf",
}
file { '/etc/neutron/dnsmasq-neutron.conf':
owner => root,
group => root,
mode => 644,
content => "dhcp-option-force=26,${mtu}"
}
class { '::neutron::agents::vpnaas':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment