summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_interface.h
diff options
context:
space:
mode:
authorDon Slice <dslice@cumulusnetworks.com>2016-06-13 15:06:45 +0200
committerDon Slice <dslice@cumulusnetworks.com>2016-06-13 15:06:45 +0200
commit70bd3c4369b1b77f680f5a308e73a6663056af2d (patch)
tree11225466a6ec539257196cae3e8facd3327738ce /ospf6d/ospf6_interface.h
parentzebra: Fix zebra to exit on recvmsg buffer overrun (diff)
downloadfrr-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 'ospf6d/ospf6_interface.h')
-rw-r--r--ospf6d/ospf6_interface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ospf6d/ospf6_interface.h b/ospf6d/ospf6_interface.h
index 6ef9e3782..5e6b45568 100644
--- a/ospf6d/ospf6_interface.h
+++ b/ospf6d/ospf6_interface.h
@@ -144,8 +144,8 @@ extern const char *ospf6_interface_state_str[];
#define OSPF6_INTERFACE_PRIORITY 1
#define OSPF6_INTERFACE_TRANSDELAY 1
#define OSPF6_INTERFACE_INSTANCE_ID 0
-#define OSPF6_INTERFACE_BANDWIDTH 10000 /* Kbps */
-#define OSPF6_REFERENCE_BANDWIDTH 100000 /* Kbps */
+#define OSPF6_INTERFACE_BANDWIDTH 10000 /* Mbps */
+#define OSPF6_REFERENCE_BANDWIDTH 100000 /* Mbps */
#define OSPF6_INTERFACE_SSO_RETRY_INT 1
#define OSPF6_INTERFACE_SSO_RETRY_MAX 5