Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
Bugzilla Migration
-
None
-
Operating System: All
Platform: All
-
4834
Description
two eBGP scenario (aka HA): ODL controller announces the same route twice (with the same values) after the 2nd eBGP advertises the same prefix with different next hop IP
https://tools.ietf.org/html/rfc4271#section-9.2
9.2. Update-Send Process
...
A BGP speaker SHOULD NOT advertise a given feasible BGP route from
its Adj-RIB-Out if it would produce an UPDATE message containing the
same BGP route as was previously advertised.
check the BGP peer log for updates of the 8.0.0.0/28
20151223 13:20:49.385 / 20151223 13:20:49.386 / 00:00:00.001
13:20:49.385 INFO 2015-12-23 12:20:28,375 INFO: Connecting in the talking mode.
2015-12-23 12:20:28,375 DEBUG: Local IP address: 127.0.0.1
2015-12-23 12:20:28,375 DEBUG: Local port: 17900
2015-12-23 12:20:28,376 DEBUG: Remote IP address: 10.30.32.34
2015-12-23 12:20:28,376 DEBUG: Remote port: 1790
2015-12-23 12:20:28,377 INFO: Connected to ODL.
2015-12-23 12:20:28,396 INFO: Open message received.
2015-12-23 12:20:28,397 INFO: Generator initialisation
2015-12-23 12:20:28,397 INFO: Target total number of prefixes to be introduced: 0
2015-12-23 12:20:28,397 INFO: Prefix base: 8.1.0.0/28
2015-12-23 12:20:28,397 INFO: My Autonomous System number: 64496
2015-12-23 12:20:28,397 INFO: My Hold Time: 180
2015-12-23 12:20:28,397 INFO: My BGP Identifier: 2130706433
2015-12-23 12:20:28,397 INFO: Next Hop: 192.0.2.1
2015-12-23 12:20:28,397 INFO: Originator ID: None
2015-12-23 12:20:28,398 INFO: Cluster list: None
2015-12-23 12:20:28,398 INFO: Prefix count to be inserted at once: 1
2015-12-23 12:20:28,398 INFO: Prefix count to be withdrawn at once: 0
2015-12-23 12:20:28,398 INFO: Fast pre-fill up to 0 prefixes
2015-12-23 12:20:28,398 INFO: Remaining number of prefixes to be processed in parallel with withdrawals: 0
2015-12-23 12:20:28,398 DE Prefix index range used after pre-fill procedure [0, -1]
2015-12-23 12:20:28,398 INFO: Two separate UPDATEs will be generated for each NLRI & WITHDRAWN lists
2015-12-23 12:20:28,399 INFO: Let's go ...
2015-12-23 12:20:28,399 DEBUG: OPEN message encoding
2015-12-23 12:20:28,399 DE Marker=0xffffffffffffffffffffffffffffffff
2015-12-23 12:20:28,399 DE Length=45 (0x002d)
2015-12-23 12:20:28,399 DE Type=1 (0x01)
2015-12-23 12:20:28,400 DE Version=4 (0x04)
2015-12-23 12:20:28,400 DE My Autonomous System=64496 (0xfbf0)
2015-12-23 12:20:28,400 DE Hold Time=180 (0x00b4)
2015-12-23 12:20:28,400 DE BGP Identifier=2130706433 (0x7f000001)
2015-12-23 12:20:28,400 DE Optional Parameters Length=16 (0x10)
2015-12-23 12:20:28,401 DE Optional Parameters=0x0206010400010001020641040000fbf0
2015-12-23 12:20:28,401 DEBUG: OPEN message encoded: 0xffffffffffffffffffffffffffffffff002d0104fbf000b47f000001100206010400010001020641040000fbf0
2015-12-23 12:20:28,401 DEBUG: Sending the OPEN message: ffffffffffffffffffffffffffffffff002d0104fbf000b47f000001100206010400010001020641040000fbf0
2015-12-23 12:20:28,408 DEBUG: KEEP ALIVE message encoding
2015-12-23 12:20:28,408 DE Marker=0xffffffffffffffffffffffffffffffff
2015-12-23 12:20:28,408 DE Length=19 (0x0013)
2015-12-23 12:20:28,408 DE Type=4 (0x04)
2015-12-23 12:20:28,409 DEBUG: KEEP ALIVE message encoded: 0xffffffffffffffffffffffffffffffff001304
2015-12-23 12:20:28,409 DEBUG: KEEP ALIVE message encoding
2015-12-23 12:20:28,409 DE Marker=0xffffffffffffffffffffffffffffffff
2015-12-23 12:20:28,409 DE Length=19 (0x0013)
2015-12-23 12:20:28,409 DE Type=4 (0x04)
2015-12-23 12:20:28,410 DEBUG: KEEP ALIVE message encoded: 0xffffffffffffffffffffffffffffffff001304
2015-12-23 12:20:28,410 DEBUG: Sending a KEEP ALIVE message: ffffffffffffffffffffffffffffffff001304
2015-12-23 12:20:28,410 INFO: total_received_update_message_counter: 0
2015-12-23 12:20:28,410 INFO: total_received_nlri_prefix_counter: 0
2015-12-23 12:20:28,411 INFO: total_received_withdrawn_prefix_counter: 0
2015-12-23 12:20:31,951 INFO: ... idle for 3.541s
2015-12-23 12:20:31,952 INFO: total_rx_idle_time_counter: 3.541s
2015-12-23 12:20:31,952 DEBUG: UPDATE message received: 0xffffffffffffffffffffffffffffffff0035020000001e40010100400206020100008000800e0e0001010401010101001c08000000
2015-12-23 12:20:31,952 DEBUG: Decoding update message:
2015-12-23 12:20:31,953 DEBUG: Message header marker: 0xffffffffffffffffffffffffffffffff
2015-12-23 12:20:31,953 DEBUG: Message lenght: 0x0035 (53)
2015-12-23 12:20:31,953 DEBUG: Message type: 0x02 (update)
2015-12-23 12:20:31,953 DEBUG: Withdrawn routes lenght: 0x0000 (0)
2015-12-23 12:20:31,953 DEBUG: Withdrawn routes: 0x
2015-12-23 12:20:31,953 DEBUG: Withdrawn routes prefix list: []
2015-12-23 12:20:31,953 DEBUG: Total path attribute lenght: 0x001e (30)
2015-12-23 12:20:31,953 DEBUG: Path attributes: 0x40010100400206020100008000800e0e0001010401010101001c08000000
2015-12-23 12:20:31,954 DEBUG: Attribute type=1 (ORIGIN, flags:0x40)
2015-12-23 12:20:31,954 DEBUG: Attribute value=0x00
2015-12-23 12:20:31,954 DEBUG: Attribute type=2 (AS_PATH, flags:0x40)
2015-12-23 12:20:31,954 DEBUG: Attribute value=0x020100008000
2015-12-23 12:20:31,954 DEBUG: Attribute type=14 (MP_REACH_NLRI, flags:0x80)
2015-12-23 12:20:31,954 DEBUG: Attribute value=0x0001010401010101001c08000000
2015-12-23 12:20:31,954 DE Address Family Identifier=0x0001
2015-12-23 12:20:31,955 DE Subsequent Address Family Identifier=0x01
2015-12-23 12:20:31,955 DE Length of Next Hop Network Address=4 (0x04)
2015-12-23 12:20:31,955 DE Network Address of Next Hop=1.1.1.1 (0x01010101)
2015-12-23 12:20:31,955 DE Reserved=0x00
2015-12-23 12:20:31,955 DE Network Layer Reachability Information=0x1c08000000
2015-12-23 12:20:31,956 DE NLRI prefix list: ['8.0.0.0/28']
2015-12-23 12:20:31,956 DE nlri_prefix_received: 8.0.0.0/28
2015-12-23 12:20:31,956 DEBUG: Calculated NLRI length: 0
2015-12-23 12:20:31,956 DEBUG: NLRI: 0x
2015-12-23 12:20:31,956 DEBUG: NLRI prefix list: []
2015-12-23 12:20:31,957 DEBUG: UPDATE message received: 0xffffffffffffffffffffffffffffffff0035020000001e40010100400206020100008000800e0e0001010401010101001c08000010
2015-12-23 12:20:31,957 DEBUG: Decoding update message:
2015-12-23 12:20:31,957 DEBUG: Message header marker: 0xffffffffffffffffffffffffffffffff
2015-12-23 12:20:31,957 DEBUG: Message lenght: 0x0035 (53)
2015-12-23 12:20:31,957 DEBUG: Message type: 0x02 (update)
2015-12-23 12:20:31,957 DEBUG: Withdrawn routes lenght: 0x0000 (0)
2015-12-23 12:20:31,958 DEBUG: Withdrawn routes: 0x
2015-12-23 12:20:31,958 DEBUG: Withdrawn routes prefix list: []
2015-12-23 12:20:31,958 DEBUG: Total path attribute lenght: 0x001e (30)
2015-12-23 12:20:31,958 DEBUG: Path attributes: 0x40010100400206020100008000800e0e0001010401010101001c08000010
2015-12-23 12:20:31,959 DEBUG: Attribute type=1 (ORIGIN, flags:0x40)
2015-12-23 12:20:31,959 DEBUG: Attribute value=0x00
2015-12-23 12:20:31,959 DEBUG: Attribute type=2 (AS_PATH, flags:0x40)
2015-12-23 12:20:31,959 DEBUG: Attribute value=0x020100008000
2015-12-23 12:20:31,959 DEBUG: Attribute type=14 (MP_REACH_NLRI, flags:0x80)
2015-12-23 12:20:31,960 DEBUG: Attribute value=0x0001010401010101001c08000010
2015-12-23 12:20:31,960 DE Address Family Identifier=0x0001
2015-12-23 12:20:31,960 DE Subsequent Address Family Identifier=0x01
2015-12-23 12:20:31,960 DE Length of Next Hop Network Address=4 (0x04)
2015-12-23 12:20:31,960 DE Network Address of Next Hop=1.1.1.1 (0x01010101)
2015-12-23 12:20:31,961 DE Reserved=0x00
2015-12-23 12:20:31,961 DE Network Layer Reachability Information=0x1c08000010
2015-12-23 12:20:31,961 DE NLRI prefix list: ['8.0.0.16/28']
2015-12-23 12:20:31,961 DE nlri_prefix_received: 8.0.0.16/28
2015-12-23 12:20:31,961 DEBUG: Calculated NLRI length: 0
2015-12-23 12:20:31,962 DEBUG: NLRI: 0x
2015-12-23 12:20:31,962 DEBUG: NLRI prefix list: []
2015-12-23 12:20:31,962 INFO: total_received_update_message_counter: 2
2015-12-23 12:20:31,962 INFO: total_received_nlri_prefix_counter: 2
2015-12-23 12:20:31,962 INFO: total_received_withdrawn_prefix_counter: 0
2015-12-23 12:20:35,156 INFO: ... idle for 3.194s
2015-12-23 12:20:35,157 INFO: total_rx_idle_time_counter: 6.734s
2015-12-23 12:20:35,157 DEBUG: UPDATE message received: 0xffffffffffffffffffffffffffffffff0035020000001e40010100400206020100008000800e0e0001010401010101001c08000000
2015-12-23 12:20:35,157 DEBUG: Decoding update message:
2015-12-23 12:20:35,158 DEBUG: Message header marker: 0xffffffffffffffffffffffffffffffff
2015-12-23 12:20:35,158 DEBUG: Message lenght: 0x0035 (53)
2015-12-23 12:20:35,158 DEBUG: Message type: 0x02 (update)
2015-12-23 12:20:35,158 DEBUG: Withdrawn routes lenght: 0x0000 (0)
2015-12-23 12:20:35,158 DEBUG: Withdrawn routes: 0x
2015-12-23 12:20:35,159 DEBUG: Withdrawn routes prefix list: []
2015-12-23 12:20:35,159 DEBUG: Total path attribute lenght: 0x001e (30)
2015-12-23 12:20:35,159 DEBUG: Path attributes: 0x40010100400206020100008000800e0e0001010401010101001c08000000
2015-12-23 12:20:35,159 DEBUG: Attribute type=1 (ORIGIN, flags:0x40)
2015-12-23 12:20:35,160 DEBUG: Attribute value=0x00
2015-12-23 12:20:35,160 DEBUG: Attribute type=2 (AS_PATH, flags:0x40)
2015-12-23 12:20:35,160 DEBUG: Attribute value=0x020100008000
2015-12-23 12:20:35,160 DEBUG: Attribute type=14 (MP_REACH_NLRI, flags:0x80)
2015-12-23 12:20:35,160 DEBUG: Attribute value=0x0001010401010101001c08000000
2015-12-23 12:20:35,161 DE Address Family Identifier=0x0001
2015-12-23 12:20:35,161 DE Subsequent Address Family Identifier=0x01
2015-12-23 12:20:35,161 DE Length of Next Hop Network Address=4 (0x04)
2015-12-23 12:20:35,161 DE Network Address of Next Hop=1.1.1.1 (0x01010101)
2015-12-23 12:20:35,161 DE Reserved=0x00
2015-12-23 12:20:35,162 DE Network Layer Reachability Information=0x1c08000000
2015-12-23 12:20:35,162 DE NLRI prefix list: ['8.0.0.0/28']
2015-12-23 12:20:35,162 DE nlri_prefix_received: 8.0.0.0/28
2015-12-23 12:20:35,162 DEBUG: Calculated NLRI length: 0
2015-12-23 12:20:35,162 DEBUG: NLRI: 0x
2015-12-23 12:20:35,163 DEBUG: NLRI prefix list: []
2015-12-23 12:20:35,163 INFO: total_received_update_message_counter: 3
2015-12-23 12:20:35,163 INFO: total_received_nlri_prefix_counter: 3
2015-12-23 12:20:35,163 INFO: total_received_withdrawn_prefix_counter: 0
2015-12-23 12:20:35,163 DEBUG: UPDATE message received: 0xffffffffffffffffffffffffffffffff0035020000001e40010100400206020100008000800e0e0001010401010101001c08000010
2015-12-23 12:20:35,164 DEBUG: Decoding update message:
2015-12-23 12:20:35,164 DEBUG: Message header marker: 0xffffffffffffffffffffffffffffffff
2015-12-23 12:20:35,164 DEBUG: Message lenght: 0x0035 (53)
2015-12-23 12:20:35,164 DEBUG: Message type: 0x02 (update)
2015-12-23 12:20:35,164 DEBUG: Withdrawn routes lenght: 0x0000 (0)
2015-12-23 12:20:35,164 DEBUG: Withdrawn routes: 0x
2015-12-23 12:20:35,164 DEBUG: Withdrawn routes prefix list: []
2015-12-23 12:20:35,164 DEBUG: Total path attribute lenght: 0x001e (30)
2015-12-23 12:20:35,164 DEBUG: Path attributes: 0x40010100400206020100008000800e0e0001010401010101001c08000010
2015-12-23 12:20:35,165 DEBUG: Attribute type=1 (ORIGIN, flags:0x40)
2015-12-23 12:20:35,165 DEBUG: Attribute value=0x00
2015-12-23 12:20:35,165 DEBUG: Attribute type=2 (AS_PATH, flags:0x40)
2015-12-23 12:20:35,165 DEBUG: Attribute value=0x020100008000
2015-12-23 12:20:35,165 DEBUG: Attribute type=14 (MP_REACH_NLRI, flags:0x80)
2015-12-23 12:20:35,166 DEBUG: Attribute value=0x0001010401010101001c08000010
2015-12-23 12:20:35,166 DE Address Family Identifier=0x0001
2015-12-23 12:20:35,166 DE Subsequent Address Family Identifier=0x01
2015-12-23 12:20:35,166 DE Length of Next Hop Network Address=4 (0x04)
2015-12-23 12:20:35,166 DE Network Address of Next Hop=1.1.1.1 (0x01010101)
2015-12-23 12:20:35,166 DE Reserved=0x00
2015-12-23 12:20:35,166 DE Network Layer Reachability Information=0x1c08000010
2015-12-23 12:20:35,166 DE NLRI prefix list: ['8.0.0.16/28']
2015-12-23 12:20:35,166 DE nlri_prefix_received: 8.0.0.16/28
2015-12-23 12:20:35,167 DEBUG: Calculated NLRI length: 0
2015-12-23 12:20:35,167 DEBUG: NLRI: 0x
2015-12-23 12:20:35,167 DEBUG: NLRI prefix list: []
2015-12-23 12:20:38,219 INFO: ... idle for 3.052s
2015-12-23 12:20:38,219 INFO: total_rx_idle_time_counter: 9.787s
2015-12-23 12:20:38,220 DEBUG: UPDATE message received: 0xffffffffffffffffffffffffffffffff0035020000001e40010100400206020100008000800e0e0001010402020202001c08000010
2015-12-23 12:20:38,220 DEBUG: Decoding update message:
2015-12-23 12:20:38,220 DEBUG: Message header marker: 0xffffffffffffffffffffffffffffffff
2015-12-23 12:20:38,220 DEBUG: Message lenght: 0x0035 (53)
2015-12-23 12:20:38,220 DEBUG: Message type: 0x02 (update)
2015-12-23 12:20:38,221 DEBUG: Withdrawn routes lenght: 0x0000 (0)
2015-12-23 12:20:38,221 DEBUG: Withdrawn routes: 0x
2015-12-23 12:20:38,221 DEBUG: Withdrawn routes prefix list: []
2015-12-23 12:20:38,221 DEBUG: Total path attribute lenght: 0x001e (30)
2015-12-23 12:20:38,221 DEBUG: Path attributes: 0x40010100400206020100008000800e0e0001010402020202001c08000010
2015-12-23 12:20:38,221 DEBUG: Attribute type=1 (ORIGIN, flags:0x40)
2015-12-23 12:20:38,221 DEBUG: Attribute value=0x00
2015-12-23 12:20:38,221 DEBUG: Attribute type=2 (AS_PATH, flags:0x40)
2015-12-23 12:20:38,221 DEBUG: Attribute value=0x020100008000
2015-12-23 12:20:38,222 DEBUG: Attribute type=14 (MP_REACH_NLRI, flags:0x80)
2015-12-23 12:20:38,222 DEBUG: Attribute value=0x0001010402020202001c08000010
2015-12-23 12:20:38,222 DE Address Family Identifier=0x0001
2015-12-23 12:20:38,222 DE Subsequent Address Family Identifier=0x01
2015-12-23 12:20:38,222 DE Length of Next Hop Network Address=4 (0x04)
2015-12-23 12:20:38,222 DE Network Address of Next Hop=2.2.2.2 (0x02020202)
2015-12-23 12:20:38,222 DE Reserved=0x00
2015-12-23 12:20:38,222 DE Network Layer Reachability Information=0x1c08000010
2015-12-23 12:20:38,222 DE NLRI prefix list: ['8.0.0.16/28']
2015-12-23 12:20:38,223 DE nlri_prefix_received: 8.0.0.16/28
2015-12-23 12:20:38,223 DEBUG: Calculated NLRI length: 0
2015-12-23 12:20:38,223 DEBUG: NLRI: 0x
2015-12-23 12:20:38,223 DEBUG: NLRI prefix list: []
2015-12-23 12:20:38,223 DEBUG: UPDATE message received: 0xffffffffffffffffffffffffffffffff0035020000001e40010100400206020100008000800e0e0001010402020202001c08000000
2015-12-23 12:20:38,223 DEBUG: Decoding update message:
2015-12-23 12:20:38,223 DEBUG: Message header marker: 0xffffffffffffffffffffffffffffffff
2015-12-23 12:20:38,223 DEBUG: Message lenght: 0x0035 (53)
2015-12-23 12:20:38,224 DEBUG: Message type: 0x02 (update)
2015-12-23 12:20:38,224 DEBUG: Withdrawn routes lenght: 0x0000 (0)
2015-12-23 12:20:38,224 DEBUG: Withdrawn routes: 0x
2015-12-23 12:20:38,224 DEBUG: Withdrawn routes prefix list: []
2015-12-23 12:20:38,224 DEBUG: Total path attribute lenght: 0x001e (30)
2015-12-23 12:20:38,224 DEBUG: Path attributes: 0x40010100400206020100008000800e0e0001010402020202001c08000000
2015-12-23 12:20:38,224 DEBUG: Attribute type=1 (ORIGIN, flags:0x40)
2015-12-23 12:20:38,224 DEBUG: Attribute value=0x00
2015-12-23 12:20:38,224 DEBUG: Attribute type=2 (AS_PATH, flags:0x40)
2015-12-23 12:20:38,225 DEBUG: Attribute value=0x020100008000
2015-12-23 12:20:38,225 DEBUG: Attribute type=14 (MP_REACH_NLRI, flags:0x80)
2015-12-23 12:20:38,225 DEBUG: Attribute value=0x0001010402020202001c08000000
2015-12-23 12:20:38,225 DE Address Family Identifier=0x0001
2015-12-23 12:20:38,225 DE Subsequent Address Family Identifier=0x01
2015-12-23 12:20:38,225 DE Length of Next Hop Network Address=4 (0x04)
2015-12-23 12:20:38,225 DE Network Address of Next Hop=2.2.2.2 (0x02020202)
2015-12-23 12:20:38,225 DE Reserved=0x00
2015-12-23 12:20:38,225 DE Network Layer Reachability Information=0x1c08000000
2015-12-23 12:20:38,226 DE NLRI prefix list: ['8.0.0.0/28']
2015-12-23 12:20:38,226 DE nlri_prefix_received: 8.0.0.0/28
2015-12-23 12:20:38,226 DEBUG: Calculated NLRI length: 0
2015-12-23 12:20:38,226 DEBUG: NLRI: 0x
2015-12-23 12:20:38,226 DEBUG: NLRI prefix list: []
2015-12-23 12:20:38,226 INFO: total_received_update_message_counter: 6
2015-12-23 12:20:38,226 INFO: total_received_nlri_prefix_counter: 6
2015-12-23 12:20:38,226 INFO: total_received_withdrawn_prefix_counter: 0
2015-12-23 12:20:48,237 INFO: ... idle for 10.010s
2015-12-23 12:20:48,237 INFO: total_rx_idle_time_counter: 19.797s
2015-12-23 12:20:48,237 INFO: total_received_update_message_counter: 6
2015-12-23 12:20:48,237 INFO: total_received_nlri_prefix_counter: 6
2015-12-23 12:20:48,237 INFO: total_received_withdrawn_prefix_counter: 0
Traceback (most recent call last):
File "play.py", line 1632, in <module>
state.perform_one_loop_iteration()
File "play.py", line 1574, in perform_one_loop_iteration
self.reader.wait_for_read()
File "play.py", line 1406, in wait_for_read
select.select([self.socket], [], [self.socket], wait_timedelta)
KeyboardInterrupt
see the attached karaf.log as well - from the ROBOT MESSAGE: Starting test Connect_eBGP_Peer2