Make BGPError operate on Uint8 17/85117/8
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 15 Oct 2019 10:06:48 +0000 (12:06 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 15 Oct 2019 13:58:21 +0000 (15:58 +0200)
commitd569119732e1c24f18c729344f2cbd53adb73352
tree900d6505a346e02c341370ec1d361cff78252398
parent305edb32e1579ae73a1c10019ba4471ad2953a71
Make BGPError operate on Uint8

Error codes are unsigned bytes, use the proper encapsulation.

Change-Id: I8706fdcd3b87ac45609a08ce6acdf634ddbe90b4
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/parser-api/src/main/java/org/opendaylight/protocol/bgp/parser/BGPError.java
bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/BGPSessionImplTest.java
bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/FSMTest.java