diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-11-09 15:02:44 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-11-09 15:03:36 +0100 |
commit | 9dcf890882ff97d43b12426316e1ed74782e5179 (patch) | |
tree | 1186140fcb85963100b1b93918963d9bd9a5317a /scripts/bgp/vyatta-bgp.pl | |
parent | 2d51004b946fd190c63f3103be97f97d20de6e76 (diff) | |
download | vyatta-cfg-quagga-9dcf890882ff97d43b12426316e1ed74782e5179.tar.gz vyatta-cfg-quagga-9dcf890882ff97d43b12426316e1ed74782e5179.zip |
T982: move IPv4-specific soft-reconfiguration option to "address-family ipv4-unicast" and fix the vtysh commands.
Diffstat (limited to 'scripts/bgp/vyatta-bgp.pl')
-rwxr-xr-x | scripts/bgp/vyatta-bgp.pl | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl index 5b443301..a90462ff 100755 --- a/scripts/bgp/vyatta-bgp.pl +++ b/scripts/bgp/vyatta-bgp.pl @@ -482,6 +482,14 @@ my %qcom = ( set => 'router bgp #3 ; address-family ipv4 unicast ; neighbor #5 route-server-client', del => 'router bgp #3 ; address-family ipv4 unicast ; no neighbor #5 route-server-client', }, + 'protocols bgp var neighbor var address-family ipv4-unicast soft-reconfiguration' => { + set => undef, + del => undef, + }, + 'protocols bgp var neighbor var address-family ipv4-unicast soft-reconfiguration inbound' => { + set => 'router bgp #3 ; address-family ipv4 unicast ; neighbor #5 soft-reconfiguration inbound', + del => 'router bgp #3 ; address-family ipv4 unicast ; no neighbor #5 soft-reconfiguration inbound', + }, 'protocols bgp var neighbor var remote-as' => { set => 'router bgp #3 ; neighbor #5 remote-as #7 ; neighbor #5 activate', del => 'router bgp #3 ; no neighbor #5 remote-as #7', @@ -547,14 +555,6 @@ my %qcom = ( set => 'router bgp #3 ; neighbor #5 shutdown', del => 'router bgp #3 ; no neighbor #5 shutdown', }, - 'protocols bgp var neighbor var soft-reconfiguration' => { - set => undef, - del => undef, - }, - 'protocols bgp var neighbor var soft-reconfiguration inbound' => { - set => 'router bgp #3 ; neighbor #5 soft-reconfiguration inbound', - del => 'router bgp #3 ; no neighbor #5 soft-reconfiguration inbound', - }, 'protocols bgp var neighbor var strict-capability-match' => { set => 'router bgp #3 ; neighbor #5 strict-capability-match', del => 'router bgp #3 ; no neighbor #5 strict-capability-match', |