summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-12-11 16:00:45 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-12-11 16:36:02 +0100
commit8f43c9af3ca49498659fb3caa08162504b50ab07 (patch)
treed3438793e063a187639e3efad2bf0a816659e374 /config
parent7b870a0cf6306b3de451860829508c0633493284 (diff)
[fuel] IDF: Add idf.fuel.network.interface_mtu
Allow configuring cluster-level jumbo frames via IDF. All virtual PODs default to using jumbo frames, while baremetal PODs will keep using 1500 until we confirm all switches are properly configured. While at it, update net_macros to configure MTU for VLAN interfaces too. JIRA: FUEL-336 Change-Id: Id6c7ec9377b15d53e69c8cbb16fa469b52ab7e3a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'config')
-rw-r--r--config/installers/fuel/net_macros.j21
-rw-r--r--config/pdf/idf-pod1.schema.yaml2
2 files changed, 3 insertions, 0 deletions
diff --git a/config/installers/fuel/net_macros.j2 b/config/installers/fuel/net_macros.j2
index b9693d1..7ff3166 100644
--- a/config/installers/fuel/net_macros.j2
+++ b/config/installers/fuel/net_macros.j2
@@ -23,6 +23,7 @@
{{ vlans[vlan] }}.{{ vlan }}:
enabled: true
proto: manual
+ mtu: ${_param:interface_mtu}
type: vlan
name: {{ vlans[vlan] }}.{{ vlan }}
use_interfaces:
diff --git a/config/pdf/idf-pod1.schema.yaml b/config/pdf/idf-pod1.schema.yaml
index a1108a0..7546279 100644
--- a/config/pdf/idf-pod1.schema.yaml
+++ b/config/pdf/idf-pod1.schema.yaml
@@ -63,6 +63,8 @@ definitions:
network:
type: 'object'
properties:
+ interface_mtu:
+ type: 'number'
ntp_strata_host1:
type: 'string'
ntp_strata_host2: