]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Validate when DVR enabled, l2_pop is also enabled
authorGal Sagie <gal.sagie@huawei.com>
Wed, 18 Mar 2015 06:36:29 +0000 (08:36 +0200)
committerRomil Gupta <romilg@hp.com>
Fri, 20 Mar 2015 10:01:12 +0000 (03:01 -0700)
commit45cbe9fd9ad3ee872a75e78d6af0618baac0f89d
tree69756f43cdd00bc7341e5ba21d88261e632a7151
parent41486020f6886b1a0f6601fd063b2e3a54b16c76
Validate when DVR enabled, l2_pop is also enabled

The agent should fail to start when
enable_distributed_routing = True and l2_population = False
otherwise the router won't behave as expected.

All the cross subnet traffic (between VMs of the same tenant)
in DVR is now handled locally on the compute node using the router namespace.
A Linux namespace is created for every virtual router,
on each compute node that hosts VMs that are connected to that router.

The local DVR performs the routing and replaces the source MAC address and
the destination MAC address for every packet leaving the compute node.
In order to do that correctly, the router must be populated with
all the L2 addresses of the attached networks

Change-Id: Id2b56d852eff4773a347f490b19ad9eefc86af9c
Closes-Bug: #1417633
Co-Authored-By: Romil Gupta <romilg@hp.com>
neutron/plugins/openvswitch/agent/ovs_neutron_agent.py
neutron/tests/unit/openvswitch/test_ovs_neutron_agent.py