diff options
author | Don Slice <dslice@cumulusnetworks.com> | 2016-06-13 15:06:45 +0200 |
---|---|---|
committer | Don Slice <dslice@cumulusnetworks.com> | 2016-06-13 15:06:45 +0200 |
commit | 70bd3c4369b1b77f680f5a308e73a6663056af2d (patch) | |
tree | 11225466a6ec539257196cae3e8facd3327738ce /lib/libospf.h | |
parent | zebra: Fix zebra to exit on recvmsg buffer overrun (diff) | |
download | frr-70bd3c4369b1b77f680f5a308e73a6663056af2d.tar.xz frr-70bd3c4369b1b77f680f5a308e73a6663056af2d.zip |
ospfd/ospf6d/zebra: Change interface bandwidth range and auto-cost range to 100G
Prior to this change, interface bandwidth could not be defined above 10G. With
the use of higher speed interfaces, the ability to effectively define the path
links was highly impacted. Additionally, the default auto-cost reference-bandwidth
for ospf and ospfv3 was set to 100M, which relects a much earlier time. Changed both
the range of interface bandwidth definitions and reference bandwidths to be up to
100G. Set the default interface bandwidth (if not defined) to 10G to make the ratio
continue to cause a cost of 10 as before. Manual testing as well as ospf-min and
ospf-smoke passed successfully.
Ticket: CM-10756
Signed-of-by: Don Slice
Reviewed-by: Donald Sharp
Diffstat (limited to 'lib/libospf.h')
-rw-r--r-- | lib/libospf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libospf.h b/lib/libospf.h index 270031af6..a1ff9c24a 100644 --- a/lib/libospf.h +++ b/lib/libospf.h @@ -69,9 +69,9 @@ #define OSPF_ROUTER_PRIORITY_DEFAULT 1 #define OSPF_RETRANSMIT_INTERVAL_DEFAULT 5 #define OSPF_TRANSMIT_DELAY_DEFAULT 1 -#define OSPF_DEFAULT_BANDWIDTH 10000 /* Kbps */ +#define OSPF_DEFAULT_BANDWIDTH 10000 /* Mbps */ -#define OSPF_DEFAULT_REF_BANDWIDTH 100000 /* Kbps */ +#define OSPF_DEFAULT_REF_BANDWIDTH 100000 /* Mbps */ #define OSPF_POLL_INTERVAL_DEFAULT 60 #define OSPF_NEIGHBOR_PRIORITY_DEFAULT 0 |