Allow controller to set MAC address to use in ARP responses for SNAT IPs.
authorroot <root@marbles.nicira.com>
Wed, 14 Jan 2009 01:30:08 +0000 (17:30 -0800)
committerroot <root@marbles.nicira.com>
Wed, 14 Jan 2009 01:37:03 +0000 (17:37 -0800)
commit2e24b5fdefd892579657135f7e3eff2fc4abce50
treead1fdffc5a2c2edfbfd3d9c54dacd7907f38bb41
parentb798ce34c318f7e63a7c736b428c8b77fb069819
Allow controller to set MAC address to use in ARP responses for SNAT IPs.

This allows the controller to set a MAC address to use in response to
an ARP request for the NAT IP address on a non-NAT interface.  This is
useful if a NAT'd device needs to communicate with a non-NAT'd device,
when they are on the same interface on the OpenFlow switch.  When the
non-NAT'd device requests the MAC address of the NAT IP address, the
switch responds with the supplied MAC address (often the L3 router
behind it).  This allows communication in both directions to bounce off
the L3 router and not confuse controller.
(cherry picked from commit 0aee2db61a1e34e6cb0a34365e51385059fc84b7)
datapath/nx_act_snat.c
datapath/nx_act_snat.h
include/openflow/nicira-ext.h