diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-06-02 17:12:23 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-07-09 16:50:06 -0700 |
commit | 85f38872d097ac5162dea2e8e75abbeceb76534b (patch) | |
tree | feea3cc2e0ae65a57294e0c63484635267c86634 /templates/protocols/ospf | |
parent | 69db53b3ad7495759ef94066f94c6dff8b628a95 (diff) | |
download | vyatta-cfg-quagga-85f38872d097ac5162dea2e8e75abbeceb76534b.tar.gz vyatta-cfg-quagga-85f38872d097ac5162dea2e8e75abbeceb76534b.zip |
Replace update tag on multi-nodes
Multiple value nodes are never updated, only created or deleted.
(cherry picked from commit 909452cdb631577aed7b9a7aed6613c2756f4e33)
Diffstat (limited to 'templates/protocols/ospf')
-rw-r--r-- | templates/protocols/ospf/area/node.tag/network/node.def | 2 | ||||
-rw-r--r-- | templates/protocols/ospf/passive-interface/node.def | 2 |
2 files changed, 2 insertions, 2 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/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" \ |