Merge "bugfix: /resources.json and /APIs cannot be accessed"
[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 export OPNFV_SSH_HOST_KEYS_PATH="${XCI_DEVEL_ROOT}/ssh_host_keys"
36
37 #-------------------------------------------------------------------------------
38 # Set the playbook to use for OpenStack deployment
39 #-------------------------------------------------------------------------------
40 # The variable can be overriden in order to install additional OpenStack services
41 # supported by OpenStack Ansible or exclude certain OpenStack services.
42 #-------------------------------------------------------------------------------
43 export OPNFV_OSA_PLAYBOOK=${OPNFV_OSA_PLAYBOOK:-"$OPENSTACK_OSA_PATH/playbooks/setup-openstack.yml"}
44
45 #-------------------------------------------------------------------------------
46 # Configure some other stuff
47 #-------------------------------------------------------------------------------
48 # Set the verbosity for ansible
49 #
50 # Examples:
51 #   ANSIBLE_VERBOSITY="-v"
52 # or
53 #   ANSIBLE_VERBOSITY="-vvvv"
54 export ANSIBLE_VERBOSITY=${ANSIBLE_VERBOSITY-""}
55 export LOG_PATH=${LOG_PATH:-${XCI_DEVEL_ROOT}/opnfv/logs}
56 export RUN_TEMPEST=${RUN_TEMPEST:-false}