[BGPCEP-193] Simplify AS_PATH encoding Created: 12/Mar/15  Updated: 03/Mar/19  Resolved: 14/Jul/15

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

Type: Improvement
Reporter: Robert Varga Assignee: Iveta Halanova
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All



 Description   

Our current way of representing AS_PATH in the message and in RIB is overly complex, as it involves two nested unkeyed lists.

For compatibility reasons we need to retain this format, but introduce a simpler format, which will be authoritative.

It should include only two leaf-lists:

leaf-list as-sequence {
type inet:as-number;
ordered-by user;
}

leaf-list as-set {
type inet:as-number;
}

The parser needs to fill these out, concatenating segments in the message into these. On serialization, as-sequence entries need to be encoded first, 255 items at a time, followed by as-set entries.



 Comments   
Comment by Iveta Halanova [ 07/Jul/15 ]

https://git.opendaylight.org/gerrit/23775

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