[BGPCEP-124] SRP object has conflicting processed flag Created: 02/Sep/14  Updated: 03/Mar/19  Due: 02/Sep/14  Resolved: 03/Sep/14

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

Type: Bug
Reporter: Dana Kutenicsova Assignee: Dana Kutenicsova
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


External issue ID: 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());



 Comments   
Comment by Dana Kutenicsova [ 02/Sep/14 ]

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

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