summaryrefslogtreecommitdiffstats
path: root/prototypes/xci/config
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2017-03-24 20:17:42 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-24 20:17:42 +0000
commit27c2b900b293a83d23990eba3b4492fa65bbf413 (patch)
treec9d8cf3fad171cf14494cb2e02a824889e595d73 /prototypes/xci/config
parented77a7078497572a8d534ea234fe76f9969713b6 (diff)
parentaf43f43798ccb6a012dcb072f84c116f7e3ca46a (diff)
Merge "xci: Set up the basics for xci developer sandbox"
Diffstat (limited to 'prototypes/xci/config')
-rwxr-xr-xprototypes/xci/config/pinned-versions26
-rwxr-xr-xprototypes/xci/config/user-vars44
2 files changed, 70 insertions, 0 deletions
diff --git a/prototypes/xci/config/pinned-versions b/prototypes/xci/config/pinned-versions
new file mode 100755
index 000000000..c81fcc36b
--- /dev/null
+++ b/prototypes/xci/config/pinned-versions
@@ -0,0 +1,26 @@
+#-------------------------------------------------------------------------------
+# Pinned Component Versions
+#-------------------------------------------------------------------------------
+# You are free to override these versions in user-vars to experiment with
+# different branches or with different commits but be aware that things might
+# not work as expected.
+#
+# It is important to be consistent between branches you use for OpenStack
+# projects OPNFV XCI uses.
+#
+# Examples:
+# export OPENSTACK_BIFROST_VERSION="stable/ocata"
+# export OPENSTACK_OSA_VERSION="stable/ocata"
+# or
+# export OPENSTACK_BIFROST_VERSION="master"
+# export OPENSTACK_OSA_VERSION="master"
+# or
+# export OPENSTACK_BIFROST_VERSION="a87f7ce6c8725b3bbffec7b2efa1e466796848a9"
+# export OPENSTACK_OSA_VERSION="4713cf45e11b4ebca9fbed25d1389854602213d8"
+#-------------------------------------------------------------------------------
+# use releng from master until the development work with the sandbox is complete
+export OPNFV_RELENG_VERSION="master"
+# HEAD of "stable/ocata" as of 24.03.2017 - verified by OPNFV CI
+export OPENSTACK_BIFROST_VERSION="a87f7ce6c8725b3bbffec7b2efa1e466796848a9"
+# HEAD of "stable/ocata" as of 24.03.2017 - verified by OPNFV CI
+export OPENSTACK_OSA_VERSION="4713cf45e11b4ebca9fbed25d1389854602213d8"
diff --git a/prototypes/xci/config/user-vars b/prototypes/xci/config/user-vars
new file mode 100755
index 000000000..bb2bfe1d3
--- /dev/null
+++ b/prototypes/xci/config/user-vars
@@ -0,0 +1,44 @@
+#-------------------------------------------------------------------------------
+# Set Paths to where git repositories of XCI Components will be cloned
+#-------------------------------------------------------------------------------
+# OPNFV XCI Sandbox is not verified to be used as non-root user as of yet so
+# changing these paths might break things.
+#-------------------------------------------------------------------------------
+export OPNFV_RELENG_PATH=/opt/releng
+export OPENSTACK_BIFROST_PATH=/opt/bifrost
+export OPENSTACK_OSA_PATH=/opt/openstack-ansible
+
+#-------------------------------------------------------------------------------
+# Set Deployment Flavor
+#-------------------------------------------------------------------------------
+# OPNFV XCI currently supports 4 different types of flavors:
+# - all in one (aio) - xci-aio.sh: 1 VM which acts as controller and compute node
+# - mini opnfv: 3 VMs, 1 xcimaster, 1 controller, and 1 compute nodes
+# - noha: 4 VMs, 1 xcimaster, 1 controller, and 2 compute nodes
+# - ha: 6 VMs, 1 xcimaster, 3 controllers, and 2 compute nodes
+#
+# Apart from having different number of nodes, CPU, RAM, and disk allocations
+# also differ from each other. Please take a look at the env-vars files for
+# each of these flavors.
+#
+# Examples:
+# export XCI_FLAVOR="xci-aio"
+# or
+# export XCI_FLAVOR="xci-mini"
+# or
+# export XCI_FLAVOR="xci-noha"
+# or
+# export XCI_FLAVOR="xci-ha"
+#-------------------------------------------------------------------------------
+export XCI_FLAVOR=${XCI_FLAVOR:-xci-mini}
+
+#-------------------------------------------------------------------------------
+# Configure some other stuff
+#-------------------------------------------------------------------------------
+# Set the verbosity for ansible
+#
+# Examples:
+# ANSIBLE_VERBOSITY="-v"
+# or
+# ANSIBLE_VERBOSITY="-vvvv"
+export ANSIBLE_VERBOSITY=${ANSIBLE_VERBOSITY:-""}