summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/protocols/bgp/node.tag/neighbor/node.tag/route-reflector-client/node.def10
-rw-r--r--templates/protocols/bgp/node.tag/neighbor/node.tag/route-server-client/node.def10
2 files changed, 10 insertions, 10 deletions
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/route-reflector-client/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/route-reflector-client/node.def
index 1ea47938..61a6bbb0 100644
--- a/templates/protocols/bgp/node.tag/neighbor/node.tag/route-reflector-client/node.def
+++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/route-reflector-client/node.def
@@ -14,7 +14,7 @@ update: if [ -n "$VAR(../remote-as/@)" ]; then
if /opt/vyatta/sbin/vyatta-validate-type.pl -q ipv6 $VAR(../@);
then
- vtysh -c "configure terminal" \
+ vtysh -c "configure terminal" \
-c "router bgp $VAR(../../@)" \
-c "neighbor $VAR(../@) $peer" \
-c "address-family ipv6" \
@@ -28,14 +28,14 @@ update: if [ -n "$VAR(../remote-as/@)" ]; then
delete: if /opt/vyatta/sbin/vyatta-validate-type.pl -q ipv6 $VAR(../@);
then
- vtysh --noerror \
- -c "configure terminal" \
+ vtysh --noerror \
+ -c "configure terminal" \
-c "router bgp $VAR(../../@)" \
-c "address-family ipv6" \
-c "no neighbor $VAR(../@) route-reflector-client"
else
- vtysh --noerror \
- -c "configure terminal" \
+ vtysh --noerror \
+ -c "configure terminal" \
-c "router bgp $VAR(../../@)" \
-c "no neighbor $VAR(../@) route-reflector-client"
fi
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/route-server-client/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/route-server-client/node.def
index 913fe3b1..3f9bc3c2 100644
--- a/templates/protocols/bgp/node.tag/neighbor/node.tag/route-server-client/node.def
+++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/route-server-client/node.def
@@ -12,13 +12,13 @@ update: if [ -n "$VAR(../remote-as/@)" ]; then
if /opt/vyatta/sbin/vyatta-validate-type.pl -q ipv6 $VAR(../@);
then
- vtysh -c "configure terminal" \
+ vtysh -c "configure terminal" \
-c "router bgp $VAR(../../@)" \
-c "neighbor $VAR(../@) $peer" \
-c "address-family ipv6" \
-c "neighbor $VAR(../@) route-server-client"
else
- vtysh -c "configure terminal" \
+ vtysh -c "configure terminal" \
-c "router bgp $VAR(../../@)" \
-c "neighbor $VAR(../@) $peer" \
-c "neighbor $VAR(../@) route-server-client"
@@ -26,13 +26,13 @@ update: if [ -n "$VAR(../remote-as/@)" ]; then
delete: if /opt/vyatta/sbin/vyatta-validate-type.pl -q ipv6 $VAR(../@);
then
- vtysh --noerror \
+ vtysh --noerror \
-c "configure terminal" \
-c "router bgp $VAR(../../@)" \
- -c "address-family ipv6" \
+ -c "address-family ipv6" \
-c "no neighbor $VAR(../@) route-server-client"
else
- vtysh --noerror \
+ vtysh --noerror \
-c "configure terminal" \
-c "router bgp $VAR(../../@)" \
-c "no neighbor $VAR(../@) route-server-client"