Make PCEPErrors work on Uint8 20/85120/7
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 15 Oct 2019 14:02:54 +0000 (16:02 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 15 Oct 2019 14:36:13 +0000 (16:36 +0200)
commitc5d7c37cd5d9e3775df0a4ea0f2f3732f596cf8c
tree36a3ad89c1e18864a7ec91492a81ca4ccd69d71f
parent5242cab28f431607c7c2709f75a1f619189e46f0
Make PCEPErrors work on Uint8

These values are unsinged bytes, make sure we operate on them
rather than forcing conversion to short.

Change-Id: I9c77ad81a7832e74dad8301518fdd727956a48c7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
pcep/base-parser/src/main/java/org/opendaylight/protocol/pcep/parser/object/PCEPErrorObjectParser.java
pcep/impl/src/test/java/org/opendaylight/protocol/pcep/impl/FiniteStateMachineTest.java
pcep/impl/src/test/java/org/opendaylight/protocol/pcep/impl/PCEPSessionImplTest.java
pcep/impl/src/test/java/org/opendaylight/protocol/pcep/impl/UtilTest.java
pcep/spi/src/main/java/org/opendaylight/protocol/pcep/spi/PCEPErrorIdentifier.java
pcep/spi/src/main/java/org/opendaylight/protocol/pcep/spi/PCEPErrors.java
pcep/spi/src/test/java/org/opendaylight/protocol/pcep/spi/APITest.java
pcep/topology/topology-provider/src/test/java/org/opendaylight/bgpcep/pcep/topology/provider/Stateful07TopologySessionListenerTest.java