prototypes: xci: user-vars: Move root directory away from /opt
[releng.git] / prototypes / xci / config / user-vars
1 #-------------------------------------------------------------------------------
2 # Set Deployment Flavor
3 #-------------------------------------------------------------------------------
4 # OPNFV XCI currently supports 4 different types of flavors:
5 #   - all in one (aio): 1 opnfv VM which acts as controller and compute node
6 #   - mini: 3 VMs, 1 opnfv VM deployment host, 1 controller, and 1 compute nodes
7 #   - noha: 4 VMs, 1 opnfv VM deployment host, 1 controller, and 2 compute nodes
8 #   - ha: 6 VMs, 1 opnfv VM deployment host, 3 controllers, and 2 compute nodes
9 #
10 # Apart from having different number of nodes, CPU, RAM, and disk allocations
11 # also differ from each other. Please take a look at the env-vars files for
12 # each of these flavors.
13 #
14 # Examples:
15 #   export XCI_FLAVOR="aio"
16 # or
17 #   export XCI_FLAVOR="mini"
18 # or
19 #   export XCI_FLAVOR="noha"
20 # or
21 #   export XCI_FLAVOR="ha"
22 #-------------------------------------------------------------------------------
23 export XCI_FLAVOR=${XCI_FLAVOR:-aio}
24
25 #-------------------------------------------------------------------------------
26 # Set Paths to where git repositories of XCI Components will be cloned
27 #-------------------------------------------------------------------------------
28 # OPNFV XCI Sandbox is not verified to be used as non-root user as of yet so
29 # changing these paths might break things.
30 #-------------------------------------------------------------------------------
31 export XCI_DEVEL_ROOT=${XCI_DEVEL_ROOT:-"/tmp/.xci-deploy-env"}
32 export OPNFV_RELENG_PATH="${XCI_DEVEL_ROOT}/releng"
33 export OPENSTACK_BIFROST_PATH="${XCI_DEVEL_ROOT}/bifrost"
34 export OPENSTACK_OSA_PATH="${XCI_DEVEL_ROOT}/openstack-ansible"
35
36 #-------------------------------------------------------------------------------
37 # Set the playbook to use for OpenStack deployment
38 #-------------------------------------------------------------------------------
39 # The variable can be overriden in order to install additional OpenStack services
40 # supported by OpenStack Ansible or exclude certain OpenStack services.
41 #-------------------------------------------------------------------------------
42 export OPNFV_OSA_PLAYBOOK=${OPNFV_OSA_PLAYBOOK:-"$OPENSTACK_OSA_PATH/playbooks/setup-openstack.yml"}
43
44 #-------------------------------------------------------------------------------
45 # Configure some other stuff
46 #-------------------------------------------------------------------------------
47 # Set the verbosity for ansible
48 #
49 # Examples:
50 #   ANSIBLE_VERBOSITY="-v"
51 # or
52 #   ANSIBLE_VERBOSITY="-vvvv"
53 export ANSIBLE_VERBOSITY=${ANSIBLE_VERBOSITY-""}
54 export LOG_PATH=${LOG_PATH:-${XCI_DEVEL_ROOT}/opnfv/logs}
55 export RUN_TEMPEST=${RUN_TEMPEST:-false}