Modernize bgp-cli 25/114025/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 16 Oct 2024 11:20:33 +0000 (13:20 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 16 Oct 2024 11:21:04 +0000 (13:21 +0200)
commitdb1ea2bf2f3e9e95a13b2f20aa333a4e0333ae02
tree75dc1334a256389f600a5883fb25cc2444ec4fd6
parentf7c5adce46e1083d7002d17c13552d799a8453e1
Modernize bgp-cli

Use DataObjectIdentifier. Also make sure we close the read-only
transaction after reading.

Change-Id: I8f6847a109e6208393d5bcd23e899494fb66158a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/cli/src/main/java/org/opendaylight/protocol/bgp/cli/utils/BGPOperationalStateUtils.java
bgp/cli/src/test/java/org/opendaylight/protocol/bgp/cli/utils/BGPOperationalStateUtilsTest.java