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

SRP object has conflicting processed flag

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Bugzilla Migration
    • Bugzilla Migration
    • General
    • None
    • Operating System: Linux
      Platform: PC

    • 1663

    Description

      I got exception when I call the addLsp RPC to initiate LSP to PCC. The PCC I am using is the PCCMock.java in the pcep-testtool project.

      11:24:57.120 [nioEventLoopGroup-3-1] DEBUG o.o.p.p.i.PCEPByteToMessageDecoder - Failed to decode protocol message
      org.opendaylight.protocol.pcep.spi.PCEPDeserializerException: Processed flag is set
      at org.opendaylight.protocol.pcep.ietf.initiated00.CInitiated00SrpObjectParser.parseObject(CInitiated00SrpObjectParser.java:51) ~[classes/:na]
      at org.opendaylight.protocol.pcep.ietf.stateful07.Stateful07SrpObjectParser.parseObject(Stateful07SrpObjectParser.java:1) ~[classes/:na]

      I think the root cause is because the processed flag is hardcoded as TRUE in the addLsp RPC as following. Please double check if the processed flag should be set to TRUE or not in the PCInitiate message.

      Stateful07TopologySessionListener.java:
      public synchronized ListenableFuture<OperationResult> addLsp(final AddLspArgs input) {
      ……
      rb.setSrp(new SrpBuilder().setOperationId(nextRequest()).setProcessingRule(Boolean.TRUE).build());

      Attachments

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

        Activity

          People

            dkutenicsova Dana Kutenicsova
            dkutenicsova Dana Kutenicsova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: