diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-06-02 10:06:42 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-07-09 16:50:06 -0700 |
commit | 753d4aaca9b0e0ffe21b0c02106ce8bfe03b803a (patch) | |
tree | 98fea8e842cadd9bc4ad76b3575efb270078d57d /templates/protocols/ospf | |
parent | 6f0d0febd81bd05f5d4a70e1663e26a7dfd38c35 (diff) | |
download | vyatta-cfg-quagga-753d4aaca9b0e0ffe21b0c02106ce8bfe03b803a.tar.gz vyatta-cfg-quagga-753d4aaca9b0e0ffe21b0c02106ce8bfe03b803a.zip |
Convert update: on mulitnodes to create:
This is what CLI Primer says is supposed to work.
(cherry picked from commit 4cb6efba141b1e54ee78077410dd027a8fcf1a39)
Diffstat (limited to 'templates/protocols/ospf')
-rw-r--r-- | templates/protocols/ospf/area/node.tag/virtual-link/node.def | 2 | ||||
-rw-r--r-- | templates/protocols/ospf/neighbor/node.def | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/protocols/ospf/area/node.tag/virtual-link/node.def b/templates/protocols/ospf/area/node.tag/virtual-link/node.def index b13181b7..614a50cd 100644 --- a/templates/protocols/ospf/area/node.tag/virtual-link/node.def +++ b/templates/protocols/ospf/area/node.tag/virtual-link/node.def @@ -2,7 +2,7 @@ tag: type: ipv4 help: Set a virtual link syntax:expression: ! $VAR(../@) in "0", "0.0.0.0"; "Can't configure VL over area $VAR(../@)" -update:expression: "vyatta-vtysh -c \"configure terminal\" \ +create:expression: "vyatta-vtysh -c \"configure terminal\" \ -c \"router ospf\" \ -c \"area $VAR(../@) virtual-link $VAR(@)\"; " delete:expression: "vyatta-vtysh -c \"configure terminal\" \ diff --git a/templates/protocols/ospf/neighbor/node.def b/templates/protocols/ospf/neighbor/node.def index dc90d99e..e1c9e9e9 100644 --- a/templates/protocols/ospf/neighbor/node.def +++ b/templates/protocols/ospf/neighbor/node.def @@ -1,7 +1,7 @@ tag: type: ipv4 help: Set neighbor IP address -update:expression: "vyatta-vtysh -c \"configure terminal\" \ +create:expression: "vyatta-vtysh -c \"configure terminal\" \ -c \"router ospf\" \ -c \"neighbor $VAR(@)\"; " delete:expression: "vyatta-vtysh -c \"configure terminal\" \ |