From a6b2ed1f5364682d626b40e5bb49723dda62748a Mon Sep 17 00:00:00 2001 From: Logan Attwood Date: Fri, 17 Feb 2017 20:48:29 -0400 Subject: Expose as-override option in bgpd in vyos --- scripts/bgp/vyatta-bgp.pl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/bgp/vyatta-bgp.pl') 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', -- cgit v1.2.3