Add sample local.conf for nsxv3
Add two sample devstack local.conf configuration files. One is for OpenStack controller setup for NSXv3, and the other one is for KVM compute node setup. Previously we are storing the copies in our web server. But it would be better to put in our plugin repo. Change-Id: I9194e3ca32b25ceced30791254663bd6b360179d
This commit is contained in:
parent
0d167e0d44
commit
51fb7028b3
105
devstack/nsx_v3/controller_local.conf.sample
Normal file
105
devstack/nsx_v3/controller_local.conf.sample
Normal file
@ -0,0 +1,105 @@
|
|||||||
|
[[post-extra|$TEMPEST_CONFIG]]
|
||||||
|
[nsxv3]
|
||||||
|
nsx_manager=<nsx-manager1-ip>
|
||||||
|
nsx_user=<nsx-username>
|
||||||
|
nsx_password=<nsx-password>
|
||||||
|
|
||||||
|
[[post-config|$NOVA_CONF]]
|
||||||
|
[DEFAULT]
|
||||||
|
image_handlers=vmware_copy, vmware_download
|
||||||
|
force_config_drive = False
|
||||||
|
[vmware]
|
||||||
|
task_poll_interval=0.5
|
||||||
|
use_linked_clone=false
|
||||||
|
insecure = true
|
||||||
|
datastore_regex = vdnet*
|
||||||
|
|
||||||
|
[[local|localrc]]
|
||||||
|
|
||||||
|
DATABASE_PASSWORD=openstack
|
||||||
|
ADMIN_PASSWORD=openstack
|
||||||
|
SERVICE_PASSWORD=openstack
|
||||||
|
SERVICE_TOKEN=openstack
|
||||||
|
RABBIT_PASSWORD=openstack
|
||||||
|
|
||||||
|
# Enable Logging
|
||||||
|
LOGFILE=/opt/stack/logs/stack.sh.log
|
||||||
|
VERBOSE=True
|
||||||
|
LOG_COLOR=True
|
||||||
|
SCREEN_LOGDIR=/opt/stack/logs
|
||||||
|
|
||||||
|
RECLONE=True
|
||||||
|
|
||||||
|
VIRT_DRIVER=vsphere
|
||||||
|
CINDER_DRIVER=vsphere
|
||||||
|
CINDER_ENABLED_BACKENDS=vsphere
|
||||||
|
VMWAREAPI_IP=<vcenter-ip>
|
||||||
|
VMWAREAPI_USER=<vcenter-user>
|
||||||
|
VMWAREAPI_PASSWORD=<vcenter-password>
|
||||||
|
VMWAREAPI_CLUSTER=<vcenter-cluster>
|
||||||
|
|
||||||
|
# Use IPv4 only
|
||||||
|
IP_VERSION=4
|
||||||
|
|
||||||
|
# Pre-requisite
|
||||||
|
ENABLED_SERVICES=rabbit,mysql,key
|
||||||
|
|
||||||
|
# Horizon (Dashboard UI)
|
||||||
|
ENABLED_SERVICES+=,horizon
|
||||||
|
#HORIZON_REPO=https://github.com/openstack/horizon
|
||||||
|
|
||||||
|
# Nova - Compute Service
|
||||||
|
ENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# VNC server
|
||||||
|
ENABLED_SERVICES+=,n-novnc,n-xvnc,n-cauth
|
||||||
|
|
||||||
|
# Glance - Image Service
|
||||||
|
ENABLED_SERVICES+=,g-api,g-reg
|
||||||
|
|
||||||
|
# Tempest
|
||||||
|
ENABLED_SERVICES+=,tempest
|
||||||
|
|
||||||
|
# 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-dhcp,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
|
||||||
|
|
||||||
|
# Cinder - Block Device Service
|
||||||
|
#ENABLED_SERVICES+=,cinder,c-api,c-vol,c-sch,c-bak
|
||||||
|
|
||||||
|
# Apache fronted for WSGI
|
||||||
|
APACHE_ENABLED_SERVICES+=keystone,swift
|
||||||
|
|
||||||
|
# Enable NSX-T plugin stable/liberty branch
|
||||||
|
enable_plugin vmware-nsx <vmware-nsx-repo> <os-branch>
|
||||||
|
Q_PLUGIN=vmware_nsx_v3
|
||||||
|
# Defatult vlan transport zone for provider network
|
||||||
|
DEFAULT_VLAN_TZ_UUID=<vlan-tz-uuid>
|
||||||
|
# Defatult overlay transport zone fro tenant network
|
||||||
|
DEFAULT_OVERLAY_TZ_UUID=<overlay-tz-uuid>
|
||||||
|
NSX_MANAGER=<nsx-managers-ip>
|
||||||
|
OVS_BRIDGE=nsxvswitch
|
||||||
|
NSX_USER=<nsx-username>
|
||||||
|
NSX_PASSWORD=<nsx-password>
|
||||||
|
# Default tier0 uuid which is created by admin
|
||||||
|
DEFAULT_TIER0_ROUTER_UUID=<tier0-router-uuid>
|
||||||
|
# Default Edge cluster uuid
|
||||||
|
DEFAULT_EDGE_CLUSTER_UUID=<edge-cluster-uuid>
|
32
devstack/nsx_v3/kvm_compute_local.conf.sample
Normal file
32
devstack/nsx_v3/kvm_compute_local.conf.sample
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
[[post-config|$NOVA_CONF]]
|
||||||
|
[neutron]
|
||||||
|
ovs_bridge=nsxvswitch
|
||||||
|
|
||||||
|
[[local|localrc]]
|
||||||
|
|
||||||
|
<git-base>=https://git.openstack.org/
|
||||||
|
enable_plugin vmware-nsx <vmware-nsx-repo> <os-branch>
|
||||||
|
Q_PLUGIN=vmware_nsx_v3
|
||||||
|
ENABLED_SERVICES=n-cpu,neutron
|
||||||
|
SERVICE_HOST=<service-host-ip> # OpenStack controller node IP
|
||||||
|
MYSQL_HOST=$SERVICE_HOST
|
||||||
|
RABBIT_HOST=$SERVICE_HOST
|
||||||
|
Q_HOST=$SERVICE_HOST
|
||||||
|
DATABASE_PASSWORD=openstack
|
||||||
|
RABBIT_PASSWORD=openstack
|
||||||
|
SERVICE_TOKEN=openstack
|
||||||
|
SERVICE_PASSWORD=openstack
|
||||||
|
ADMIN_PASSWORD=openstack
|
||||||
|
RECLONE=no
|
||||||
|
OVS_BRIDGE=nsxvswitch
|
||||||
|
IPV6_ENABLED=False
|
||||||
|
IP_VERSION=4
|
||||||
|
HOST_IP=<this-host-ip> # OpenStack compute node IP
|
||||||
|
MULTI_HOST=1
|
||||||
|
NOVA_VNC_ENABLED=True
|
||||||
|
NOVNCPROXY_URL=""
|
||||||
|
VNCSERVER_LISTEN=$HOST_IP
|
||||||
|
VNCSERVER_PROXYCLIENT_ADDRESS=$VNCSERVER_LISTEN
|
||||||
|
disable_service zookeeper
|
||||||
|
#DEBUG=False
|
||||||
|
#DEFAULT_VLAN_TZ_UUID=changeme # Optional, for VLAN provider networks
|
Loading…
Reference in New Issue
Block a user