-
Notifications
You must be signed in to change notification settings - Fork 1
/
local-gw.conf
107 lines (88 loc) · 3.62 KB
/
local-gw.conf
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#
# Sample DevStack local.conf.
#
# This sample file is intended to be used for your typical DevStack environment
# that's running all of OpenStack on a single host. This can also be used as
# the first host of a multi-host test environment.
#
# No changes to this sample configuration are required for this to work.
#
[[local|localrc]]
RECLONE=False
KEYSTONE_USE_MOD_WSGI="False"
NOVA_USE_MOD_WSGI="False"
SWIFT_USE_MOD_WSGI="False"
HEAT_USE_MOD_WSGI="False"
CINDER_USE_MOD_WSGI="False"
DATABASE_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_PASSWORD=password
SERVICE_TOKEN=password
ADMIN_PASSWORD=password
Q_AGENT=ovn
Q_ML2_PLUGIN_MECHANISM_DRIVERS=ovn,logger
Q_ML2_PLUGIN_TYPE_DRIVERS=local,flat,vlan,geneve
Q_ML2_TENANT_NETWORK_TYPE="geneve"
# Compute node specify
NEUTRON_AGENT=ovn
# Enable devstack spawn logging
LOGFILE=$DEST/logs/stack.sh.log
# Compute node specify
enable_plugin neutron https://opendev.org/openstack/neutron
disable_all_services
#enable_service n-cpu
#enable_service placement-client
enable_service ovn-controller
#enable_service q-ovn-metadata-agent
# Set this to the address of the main DevStack host running the rest of the
# OpenStack services.
SERVICE_HOST=11.11.11.177
RABBIT_HOST=$SERVICE_HOST
Q_HOST=$SERVICE_HOST
# How to connect to ovsdb-server hosting the OVN SB database
OVN_SB_REMOTE=tcp:$SERVICE_HOST:6642
# A UUID to uniquely identify this system. If one is not specified, a random
# one will be generated and saved in the file 'ovn-uuid' for re-use in future
# DevStack runs.
#OVN_UUID=
# The DevStack plugin defaults to using the ovn branch from the official ovs
# repo. You can optionally use a different one. For example, you may want to
# use the latest patches in blp's ovn branch (and see OVN_BUILD_FROM_SOURCE):
#OVN_REPO=https://github.com/blp/ovs-reviews.git
#OVN_BRANCH=ovn
# NOTE: When specifying the branch, as shown above, you must also enable this!
# By default, OVN will be installed from packages. In order to build OVN from
# source, set OVN_BUILD_FROM_SOURCE=True
#OVN_BUILD_FROM_SOURCE=False
# Whether or not to build custom openvswitch kernel modules from the ovs git
# tree. This is disabled by default. This is required unless your distro kernel
# includes ovs+conntrack support. This support was first released in Linux 4.3,
# and will likely be backported by some distros.
# NOTE(mjozefcz): We need to compile the module for Ubuntu Bionic, because default
# shipped kernel module doesn't openflow meter action support.
OVN_BUILD_MODULES=True
HOST_IP=11.11.11.188
#NOVA_VNC_ENABLED=True
#NOVNCPROXY_URL=http://$SERVICE_HOST:6080/vnc_lite.html
#VNCSERVER_LISTEN=$HOST_IP
#VNCSERVER_PROXYCLIENT_ADDRESS=$VNCSERVER_LISTEN
# Skydive
#enable_plugin skydive https://github.com/skydive-project/skydive.git
#enable_service skydive-agent
# Provider Network
# If you want to enable a provider network instead of the default private
# network after your DevStack environment installation, you *must* set the
# Q_USE_PROVIDER_NETWORKING to True, and give value to both PHYSICAL_NETWORK
# and OVS_PHYSICAL_BRIDGE.
# If the provider network nic is the same with the control plane, DO NOT enable this.
#Q_USE_PROVIDER_NETWORKING=True
#PHYSICAL_NETWORK=providernet
#OVS_PHYSICAL_BRIDGE=br-provider
#PUBLIC_INTERFACE=eth1
# If the admin wants to enable this chassis to host gateway routers for
# external connectivity, then set ENABLE_CHASSIS_AS_GW to True.
# Then devstack will set ovn-cms-options with enable-chassis-as-gw
# in Open_vSwitch table's external_ids column.
# If this option is not set on any chassis, all the of them with bridge
# mappings configured will be eligible to host a gateway.
ENABLE_CHASSIS_AS_GW=True