summaryrefslogtreecommitdiff
path: root/templates/protocols/bgp/node.def
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-01-31 07:58:38 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2008-01-31 07:58:38 -0800
commitcd50a751d1480424cdf103fd748b514330029c24 (patch)
treef70096ded03ce07e56f42c0660c2cf97d63ba83b /templates/protocols/bgp/node.def
parentc51dae6826ea505169fca5b0cb0a580bf99c18cf (diff)
downloadvyatta-cfg-quagga-cd50a751d1480424cdf103fd748b514330029c24.tar.gz
vyatta-cfg-quagga-cd50a751d1480424cdf103fd748b514330029c24.zip
convert templates to new syntax
Diffstat (limited to 'templates/protocols/bgp/node.def')
-rw-r--r--templates/protocols/bgp/node.def8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/protocols/bgp/node.def b/templates/protocols/bgp/node.def
index 63fc0f03..5e89d91a 100644
--- a/templates/protocols/bgp/node.def
+++ b/templates/protocols/bgp/node.def
@@ -1,7 +1,7 @@
tag:
type: u32
-help: "Configure a BGP Autonomous System on this router"
+help: Configure a BGP Autonomous System on this router
# TODO: non-multinode parent
-syntax: $(@) >= 1 && $(@) <= 4294967294; "AS number must be between 1 and 4294967294"
-update: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router bgp $(@)\" "
-delete: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"no router bgp $(@)\" "
+syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 4294967294; "AS number must be between 1 and 4294967294"
+update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router bgp $VAR(@)\" "
+delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"no router bgp $VAR(@)\" "