From 0a4d691e4245d42b155ba4a4117915b7a2410abe Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 1 Jun 2009 16:26:55 -0700 Subject: 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 --- templates/protocols/ospf/area/node.tag/virtual-link/node.def | 2 +- templates/protocols/ospf/neighbor/node.def | 2 +- templates/protocols/ospfv3/area/node.tag/.filter-list/node.tag/node.def | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/protocols') 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\" \ 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 eb63a9c2..e04587e1 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" -create:expression: "vyatta-vtysh -c \"configure terminal\" \ +update:expression: "vyatta-vtysh -c \"configure terminal\" \ -c \"router ospf6 \" \ -c \"area $VAR(../../@) filter-list $VAR(../@) $VAR(@) \"; " delete:expression: "vyatta-vtysh -c \"configure terminal\" \ -- cgit v1.2.3