[fuel] IDF: Add idf.fuel.network.interface_mtu 33/65733/3
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 11 Dec 2018 15:00:45 +0000 (16:00 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 11 Dec 2018 15:36:02 +0000 (16:36 +0100)
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>
config/installers/fuel/net_macros.j2
config/pdf/idf-pod1.schema.yaml
labs/arm/idf-virtual2.yaml
labs/ericsson/idf-virtual-pod1bl01.yaml
labs/ericsson/idf-virtual1.yaml
labs/ericsson/idf-virtual2.yaml
labs/ericsson/idf-virtual3.yaml
labs/ericsson/idf-virtual4.yaml
labs/ericsson/idf-virtual5.yaml

index b9693d1..7ff3166 100644 (file)
@@ -23,6 +23,7 @@
         {{ vlans[vlan] }}.{{ vlan }}:
           enabled: true
           proto: manual
+          mtu: ${_param:interface_mtu}
           type: vlan
           name: {{ vlans[vlan] }}.{{ vlan }}
           use_interfaces:
index a1108a0..7546279 100644 (file)
@@ -63,6 +63,8 @@ definitions:
         network:
           type: 'object'
           properties:
+            interface_mtu:
+              type: 'number'
             ntp_strata_host1:
               type: 'string'
             ntp_strata_host2:
index fa83e19..ba025d0 100644 (file)
@@ -57,6 +57,7 @@ idf:
         private: ~
         public: 'public'
     network:
+      interface_mtu: 9000
       ntp_strata_host1: 1.se.pool.ntp.org
       ntp_strata_host2: 0.se.pool.ntp.org
       node:
index 528152c..8e172d9 100644 (file)
@@ -58,6 +58,7 @@ idf:
         private: ~
         public: ~
     network:
+      interface_mtu: 9000
       ntp_strata_host1: 1.se.pool.ntp.org
       ntp_strata_host2: 0.se.pool.ntp.org
       node:
index e7ba00f..08d2812 100644 (file)
@@ -58,6 +58,7 @@ idf:
         private: ~
         public: ~
     network:
+      interface_mtu: 9000
       ntp_strata_host1: 1.se.pool.ntp.org
       ntp_strata_host2: 0.se.pool.ntp.org
       node:
index 586661a..e51d545 100644 (file)
@@ -58,6 +58,7 @@ idf:
         private: ~
         public: ~
     network:
+      interface_mtu: 9000
       ntp_strata_host1: 1.se.pool.ntp.org
       ntp_strata_host2: 0.se.pool.ntp.org
       node:
index 4a7aa82..a398499 100644 (file)
@@ -58,6 +58,7 @@ idf:
         private: ~
         public: ~
     network:
+      interface_mtu: 9000
       ntp_strata_host1: 1.se.pool.ntp.org
       ntp_strata_host2: 0.se.pool.ntp.org
       node:
index ddcd621..cac78af 100644 (file)
@@ -58,6 +58,7 @@ idf:
         private: ~
         public: ~
     network:
+      interface_mtu: 9000
       ntp_strata_host1: 1.se.pool.ntp.org
       ntp_strata_host2: 0.se.pool.ntp.org
       node:
index 067ec0c..7e2b3a4 100644 (file)
@@ -58,6 +58,7 @@ idf:
         private: ~
         public: ~
     network:
+      interface_mtu: 9000
       ntp_strata_host1: 1.se.pool.ntp.org
       ntp_strata_host2: 0.se.pool.ntp.org
       node: