diff options
| author | Acee <aceelindem@gmail.com> | 2023-06-08 16:49:34 -0400 |
|---|---|---|
| committer | Acee <aceelindem@gmail.com> | 2023-06-28 13:03:48 -0400 |
| commit | e72549c8f6f7b25738f8d4c913db025a7906558e (patch) | |
| tree | 4bccfc18bd16b621f4c862255ad63f73161e0d7c /ospfd/ospf_interface.h | |
| parent | f34076da81303313422c6beba1506a691a5e2fb6 (diff) | |
ospfd: Configurable interface-level 'capability opaque' support
Add support for "[no] ip ospf capbility opaque" at the interface
level with the default being capability opaque enabled. The command
"no ip ospf capability opaque" will disable opaque LSA database
exchange and flooding on the interface. A change in configuration
will result in the interface being flapped to update our options
for neighbors but no attempt will be made to purge existing LSAs
as in dense topologies, these may received by neighbors through
different interfaces.
Topotests are added to test both the configuration and the LSA
opaque flooding suppression.
Signed-off-by: Acee <aceelindem@gmail.com>
Diffstat (limited to 'ospfd/ospf_interface.h')
| -rw-r--r-- | ospfd/ospf_interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ospfd/ospf_interface.h b/ospfd/ospf_interface.h index ec1afa1b8b..38ec45c757 100644 --- a/ospfd/ospf_interface.h +++ b/ospfd/ospf_interface.h @@ -112,6 +112,9 @@ struct ospf_if_params { /* point-to-multipoint delayed reflooding configuration */ bool p2mp_delay_reflood; + + /* Opaque LSA capability at interface level (see RFC5250) */ + DECLARE_IF_PARAM(bool, opaque_capable); }; enum { MEMBER_ALLROUTERS = 0, |
