diff options
author | Stig Thormodsrud <stig@uffda.(none)> | 2007-11-05 17:30:38 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@uffda.(none)> | 2007-11-05 17:30:38 -0800 |
commit | d2de5c5263822a0c3bfa625f8d7cb3a2baa9377c (patch) | |
tree | bc9750a81c82cccce28ec7cbcf3473f2acbfa265 /templates | |
parent | f6d78b37ef2c22f273484ccf68aa50e00facf4bf (diff) | |
download | vyatta-cfg-quagga-d2de5c5263822a0c3bfa625f8d7cb3a2baa9377c.tar.gz vyatta-cfg-quagga-d2de5c5263822a0c3bfa625f8d7cb3a2baa9377c.zip |
Add ospf area validation and fix tab completion for router-id.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/protocols/ospf/area/node.def | 1 | ||||
-rw-r--r-- | templates/protocols/ospf/router-id/node.def | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/templates/protocols/ospf/area/node.def b/templates/protocols/ospf/area/node.def index d06ef605..22cb1ca0 100644 --- a/templates/protocols/ospf/area/node.def +++ b/templates/protocols/ospf/area/node.def @@ -1,4 +1,5 @@ tag: type: txt +syntax: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --check-ospf-area $(@)" help: "Area" diff --git a/templates/protocols/ospf/router-id/node.def b/templates/protocols/ospf/router-id/node.def index b5072ccd..e37ba0ee 100644 --- a/templates/protocols/ospf/router-id/node.def +++ b/templates/protocols/ospf/router-id/node.def @@ -1,4 +1,4 @@ -type: ipv4; "router-id must be a IPv4 address" +type: ipv4 help: "Override the default router identifier" update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ -c \"ospf router-id $(@)\" " |