summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-02 10:06:42 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-10-13 16:34:02 -0700
commit351b49a02e921b43e64bb2d498224da01bd10eee (patch)
tree755e03ecd9a7fd573335b72197aeb9d4bf402543
parent0a4d691e4245d42b155ba4a4117915b7a2410abe (diff)
downloadvyatta-cfg-quagga-351b49a02e921b43e64bb2d498224da01bd10eee.tar.gz
vyatta-cfg-quagga-351b49a02e921b43e64bb2d498224da01bd10eee.zip
Convert update: on mulitnodes to create:
This is what CLI Primer says is supposed to work.
-rw-r--r--templates/protocols/ospf/area/node.tag/virtual-link/node.def2
-rw-r--r--templates/protocols/ospf/neighbor/node.def2
-rw-r--r--templates/protocols/ospfv3/area/node.tag/.filter-list/node.tag/node.def2
3 files changed, 3 insertions, 3 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\" \
diff --git a/templates/protocols/ospfv3/area/node.tag/.filter-list/node.tag/node.def b/templates/protocols/ospfv3/area/node.tag/.filter-list/node.tag/node.def
index e04587e1..eb63a9c2 100644
--- a/templates/protocols/ospfv3/area/node.tag/.filter-list/node.tag/node.def
+++ b/templates/protocols/ospfv3/area/node.tag/.filter-list/node.tag/node.def
@@ -2,7 +2,7 @@ tag:
type: txt
help: Set direction of filter (in|out)
allowed: echo "in out"
-update:expression: "vyatta-vtysh -c \"configure terminal\" \
+create:expression: "vyatta-vtysh -c \"configure terminal\" \
-c \"router ospf6 \" \
-c \"area $VAR(../../@) filter-list $VAR(../@) $VAR(@) \"; "
delete:expression: "vyatta-vtysh -c \"configure terminal\" \