summaryrefslogtreecommitdiff
path: root/templates/protocols
diff options
context:
space:
mode:
authorRobert Bays <rbays@moresby.(none)>2007-11-07 16:25:22 -0800
committerRobert Bays <rbays@moresby.(none)>2007-11-07 16:25:22 -0800
commitdf9e4971d68a6791e3fd498a5d4ae1c57661f80e (patch)
tree8d16559f5e147164f26270aa7118c9226dd04b9c /templates/protocols
parent4c2116c9cd2b52e1a29c88f62376a450a0e3a231 (diff)
downloadvyatta-cfg-quagga-df9e4971d68a6791e3fd498a5d4ae1c57661f80e.tar.gz
vyatta-cfg-quagga-df9e4971d68a6791e3fd498a5d4ae1c57661f80e.zip
remove old style type config from bgp and policy templates
Diffstat (limited to 'templates/protocols')
-rw-r--r--templates/protocols/bgp/node.tag/aggregate-address/node.def2
-rw-r--r--templates/protocols/bgp/node.tag/bgp/cluster-id/node.def2
-rw-r--r--templates/protocols/bgp/node.tag/bgp/confederation/identifier/node.def2
-rw-r--r--templates/protocols/bgp/node.tag/bgp/confederation/peers/node.def2
-rw-r--r--templates/protocols/bgp/node.tag/bgp/dampening/half-life/node.def2
-rw-r--r--templates/protocols/bgp/node.tag/bgp/dampening/max-suppress-time/node.def2
-rw-r--r--templates/protocols/bgp/node.tag/bgp/dampening/re-use/node.def2
-rw-r--r--templates/protocols/bgp/node.tag/bgp/dampening/start-suppress-time/node.def2
-rw-r--r--templates/protocols/bgp/node.tag/bgp/default/local-pref/node.def2
-rw-r--r--templates/protocols/bgp/node.tag/bgp/graceful-restart/stalepath-time/node.def2
-rw-r--r--templates/protocols/bgp/node.tag/bgp/router-id/node.def2
-rw-r--r--templates/protocols/bgp/node.tag/bgp/scan-time/node.def2
12 files changed, 12 insertions, 12 deletions
diff --git a/templates/protocols/bgp/node.tag/aggregate-address/node.def b/templates/protocols/bgp/node.tag/aggregate-address/node.def
index 63c6fe0c..5094bd84 100644
--- a/templates/protocols/bgp/node.tag/aggregate-address/node.def
+++ b/templates/protocols/bgp/node.tag/aggregate-address/node.def
@@ -1,5 +1,5 @@
tag:
-type: ipv4net; "aggregate-entry must be and IPv4 network"
+type: ipv4net
help: "Configure BGP aggregate entries"
syntax: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --check-prefix-boundry $(@)"
delete: "touch /tmp/`echo $(@) | sed 's!/!!'`.\\$PPID"
diff --git a/templates/protocols/bgp/node.tag/bgp/cluster-id/node.def b/templates/protocols/bgp/node.tag/bgp/cluster-id/node.def
index ba15ece1..624b9ad1 100644
--- a/templates/protocols/bgp/node.tag/bgp/cluster-id/node.def
+++ b/templates/protocols/bgp/node.tag/bgp/cluster-id/node.def
@@ -1,4 +1,4 @@
-type: ipv4; "protocols bgp $(../../) cluster-id must be and IPv4 address"
+type: ipv4
help: "Configure route-reflector cluster-id\n"
create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router bgp $(../../@)\" \
-c \"bgp cluster-id $(@)\" "
diff --git a/templates/protocols/bgp/node.tag/bgp/confederation/identifier/node.def b/templates/protocols/bgp/node.tag/bgp/confederation/identifier/node.def
index eee4fa65..5e73a0b6 100644
--- a/templates/protocols/bgp/node.tag/bgp/confederation/identifier/node.def
+++ b/templates/protocols/bgp/node.tag/bgp/confederation/identifier/node.def
@@ -1,4 +1,4 @@
-type: u32; "protocols bgp $(../../../) confederation identifier must be a u32"
+type: u32
help: "Configure confederation AS id"
syntax: $(@) >= 1 && $(@) <= 65535; "confederation AS id must be between 1 and 65535"
create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router bgp $(../../../@)\" \
diff --git a/templates/protocols/bgp/node.tag/bgp/confederation/peers/node.def b/templates/protocols/bgp/node.tag/bgp/confederation/peers/node.def
index 4f28ec13..e82b3239 100644
--- a/templates/protocols/bgp/node.tag/bgp/confederation/peers/node.def
+++ b/templates/protocols/bgp/node.tag/bgp/confederation/peers/node.def
@@ -1,5 +1,5 @@
multi:
-type: u32; "protocols bgp $(../../../@) confederation peer must be a u32"
+type: u32
help: "Peer ASs in BGP confederation"
syntax: $(@) >= 1 && $(@) <= 65535; "confederation AS id must be between 1 and 65535"
create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router bgp $(../../../@)\" \
diff --git a/templates/protocols/bgp/node.tag/bgp/dampening/half-life/node.def b/templates/protocols/bgp/node.tag/bgp/dampening/half-life/node.def
index dbff0dcf..aa710acf 100644
--- a/templates/protocols/bgp/node.tag/bgp/dampening/half-life/node.def
+++ b/templates/protocols/bgp/node.tag/bgp/dampening/half-life/node.def
@@ -1,3 +1,3 @@
-type: u32; "protocols bgp $(../../../@) dampening half-life must be a u32"
+type: u32
help: "Half-life time for the penalty"
syntax: $(@) >= 1 && $(@) <= 45; "Half-life penalty must be between 1 and 45"
diff --git a/templates/protocols/bgp/node.tag/bgp/dampening/max-suppress-time/node.def b/templates/protocols/bgp/node.tag/bgp/dampening/max-suppress-time/node.def
index 5ae075e2..1231e799 100644
--- a/templates/protocols/bgp/node.tag/bgp/dampening/max-suppress-time/node.def
+++ b/templates/protocols/bgp/node.tag/bgp/dampening/max-suppress-time/node.def
@@ -1,4 +1,4 @@
-type: u32; "protocols bgp $(../../../@) dampening max-suppress-time must be a u32"
+type: u32
help: "Maximum duration to suppress a stable route"
syntax: $(@) >= 1 && $(@) <= 255; "Max-suppress-time must be between 1 and 255"
commit: $(../re-use/@) != ""; "Re-use value must be set"
diff --git a/templates/protocols/bgp/node.tag/bgp/dampening/re-use/node.def b/templates/protocols/bgp/node.tag/bgp/dampening/re-use/node.def
index 0555c81f..60a4cd8b 100644
--- a/templates/protocols/bgp/node.tag/bgp/dampening/re-use/node.def
+++ b/templates/protocols/bgp/node.tag/bgp/dampening/re-use/node.def
@@ -1,4 +1,4 @@
-type: u32; "protocols bgp $(../../../@) dampening re-use must be a u32"
+type: u32
help: "Value to start reusing a route"
syntax: $(@) >= 1 && $(@) <= 20000; "Re-use value must be between 1 and 20000"
commit: $(../start-suppress-time/@) != ""; "Start-suppress-time must be set"
diff --git a/templates/protocols/bgp/node.tag/bgp/dampening/start-suppress-time/node.def b/templates/protocols/bgp/node.tag/bgp/dampening/start-suppress-time/node.def
index 07f8e566..d2cc069c 100644
--- a/templates/protocols/bgp/node.tag/bgp/dampening/start-suppress-time/node.def
+++ b/templates/protocols/bgp/node.tag/bgp/dampening/start-suppress-time/node.def
@@ -1,4 +1,4 @@
-type: u32; "protocols bgp $(../../../@) dampening start-suppress-time must be a u32"
+type: u32
help: "Value to start suppressing a route"
syntax: $(@) >= 1 && $(@) <= 20000; "Start-suppress-time must be between 1 and 20000"
commit: $(../re-use/@) != ""; "Re-use value must be set"
diff --git a/templates/protocols/bgp/node.tag/bgp/default/local-pref/node.def b/templates/protocols/bgp/node.tag/bgp/default/local-pref/node.def
index 538dbb23..82d8e95d 100644
--- a/templates/protocols/bgp/node.tag/bgp/default/local-pref/node.def
+++ b/templates/protocols/bgp/node.tag/bgp/default/local-pref/node.def
@@ -1,4 +1,4 @@
-type: u32; "protocols bgp $(../../../@) bgp default local-pref must be a u32"
+type: u32
help: "Local preference (higher=more preferred)"
create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router bgp $(../../../@)\" \
-c \"bgp default local-preference $(@)\" "
diff --git a/templates/protocols/bgp/node.tag/bgp/graceful-restart/stalepath-time/node.def b/templates/protocols/bgp/node.tag/bgp/graceful-restart/stalepath-time/node.def
index 36e7791b..c7ddd5ae 100644
--- a/templates/protocols/bgp/node.tag/bgp/graceful-restart/stalepath-time/node.def
+++ b/templates/protocols/bgp/node.tag/bgp/graceful-restart/stalepath-time/node.def
@@ -1,4 +1,4 @@
-type: u32; "protocols bgp $(../../../@) bgp graceful-restart stalepath-time must be a u32"
+type: u32
help: "Set the max time in seconds to hold onto restarting peer's stale paths"
syntax: $(@) >= 1 && $(@) <= 3600; "stalepath-time must be between 1 and 3600"
create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router bgp $(../../../@)\" \
diff --git a/templates/protocols/bgp/node.tag/bgp/router-id/node.def b/templates/protocols/bgp/node.tag/bgp/router-id/node.def
index 9e74bc4f..accb7677 100644
--- a/templates/protocols/bgp/node.tag/bgp/router-id/node.def
+++ b/templates/protocols/bgp/node.tag/bgp/router-id/node.def
@@ -1,4 +1,4 @@
-type: ipv4; "protocols bgp $(../../@) bgp router-id must be an IPv4 address"
+type: ipv4
help: "Override configured router identifier"
create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router bgp $(../../@)\" \
-c \"bgp router-id $(@)\" "
diff --git a/templates/protocols/bgp/node.tag/bgp/scan-time/node.def b/templates/protocols/bgp/node.tag/bgp/scan-time/node.def
index d0886846..45637e06 100644
--- a/templates/protocols/bgp/node.tag/bgp/scan-time/node.def
+++ b/templates/protocols/bgp/node.tag/bgp/scan-time/node.def
@@ -1,4 +1,4 @@
-type: u32; "protocols bgp $(../../@) bgp scan-time must be a u32"
+type: u32
syntax: $(@) >= 5 && $(@) <= 60; "scan-time must be between 5 and 60 seconds"
help: "Configure background scanner interval"
create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router bgp $(../../@)\" \