summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts/library
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-09-02 16:55:17 -0400
committerBrenton Leanhardt <bleanhar@redhat.com>2015-09-02 16:55:17 -0400
commit7d480fbab74ddc8f76279f32c1a64148e5844382 (patch)
treeb9dcfc1a501b3e11a5ad1a64156eb5ee0f426c9b /roles/openshift_facts/library
parent795a1d2c6a34d1ca3eb8e84325d9109d134e0a33 (diff)
parentc28aea2f19b6aea729f27b636e5318ac775addb6 (diff)
downloadopenshift-7d480fbab74ddc8f76279f32c1a64148e5844382.tar.gz
openshift-7d480fbab74ddc8f76279f32c1a64148e5844382.tar.bz2
openshift-7d480fbab74ddc8f76279f32c1a64148e5844382.tar.xz
openshift-7d480fbab74ddc8f76279f32c1a64148e5844382.zip
Merge pull request #544 from sdodson/serviceNetworkCIDR
Add serviceNetworkCIDR and SDN MTU config
Diffstat (limited to 'roles/openshift_facts/library')
-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=''):