关闭

配置devstack的localrc,记录一下

2380人阅读 评论(0) 收藏 举报
分类:
SERVICE_TOKEN=2e12823ae0481b4791da
ADMIN_PASSWORD=password
MYSQL_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_PASSWORD=password

#HOST_IP=10.0.0.11
#FLOATING_RANGE=10.0.10.1/24
#PUBLIC_NETWORK_GATEWAY=10.0.10.2
#Q_FLOATING_ALLOCATION_POOL=start=10.0.10.128,end=10.0.10.254


HOST_IP=10.0.0.11
FLOATING_RANGE=192.168.100.1/24
PUBLIC_NETWORK_GATEWAY=192.168.100.2
Q_FLOATING_ALLOCATION_POOL=start=192.168.100.128,end=192.168.100.254


## vnc
#enable_service n-spice
#enable_service n-novnc
#enable_service n-xvnc

# Reclone each time 
RECLONE=false
  
# Python enviroments 
OFFLINE=true 

## For Keystone
KEYSTONE_TOKEN_FORMAT=PKI

## For Swift
SWIFT_REPLICAS=1
SWIFT_HASH=011688b44136573e209e


# Enable Logging
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=True
SCREEN_LOGDIR=/opt/stack/logs

# Pre-requisite
ENABLED_SERVICES=rabbit,mysql,key


## If you want ZeroMQ instead of RabbitMQ (don't forget to un-declare 'rabbit' from the pre-requesite)
#ENABLED_SERVICES+=,-rabbit,-qpid,zeromq

## If you want Qpid instead of RabbitMQ (don't forget to un-declare 'rabbit' from the pre-requesite)
#ENABLED_SERVICES+=,-rabbit,-zeromq,qpid


# Horizon (Dashboard UI) - (always use the trunk)
ENABLED_SERVICES+=,horizon
HORIZON_REPO=https://github.com/openstack/horizon
HORIZON_BRANCH=master

# Nova - Compute Service
ENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch

######vnc
ENABLED_SERVICES+=,n-novnc,n-xvnc

IMAGE_URLS+=",https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img"
#IMAGE_URLS+=",http://172.28.0.1/image/cirros-0.3.0-x86_64-disk.img"


# Nova Network - If you don't want to use Neutron and need a simple network setup (old good stuff!)
#ENABLED_SERVICES+=,n-net

## Nova Cells
ENABLED_SERVICES+=,n-cell


# Glance - Image Service
ENABLED_SERVICES+=,g-api,g-reg

# Swift - Object Storage
#ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account


# Neutron - Networking Service
# If Neutron is not declared the old good nova-network will be used
ENABLED_SERVICES+=,q-svc,q-agt,q-dhcp,q-l3,q-meta,neutron

## Neutron - Load Balancing
#ENABLED_SERVICES+=,q-lbaas

## Neutron - VPN as a Service
ENABLED_SERVICES+=,q-vpn

## Neutron - Firewall as a Service
#ENABLED_SERVICES+=,q-fwaas

# VLAN configuration
Q_PLUGIN=ml2
ENABLE_TENANT_VLANS=True

# GRE tunnel configuration
Q_PLUGIN=ml2
ENABLE_TENANT_TUNNELS=True

# VXLAN tunnel configuration
Q_PLUGIN=ml2
Q_ML2_TENANT_NETWORK_TYPE=vxlan   

# Cinder - Block Device Service
#VOLUME_GROUP="cinder-volumes"
#ENABLED_SERVICES+=,cinder,c-api,c-vol,c-sch,c-bak

# 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
#NABLED_SERVICES+=,ceilometer-alarm-notify,ceilometer-alarm-eval

#ENABLED_SERVICES+=,trove,tr-api,tr-tmgr,tr-cond

# Apache fronted for WSGI
APACHE_ENABLED_SERVICES+=keystone,swift
#APACHE_ENABLED_SERVICES+=keystone

1
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:214229次
    • 积分:2992
    • 等级:
    • 排名:第12167名
    • 原创:81篇
    • 转载:3篇
    • 译文:0篇
    • 评论:19条
    最新评论