summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2009-07-09 18:29:13 -0700
committerBob Gilligan <gilligan@vyatta.com>2009-07-09 18:29:13 -0700
commit94e3e519ddb67e70e47015fca552fec264039c80 (patch)
treea9cc1ab2c8703ffc692774d267d7ba7158c650c0 /templates/protocols/ospf
parent33336fff1ce8845fdd39686342975b1349c59467 (diff)
parent1727949b57428d94569130e84c77a12d7a2a71fb (diff)
downloadvyatta-cfg-quagga-94e3e519ddb67e70e47015fca552fec264039c80.tar.gz
vyatta-cfg-quagga-94e3e519ddb67e70e47015fca552fec264039c80.zip
Merge branch 'kenwood' of http://git.vyatta.com/vyatta-cfg-quagga into kenwood
Diffstat (limited to 'templates/protocols/ospf')
-rw-r--r--templates/protocols/ospf/area/node.tag/network/node.def2
-rw-r--r--templates/protocols/ospf/area/node.tag/node.def3
-rw-r--r--templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/key-id/node.tag/node.def1
-rw-r--r--templates/protocols/ospf/area/node.tag/virtual-link/node.tag/node.def1
-rw-r--r--templates/protocols/ospf/passive-interface/node.def2
5 files changed, 2 insertions, 7 deletions
diff --git a/templates/protocols/ospf/area/node.tag/network/node.def b/templates/protocols/ospf/area/node.tag/network/node.def
index 6f8e69d6..99e6cf7e 100644
--- a/templates/protocols/ospf/area/node.tag/network/node.def
+++ b/templates/protocols/ospf/area/node.tag/network/node.def
@@ -2,7 +2,7 @@ multi:
type: ipv4net
help: Set OSPF network
syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)"
-update:vyatta-vtysh -c "configure terminal" \
+create:vyatta-vtysh -c "configure terminal" \
-c "router ospf" -c "network $VAR(@) area $VAR(../@)"
delete:vyatta-vtysh -c "configure terminal" \
-c "router ospf" -c "no network $VAR(@) area $VAR(../@)"
diff --git a/templates/protocols/ospf/area/node.tag/node.def b/templates/protocols/ospf/area/node.tag/node.def
deleted file mode 100644
index 7d080287..00000000
--- a/templates/protocols/ospf/area/node.tag/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-help: Set IPv4 network
-
-
diff --git a/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/key-id/node.tag/node.def b/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/key-id/node.tag/node.def
deleted file mode 100644
index 3d83feec..00000000
--- a/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/key-id/node.tag/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Set MD5 key
diff --git a/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/node.def b/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/node.def
deleted file mode 100644
index 6eb2820b..00000000
--- a/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Set virtual link
diff --git a/templates/protocols/ospf/passive-interface/node.def b/templates/protocols/ospf/passive-interface/node.def
index b469f1c7..09321d9f 100644
--- a/templates/protocols/ospf/passive-interface/node.def
+++ b/templates/protocols/ospf/passive-interface/node.def
@@ -2,7 +2,7 @@ multi:
type: txt
help: Set to suppress routing updates on an interface
allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all && echo default
-update: if [ -z $VAR(@) ]
+create: if [ -z $VAR(@) ]
then vyatta-vtysh -c "configure terminal" -c "router ospf" \
-c "passive-interface default";
else vyatta-vtysh -c "configure terminal" -c "router ospf" \