if (iid != null) {
Optional<Node> nodeOptional = getBridgeNode(iid);
if (nodeOptional.isPresent() && nodeOptional.get().getTerminationPoint() != null) {
- TerminationPointKey key = iid.firstKeyOf(TerminationPoint.class, TerminationPointKey.class);
+ TerminationPointKey key = iid.firstKeyOf(TerminationPoint.class);
if (key != null) {
for (TerminationPoint tp:nodeOptional.get().getTerminationPoint()) {
if (tp.getKey().equals(key)) {
if (iid != null) {
Optional<OvsdbBridgeAugmentation> ovsdbBridgeOptional = getOvsdbBridgeAugmentation(iid);
if (ovsdbBridgeOptional.isPresent() && ovsdbBridgeOptional.get().getControllerEntry() != null) {
- ControllerEntryKey key = iid.firstKeyOf(ControllerEntry.class, ControllerEntryKey.class);
+ ControllerEntryKey key = iid.firstKeyOf(ControllerEntry.class);
if (key != null) {
for (ControllerEntry entry: ovsdbBridgeOptional.get().getControllerEntry()) {
if (entry.getKey().equals(key)) {
if (iid != null) {
Optional<OvsdbBridgeAugmentation> ovsdbBridgeOptional = getOvsdbBridgeAugmentation(iid);
if (ovsdbBridgeOptional.isPresent() && ovsdbBridgeOptional.get().getProtocolEntry() != null) {
- ProtocolEntryKey key = iid.firstKeyOf(ProtocolEntry.class, ProtocolEntryKey.class);
+ ProtocolEntryKey key = iid.firstKeyOf(ProtocolEntry.class);
if (key != null) {
for (ProtocolEntry entry: ovsdbBridgeOptional.get().getProtocolEntry()) {
if (entry.getKey().equals(key)) {