5932096f21
Implements blueprint nec-distribute-router Two types of neutron router will be supported: l3-agent and distributed. A type can be specified through "provider" attribute of a router. The naming of the attribute "provider" is intentional since I plan to support the service provider framework for router in the future and would like to make it easy to migrate. distributed router in NEC OpenFLow controller now does not support NAT, so l3-agent and distributed router coexists. To achieve it, l3-agent scheudler logic is modified in NEC plugin to exclude distributed routers from candidates of floating IP hosting routers. To support the above feature, the following related changes are done: - Adds a new driver to PFC driver which supports OpenFlow based router support in NEC OpenFlow products in PFlow v5. - Update ofc_client to extract detail error message from OpenFlow controller This commit also changes the following outside of NEC plugin: - Makes L3 agent notifiers configurable. l3-agent router and OpenFlow distributed router can coexist. Notication to l3-agent should be done only when routers are hosted by l3-agent, so we need custom L3 agent notifiers to filter non l3-agent routers. - Split test_agent_scheduler base class (in OVS plugin) into the base setup and testcases. By doing so we can implement custom testcases related to agent scheduler. Change-Id: I538201742950a61b92fb05c49a9256bc96ae9014
50 lines
1.3 KiB
INI
50 lines
1.3 KiB
INI
# Sample Configurations
|
|
|
|
[ovs]
|
|
# Do not change this parameter unless you have a good reason to.
|
|
# This is the name of the OVS integration bridge. There is one per hypervisor.
|
|
# 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
|
|
|
|
[agent]
|
|
# Agent's polling interval in seconds
|
|
# 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
|
|
root_helper = sudo
|
|
|
|
[securitygroup]
|
|
# Firewall driver for realizing neutron security group function
|
|
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
|
|
|
|
[ofc]
|
|
# Specify OpenFlow Controller Host, Port and Driver to connect.
|
|
# host = 127.0.0.1
|
|
# port = 8888
|
|
|
|
# Drivers are in neutron/plugins/nec/drivers/ .
|
|
# driver = trema
|
|
|
|
# PacketFilter is available when it's enabled in this configuration
|
|
# and supported by the driver.
|
|
# enable_packet_filter = true
|
|
|
|
# Use SSL to connect
|
|
# use_ssl = false
|
|
|
|
# Key file
|
|
# key_file =
|
|
|
|
# Certificate file
|
|
# cert_file =
|
|
|
|
[provider]
|
|
# Default router provider to use.
|
|
# default_router_provider = l3-agent
|
|
# List of enabled router providers.
|
|
# router_providers = l3-agent,openflow
|