From 8f43c9af3ca49498659fb3caa08162504b50ab07 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Tue, 11 Dec 2018 16:00:45 +0100 Subject: [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 --- config/installers/fuel/net_macros.j2 | 1 + config/pdf/idf-pod1.schema.yaml | 2 ++ 2 files changed, 3 insertions(+) (limited to 'config') diff --git a/config/installers/fuel/net_macros.j2 b/config/installers/fuel/net_macros.j2 index b9693d11..7ff3166c 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 a1108a00..7546279d 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: -- cgit 1.2.3-korg