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

PCRpt message with vendor specific object throws exception

    XMLWordPrintable

Details

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

    • 5610

    Description

      If ODL receives PCRpt message with vendor specific object, ODL throws exception and continue processing the next.

      In AbstractMessageParser

      if (VendorInformationUtil.isVendorInformationObject(objClass, objType)) {
      Preconditions.checkState(this.viRegistry != null);

      RFC Point:

      “If the PCE does not understand an object with the P flag set or

      understands the object but decides to ignore the object, the entire

      PCEP message MUST be rejected and the PCE MUST send a PCErr message

      with Error-Type="Unknown Object" or "Not supported Object" along with

      the corresponding RP object. Note that if a PCReq includes multiple

      requests, only requests for which an object with the P flag set is

      unknown/unrecognized MUST be rejected.”

      According to the above instead of throwing an exception, need to send the above error message to the peer.

      Attachments

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

        Activity

          People

            milos.fabian@pantheon.tech Milos Fabian
            swapna0120@gmail.com swapna kuppani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: