]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
L2 Model additions to support DVR
authorVivekanandan Narasimhan <vivekanandan.narasimhan@hp.com>
Tue, 24 Jun 2014 01:53:32 +0000 (18:53 -0700)
committerarmando-migliaccio <armamig@gmail.com>
Thu, 17 Jul 2014 14:53:14 +0000 (07:53 -0700)
commit10579d28d71bd8aba88d7eb83c6a0e293cae616d
tree505eb288a2d19401162c79ef03024dc480ac26f7
parent474b3556a5bd7db4df3b52a19e4bfae92d9eee68
L2 Model additions to support DVR

This patch introduces the models, the DB migrations
and the config options required by the L2 layer to
support DVR east/west traffic.

These changes will be used by the control-plane made
of ML2, L2pop and L2 agent.

Two new configuration options have been introduced:
'dvr_base_mac' is used to set DVR MAC addresses apart
from tenant ones (every distributed router will have
ports being created on compute hosts) and
'enable_distributed_routing' is used to enable dvr
support in the L2 agent. This gives the capability of
rolling out the dvr functionality in stages.

Partially-implements: blueprint neutron-ovs-dvr

DocImpact

Change-Id: Iab6505f239d2c4c9bcbf4e32a292d7b4b5320c8e
Authored-by: Vivekanandan Narasimhan <vivekanandan.narasimhan@hp.com>
Co-Authored-By: Armando Migliaccio <armamig@gmail.com>
15 files changed:
etc/neutron.conf
etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
neutron/common/utils.py
neutron/db/dvr_mac_db.py [new file with mode: 0644]
neutron/db/migration/alembic_migrations/versions/2026156eab2f_l2_dvr_models.py [new file with mode: 0644]
neutron/db/migration/alembic_migrations/versions/HEAD
neutron/db/migration/models/head.py
neutron/extensions/dvr.py
neutron/plugins/ml2/db.py
neutron/plugins/ml2/drivers/l2pop/db.py
neutron/plugins/ml2/models.py
neutron/plugins/openvswitch/common/config.py
neutron/tests/unit/db/test_dvr_mac_db.py [new file with mode: 0644]
neutron/tests/unit/ml2/db/__init__.py [new file with mode: 0644]
neutron/tests/unit/ml2/db/test_ml2_dvr_db.py [new file with mode: 0644]