Use targeted node type for bridge name search 21/77721/2
authorStephen Kitt <skitt@redhat.com>
Tue, 13 Nov 2018 13:31:20 +0000 (14:31 +0100)
committerStephen Kitt <skitt@redhat.com>
Mon, 10 Dec 2018 15:39:19 +0000 (16:39 +0100)
commitce6a6175d52209bbcde55dd1fccf75d349bf1b9e
tree0a1716667dd0d04458d2385baf9b9c722fb527de
parent5867984f71b2cd10d375afb09ad76a07b38a0f44
Use targeted node type for bridge name search

The IdentifiableItem we're looking for when checking for a bridge name
is Node; this changes isBridgeOnOvsdbNode() to look for that
directly. If also changes toString() to a match-specific method to
avoid the temptation to use it for other purposes.

Change-Id: Ib20e2c909098af9e0643f12805d98c5f2a66b651
JIRA: OVSDB-470
Signed-off-by: Stephen Kitt <skitt@redhat.com>
utils/southbound-utils/src/main/java/org/opendaylight/ovsdb/utils/southbound/utils/SouthboundUtils.java