summaryrefslogtreecommitdiffstats
path: root/prototypes/xci/config/user-vars
blob: bb2bfe1d378eb9bbfcb00e032190c3f3bfa106b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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:-""}