diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-04-08 17:03:09 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-04-08 17:03:09 -0700 |
commit | 67c9ab299d135e8866e81868843197dd3aa78d02 (patch) | |
tree | 803eafa2ad6426800c4509206e49b524c144fe7d /templates/protocols/ospf | |
parent | 00250bfa344edfe41904dfa1b2aa16019401e694 (diff) | |
download | vyatta-cfg-quagga-67c9ab299d135e8866e81868843197dd3aa78d02.tar.gz vyatta-cfg-quagga-67c9ab299d135e8866e81868843197dd3aa78d02.zip |
Fix 3129: "delete protocols ospf neighbor <> priority" should delete the neighbor in the config as under the routing engine
Diffstat (limited to 'templates/protocols/ospf')
-rw-r--r-- | templates/protocols/ospf/neighbor/node.tag/poll-interval/node.def | 15 | ||||
-rw-r--r-- | templates/protocols/ospf/neighbor/node.tag/priority/node.def | 15 |
2 files changed, 16 insertions, 14 deletions
diff --git a/templates/protocols/ospf/neighbor/node.tag/poll-interval/node.def b/templates/protocols/ospf/neighbor/node.tag/poll-interval/node.def index de508545..7c234d10 100644 --- a/templates/protocols/ospf/neighbor/node.tag/poll-interval/node.def +++ b/templates/protocols/ospf/neighbor/node.tag/poll-interval/node.def @@ -1,11 +1,12 @@ type: u32 help: Dead neighbor polling interval +default: 60 syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535 seconds" -update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \ - -c \"router ospf\" \ - -c \"neighbor $VAR(../@) poll-interval $VAR(@)\"; " -delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \ - -c \"router ospf\" \ - -c \"no neighbor $VAR(../@) poll-interval $VAR(@)\"; " +update: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \ + -c "router ospf" \ + -c "neighbor $VAR(../@) poll-interval $VAR(@)"; +delete: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \ + -c "router ospf" \ + -c "neighbor $VAR(../@) poll-interval 60"; comp_help: possible completions: - <1-65535> Seconds between dead neighbor polling interval + <1-65535> Seconds between dead neighbor polling interval (default 60) diff --git a/templates/protocols/ospf/neighbor/node.tag/priority/node.def b/templates/protocols/ospf/neighbor/node.tag/priority/node.def index 167dec0f..16af4dc3 100644 --- a/templates/protocols/ospf/neighbor/node.tag/priority/node.def +++ b/templates/protocols/ospf/neighbor/node.tag/priority/node.def @@ -1,11 +1,12 @@ type: u32 help: Neighbor priority in seconds +default: 0 syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 255; "Priority must be between 0-255" -update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \ - -c \"router ospf\" \ - -c \"neighbor $VAR(../@) priority $VAR(@)\"; " -delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \ - -c \"router ospf\" \ - -c \"no neighbor $VAR(../@) priority $VAR(@)\"; " +update: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \ + -c "router ospf" \ + -c "neighbor $VAR(../@) priority $VAR(@)"; +delete: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \ + -c "router ospf" \ + -c "neighbor $VAR(../@) priority 0"; comp_help: possible completions: - <0-255> Set neighbor priority + <0-255> Set neighbor priority (default 0) |