summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-11-09 15:02:44 +0100
committerDaniil Baturin <daniil@baturin.org>2018-11-09 15:02:44 +0100
commit4e78ba48dffad1075d0bf4bdf3ebfc7f5367eac9 (patch)
treea020124ef22631bb861c3efca2f2c89945617887 /scripts
parent01cf5fd4a0af1dcf25f1b5db2b6976faf6d55ce3 (diff)
downloadvyatta-cfg-quagga-4e78ba48dffad1075d0bf4bdf3ebfc7f5367eac9.tar.gz
vyatta-cfg-quagga-4e78ba48dffad1075d0bf4bdf3ebfc7f5367eac9.zip
T982: move IPv4-specific soft-reconfiguration option to "address-family ipv4-unicast" and fix the vtysh commands.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bgp/vyatta-bgp.pl16
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',