summaryrefslogtreecommitdiff
path: root/templates/protocols/bgp
diff options
context:
space:
mode:
authorMichael Larson <slioch@slioch.vyatta.com>2009-11-30 15:52:43 -0800
committerMichael Larson <slioch@slioch.vyatta.com>2009-11-30 15:52:43 -0800
commita14a495bec300781d2e1fe20fe3e7864985f2bca (patch)
tree90c34ce84c031cea9f6e3ad1b19c94e5cc8811ab /templates/protocols/bgp
parent29e2bf6a5282267867505edb194a4c0b09a9b8a7 (diff)
downloadvyatta-cfg-quagga-a14a495bec300781d2e1fe20fe3e7864985f2bca.tar.gz
vyatta-cfg-quagga-a14a495bec300781d2e1fe20fe3e7864985f2bca.zip
added required keyword to help text.
Diffstat (limited to 'templates/protocols/bgp')
-rw-r--r--templates/protocols/bgp/node.tag/neighbor/node.tag/local-as/local-as/node.def2
-rw-r--r--templates/protocols/bgp/node.tag/neighbor/node.tag/remote-as/node.def2
-rw-r--r--templates/protocols/bgp/node.tag/neighbor/node.tag/soft-reconfiguration/inbound/node.def2
-rw-r--r--templates/protocols/bgp/node.tag/parameters/confederation/identifier/node.def2
-rw-r--r--templates/protocols/bgp/node.tag/parameters/dampening/half-life/node.def2
-rw-r--r--templates/protocols/bgp/node.tag/parameters/dampening/max-suppress-time/node.def2
-rw-r--r--templates/protocols/bgp/node.tag/parameters/dampening/re-use/node.def2
-rw-r--r--templates/protocols/bgp/node.tag/parameters/dampening/start-suppress-time/node.def2
8 files changed, 8 insertions, 8 deletions
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/local-as/local-as/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/local-as/local-as/node.def
index f4277aad..daedc282 100644
--- a/templates/protocols/bgp/node.tag/neighbor/node.tag/local-as/local-as/node.def
+++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/local-as/local-as/node.def
@@ -1,5 +1,5 @@
type: u32
-help: Set the local AS number
+help: Set the local AS number [REQUIRED]
comp_help: \1 <1-4294967294>\tlocal AS number
syntax:expression: $VAR(@) >=1 && $VAR(@) <= 4294967294; "local-as must be between 1 and 4294967294"
commit:expression: $VAR(@) != $VAR(../../../@); "protocols bgp $VAR(../../../@) neighbor $VAR(../../@): you can't set local-as the same as the router AS"
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/remote-as/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/remote-as/node.def
index 27c725e0..2bc7382b 100644
--- a/templates/protocols/bgp/node.tag/neighbor/node.tag/remote-as/node.def
+++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/remote-as/node.def
@@ -1,5 +1,5 @@
type: u32
-help: Set neighbor BGP AS number
+help: Set neighbor BGP AS number [REQUIRED]
comp_help: possible completions:
<1-4294967294> AS number
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/soft-reconfiguration/inbound/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/soft-reconfiguration/inbound/node.def
index f52c6702..a86dca62 100644
--- a/templates/protocols/bgp/node.tag/neighbor/node.tag/soft-reconfiguration/inbound/node.def
+++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/soft-reconfiguration/inbound/node.def
@@ -1,4 +1,4 @@
-help: Set inbound soft reconfiguration for this neighbor
+help: Set inbound soft reconfiguration for this neighbor [REQUIRED]
commit:expression: exec "/opt/vyatta/sbin/vyatta-bgp.pl --check-as \
--as $VAR(../../../@) --neighbor $VAR(../../@)"
diff --git a/templates/protocols/bgp/node.tag/parameters/confederation/identifier/node.def b/templates/protocols/bgp/node.tag/parameters/confederation/identifier/node.def
index fb4ff733..21abcb83 100644
--- a/templates/protocols/bgp/node.tag/parameters/confederation/identifier/node.def
+++ b/templates/protocols/bgp/node.tag/parameters/confederation/identifier/node.def
@@ -1,5 +1,5 @@
type: u32
-help: Set confederation AS identifier
+help: Set confederation AS identifier [REQUIRED]
comp_help: \1 <1-4294967294>\tconfederation AS id
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 4294967294; "confederation AS id must be between 1 and 4294967294"
update: vyatta-vtysh -c "configure terminal" -c "router bgp $VAR(../../../@)" \
diff --git a/templates/protocols/bgp/node.tag/parameters/dampening/half-life/node.def b/templates/protocols/bgp/node.tag/parameters/dampening/half-life/node.def
index a852d0d0..1cc94f6a 100644
--- a/templates/protocols/bgp/node.tag/parameters/dampening/half-life/node.def
+++ b/templates/protocols/bgp/node.tag/parameters/dampening/half-life/node.def
@@ -1,4 +1,4 @@
type: u32
-help: Set half-life time for dampening
+help: Set half-life time for dampening [REQUIRED]
comp_help: \1 <1-45>\thalf-life penalty in seconds
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 45; "Half-life penalty must be between 1 and 45"
diff --git a/templates/protocols/bgp/node.tag/parameters/dampening/max-suppress-time/node.def b/templates/protocols/bgp/node.tag/parameters/dampening/max-suppress-time/node.def
index 60438745..74d91714 100644
--- a/templates/protocols/bgp/node.tag/parameters/dampening/max-suppress-time/node.def
+++ b/templates/protocols/bgp/node.tag/parameters/dampening/max-suppress-time/node.def
@@ -1,5 +1,5 @@
type: u32
-help: Set the maximum duration to suppress a stable route
+help: Set the maximum duration to suppress a stable route [REQUIRED]
comp_help: \1 <1-255>\tmaximum suppress duration in seconds
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 255; "Max-suppress-time must be between 1 and 255"
commit:expression: $VAR(../re-use/) != ""; "protocols bgp $VAR(../../../@) parameters dampening max-suppress-time: you must set a re-use time"
diff --git a/templates/protocols/bgp/node.tag/parameters/dampening/re-use/node.def b/templates/protocols/bgp/node.tag/parameters/dampening/re-use/node.def
index 1eb3d6b3..a6787843 100644
--- a/templates/protocols/bgp/node.tag/parameters/dampening/re-use/node.def
+++ b/templates/protocols/bgp/node.tag/parameters/dampening/re-use/node.def
@@ -1,5 +1,5 @@
type: u32
-help: Set time to start reusing a route
+help: Set time to start reusing a route [REQUIRED]
comp_help: \1 <1-20000>\tre-use time in seconds
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 20000; "Re-use value must be between 1 and 20000"
commit:expression: $VAR(../start-suppress-time/) != ""; "protocols bgp $VAR(../../../@) parameters dampening re-use: you must set start-suppress-time"
diff --git a/templates/protocols/bgp/node.tag/parameters/dampening/start-suppress-time/node.def b/templates/protocols/bgp/node.tag/parameters/dampening/start-suppress-time/node.def
index a1f55596..901c94e3 100644
--- a/templates/protocols/bgp/node.tag/parameters/dampening/start-suppress-time/node.def
+++ b/templates/protocols/bgp/node.tag/parameters/dampening/start-suppress-time/node.def
@@ -1,5 +1,5 @@
type: u32
-help: Set when to start suppressing a route
+help: Set when to start suppressing a route [REQUIRED]
comp_help: \1 <1-20000>\t\tstart-suppress-time
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 20000; "Start-suppress-time must be between 1 and 20000"
commit:expression: $VAR(../re-use/) != ""; "protocols bgp $VAR(../../../@) parameters dampening max-suppress-time: you must set re-use"