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
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.
15 # export XCI_FLAVOR="aio"
17 # export XCI_FLAVOR="mini"
19 # export XCI_FLAVOR="noha"
21 # export XCI_FLAVOR="ha"
22 #-------------------------------------------------------------------------------
23 export XCI_FLAVOR=${XCI_FLAVOR:-aio}
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 OPNFV_RELENG_PATH=/opt/releng
32 export OPENSTACK_BIFROST_PATH=/opt/bifrost
33 export OPENSTACK_OSA_PATH=/opt/openstack-ansible
35 #-------------------------------------------------------------------------------
36 # Set the playbook to use for OpenStack deployment
37 #-------------------------------------------------------------------------------
38 # The variable can be overriden in order to install additional OpenStack services
39 # supported by OpenStack Ansible or exclude certain OpenStack services.
40 #-------------------------------------------------------------------------------
41 export OPNFV_OSA_PLAYBOOK=${OPNFV_OSA_PLAYBOOK:-"$OPENSTACK_OSA_PATH/playbooks/setup-openstack.yml"}
43 #-------------------------------------------------------------------------------
44 # Configure some other stuff
45 #-------------------------------------------------------------------------------
46 # Set the verbosity for ansible
49 # ANSIBLE_VERBOSITY="-v"
51 # ANSIBLE_VERBOSITY="-vvvv"
52 export ANSIBLE_VERBOSITY=${ANSIBLE_VERBOSITY-""}
53 export LOG_PATH=${LOG_PATH:-/opt/opnfv/logs}
54 export RUN_TEMPEST=${RUN_TEMPEST:-false}