[ovs-dev] [PATCH v2] tnl-ports: Add destination IP and MAC address to the match.
Pravin Shelar
pshelar at nicira.com
Tue Sep 8 23:32:33 UTC 2015
On Tue, Sep 8, 2015 at 3:50 PM, Ben Pfaff <blp at nicira.com> wrote:
> On Thu, Sep 03, 2015 at 12:42:34AM -0700, Pravin B Shelar wrote:
>> Currently tnl-port table wildcard destination ip and mac addresses
>> for given tunnel packet. That could result accepting tunnel
>> packets destined for other hosts. Following patch adds
>> support for matching for ip and mac address.
>> IP address upates to tnl-port table are piggybacked on
>> ovs-router updates.
>>
>> Reported-by: Ben Pfaff <blp at nicira.com>
>> Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
>> ---
>> tnl-port table does not depends on /32 route.
>
> Thank you!
>
> I see that the test still adds a /32, is it still necessary?
>
No, it not necessary. I have reverted it back to /24.
> dnl First setup dummy interface IP address, then add the route
> dnl so that tnl-port table can get valid IP address for the device.
> AT_CHECK([ovs-appctl netdev-dummy/ip4addr br0 1.1.2.88/32], [0], [OK
> ])
>
> Acked-by: Ben Pfaff <blp at nicira.com>
I pushed it to master.
Thanks.
More information about the dev
mailing list