summaryrefslogtreecommitdiffstats
path: root/roles/contiv/defaults
diff options
context:
space:
mode:
authorSanjeev Rampal <srampal@cisco.com>2017-03-07 10:42:08 -0800
committerSanjeev Rampal <srampal@cisco.com>2017-03-07 14:14:56 -0800
commitb24037e7f761b18a6de4841503732a9372d3900c (patch)
treef8891e468f9ee218a899c3f78ce06fe6b9fede02 /roles/contiv/defaults
parent7c8f77dbf4ea10a5b9034dbd2a6519d8e0d5e8ce (diff)
downloadopenshift-b24037e7f761b18a6de4841503732a9372d3900c.tar.gz
openshift-b24037e7f761b18a6de4841503732a9372d3900c.tar.bz2
openshift-b24037e7f761b18a6de4841503732a9372d3900c.tar.xz
openshift-b24037e7f761b18a6de4841503732a9372d3900c.zip
Fix for issue 3541
Diffstat (limited to 'roles/contiv/defaults')
-rw-r--r--roles/contiv/defaults/main.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/contiv/defaults/main.yml b/roles/contiv/defaults/main.yml
index c2b72339c..1ccae61f2 100644
--- a/roles/contiv/defaults/main.yml
+++ b/roles/contiv/defaults/main.yml
@@ -2,11 +2,18 @@
# The version of Contiv binaries to use
contiv_version: 1.0.0-beta.3-02-21-2017.20-52-42.UTC
+# The version of cni binaries
+cni_version: v0.4.0
+
contiv_default_subnet: "20.1.1.1/24"
contiv_default_gw: "20.1.1.254"
# TCP port that Netmaster listens for network connections
netmaster_port: 9999
+# Default for contiv_role
+contiv_role: netmaster
+
+
# TCP port that Netplugin listens for network connections
netplugin_port: 6640
contiv_rpc_port1: 9001
@@ -33,6 +40,14 @@ bin_dir: /usr/bin
# Path to the contivk8s cni binary
cni_bin_dir: /opt/cni/bin
+# Path to cni archive download directory
+cni_download_dir: /tmp
+
+# URL for cni binaries
+cni_bin_url_base: "https://github.com/containernetworking/cni/releases/download/"
+cni_bin_url: "{{ cni_bin_url_base }}/{{ cni_version }}/cni-{{ cni_version }}.tbz2"
+
+
# Contiv config directory
contiv_config_dir: /opt/contiv/config