From a103c31b75abbfd6570783a066d9317b50abc123 Mon Sep 17 00:00:00 2001
From: Logan Attwood <logan.attwood@gmail.com>
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')

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