Last active
December 29, 2023 07:05
-
-
Save hagix9/7363276 to your computer and use it in GitHub Desktop.
DevStack localrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#export OS_USERNAME=admin | |
#export OS_PASSWORD=password | |
#export OS_TENANT_NAME=demo | |
#export OS_AUTH_URL=http://192.168.10.50:5000/v2.0 | |
#export OS_AUTH_STRATEGY=keystone | |
# Common | |
DEST=/opt/stack | |
#OFFLINE=true | |
## the ip of ovs bridge br-phy is 192.168.10.50 | |
HOST_IP=192.168.10.50 | |
SERVICE_HOST=$HOST_IP | |
CONTROL_HOST=$HOST_IP | |
QPID_HOST=$HOST_IP | |
FIXED_RANGE=10.0.1.0/24 | |
#113 — 118, http://jodies.de/ipcalc | |
FLOATING_RANGE=192.168.10.112/29 | |
Q_FLOATING_ALLOCATION_POOL=start=192.168.10.113,end=192.168.10.118 | |
NETWORK_GATEWAY=10.0.1.1 | |
PUBLIC_NETWORK_GATEWAY=192.168.10.1 | |
# Misc | |
DATABASE_USER=root | |
DATABASE_PASSWORD=password | |
ADMIN_PASSWORD=password | |
SERVICE_PASSWORD=password | |
SERVICE_TOKEN=ADMIN | |
RABBIT_PASSWORD=password | |
# For Keystone, UUID or PKI | |
KEYSTONE_TOKEN_FORMAT=UUID | |
# For Swift | |
SWIFT_REPLICAS=1 | |
SWIFT_HASH=ADMIN | |
# Enable Logging | |
LOGFILE=$DEST/logs/stack.log | |
VERBOSE=True | |
LOG_COLOR=True | |
SCREEN_LOGDIR=$DEST/logs | |
# Pre-requisite | |
ENABLED_SERVICES=qpid,mysql,horizon,key,g-api,g-reg | |
# Nova – Compute Service | |
ENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch | |
#IMAGE_URLS+=”,https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img” | |
#ENABLED_SERVICES+=,n-cell | |
# Swift – Object Storage | |
#ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account | |
# Neutron – Neutron L2/L3 Connection Service | |
ENABLED_SERVICES+=,q-svc,q-agt,q-dhcp,q-l3,q-meta,neutron | |
## Neutron – Neutron L4/L7 Network Service | |
ENABLED_SERVICES+=,q-lbaas,q-fwaas | |
# Neutron Agent | |
Q_AGENT=linuxbridge | |
Q_USE_NAMESPACE=False | |
Q_ALLOW_OVERLAPPING_IP=False | |
OVS_PHYSICAL_BRIDGE=br-phy | |
# VLAN configuration | |
#Q_PLUGIN=ml2 | |
#ENABLE_TENANT_VLANS=True | |
# GRE and VXLAN tunnel configuration | |
#Q_PLUGIN=ml2 | |
#ENABLE_TENANT_TUNNELS=True | |
#Q_ML2_TENANT_NETWORK_TYPE=local,flat,vlan,gre,vxlan | |
#Q_ML2_PLUGIN_MECHANISM_DRIVERS=openvswitch,linuxbridge | |
# Cinder – Block Device Service | |
ENABLED_SERVICES+=,cinder,c-api,c-vol,c-sch | |
# Heat – Orchestration Service | |
#ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng | |
#IMAGE_URLS+=”,http://fedorapeople.org/groups/heat/prebuilt-jeos-images/F17-x86_64-cfntools.qcow2″ | |
# Ceilometer – Metering Service (metering + alarming) | |
#ENABLED_SERVICES+=,ceilometer-acompute,ceilometer-acentral,ceilometer-collector,ceilometer-api | |
#ENABLED_SERVICES+=,ceilometer-alarm-notify,ceilometer-alarm-eval | |
# Apache fronted for WSGI | |
APACHE_ENABLED_SERVICES+=keystone | |
#APACHE_ENABLED_SERVICES+=keystone,swift | |
# Multi-host | |
MULTI_HOST=False | |
MYSQL_HOST=$CONTROL_HOST | |
RABBIT_HOST=$CONTROL_HOST | |
GLANCE_HOSTPORT=$CONTROL_HOST:9292 | |
HORIZON_REPO=https://github.com/openstack/horizon | |
HORIZON_BRANCH=stable/havana | |
CINDER_REPO=https://github.com/openstack/cinder.git | |
CINDER_BRANCH=stable/havana | |
CINDERCLIENT_REPO=https://github.com/openstack/python-cinderclient.git | |
CINDERCLIENT_BRANCH=stable/havana | |
NOVA_REPO=https://github.com/openstack/nova.git | |
NOVA_BRANCH=stable/havana | |
NOVACLIENT_REPO=https://github.com/openstack/python-novaclient.git | |
NOVACLIENT_BRANCH=stable/havana | |
GLANCE_REPO=https://github.com/openstack/glance.git | |
GLANCE_BRANCH=stable/havana | |
GLANCECLIENT_REPO=https://github.com/openstack/python-glanceclient.git | |
KEYSTONE_REPO=https://github.com/openstack/keystone.git | |
KEYSTONE_BRANCH=stable/havana | |
KEYSTONECLIENT_REPO=https://github.com/openstack/python-keystoneclient.git | |
KEYSTONECLIENT_BRANCH=stable/havana | |
NEUTRON_REPO=https://github.com/openstack/neutron.git | |
NEUTRON_BRANCH=stable/havana | |
NEUTRONCLIENT_REPO=https://github.com/openstack/python-neutronclient.git | |
NEUTRONCLIENT_BRANCH=stable/havana | |
#HEAT_REPO=https://github.com/sjcorbett/heat.git | |
#HEAT_BRANCH=master | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment