[ovs-dev] [PATCH ovn v1] Static Routes: Add ability to specify "discard" nexthop

Ben Pfaff blp at ovn.org
Tue Mar 2 00:16:02 UTC 2021


On Mon, Feb 22, 2021 at 07:40:15PM +0000, svc.eng.git-mail at nutanix.com wrote:
> From: karthik-kc <karthik.c at nutanix.com>
> 
> Physical switches have the ability to specify "discard" or sometimes
> "NULL interface" as a nexthop for routes. This can be used to prevent
> routing loops in the network. Add a similar configuration for ovn
> where nexthop accepts the string "discard". When the nexthop is discard
> the action in the routing table will be to drop the packets.
> 
> Signed-off-by: Karthik Chandrashekar <karthik.c at nutanix.com>

Hi!  Since the time that you sent this patch, OVN merged a second
implementation of ovn-northd based on the ddlog declarative language.
We're trying to keep the two implementations in sync, so I hope that you
can submit a v2 of your patch that includes a ddlog implementation as
well.  I know that learning a new language can be difficult (there is
some tutorial material in the OVN repo), so if you have any trouble
implementing this for ddlog as well, please let me know and I'll help
out.


More information about the dev mailing list