From 70bd3c4369b1b77f680f5a308e73a6663056af2d Mon Sep 17 00:00:00 2001 From: Don Slice Date: Mon, 13 Jun 2016 09:06:45 -0400 Subject: 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 --- lib/libospf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3