mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-22 21:01:00 +02:00
Resolving issue in parsing report message.
Change-Id: Iab4bcab84d1a732946737497e9780fa3461e9355
This commit is contained in:
parent
ed540a3975
commit
5eab857bb2
@ -26,6 +26,7 @@ import org.onosproject.pcepio.types.PcepErrorDetailInfo;
|
|||||||
import org.onosproject.pcepio.types.PcepObjectHeader;
|
import org.onosproject.pcepio.types.PcepObjectHeader;
|
||||||
import org.onosproject.pcepio.types.PcepValueType;
|
import org.onosproject.pcepio.types.PcepValueType;
|
||||||
import org.onosproject.pcepio.types.StatefulIPv4LspIdentidiersTlv;
|
import org.onosproject.pcepio.types.StatefulIPv4LspIdentidiersTlv;
|
||||||
|
import org.onosproject.pcepio.types.StatefulLspDbVerTlv;
|
||||||
import org.onosproject.pcepio.types.StatefulLspErrorCodeTlv;
|
import org.onosproject.pcepio.types.StatefulLspErrorCodeTlv;
|
||||||
import org.onosproject.pcepio.types.StatefulRsvpErrorSpecTlv;
|
import org.onosproject.pcepio.types.StatefulRsvpErrorSpecTlv;
|
||||||
import org.onosproject.pcepio.types.SymbolicPathNameTlv;
|
import org.onosproject.pcepio.types.SymbolicPathNameTlv;
|
||||||
@ -337,6 +338,9 @@ public class PcepLspObjectVer1 implements PcepLspObject {
|
|||||||
case SymbolicPathNameTlv.TYPE:
|
case SymbolicPathNameTlv.TYPE:
|
||||||
tlv = SymbolicPathNameTlv.read(cb, hLength);
|
tlv = SymbolicPathNameTlv.read(cb, hLength);
|
||||||
break;
|
break;
|
||||||
|
case StatefulLspDbVerTlv.TYPE:
|
||||||
|
tlv = StatefulLspDbVerTlv.read(cb);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
throw new PcepParseException("Received unsupported TLV type :" + hType);
|
throw new PcepParseException("Received unsupported TLV type :" + hType);
|
||||||
}
|
}
|
||||||
|
@ -1008,7 +1008,10 @@ public class PcepTunnelProvider extends AbstractProvider implements TunnelProvid
|
|||||||
PcepStateReport.PcepMsgPath msgPath = stateRpt.getMsgPath();
|
PcepStateReport.PcepMsgPath msgPath = stateRpt.getMsgPath();
|
||||||
checkNotNull(msgPath);
|
checkNotNull(msgPath);
|
||||||
PcepRroObject rroObj = msgPath.getRroObject();
|
PcepRroObject rroObj = msgPath.getRroObject();
|
||||||
checkNotNull(rroObj);
|
if (rroObj == null) {
|
||||||
|
log.debug("RRO object is null in sate report");
|
||||||
|
return;
|
||||||
|
}
|
||||||
int bandwidth = 0;
|
int bandwidth = 0;
|
||||||
|
|
||||||
log.debug("Handle Sync report received from PCC.");
|
log.debug("Handle Sync report received from PCC.");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user