Index | Thread | Search

From:
Denis Fondras <denis@openbsd.org>
Subject:
Re: bgpd.conf: document `announce EVPN`
To:
Claudio Jeker <cjeker@diehard.n-r-g.com>
Cc:
tech@openbsd.org
Date:
Sun, 23 Feb 2025 14:38:30 +0100

Download raw body.

Thread
On Sun, Feb 23, 2025 at 07:28:48AM +0100, Claudio Jeker wrote:
> On Sat, Feb 22, 2025 at 01:15:05PM +0100, Denis Fondras wrote:
> > Just mention the existence of `announce EVPN` option.
> > 
> > Denis
> > 
> > Index: bgpd.conf.5
> > ===================================================================
> > RCS file: /cvs/src/usr.sbin/bgpd/bgpd.conf.5,v
> > diff -u -p -r1.249 bgpd.conf.5
> > --- bgpd.conf.5	27 Jan 2025 15:22:11 -0000	1.249
> > +++ bgpd.conf.5	22 Feb 2025 12:12:50 -0000
> > @@ -979,7 +979,7 @@ The neighbor properties are as follows:
> >  .Bl -tag -width Ds -compact
> >  .It Xo
> >  .Ic announce
> > -.Pq Ic IPv4 Ns | Ns Ic IPv6
> > +.Pq Ic IPv4 Ns | Ns Ic IPv6 | Ns Ic EVPN
> >  .Pq Ic none Ns | Ns Ic unicast Ns | Ns Ic vpn Ns | Ns Ic flowspec
> >  .Op Ic enforce
> >  .Xc
> 
> Would it make sense to add a second line here:
> 
> .It Xo
> .Ic announce
> .Ic EVPN
> .Op Ic enforce
> .Xc
> 
> To make it clear that EVPN is alone?
> 

Sure ! Something like that ?

Index: bgpd.conf.5
===================================================================
RCS file: /cvs/src/usr.sbin/bgpd/bgpd.conf.5,v
diff -u -p -r1.249 bgpd.conf.5
--- bgpd.conf.5	27 Jan 2025 15:22:11 -0000	1.249
+++ bgpd.conf.5	23 Feb 2025 13:37:55 -0000
@@ -979,6 +979,13 @@ The neighbor properties are as follows:
 .Bl -tag -width Ds -compact
 .It Xo
 .Ic announce
+.Ic EVPN
+.Op Ic enforce
+.Xc
+Enable processing of EVPN NLRI.
+.Pp
+.It Xo
+.Ic announce
 .Pq Ic IPv4 Ns | Ns Ic IPv6
 .Pq Ic none Ns | Ns Ic unicast Ns | Ns Ic vpn Ns | Ns Ic flowspec
 .Op Ic enforce