Uploaded image for project: 'bgpcep'
  1. bgpcep
  2. BGPCEP-209

Refactor linkstate serializeNlri methods

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Bugzilla Migration
    • Bugzilla Migration
    • BGP
    • None
    • Operating System: All
      Platform: All

    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lborak@cisco.com Ladislav Borak
            dkutenicsova Dana Kutenicsova
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: