diff options
author | Robert Bays <rbays@moresby.vyatta.com> | 2008-03-25 17:19:29 -0700 |
---|---|---|
committer | Robert Bays <rbays@moresby.vyatta.com> | 2008-03-25 17:19:29 -0700 |
commit | f9989ab77bffc9fb336eb6c00677e6251b1bf618 (patch) | |
tree | e947a9d0ccf7de15adcd36caa84c3887f2ad4c4e /templates/protocols/bgp/node.def | |
parent | 43e606dd1afc29b551ddfb53f4d7a388121b3fbe (diff) | |
download | vyatta-cfg-quagga-f9989ab77bffc9fb336eb6c00677e6251b1bf618.tar.gz vyatta-cfg-quagga-f9989ab77bffc9fb336eb6c00677e6251b1bf618.zip |
update help strings in BGP
add comp_help strings to BGP
remove enforce-capability parameter since in quagga it's an alias
remove interface parameter since it's ipv6 related
remove password parameter as the md5 code isn't in the current release
fixed a couple of parameter relationship bugs
Diffstat (limited to 'templates/protocols/bgp/node.def')
-rw-r--r-- | templates/protocols/bgp/node.def | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/templates/protocols/bgp/node.def b/templates/protocols/bgp/node.def index c1b84c57..c656ab50 100644 --- a/templates/protocols/bgp/node.def +++ b/templates/protocols/bgp/node.def @@ -1,9 +1,10 @@ tag: type: u32 -help: Configure a BGP Autonomous System on this router +help: Configure BGP protocol +comp_help: \1 <1-4294967294>\tAS number 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(@)\" " +update: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" -c "router bgp $VAR(@)" # we need to set default parameters in BGP here since we can't do it in -# startup scripts because we don't know the AS number -update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router bgp $VAR(@)\" -c \"bgp network import-check\" " -delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"no router bgp $VAR(@)\" " +# startup scripts as we don't know the AS number at that point +update: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" -c "router bgp $VAR(@)" -c "bgp network import-check" +delete: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" -c "no router bgp $VAR(@)" |