summaryrefslogtreecommitdiff
path: root/templates/protocols/bgp
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-02 17:12:23 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-02 17:12:23 -0700
commit909452cdb631577aed7b9a7aed6613c2756f4e33 (patch)
treec0d365054c1d76ee34575e551b2310e5848688c9 /templates/protocols/bgp
parente7e5fcbeb15a85cb61e85ca7d42f2cd7306b09b3 (diff)
downloadvyatta-cfg-quagga-909452cdb631577aed7b9a7aed6613c2756f4e33.tar.gz
vyatta-cfg-quagga-909452cdb631577aed7b9a7aed6613c2756f4e33.zip
Replace update tag on multi-nodes
Multiple value nodes are never updated, only created or deleted.
Diffstat (limited to 'templates/protocols/bgp')
-rw-r--r--templates/protocols/bgp/node.tag/neighbor/node.tag/remote-as/node.def1
-rw-r--r--templates/protocols/bgp/node.tag/parameters/confederation/peers/node.def2
2 files changed, 1 insertions, 2 deletions
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/remote-as/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/remote-as/node.def
index 0381d22b..3813e3c8 100644
--- a/templates/protocols/bgp/node.tag/neighbor/node.tag/remote-as/node.def
+++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/remote-as/node.def
@@ -1,5 +1,4 @@
type: u32
-priority: 1
help: Set neighbor BGP AS number
comp_help:
<1-4294967294> AS number
diff --git a/templates/protocols/bgp/node.tag/parameters/confederation/peers/node.def b/templates/protocols/bgp/node.tag/parameters/confederation/peers/node.def
index 1f043d41..2a763ae2 100644
--- a/templates/protocols/bgp/node.tag/parameters/confederation/peers/node.def
+++ b/templates/protocols/bgp/node.tag/parameters/confederation/peers/node.def
@@ -3,7 +3,7 @@ type: u32
help: Set the peer ASs in the BGP confederation
comp_help: \1 <1-4294967294>\tpeer AS number numbers (ex: "435 234")
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 4294967294; "confederation AS id must be between 1 and 4294967294"
-update: vyatta-vtysh -c "configure terminal" -c "router bgp $VAR(../../../@)" \
+create: vyatta-vtysh -c "configure terminal" -c "router bgp $VAR(../../../@)" \
-c "bgp confederation peers $VAR(@)"
delete: vyatta-vtysh -c "configure terminal" -c "router bgp $VAR(../../../@)" \
-c "no bgp confederation peers $VAR(@)"