Avoid overwrite value of deprecated name in conf.

See bug/1194064 #2 Mark McLoughlin's comment

Fixes: Bug #1194064

Change-Id: I421d2decfa8829796fe7b6c14f954f3cccc17215
This commit is contained in:
ZhiQiang Fan 2013-07-29 18:40:46 +08:00
parent 715200de2a
commit 3313448f2d
9 changed files with 84 additions and 40 deletions

View File

@ -7,9 +7,11 @@
# OVS based plugins (OVS, Ryu, NEC) that supports L3 agent
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
# OVS based plugins(Ryu, NEC) that use OVS
# as OpenFlow switch and check port status
# ovs_use_veth = True
# LinuxBridge
# interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver

View File

@ -9,9 +9,11 @@
# OVS based plugins(OVS, Ryu, NEC, NVP, BigSwitch/Floodlight)
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
# OVS based plugins(Ryu, NEC, NVP, BigSwitch/Floodlight) that use OVS
# as OpenFlow switch and check port status
# ovs_use_veth = True
# LinuxBridge
# interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver

View File

@ -32,10 +32,10 @@ lock_path = $state_path/lock
# publish_errors = False
# Address to bind the API server
bind_host = 0.0.0.0
# bind_host = 0.0.0.0
# Port the bind the API server to
bind_port = 9696
# bind_port = 9696
# Path to the extensions. Note that this can be a colon-separated list of
# paths. For example:
@ -51,7 +51,7 @@ bind_port = 9696
# service_plugins =
# Paste configuration file
api_paste_config = api-paste.ini
# api_paste_config = api-paste.ini
# The strategy to be used for auth.
# Supported values are 'keystone'(default), 'noauth'.
@ -184,7 +184,7 @@ api_paste_config = api-paste.ini
notification_driver = neutron.openstack.common.notifier.rpc_notifier
# default_notification_level is used to form actual topic name(s) or to set logging level
default_notification_level = INFO
# default_notification_level = INFO
# default_publisher_id is a part of the notification payload
# host = myhost.com
@ -192,7 +192,7 @@ default_notification_level = INFO
# Defined in rpc_notifier, can be comma separated values.
# The actual topic names will be %s.%(default_notification_level)s
notification_topics = notifications
# notification_topics = notifications
# Default maximum number of items returned in a single response,
# value == infinite and value < 0 means no max limit, and value must

View File

@ -9,13 +9,31 @@
# server_ssl : True | False (default: False)
# sync_data : True | False (default: False)
# server_timeout : 10 (default: 10 seconds)
# neutron_id: <string> (default: neutron-<hostname>)
# add_meta_server_route: True | False (default: True)
#
# A comma separated list of BigSwitch or Floodlight servers and port numbers. The plugin proxies the requests to the BigSwitch/Floodlight server, which performs the networking configuration. Note that only one server is needed per deployment, but you may wish to deploy multiple servers to support failover.
servers=localhost:8080
# The username and password for authenticating against the BigSwitch or Floodlight controller.
# server_auth=username:password
# If True, Use SSL when connecting to the BigSwitch or Floodlight controller.
# server_ssl=True
# Sync data on connect
# sync_data=True
# Maximum number of seconds to wait for proxy request to connect and complete.
# server_timeout=10
# User defined identifier for this Neutron deployment
# neutron_id =
# Flag to decide if a route to the metadata server should be injected into the VM
# add_meta_server_route = True
[nova]
# Specify the VIF_TYPE that will be controlled on the Nova compute instances
# options: ivs or ovs
@ -38,6 +56,7 @@ servers=localhost:8080
# Use an * to specify default for all tenants
# Default is any any allow for all tenants
# tenant_default_router_rule=*:any:any:permit
# Maximum number of rules that a single router may have
# Default is 200
# max_router_rules=200

View File

@ -1,4 +1,3 @@
[ml2]
# (ListOpt) List of network type driver entrypoints to be loaded from
# the neutron.ml2.type_drivers namespace.
@ -43,3 +42,7 @@
#
# network_vlan_ranges =
# Example: network_vlan_ranges = physnet1:1000:2999,physnet2
[ml2_type_gre]
# (ListOpt) Comma-separated list of <tun_min>:<tun_max> tuples enumerating ranges of GRE tunnel IDs that are available for tenant network allocation
# tunnel_id_ranges =

View File

@ -6,11 +6,12 @@
# The integration bridge acts as a virtual "patch port". All VM VIFs are
# attached to this bridge and then "patched" according to their network
# connectivity.
integration_bridge = br-int
# integration_bridge = br-int
[agent]
# Agent's polling interval in seconds
polling_interval = 2
# polling_interval = 2
# Use "sudo neutron-rootwrap /etc/neutron/rootwrap.conf" to use the real
# root filter facility.
# Change to "sudo" to skip the filtering and just run the comand directly
@ -22,10 +23,21 @@ firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewal
[ofc]
# Specify OpenFlow Controller Host, Port and Driver to connect.
host = 127.0.0.1
port = 8888
# host = 127.0.0.1
# port = 8888
# Drivers are in neutron/plugins/nec/drivers/ .
driver = trema
# driver = trema
# PacketFilter is available when it's enabled in this configuration
# and supported by the driver.
enable_packet_filter = true
# enable_packet_filter = true
# Use SSL to connect
# use_ssl = false
# Key file
# key_file =
# Certificate file
# cert_file =

View File

@ -74,8 +74,12 @@
# max_lp_per_overlay_ls = 256
# Number of connects to each controller node.
# default is 5
# concurrent_connections = 3
# Number of seconds a generation id should be valid for (default -1 meaning do not time out)
# nvp_gen_timeout = -1
# Acceptable values for 'metadata_mode' are:
# - 'access_network': this enables a dedicated connection to the metadata
# proxy for metadata server access via Neutron router.
@ -84,5 +88,8 @@
# namespaces otherwise access_network should be used.
# metadata_mode = access_network
# Enables dedicated connection to the metadata proxy for metadata server access via Neutron router
# enable_metadata_access_network = true
# The default network transport type to use (stt, gre, bridge, ipsec_gre, or ipsec_stt)
# default_transport_type = stt

View File

@ -1,9 +1,8 @@
[ovs]
integration_bridge = br-int
# integration_bridge = br-int
# openflow_rest_api = <host IP address of ofp rest api service>:<port: 8080>
openflow_rest_api = 127.0.0.1:8080
# openflow_rest_api = 127.0.0.1:8080
# tunnel key range: 0 < tunnel_key_min < tunnel_key_max
# VLAN: 12bits, GRE, VXLAN: 24bits
@ -38,4 +37,4 @@ ovsdb_interface = eth0
[agent]
# Agent's polling interval in seconds
polling_interval = 2
# polling_interval = 2