summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-10-30 07:40:16 -0500
committerGitHub <noreply@github.com>2019-10-30 07:40:16 -0500
commit72256d9878e76f2402b9dbaa75f57d348f2caf2c (patch)
tree86bef2e64011fc440eb24113510bbcdcf7fd3be9
parent6a559331538b43d88bafab6463a999fe6052daa2 (diff)
parent06e2192b82f0ec2aa72846eaaeb2582927e710d8 (diff)
downloadvyatta-cfg-quagga-72256d9878e76f2402b9dbaa75f57d348f2caf2c.tar.gz
vyatta-cfg-quagga-72256d9878e76f2402b9dbaa75f57d348f2caf2c.zip
Merge pull request #38 from DmitriyEshenko/crux-bndw
T1778 changing metrics OSPF bandwidth for FRR syntax in megabits
-rw-r--r--interface-templates/ip/ospf/bandwidth/node.def6
1 files changed, 3 insertions, 3 deletions
diff --git a/interface-templates/ip/ospf/bandwidth/node.def b/interface-templates/ip/ospf/bandwidth/node.def
index 9de76350..1919251b 100644
--- a/interface-templates/ip/ospf/bandwidth/node.def
+++ b/interface-templates/ip/ospf/bandwidth/node.def
@@ -1,7 +1,7 @@
type: u32
-help: Bandwidth of interface (kilobits/sec)
-syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 10000000; "Must be between 1-10000000"
-val_help: u32:1-10000000; Bandwidth in kilobits/sec (for calculating OSPF cost)
+help: Bandwidth of interface (megabits/sec)
+syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 100000; "Must be between 1-100000"
+val_help: u32:1-100000; Bandwidth in megabits/sec (for calculating OSPF cost)
update: vtysh -c "configure terminal" -c "interface $IFNAME" -c "bandwidth $VAR(@)"
delete: vtysh -c "configure terminal" -c "interface $IFNAME" -c "no bandwidth"