]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Modify L3 Agent for Distributed Routers
authorMichael Smith <michael.smith6@hp.com>
Tue, 22 Jul 2014 23:58:26 +0000 (16:58 -0700)
committerMichael Smith <michael.smith6@hp.com>
Wed, 23 Jul 2014 04:27:50 +0000 (21:27 -0700)
commit073aa8104c30f61e5366cef5be644e3bc325c626
treef1055de8af5e979087d389531a82bfcaa416c465
parent3c037a5869182b991d9257ba5831ed4bf5d132b4
Modify L3 Agent for Distributed Routers

This patch is an enhancement to the existing L3 Agent.
This allows the L3 Agent to support distributed routers
by enhancing the router object to function across
multiple nodes.

Utilized two new types of namespaces:

- FIP to handle multiple VM fips and routers per node
- SNAT to handle centralized SNAT per router

Rules and tables are enhanced and added to support routing
across distributed routers without going to a centralized
router.

Finally, a new configuration param 'agent_mode' is introduced
and it controls what the L3 agent can do: the available values
are: 'legacy', 'dvr', 'dvr_snat' (more details inline).

The l3-scheduler uses the newly introduced agent_mode to
determine what L3 agent to select during the scheduling
process.

Partially-Implements: blueprint neutron-ovs-dvr

DocImpact

Change-Id: Icead821bb74372b15aac2e5cefe8ad7f08c037ab
Co-Authored-By: Rajeev Grover <rajeev.grover@hp.com>
etc/l3_agent.ini
neutron/agent/l3_agent.py
neutron/tests/unit/services/vpn/test_vpn_agent.py
neutron/tests/unit/test_l3_agent.py