summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2021-01-11 08:19:33 +0000
committerChristian Poessinger <christian@poessinger.com>2021-01-24 15:01:19 +0100
commit250e9306b0fa5a061a3eb45547ee5e809d3060aa (patch)
treeee93e4c2e45242b430bb60d79b5a3ec17d3e01cf
parent8efa50b7f0d5a84b5eb98353465911bc8aa292fe (diff)
downloadvyatta-cfg-quagga-250e9306b0fa5a061a3eb45547ee5e809d3060aa.tar.gz
vyatta-cfg-quagga-250e9306b0fa5a061a3eb45547ee5e809d3060aa.zip
ospf: T3194: Fix redistribute mertic values
(cherry picked from commit 3bc223167358a6af6b45c76de0e3a2476e7e6274)
-rw-r--r--templates/protocols/ospf/redistribute/bgp/metric/node.def4
-rw-r--r--templates/protocols/ospf/redistribute/connected/metric/node.def4
-rw-r--r--templates/protocols/ospf/redistribute/kernel/metric/node.def4
-rw-r--r--templates/protocols/ospf/redistribute/rip/metric/node.def4
-rw-r--r--templates/protocols/ospf/redistribute/static/metric/node.def4
5 files changed, 10 insertions, 10 deletions
diff --git a/templates/protocols/ospf/redistribute/bgp/metric/node.def b/templates/protocols/ospf/redistribute/bgp/metric/node.def
index 87ba8418..58fd80d7 100644
--- a/templates/protocols/ospf/redistribute/bgp/metric/node.def
+++ b/templates/protocols/ospf/redistribute/bgp/metric/node.def
@@ -1,4 +1,4 @@
type: u32
help: Metric for redistributed routes
-syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "metric must be between 1 and 16"
-val_help: u32:1-16; Metric for redistributed routes
+syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 16777214; "metric must be between 0 and 16777214"
+val_help: u32:0-16777214; Metric for redistributed routes
diff --git a/templates/protocols/ospf/redistribute/connected/metric/node.def b/templates/protocols/ospf/redistribute/connected/metric/node.def
index 87ba8418..58fd80d7 100644
--- a/templates/protocols/ospf/redistribute/connected/metric/node.def
+++ b/templates/protocols/ospf/redistribute/connected/metric/node.def
@@ -1,4 +1,4 @@
type: u32
help: Metric for redistributed routes
-syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "metric must be between 1 and 16"
-val_help: u32:1-16; Metric for redistributed routes
+syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 16777214; "metric must be between 0 and 16777214"
+val_help: u32:0-16777214; Metric for redistributed routes
diff --git a/templates/protocols/ospf/redistribute/kernel/metric/node.def b/templates/protocols/ospf/redistribute/kernel/metric/node.def
index 87ba8418..58fd80d7 100644
--- a/templates/protocols/ospf/redistribute/kernel/metric/node.def
+++ b/templates/protocols/ospf/redistribute/kernel/metric/node.def
@@ -1,4 +1,4 @@
type: u32
help: Metric for redistributed routes
-syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "metric must be between 1 and 16"
-val_help: u32:1-16; Metric for redistributed routes
+syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 16777214; "metric must be between 0 and 16777214"
+val_help: u32:0-16777214; Metric for redistributed routes
diff --git a/templates/protocols/ospf/redistribute/rip/metric/node.def b/templates/protocols/ospf/redistribute/rip/metric/node.def
index 87ba8418..58fd80d7 100644
--- a/templates/protocols/ospf/redistribute/rip/metric/node.def
+++ b/templates/protocols/ospf/redistribute/rip/metric/node.def
@@ -1,4 +1,4 @@
type: u32
help: Metric for redistributed routes
-syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "metric must be between 1 and 16"
-val_help: u32:1-16; Metric for redistributed routes
+syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 16777214; "metric must be between 0 and 16777214"
+val_help: u32:0-16777214; Metric for redistributed routes
diff --git a/templates/protocols/ospf/redistribute/static/metric/node.def b/templates/protocols/ospf/redistribute/static/metric/node.def
index 87ba8418..58fd80d7 100644
--- a/templates/protocols/ospf/redistribute/static/metric/node.def
+++ b/templates/protocols/ospf/redistribute/static/metric/node.def
@@ -1,4 +1,4 @@
type: u32
help: Metric for redistributed routes
-syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "metric must be between 1 and 16"
-val_help: u32:1-16; Metric for redistributed routes
+syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 16777214; "metric must be between 0 and 16777214"
+val_help: u32:0-16777214; Metric for redistributed routes