private void setOpenDaylightOtherConfig(@Nonnull Bridge bridge, @Nonnull OvsdbBridgeAugmentation ovsdbManagedNode) { try { bridge.setOtherConfig(YangUtils.convertYangKeyValueListToMap(ovsdbManagedNode.getBridgeOtherConfigs(), BridgeOtherConfigs::getBridgeOtherConfigKey, BridgeOtherConfigs::getBridgeOtherConfigValue)); } catch (NullPointerException e) { LOG.warn("Incomplete bridge other config", e); } }
return false; if (!Objects.equals(_bridgeOtherConfigs, other.getBridgeOtherConfigs())) { return false;
case BRIDGE: OvsdbBridgeAugmentation bridge = extractBridgeAugmentation(node); if (bridge != null && bridge.getBridgeOtherConfigs() != null) { for (BridgeOtherConfigs bridgeOtherConfigs : bridge.getBridgeOtherConfigs()) { if (bridgeOtherConfigs.getBridgeOtherConfigKey().equals(key)) { return bridgeOtherConfigs.getBridgeOtherConfigValue();
case BRIDGE: OvsdbBridgeAugmentation bridge = extractBridgeAugmentation(node); if (bridge != null && bridge.getBridgeOtherConfigs() != null) { for (BridgeOtherConfigs bridgeOtherConfigs : bridge.getBridgeOtherConfigs()) { if (bridgeOtherConfigs.getBridgeOtherConfigKey().equals(key)) { return bridgeOtherConfigs.getBridgeOtherConfigValue();
public OvsdbBridgeAugmentationBuilder(OvsdbBridgeAugmentation base) { this._autoAttach = base.getAutoAttach(); this._bridgeExternalIds = base.getBridgeExternalIds(); this._bridgeName = base.getBridgeName(); this._bridgeOpenflowNodeRef = base.getBridgeOpenflowNodeRef(); this._bridgeOtherConfigs = base.getBridgeOtherConfigs(); this._bridgeUuid = base.getBridgeUuid(); this._controllerEntry = base.getControllerEntry(); this._datapathId = base.getDatapathId(); this._datapathType = base.getDatapathType(); this._failMode = base.getFailMode(); this._flowNode = base.getFlowNode(); this._managedBy = base.getManagedBy(); this._protocolEntry = base.getProtocolEntry(); }