diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-03-15 10:10:03 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-03-15 10:10:03 -0700 |
commit | 7bdfd1493721bc75f55fa72b200a7b037bffbbf3 (patch) | |
tree | 6b7c0d391d48135d854c1891f31ba3a8036a2d03 /templates | |
parent | bd1223a8d69ce7162f8246deb2856903dffc5a5d (diff) | |
download | vyatta-cfg-quagga-7bdfd1493721bc75f55fa72b200a7b037bffbbf3.tar.gz vyatta-cfg-quagga-7bdfd1493721bc75f55fa72b200a7b037bffbbf3.zip |
Fix trailing whitespace errors
Template errors caused by trailing whitespace.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/protocols/bgp/node.tag/neighbor/node.tag/route-reflector-client/node.def | 18 | ||||
-rw-r--r-- | templates/protocols/bgp/node.tag/neighbor/node.tag/route-server-client/node.def | 16 |
2 files changed, 17 insertions, 17 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..167d7718 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 @@ -6,13 +6,13 @@ commit:expression: $VAR(../peer-group/) == ""; "protocols bgp $VAR(../../@) neig commit:expression: $VAR(../../@) == $VAR(../remote-as/@); "protocols bgp $VAR(../../@) neighbor $VAR(../@) route-reflector-client: remote-as must equal local-as" -update: if [ -n "$VAR(../remote-as/@)" ]; then - peer="remote-as $VAR(../remote-as/@)"; - else - peer="peer-group $VAR(../peer-group/@)"; - fi; +update: if [ -n "$VAR(../remote-as/@)" ]; then + peer="remote-as $VAR(../remote-as/@)"; + else + peer="peer-group $VAR(../peer-group/@)"; + fi; - if /opt/vyatta/sbin/vyatta-validate-type.pl -q ipv6 $VAR(../@); + if /opt/vyatta/sbin/vyatta-validate-type.pl -q ipv6 $VAR(../@); then vtysh -c "configure terminal" \ -c "router bgp $VAR(../../@)" \ @@ -26,16 +26,16 @@ update: if [ -n "$VAR(../remote-as/@)" ]; then -c "neighbor $VAR(../@) route-reflector-client" fi -delete: if /opt/vyatta/sbin/vyatta-validate-type.pl -q ipv6 $VAR(../@); +delete: if /opt/vyatta/sbin/vyatta-validate-type.pl -q ipv6 $VAR(../@); then vtysh --noerror \ - -c "configure terminal" \ + -c "configure terminal" \ -c "router bgp $VAR(../../@)" \ -c "address-family ipv6" \ -c "no neighbor $VAR(../@) route-reflector-client" else vtysh --noerror \ - -c "configure terminal" \ + -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..a82b7247 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 @@ -4,13 +4,13 @@ commit:expression: exec "/opt/vyatta/sbin/vyatta-bgp.pl --check-as --as $VAR(../ commit:expression: $VAR(../peer-group/) == ""; "protocols bgp $VAR(../../@) neighbor $VAR(../@): you can't set route-server-client for a neighbor in a peer-group" -update: if [ -n "$VAR(../remote-as/@)" ]; then - peer="remote-as $VAR(../remote-as/@)"; - else - peer="peer-group $VAR(../peer-group/@)"; - fi; +update: if [ -n "$VAR(../remote-as/@)" ]; then + peer="remote-as $VAR(../remote-as/@)"; + else + peer="peer-group $VAR(../peer-group/@)"; + fi; - if /opt/vyatta/sbin/vyatta-validate-type.pl -q ipv6 $VAR(../@); + if /opt/vyatta/sbin/vyatta-validate-type.pl -q ipv6 $VAR(../@); then vtysh -c "configure terminal" \ -c "router bgp $VAR(../../@)" \ @@ -24,12 +24,12 @@ update: if [ -n "$VAR(../remote-as/@)" ]; then -c "neighbor $VAR(../@) route-server-client" fi -delete: if /opt/vyatta/sbin/vyatta-validate-type.pl -q ipv6 $VAR(../@); +delete: if /opt/vyatta/sbin/vyatta-validate-type.pl -q ipv6 $VAR(../@); then 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 \ |