[BGPCEP-209] Refactor linkstate serializeNlri methods Created: 17/Apr/15 Updated: 03/Mar/19 Due: 05/May/15 Resolved: 07/May/15 |
|
| Status: | Resolved |
| Project: | bgpcep |
| Component/s: | BGP |
| Affects Version/s: | Bugzilla Migration |
| Fix Version/s: | Bugzilla Migration |
| Type: | Bug | ||
| Reporter: | Dana Kutenicsova | Assignee: | Ladislav Borak |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 3012 |
| Description |
|
Currently there are 3 methods in LinkstateNlriParser that somehow serialize Linkstate destination object" 1. public static void serializeNlri(final CLinkstateDestination destination, final ByteBuf buffer) 2. public static void serializeNlri(final UnkeyedListEntryNode linkstate, final ByteBuf buffer) 3. public static CLinkstateDestination setLinkstateDestination(final MapEntryNode route) We need one method that will arse CLinkstateDestination from DOM representation and if necessary it will call the first method to serialize the result to bytes. |
| Comments |
| Comment by Dana Kutenicsova [ 07/May/15 ] |
|
https://git.opendaylight.org/gerrit/18647 |