]> git.puffer.fish Git - matthieu/frr.git/commit
lib: fix the default TE bandwidth
authorLouis Scalbert <louis.scalbert@6wind.com>
Wed, 19 Oct 2022 12:34:43 +0000 (14:34 +0200)
committerLouis Scalbert <louis.scalbert@6wind.com>
Thu, 27 Oct 2022 16:15:12 +0000 (18:15 +0200)
commitd5a313e074efeb19f7ed173bb6f6cc275ef2d783
treeb1225eacf46b783f289d7a3a249c7aab20d11354
parentc3a02dde41f419a540f17a3521eb87310e5a88b9
lib: fix the default TE bandwidth

When enabling the interface link-params, a default bandwidth is assigned
to the Max, Reservable and Unreserved Bandwidth variables. If the
bandwidth is set at in the interface context, this value is used.
Otherwise, a default bandwidth value of 10 Gbps is set.

Revert the default value to 10 Mbps as it was intended in the initial
commit. 10 Mbps is a low value so that the link will not be prioritized
when computing the paths.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
lib/if.h