diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-06-01 16:26:55 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-07-09 16:50:06 -0700 |
commit | 6f0d0febd81bd05f5d4a70e1663e26a7dfd38c35 (patch) | |
tree | c12bee8463324b1a99a9e6db0387e972e39de5f1 /templates/protocols/ospf | |
parent | 5ab430b8eb02da9e105e127404677e68c25fb84e (diff) | |
download | vyatta-cfg-quagga-6f0d0febd81bd05f5d4a70e1663e26a7dfd38c35.tar.gz vyatta-cfg-quagga-6f0d0febd81bd05f5d4a70e1663e26a7dfd38c35.zip |
Fix setup of protocols on boot
New CLI appears to require 'update:' rather than 'create:' on
tag nodes in order for them to get applied correctly. Workaround
this by changing all the create: to update: in Quagga config
Bug 4486
(cherry picked from commit 84536c188e359a9f046bc8f1c5a3180b3e03ee8b)
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 614a50cd..b13181b7 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(../@)" -create:expression: "vyatta-vtysh -c \"configure terminal\" \ +update: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 e1c9e9e9..dc90d99e 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 -create:expression: "vyatta-vtysh -c \"configure terminal\" \ +update:expression: "vyatta-vtysh -c \"configure terminal\" \ -c \"router ospf\" \ -c \"neighbor $VAR(@)\"; " delete:expression: "vyatta-vtysh -c \"configure terminal\" \ |