Re: document how ospfd interacts with carp

2017-11-06 Thread Jason McIntyre
On Mon, Nov 06, 2017 at 01:26:27PM +0100, Remi Locherer wrote:
> Hi,
> 
> ospfd.conf(5) should mention what ospfd does automatically when
> configured on carp interfaces.
> 
> ok?
> 
> Remi
> 
> 
> Index: ospfd.conf.5
> ===
> RCS file: /cvs/src/usr.sbin/ospfd/ospfd.conf.5,v
> retrieving revision 1.48
> diff -u -p -r1.48 ospfd.conf.5
> --- ospfd.conf.5  11 Mar 2015 08:05:11 -  1.48
> +++ ospfd.conf.5  6 Nov 2017 12:11:34 -
> @@ -355,9 +355,15 @@ The default value is 10; valid range is 
>  .It Ic metric Ar cost
>  Set the interface metric a.k.a. cost.
>  The default value is 10; valid range is 1\-65535.
> +A metric of 65535 is used for
> +.Xr carp 4
> +interfaces with status backup.
>  .It Ic passive
>  Prevent transmission and reception of OSPF packets on this interface.
>  The specified interface will be announced as a stub network.
> +On
> +.Xr carp 4
> +interfaces passive mode is enforced.

ok by me. however i think that last sentence would read better as:

Passive mode is enforced for
.Xr carp 4
interfaces.

that matches the structure of your addition above, which puts the
epmphasis on the section being described, rather than carp(4)
interfaces.

up to you.

jmc

>  .It Ic retransmit-interval Ar seconds
>  Set retransmit interval.
>  The default value is 5 seconds; valid range is 5\-3600 seconds.
> 



Re: document how ospfd interacts with carp

2017-11-06 Thread Jeremie Courreges-Anglas
On Mon, Nov 06 2017, Remi Locherer  wrote:
> Hi,
>
> ospfd.conf(5) should mention what ospfd does automatically when
> configured on carp interfaces.
>
> ok?

ok jca@

> Remi
>
>
> Index: ospfd.conf.5
> ===
> RCS file: /cvs/src/usr.sbin/ospfd/ospfd.conf.5,v
> retrieving revision 1.48
> diff -u -p -r1.48 ospfd.conf.5
> --- ospfd.conf.5  11 Mar 2015 08:05:11 -  1.48
> +++ ospfd.conf.5  6 Nov 2017 12:11:34 -
> @@ -355,9 +355,15 @@ The default value is 10; valid range is 
>  .It Ic metric Ar cost
>  Set the interface metric a.k.a. cost.
>  The default value is 10; valid range is 1\-65535.
> +A metric of 65535 is used for
> +.Xr carp 4
> +interfaces with status backup.
>  .It Ic passive
>  Prevent transmission and reception of OSPF packets on this interface.
>  The specified interface will be announced as a stub network.
> +On
> +.Xr carp 4
> +interfaces passive mode is enforced.
>  .It Ic retransmit-interval Ar seconds
>  Set retransmit interval.
>  The default value is 5 seconds; valid range is 5\-3600 seconds.
>

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE