Switch TerminationReason to use Uint8 79/85979/6
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 26 Nov 2019 15:13:59 +0000 (16:13 +0100)
committerRobert Varga <nite@hq.sk>
Wed, 30 Dec 2020 20:49:49 +0000 (20:49 +0000)
commit9fc6aeabb229a68124cc47936e1564f39c73ce07
tree17fa57193e24ace9af61e865309ca51f3671fcbf
parent2357399761fd8b8968b4c84044f77c9a2843553f
Switch TerminationReason to use Uint8

As binding has switched to more expressive Uint types, embrace them
to allow smaller number of conversions.

Change-Id: I353750e1ed9fb8904b1f20be44f25d9c09592213
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
pcep/api/src/main/java/org/opendaylight/protocol/pcep/TerminationReason.java
pcep/impl/src/main/java/org/opendaylight/protocol/pcep/impl/PCEPSessionImpl.java
pcep/impl/src/test/java/org/opendaylight/protocol/pcep/impl/PCEPSessionImplTest.java