mirror_frr/ospf6d
Chirag Shah 07b37f93a7 ospf6d: ECMP for external routes
The route being added check its origin matches,
with any of the existing path (list of paths).
Remove the existing path, add if its cost is
eqaual or less than any of the existing path.

For a given route and of existing path cost is lower
(better) than one being added, discard new route update.

The existing path cost is higher (lower) than one being
added, ospf6_route_add replaces existing with new route
info.

Compare cost between delete request and with existing
route.

Ticket:CM-16139

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
2018-03-01 07:47:17 -08:00
..
.gitignore build: non-recursive ospf* 2017-08-04 11:09:50 +02:00
Makefile build: non-recursive ospf* 2017-08-04 11:09:50 +02:00
ospf6_abr.c ospf6d: Fix External routes ECMP 2018-01-02 10:00:38 -08:00
ospf6_abr.h *: reindent 2017-07-17 14:04:07 +02:00
ospf6_area.c ospf6d: spf calculation w/ multiple router lsas 2018-01-22 17:33:56 -08:00
ospf6_area.h ospf6d: router-id change notify to restart ospf6d 2018-02-15 09:57:05 -08:00
ospf6_asbr.c ospf6d: ECMP for external routes 2018-03-01 07:47:17 -08:00
ospf6_asbr.h ospf6d: ECMP for external routes 2018-03-01 07:47:17 -08:00
ospf6_bfd.c *: use the FOR_ALL_INTERFACES abstraction from babeld 2017-10-10 09:05:46 -03:00
ospf6_bfd.h *: reindent 2017-07-17 14:04:07 +02:00
ospf6_flood.c ospf6d: Handle Premature Aging of LSAs 2018-02-14 17:37:34 -08:00
ospf6_flood.h ospf6d: Handle Premature Aging of LSAs 2018-02-14 17:37:34 -08:00
ospf6_interface.c ospf6d: Handle Premature Aging of LSAs 2018-02-14 17:37:34 -08:00
ospf6_interface.h ospf6d: Handle Premature Aging of LSAs 2018-02-14 17:37:34 -08:00
ospf6_intra.c ospf6d: Fix External routes ECMP 2018-01-02 10:00:38 -08:00
ospf6_intra.h ospf6d: Handle Premature Aging of LSAs 2018-02-14 17:37:34 -08:00
ospf6_lsa.c ospf6d: Handle Premature Aging of LSAs 2018-02-14 17:37:34 -08:00
ospf6_lsa.h ospf6d: Handle Premature Aging of LSAs 2018-02-14 17:37:34 -08:00
ospf6_lsdb.c ospf6d: Handle Premature Aging of LSAs 2018-02-14 17:37:34 -08:00
ospf6_lsdb.h *: reindent 2017-07-17 14:04:07 +02:00
ospf6_main.c ospf6d: Fix redist w/ route-map during restart 2018-01-26 09:53:37 -08:00
ospf6_memory.c ospf6d: Fix redist w/ route-map during restart 2018-01-26 09:53:37 -08:00
ospf6_memory.h ospf6d: Fix redist w/ route-map during restart 2018-01-26 09:53:37 -08:00
ospf6_message.c ospf6d: Handle Premature Aging of LSAs 2018-02-14 17:37:34 -08:00
ospf6_message.h *: reindent 2017-07-17 14:04:07 +02:00
ospf6_neighbor.c ospf6d: router-id change notify to restart ospf6d 2018-02-15 09:57:05 -08:00
ospf6_neighbor.h *: reindent 2017-07-17 14:04:07 +02:00
ospf6_network.c ospf6d: Make 'struct zebra_privs_t' available 2017-10-23 18:09:23 -04:00
ospf6_network.h *: reindent 2017-07-17 14:04:07 +02:00
ospf6_proto.c *: reindent 2017-07-17 14:04:07 +02:00
ospf6_proto.h ospf6d: Make ospf6_prefix have an empty v6 addr at end 2017-10-11 08:19:26 -04:00
ospf6_route.c ospf6d: ECMP for external routes 2018-03-01 07:47:17 -08:00
ospf6_route.h ospf6d: Fix External routes ECMP 2018-01-02 10:00:38 -08:00
ospf6_snmp.c ospf6d: Don't assign to values that are never read 2017-12-14 10:43:53 -05:00
ospf6_spf.c ospf6d: Fix a possible deref by null found in SA 2018-02-13 23:34:52 -05:00
ospf6_spf.h ospf6d: spf calculation w/ multiple router lsas 2018-01-22 17:33:56 -08:00
ospf6_top.c ospf6d: ECMP for external routes 2018-03-01 07:47:17 -08:00
ospf6_top.h ospf6d: router-id change notify to restart ospf6d 2018-02-15 09:57:05 -08:00
ospf6_zebra.c ospf6d: router-id change notify to restart ospf6d 2018-02-15 09:57:05 -08:00
ospf6_zebra.h *: reindent 2017-07-17 14:04:07 +02:00
ospf6d.c ospf6d: spf calculation w/ multiple router lsas 2018-01-22 17:33:56 -08:00
ospf6d.conf.sample Ospf6d merge from Zebra repository with added privs stuff and merged 2004-05-18 18:57:06 +00:00
ospf6d.h ospf6d: Make 'struct zebra_privs_t' available 2017-10-23 18:09:23 -04:00
OSPFv3-MIB.txt snmp: fix OSPFV3-MIB implementation 2012-06-25 19:05:16 +02:00
README ospf6d: add "auto-cost reference-bandwidth" command 2014-03-21 06:28:48 +01:00
subdir.am build: non-recursive ospf* 2017-08-04 11:09:50 +02:00

		  Zebra OSPF daemon for IPv6 network

			     2003/08/18

README for newer code is not yet. General usage should remain
the same. For further usage, see command helps by typing '?'
in vty, and then imagin ! ;p) Previous README contents follows.

		  Zebra OSPF daemon for IPv6 network

			     2001/12/20

Zebra OSPF6d is OSPF version 3 daemon which is specified by
"OSPF for IPv6" (RFC 2740).

*** NOTE ***
  Zebra ospf6d is in development yet. It may lack some functionalities,
  and may have some bugs. Use the latest version from the anoncvs
  repository (http://www.zebra.org/cvs.html) !

This file README is like memo yet, so please feel free to ask
<yasu@sfc.wide.ad.jp> by E-mail. Patches will be appriciated.

ospf6d's vty port was default to 2606/tcp.
Use commands below.

VIEW NODE:
  show ipv6 ospf6
    To see Router-ID, uptime of ospf6d, some statistics.

  show ipv6 ospf6 database ...
    This command shows LSA database. You can specify
    LS-type/LS-ID/Advertising-Router of LSAs. '*' is recognized.

  show ipv6 ospf6 interface ...
    To see the status of the OSPF interface, and the configuration
    like interface costs.

  show ipv6 ospf6 neighbor ...
    Shows state of neighbors and choosed (Backup) DR on the I/F.

  show ipv6 ospf6 route (X::X)
    This command shows internal routing table of the ospf6d.
    Routes not calculated by OSPFv3 (like connected routes)
    are not shown. If Address is specified (X::X), shows the route
    that the address matches.

  show ipv6 ospf6 route redistribute (X::X)
    Shows the routes advertised as AS-External routes by the router
    itself. If Address is specified (X::X), shows the route
    that the address matches.

CONFIG NODE:
  interface NAME
    To enter INTERFACE NODE

  router ospf6 ...
    To enter OSPF6 NODE

INTERFACE NODE:
  ipv6 ospf6 cost COST
    Sets the interface's output cost. Depends on interface bandwidth by default.

  ipv6 ospf6 hello-interval HELLOINTERVAL
    Sets the interface's Hello Interval. default 10

  ipv6 ospf6 dead-interval DEADINTERVAL
    Sets the interface's Router Dead Interval. default 40

  ipv6 ospf6 retransmit-interval RETRANSMITINTERVAL
    Sets the interface's Rxmt Interval. default 5

  ipv6 ospf6 priority PRIORITY
    Sets the interface's Router Priority. default 1

  ipv6 ospf6 transmit-delay TRANSMITDELAY
    Sets the interface's Inf-Trans-Delay. default 1

OSPF6 NODE:
  router-id A.B.C.D
    Sets the router's Router-ID

  interface NAME area AREA
    Binds interface to specified Area, and start
    sending OSPFv3 packets.

  auto-cost reference-bandwidth COST
    Sets the reference bandwidth for cost calculations, where this
    bandwidth is considered equivalent to an OSPF cost of 1, specified
    in Mbits/s. The default is 100Mbit/s (i.e. a link of bandwidth
    100Mbit/s or higher will have a cost of 1. Cost of lower bandwidth
    links will be scaled with reference to this cost).  This
    configuration setting MUST be consistent across all routers within
    the OSPF domain.

Sample configuration is in ospf6d.conf.sample.

--
Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
Kunihiro Ishiguro <kunihiro@zebra.org>