From ff7d249558d7b0a76762043f4c8db6f4c698d669 Mon Sep 17 00:00:00 2001 From: Viacheslav Date: Thu, 29 Jul 2021 13:40:19 +0000 Subject: bgp: T1176: Add option solo for neighbor --- scripts/bgp/vyatta-bgp.pl | 4 ++++ templates/protocols/bgp/node.tag/neighbor/node.tag/solo/node.def | 1 + 2 files changed, 5 insertions(+) create mode 100644 templates/protocols/bgp/node.tag/neighbor/node.tag/solo/node.def diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl index 3c6b7dd5..9496621e 100755 --- a/scripts/bgp/vyatta-bgp.pl +++ b/scripts/bgp/vyatta-bgp.pl @@ -606,6 +606,10 @@ my %qcom = ( set => 'router bgp #3 ; neighbor #5 passive', del => 'router bgp #3 ; no neighbor #5 passive', }, + 'protocols bgp var neighbor var solo' => { + set => 'router bgp #3 ; neighbor #5 solo', + del => 'router bgp #3 ; no neighbor #5 solo', + }, 'protocols bgp var neighbor var bfd' => { set => 'router bgp #3 ; neighbor #5 bfd', del => 'router bgp #3 ; no neighbor #5 bfd', diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/solo/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/solo/node.def new file mode 100644 index 00000000..ebbd5597 --- /dev/null +++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/solo/node.def @@ -0,0 +1 @@ +help: Do not send back prefixes learned from the neighbor -- cgit v1.2.3