summaryrefslogtreecommitdiff
path: root/templates/protocols
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
parent29e2bf6a5282267867505edb194a4c0b09a9b8a7 (diff)
downloadvyatta-cfg-quagga-a14a495bec300781d2e1fe20fe3e7864985f2bca.tar.gz
vyatta-cfg-quagga-a14a495bec300781d2e1fe20fe3e7864985f2bca.zip
added required keyword to help text.
Diffstat (limited to 'templates/protocols')
-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
-rw-r--r--templates/protocols/ospf/access-list/node.tag/export/node.def2
-rw-r--r--templates/protocols/ospf/area/node.tag/network/node.def2
-rw-r--r--templates/protocols/static/interface-route/node.tag/next-hop-interface/node.def2
-rw-r--r--templates/protocols/static/interface-route6/node.tag/next-hop-interface/node.def2
-rw-r--r--templates/protocols/static/route/node.tag/next-hop/node.def2
-rw-r--r--templates/protocols/static/route6/node.tag/next-hop/node.def2
14 files changed, 14 insertions, 14 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"
diff --git a/templates/protocols/ospf/access-list/node.tag/export/node.def b/templates/protocols/ospf/access-list/node.tag/export/node.def
index 0b1d1e1d..31806ebb 100644
--- a/templates/protocols/ospf/access-list/node.tag/export/node.def
+++ b/templates/protocols/ospf/access-list/node.tag/export/node.def
@@ -1,6 +1,6 @@
multi:
type: txt
-help: Set filter for outgoing routing updates
+help: Set filter for outgoing routing updates [REQUIRED]
syntax:expression: $VAR(@) in "bgp", "connected", "kernel", "rip", "static"; "Must be (bgp, connected, kernel, rip, or static)"
create: vyatta-vtysh -c "configure terminal" \
-c "router ospf" \
diff --git a/templates/protocols/ospf/area/node.tag/network/node.def b/templates/protocols/ospf/area/node.tag/network/node.def
index 99e6cf7e..55b2e632 100644
--- a/templates/protocols/ospf/area/node.tag/network/node.def
+++ b/templates/protocols/ospf/area/node.tag/network/node.def
@@ -1,6 +1,6 @@
multi:
type: ipv4net
-help: Set OSPF network
+help: Set OSPF network [REQUIRED]
syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)"
create:vyatta-vtysh -c "configure terminal" \
-c "router ospf" -c "network $VAR(@) area $VAR(../@)"
diff --git a/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.def b/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.def
index d98a223b..386874ec 100644
--- a/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.def
+++ b/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.def
@@ -1,6 +1,6 @@
tag:
type: txt
-help: Set the next-hop interface
+help: Set the next-hop interface [REQUIRED]
# show all current interface
# but syntax accepts any interface since it may exist later (ppp etc)
allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all
diff --git a/templates/protocols/static/interface-route6/node.tag/next-hop-interface/node.def b/templates/protocols/static/interface-route6/node.tag/next-hop-interface/node.def
index d1c5e21f..4f23fc35 100644
--- a/templates/protocols/static/interface-route6/node.tag/next-hop-interface/node.def
+++ b/templates/protocols/static/interface-route6/node.tag/next-hop-interface/node.def
@@ -1,6 +1,6 @@
tag:
type: txt
-help: Set the next-hop interface
+help: Set the next-hop interface [REQUIRED]
# show all current interface
# but syntax accepts any interface since it may exist later (ppp etc)
allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all
diff --git a/templates/protocols/static/route/node.tag/next-hop/node.def b/templates/protocols/static/route/node.tag/next-hop/node.def
index 943857f8..f3119da1 100644
--- a/templates/protocols/static/route/node.tag/next-hop/node.def
+++ b/templates/protocols/static/route/node.tag/next-hop/node.def
@@ -1,6 +1,6 @@
tag:
type: ipv4
-help: Set the next-hop router
+help: Set the next-hop router [REQUIRED]
end:
if [[ -z "$VAR(./disable)" ]]
then
diff --git a/templates/protocols/static/route6/node.tag/next-hop/node.def b/templates/protocols/static/route6/node.tag/next-hop/node.def
index fdaa8ef4..a9a20c44 100644
--- a/templates/protocols/static/route6/node.tag/next-hop/node.def
+++ b/templates/protocols/static/route6/node.tag/next-hop/node.def
@@ -1,6 +1,6 @@
tag:
type: ipv6
-help: Set the next-hop IPv6 router
+help: Set the next-hop IPv6 router [REQUIRED]
end:
if [[ -z "$VAR(./disable)" ]]
then