This repository was archived by the owner on Feb 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlocal.conf.lbaasv2.master
More file actions
88 lines (84 loc) · 2.91 KB
/
Copy pathlocal.conf.lbaasv2.master
File metadata and controls
88 lines (84 loc) · 2.91 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# Sample ``local.conf`` that builds a devstack with neutron LBaaS
# Version 2
# NOTE: Copy this file to the root DevStack directory for it to work
# properly.
# ``local.conf`` is a user-maintained settings file that is sourced from
# ``stackrc``.
# This gives it the ability to override any variables set in
# ``stackrc``.
# Also, most of the settings in ``stack.sh`` are written to only be set
# if no
# value has already been set; this lets ``local.conf`` effectively
# override the
# default values.
# The ``localrc`` section replaces the old ``localrc`` configuration
# file.
# Note that if ``localrc`` is present it will be used in favor of this
# section.
[[local|localrc]]
# The name of the RECLONE environment variable is a bit misleading. It
# doesn't actually
# reclone repositories, rather it uses git fetch to make sure the repos
# are current.
RECLONE=False
# Load Barbican (optional)
# enable_plugin barbican https://review.openstack.org/openstack/barbican
# Load the external LBaaS plugin.
enable_plugin neutron-lbaas https://git.openstack.org/openstack/neutron-lbaas
NEUTRON_LBAAS_SERVICE_PROVIDERV2=LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.synchronous_namespace_driver.HaproxyNSDriver:default
LIBS_FROM_GIT+=python-neutronclient
DATABASE_PASSWORD=password
ADMIN_PASSWORD=password
SERVICE_PASSWORD=password
SERVICE_TOKEN=password
RABBIT_PASSWORD=password
# Enable Logging
LOGFILE=$DEST/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=True
SCREEN_LOGDIR=$DEST/logs
# Pre-requisite
ENABLED_SERVICES=rabbit,mysql,key
# Horizon
ENABLED_SERVICES+=,horizon
# Nova
ENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch
IMAGE_URLS+=",http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img"
ENABLED_SERVICES+=,g-api,g-reg
# Neutron
ENABLED_SERVICES+=,q-svc,q-agt,q-dhcp,q-l3,q-meta
# Enable LBaaS V2
ENABLED_SERVICES+=,q-lbaasv2
# Cinder
ENABLED_SERVICES+=,c-api,c-vol,c-sch
# Heat
ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng
# enable DVR
Q_PLUGIN=ml2
Q_ML2_TENANT_NETWORK_TYPE=vxlan
Q_DVR_MODE=dvr_snat
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
# Swift
# -----
# Swift is now used as the back-end for the S3-like object store. If
# Nova's
# objectstore (``n-obj`` in ``ENABLED_SERVICES``) is enabled, it will
# NOT
# run if Swift is enabled. Setting the hash value is required and you
# will
# be prompted for it if Swift is enabled so just set it to something
# already:
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
# For development purposes the default of 3 replicas is usually not
# required.
# Set this to 1 to save some resources:
SWIFT_REPLICAS=1
# The data for Swift is stored by default in (``$DEST/data/swift``),
# or (``$DATA_DIR/swift``) if ``DATA_DIR`` has been set, and can be
# moved by setting ``SWIFT_DATA_DIR``. The directory will be created
# if it does not exist.
SWIFT_DATA_DIR=$DEST/data