diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-05-09 13:10:35 -0400 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-05-10 16:13:57 +0000 |
| commit | b9c56b644d6beed1354aea9f9a75c29196bf2e33 (patch) | |
| tree | 26c6d585875ca3d992fcfeaa00f7e9666449420f /tests/topotests/ospfapi/test_ospf_clientapi.py | |
| parent | 183dabba65ec90ebcc1a367a20bb7376a34f8e02 (diff) | |
ospfd: Respect loopback's cost that is set and set loopback costs to 0
When setting an loopback's cost, set the value to 0, unless the operator
has assigned a value for the loopback's cost.
RFC states:
If the state of the interface is Loopback, add a Type 3
link (stub network) as long as this is not an interface
to an unnumbered point-to-point network. The Link ID
should be set to the IP interface address, the Link Data
set to the mask 0xffffffff (indicating a host route),
and the cost set to 0.
FRR is going to allow this to be overridden if the operator specifically
sets a value too.
Fixes: #13472
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
(cherry picked from commit dd2bc4fb406cc9284d35ef623ebb8838cb158bc8)
Diffstat (limited to 'tests/topotests/ospfapi/test_ospf_clientapi.py')
0 files changed, 0 insertions, 0 deletions
