Skip to content
Permalink
Browse files

OSPF: Add support to multi-area to Router Info.

  Router Information needs to specify the area ID when flooding scope is set to
  AREA. However, this authorize only one AREA. Thus, Area Border Router (ABR) are
  unable to flood Router Information Opaque LSA in all areas they are belongs to.

  The path implies that the area ID is no more necessary for the command
  'router-info area'. It remains suported for compatibility, but mark as
  deprecated. Documentation has been updated accordingly.

Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
  • Loading branch information...
odd22 authored and pguibert6WIND committed Oct 26, 2018
1 parent 2379dbe commit ddd73a968dc61766b6a44442c0bccd7ff0a643a8
Showing with 424 additions and 229 deletions.
  1. +6 −3 doc/user/ospfd.rst
  2. +1 −0 ospfd/ospf_memory.c
  3. +1 −0 ospfd/ospf_memory.h
  4. +351 −225 ospfd/ospf_ri.c
  5. +65 −1 ospfd/ospf_ri.h
@@ -979,14 +979,17 @@ Traffic Engineering
Router Information
==================

.. index:: router-info [as | area <A.B.C.D>]
.. clicmd:: router-info [as | area <A.B.C.D>]
.. index:: router-info [as | area]
.. clicmd:: router-info [as | area]

.. index:: no router-info
.. clicmd:: no router-info

Enable Router Information (:rfc:`4970`) LSA advertisement with AS scope
(default) or Area scope flooding when area is specified.
(default) or Area scope flooding when area is specified. Old syntax
`router-info area <A.B.C.D>` is always supported but mark as deprecated
as the area ID is no more necessary. Indeed, router information support
multi-area and detect automatically the areas.

.. index:: pce address <A.B.C.D>
.. clicmd:: pce address <A.B.C.D>
@@ -52,6 +52,7 @@ DEFINE_MTYPE(OSPFD, OSPF_IF_INFO, "OSPF if info")
DEFINE_MTYPE(OSPFD, OSPF_IF_PARAMS, "OSPF if params")
DEFINE_MTYPE(OSPFD, OSPF_MESSAGE, "OSPF message")
DEFINE_MTYPE(OSPFD, OSPF_MPLS_TE, "OSPF MPLS parameters")
DEFINE_MTYPE(OSPFD, OSPF_ROUTER_INFO, "OSPF Router Info parameters")
DEFINE_MTYPE(OSPFD, OSPF_PCE_PARAMS, "OSPF PCE parameters")
DEFINE_MTYPE(OSPFD, OSPF_EXT_PARAMS, "OSPF Extended parameters")
DEFINE_MTYPE(OSPFD, OSPF_SR_PARAMS, "OSPF Segment Routing parameters")
@@ -51,6 +51,7 @@ DECLARE_MTYPE(OSPF_IF_INFO)
DECLARE_MTYPE(OSPF_IF_PARAMS)
DECLARE_MTYPE(OSPF_MESSAGE)
DECLARE_MTYPE(OSPF_MPLS_TE)
DECLARE_MTYPE(OSPF_ROUTER_INFO)
DECLARE_MTYPE(OSPF_PCE_PARAMS)
DECLARE_MTYPE(OSPF_SR_PARAMS)
DECLARE_MTYPE(OSPF_EXT_PARAMS)
Oops, something went wrong.

0 comments on commit ddd73a9

Please sign in to comment.
You can’t perform that action at this time.