]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
ofagent: Enable local arp responder for local VMs
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Mon, 11 Aug 2014 00:02:22 +0000 (09:02 +0900)
committerYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Mon, 1 Sep 2014 00:24:54 +0000 (00:24 +0000)
commit588d37cc39c9b9e21a3e997490e2e035a8a9ce73
tree1d0c4ecb812c161a4eb673130dca49b6506110a3
parent35f3a42f495ce766c02fa582f1d5a1cfcc5f9d6c
ofagent: Enable local arp responder for local VMs

Because ofagent makes every arp requests packet-in and
perform packet-out anyway, just make it respond arp requests
for local VMs.  It would be simpler and more effective than
forwarding requests to the network as it did before this change.

Before this change:
    request: src VM -> switch -> controller -> switch -> target VM
    reply: target VM -> switch -> src VM

After this change:
    request: src VM -> switch -> controller
    reply: controller -> switch -> src VM

As a bonus, now we can test l2pop and local arp responder with
a single node setup, at least for some extents.

Related: blueprint ofagent-l2pop
Related: blueprint ofagent-merge-bridges
Change-Id: I606a238d8c2021ed908fbd89d3488768497f57c5
neutron/plugins/ofagent/agent/ofa_neutron_agent.py
neutron/tests/unit/ofagent/test_ofa_neutron_agent.py