[BGPCEP-467] Unrecognized attribute flagged Well Known Created: 30/May/16  Updated: 03/Mar/19  Resolved: 02/Jun/16

Status: Resolved
Project: bgpcep
Component/s: BGP
Affects Version/s: Bugzilla Migration
Fix Version/s: Bugzilla Migration

Type: Bug
Reporter: Sidhant Hasija Assignee: Ajay L
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Text File capture.txt     File route.json    
External issue ID: 5978

 Description   

Hello ODL-BGPCEP

For the routes inserted into odl bgp-app-rib with an unrecognized attribute as follows,

"prefix": "192.1.50.0/32",
"attributes": {
"unrecognized-attributes": [

{ "type": 30, "transitive": true, "value": "11110000", "partial": true }

]
(attachment - route.json)

the unrecognized attribute of this route is being further advertised by odl-bgpspeaker as 'well known' instead of 'optional' as seen in the wireshark trace of the bgp update message-

Unknown (9 bytes)
Flags: 0x60 (Well-known, Transitive, Partial)
0... .... = Optional: Well-known
.1.. .... = Transitive: Transitive
..1. .... = Partial: Partial
...0 .... = Length: Regular length
Type code: Unknown (30)
Length: 6 bytes
Unknown (6 bytes)

Due to this wrongly set flags, the attribute is not being parsed by other peers specifically quagga bgp router.

It will be really helpful if you can please see it to it.
The version of odl-bgpcep used is 0.5.3-SNAPSHOT.

Thanks and Regards
Sidhant



 Comments   
Comment by Sidhant Hasija [ 30/May/16 ]

Attachment route.json has been added with description: route inserted into app-rib

Comment by Sidhant Hasija [ 30/May/16 ]

Attachment capture.txt has been added with description: wireshark trace of the route

Comment by Milos Fabian [ 02/Jun/16 ]

master: https://git.opendaylight.org/gerrit/#/c/39668/
beryllium: https://git.opendaylight.org/gerrit/#/c/39794/

Generated at Wed Feb 07 19:13:08 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.