diff options
Diffstat (limited to 'tests/utils/devstack')
-rw-r--r-- | tests/utils/devstack/local.conf | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/tests/utils/devstack/local.conf b/tests/utils/devstack/local.conf new file mode 100644 index 0000000..2b29ca8 --- /dev/null +++ b/tests/utils/devstack/local.conf @@ -0,0 +1,102 @@ +[[local|localrc]] +# Use eth1 for stacking (host-only network) +HOST_IP_IFACE=ens3 + +# While ``stack.sh`` is happy to run without ``localrc``, devlife is better when +# there are a few minimal variables set: + +# If the ``*_PASSWORD`` variables are not set here you will be prompted to enter +# values for them by ``stack.sh``and they will be added to ``local.conf``. +ADMIN_PASSWORD=opnfv +DATABASE_PASSWORD=opnfvdb +RABBIT_PASSWORD=hopper +SERVICE_PASSWORD=$ADMIN_PASSWORD + +# ``HOST_IP`` and ``HOST_IPV6`` should be set manually for best results if +# the NIC configuration of the host is unusual, i.e. ``eth1`` has the default +# route but ``eth0`` is the public interface. They are auto-detected in +# ``stack.sh`` but often is indeterminate on later runs due to the IP moving +# from an Ethernet interface to a bridge on the host. Setting it here also +# makes it available for ``openrc`` to include when setting ``OS_AUTH_URL``. +# Neither is set by default. +#HOST_IP=w.x.y.z +#HOST_IPV6=2001:db8::7 + +# By default stack.sh only installs Python packages if no version is currently +# installed or the current version does not match a specified requirement. +# If PIP_UPGRADE is set to True then existing required Python packages will +# be upgraded to the most recent version that matches requirements. +PIP_UGRADE=True + +# Logging +# ------- + +# By default ``stack.sh`` output only goes to the terminal where it runs. It can +# be configured to additionally log to a file by setting ``LOGFILE`` to the full +# path of the destination log file. A timestamp will be appended to the given name. +LOGFILE=$DEST/logs/stack.sh.log + +# Old log files are automatically removed after 7 days to keep things neat. Change +# the number of days by setting ``LOGDAYS``. +LOGDAYS=2 + +# Nova logs will be colorized if ``SYSLOG`` is not set; turn this off by setting +# ``LOG_COLOR`` false. +#LOG_COLOR=False + + +# Using milestone-proposed branches +# --------------------------------- + +# Uncomment these to grab the milestone-proposed branches from the +# repos: +#CINDER_BRANCH=milestone-proposed +#GLANCE_BRANCH=milestone-proposed +#HORIZON_BRANCH=milestone-proposed +#KEYSTONE_BRANCH=milestone-proposed +#KEYSTONECLIENT_BRANCH=milestone-proposed +#NOVA_BRANCH=milestone-proposed +#NOVACLIENT_BRANCH=milestone-proposed +#NEUTRON_BRANCH=milestone-proposed +#SWIFT_BRANCH=milestone-proposed + +# Using git versions of clients +# ----------------------------- +# By default clients are installed from pip. See LIBS_FROM_GIT in +# stackrc for details on getting clients from specific branches or +# revisions. e.g. +# LIBS_FROM_GIT="python-ironicclient" +# IRONICCLIENT_BRANCH=refs/changes/44/2.../1 + +# Disable Identity API v2 +# The Identity API v2 is deprecated as of Mitaka and it is recommended to only use the v3 API. +# It is possible to setup keystone without v2 API, by doing: +#ENABLE_IDENTITY_V2=False -- this is causing an issue with Congress + +# Turn on Neutron +disable_service n-net +enable_service neutron +enable_service q-svc q-agt q-dhcp q-l3 q-meta +Q_ML2_PLUGIN_EXT_DRIVERS=port_security + +# Turn on Swift (Object Store) without replication +enable_service s-proxy s-object s-container s-account +SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5 +SWIFT_REPLICAS=1 +SWIFT_DATA_DIR=$DEST/data/swift + +# Since Newton release, Heat is available as a devstack plugin +enable_plugin heat https://git.openstack.org/openstack/heat stable/newton +# Download and register a VM image that Heat can launch +IMAGE_URL_SITE="https://cloud-images.ubuntu.com" +IMAGE_URL_PATH="/xenial/current/" +IMAGE_URL_FILE="xenial-server-cloudimg-amd64-disk1.img" +IMAGE_URLS+=","$IMAGE_URL_SITE$IMAGE_URL_PATH$IMAGE_URL_FILE + +#Enable Tacker +#enable_plugin tacker https://git.openstack.org/openstack/tacker stable/newton + +# Enable Congress +enable_plugin congress http://git.openstack.org/openstack/congress stable/newton +enable_plugin ceilometer http://git.openstack.org/openstack/ceilometer stable/newton + |