summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLogan Attwood <logan.attwood@gmail.com>2017-02-17 20:48:29 -0400
committerPanagiotis Moustafellos <pmoust@elastic.co>2017-09-22 22:23:34 +0300
commita6b2ed1f5364682d626b40e5bb49723dda62748a (patch)
tree471eeda6f829e96daf1c72782d650b118d1f9167 /scripts
parent89e93de5dc239c9f7d868b525054de2b887fa5b8 (diff)
downloadvyatta-cfg-quagga-a6b2ed1f5364682d626b40e5bb49723dda62748a.tar.gz
vyatta-cfg-quagga-a6b2ed1f5364682d626b40e5bb49723dda62748a.zip
Expose as-override option in bgpd in vyos
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bgp/vyatta-bgp.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl
index f475995f..1fc1e3c1 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -315,6 +315,10 @@ my %qcom = (
set => 'router bgp #3 ; neighbor #5 allowas-in #8',
del => 'router bgp #3 ; no neighbor #5 allowas-in ; neighbor #5 allowas-in',
},
+ 'protocols bgp var neighbor var as-override' => {
+ set => 'router bgp #3 ; neighbor #5 as-override',
+ del => 'router bgp #3 ; no neighbor #5 as-override',
+ },
'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',
del => 'router bgp #3 ; no neighbor #5 attribute-unchanged ?as-path ?med ?next-hop',