Steps to reproduce the problem (see attached file):
Configure DUTs as in attached file.
Check adjacency and bgp routing table on DUT1. All routes should be in the tables.
OpenSwitch-1# show ip bgp summary
BGP router identifier 102.0.0.2, local AS number 64500
RIB entries 9
Peers 2
Neighbor AS MsgRcvd MsgSent Up/Down State
101.0.0.1 64501 15 15 00:08:27 Established
102.0.0.1 64502 15 18 00:08:23 Established
OpenSwitch-1#
OpenSwitch-1# show ip bgp
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
i internal, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete
Local router-id 102.0.0.2
Network Next Hop Metric LocPrf Weight Path
*> 100.0.0.0/23 0.0.0.0 0 0 32768 i
*> 101.0.0.0/20 101.0.0.1 0 0 32768 64501 i
*> 101.0.0.0/20 102.0.0.1 0 0 32768 64501 i
*> 102.0.0.0/21 101.0.0.1 0 0 32768 64501 64502 i
*> 102.0.0.0/21 102.0.0.1 0 0 32768 64502 i
*> 103.0.0.0/22 101.0.0.1 0 0 32768 64501 64503 i
*> 103.0.0.0/22 102.0.0.1 0 0 32768 64501 64503 i
*> 120.0.0.0/24 101.0.0.1 0 0 32768 64501 64503 i
*> 120.0.0.0/24 102.0.0.1 0 0 32768 64501 64503 i
Total number of entries 9
OpenSwitch-1#
Configure filter via prefix-list.
OpenSwitch-1# configure terminal
OpenSwitch-1(config)# ip prefix-list DUT4_in seq 5 deny 120.0.0.0/24
OpenSwitch-1(config)# ip prefix-list DUT4_in seq 10 permit 0.0.0.0/0 le 32
OpenSwitch-1(config)# router bgp 64500
OpenSwitch-1(config-router)# neighbor 102.0.0.1 prefix-list DUT4_in in
OpenSwitch-1(config-router)# end
OpenSwitch-1#
OpenSwitch-1# clear bgp * soft in
Check adjacency on DUT1. - NOK: session should be in Established state
OpenSwitch-1# show ip bgp summary
BGP router identifier 102.0.0.2, local AS number 64500
RIB entries 5
Peers 2
Neighbor AS MsgRcvd MsgSent Up/Down State
101.0.0.1 64501 27 32 00:00:54 Idle
102.0.0.1 64502 27 30 00:00:54 Idle
OpenSwitch-1#
Problem Description:
BGP command
neighbor x.x.x.x soft-reconfiguration inbound
works incorrectly.OpenSwitch version:
OpenSwitch 0.4.0 (Build: appliance-ops-0.4.0-master-20161024113601-dev)
Test Topology:
Steps to reproduce the problem (see attached file):
Check adjacency and bgp routing table on DUT1. All routes should be in the tables.
Configure filter via prefix-list.
Check adjacency on DUT1. -
NOK: session should be in Established state
gns_eBGP_IPv4_soft-reconfiguration.txt