summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2015-09-01 16:34:01 -0400
committerScott Dodson <sdodson@redhat.com>2015-09-02 12:44:34 -0400
commitc28aea2f19b6aea729f27b636e5318ac775addb6 (patch)
tree127d941412bdb2d201f5cb954b3b1f5411f92212 /roles/openshift_facts
parent32578c30f370d05dd472d07d07d7b934fd9c1510 (diff)
downloadopenshift-c28aea2f19b6aea729f27b636e5318ac775addb6.tar.gz
openshift-c28aea2f19b6aea729f27b636e5318ac775addb6.tar.bz2
openshift-c28aea2f19b6aea729f27b636e5318ac775addb6.tar.xz
openshift-c28aea2f19b6aea729f27b636e5318ac775addb6.zip
Add openshift_node_sdn_mtu configuration
Sync's with Origin 1.0.6 and OSE 3.0.2 node-config.yaml networkConfig changes Fixes #534
Diffstat (limited to 'roles/openshift_facts')
-rwxr-xr-xroles/openshift_facts/library/openshift_facts.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py
index 334929c74..d4f38a7b4 100755
--- a/roles/openshift_facts/library/openshift_facts.py
+++ b/roles/openshift_facts/library/openshift_facts.py
@@ -488,6 +488,10 @@ def set_sdn_facts_if_unset(facts):
if 'sdn_host_subnet_length' not in facts['master']:
facts['master']['sdn_host_subnet_length'] = '8'
+ if 'node' in facts:
+ if 'sdn_mtu' not in facts['node']:
+ facts['node']['sdn_mtu'] = '1450'
+
return facts
def format_url(use_ssl, hostname, port, path=''):