summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobert Bays <rbays@roatan.(none)>2010-06-02 17:15:27 -0700
committerRobert Bays <rbays@roatan.(none)>2010-06-02 17:15:27 -0700
commitf82641cc44cd9a9e57f344589499846985ba30aa (patch)
tree3b9001f009697305e3309523bf410530331b7e72 /scripts
parent7dfae4630d7d1dd54e85c11516cf575789626f82 (diff)
downloadvyatta-cfg-quagga-f82641cc44cd9a9e57f344589499846985ba30aa.tar.gz
vyatta-cfg-quagga-f82641cc44cd9a9e57f344589499846985ba30aa.zip
fix for bug 5653
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bgp/vyatta-bgp.pl12
1 files changed, 10 insertions, 2 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl
index b72deab9..efd45bc9 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -163,6 +163,10 @@ my %qcom = (
set => "router bgp #3 ; address-family ipv6 ; neighbor #5 allowas-in",
del => "router bgp #3 ; address-family ipv6 ; no neighbor #5 allowas-in",
},
+ "protocols bgp var neighbor var address-family ipv6-unicast allowas-in number" => {
+ set => "router bgp #3 ; address-family ipv6 ; neighbor #5 allowas-in #10",
+ del => "router bgp #3 ; address-family ipv6 ; no neighbor #5 allowas-in ; neighbor #5 allowas-in",
+ },
"protocols bgp var neighbor var address-family ipv6-unicast attribute-unchanged" => {
set => "router bgp #3 ; address-family ipv6 ; no neighbor #5 attribute-unchanged ; neighbor #5 attribute-unchanged ?as-path ?med ?next-hop",
del => "router bgp #3 ; address-family ipv6 ; no neighbor #5 attribute-unchanged",
@@ -305,7 +309,7 @@ my %qcom = (
},
"protocols bgp var neighbor var allowas-in number" => {
set => "router bgp #3 ; neighbor #5 allowas-in #8",
- del => "router bgp #3 ; no neighbor #5 allowas-in #8 ; neighbor #5 allowas-in",
+ del => "router bgp #3 ; no neighbor #5 allowas-in ; neighbor #5 allowas-in",
},
"protocols bgp var neighbor var attribute-unchanged" => {
set => "router bgp #3 ; no neighbor #5 attribute-unchanged ; neighbor #5 attribute-unchanged ?as-path ?med ?next-hop",
@@ -659,6 +663,10 @@ my %qcom = (
set => "router bgp #3 ; address-family ipv6 ; neighbor #5 allowas-in",
del => "router bgp #3 ; address-family ipv6 ; no neighbor #5 allowas-in",
},
+ "protocols bgp var peer-group var address-family ipv6-unicast allowas-in number" => {
+ set => "router bgp #3 ; address-family ipv6 ; neighbor #5 allowas-in #10",
+ del => "router bgp #3 ; address-family ipv6 ; no neighbor #5 allowas-in ; neighbor #5 allowas-in",
+ },
"protocols bgp var peer-group var address-family ipv6-unicast attribute-unchanged" => {
set => "router bgp #3 ; address-family ipv6 ; no neighbor #5 attribute-unchanged ; neighbor #5 attribute-unchanged ?as-path ?med ?next-hop",
del => "router bgp #3 ; address-family ipv6 ; no neighbor #5 attribute-unchanged",
@@ -797,7 +805,7 @@ my %qcom = (
},
"protocols bgp var peer-group var allowas-in number" => {
set => "router bgp #3 ; neighbor #5 allowas-in #8",
- del => "router bgp #3 ; no neighbor #5 allowas-in #8 ; neighbor #5 allowas-in",
+ del => "router bgp #3 ; no neighbor #5 allowas-in ; neighbor #5 allowas-in",
},
"protocols bgp var peer-group var attribute-unchanged" => {
set => "router bgp #3 ; no neighbor #5 attribute-unchanged ; neighbor #5 attribute-unchanged ?as-path ?med ?next-hop",