private void setManagedBy(final OvsdbBridgeAugmentationBuilder ovsdbBridgeAugmentationBuilder, final ConnectionInfo connectionInfo) { InstanceIdentifier<Node> connectionNodePath = createInstanceIdentifier(connectionInfo); ovsdbBridgeAugmentationBuilder.setManagedBy(new OvsdbNodeRef(connectionNodePath)); }
/** * Set the manager node for the node. * * @param ovsdbBridgeAugmentationBuilder * A {@link OvsdbBridgeAugmentationBuilder} instance. * @param ovsdbNodeKey A {@link NodeKey} instance. */ private void setManagedByForBridge(OvsdbBridgeAugmentationBuilder ovsdbBridgeAugmentationBuilder, NodeKey ovsdbNodeKey) { InstanceIdentifier<Node> connectionNodePath = this.createInstanceIdentifier(ovsdbNodeKey.getNodeId()); LOG.trace("setManagedByForBridge: connectionNodePath: {}", connectionNodePath); ovsdbBridgeAugmentationBuilder.setManagedBy(new OvsdbNodeRef(connectionNodePath)); }
private void setManagedByForBridge(OvsdbBridgeAugmentationBuilder ovsdbBridgeAugmentationBuilder, NodeKey ovsdbNodeKey) { InstanceIdentifier<Node> connectionNodePath = MdsalHelper.createInstanceIdentifier(ovsdbNodeKey.getNodeId()); ovsdbBridgeAugmentationBuilder.setManagedBy(new OvsdbNodeRef(connectionNodePath)); }
private void setManagedByForBridge(OvsdbBridgeAugmentationBuilder ovsdbBridgeAugmentationBuilder, NodeKey ovsdbNodeKey) { InstanceIdentifier<Node> connectionNodePath = createInstanceIdentifier(ovsdbNodeKey.getNodeId()); ovsdbBridgeAugmentationBuilder.setManagedBy(new OvsdbNodeRef(connectionNodePath)); }
private void setManagedByForBridge(OvsdbBridgeAugmentationBuilder ovsdbBridgeAugmentationBuilder, NodeKey ovsdbNodeKey) { InstanceIdentifier<Node> connectionNodePath = MdsalHelper.createInstanceIdentifier(ovsdbNodeKey.getNodeId()); ovsdbBridgeAugmentationBuilder.setManagedBy(new OvsdbNodeRef(connectionNodePath)); }
private void setManagedBy(OvsdbBridgeAugmentationBuilder ovsdbBridgeAugmentationBuilder) { InstanceIdentifier<Node> connectionNodePath = getOvsdbConnectionInstance().getInstanceIdentifier(); ovsdbBridgeAugmentationBuilder.setManagedBy(new OvsdbNodeRef(connectionNodePath)); }
OvsdbNodeRef ovsdbNodeRef = new OvsdbNodeRef(SfcOvsUtil.buildOvsdbNodeIID(managerNode.getNodeId())); builder.setManagedBy(ovsdbNodeRef); builder.setBridgeName(new OvsdbBridgeName(serviceForwarderOvsBridge.getBridgeName()));
ovsdbBridgeAugmentationBuilder.setBridgeName(new OvsdbBridgeName(bridgeName)); ovsdbBridgeAugmentationBuilder.setProtocolEntry(OvsdbUtils.createMdsalProtocols()); final OvsdbNodeRef ovsdbNodeRef = new OvsdbNodeRef(ovsdbNodeIid); ovsdbBridgeAugmentationBuilder.setManagedBy(ovsdbNodeRef); bridgeNodeBuilder.addAugmentation(OvsdbBridgeAugmentation.class,
InstanceIdentifier<?> ovsdbNodeIid, DataBroker dataBroker) { final OvsdbNodeRef ovsdbNodeRef = new OvsdbNodeRef(ovsdbNodeIid); final UniAugmentationBuilder updatedUniBuilder = new UniAugmentationBuilder(uni); if (ovsdbNodeRef != null) {
DataBroker dataBroker) { final InstanceIdentifier<Node> ovsdbNodeIid = UnimgrMapper.getOvsdbNodeIid(ovsdbNode.getNodeId()); final OvsdbNodeRef ovsdbNodeRef = new OvsdbNodeRef(ovsdbNodeIid); final UniAugmentationBuilder updatedUniBuilder = new UniAugmentationBuilder(uni); if (ovsdbNodeRef != null) {
return null; OvsdbNodeRef ovsdbNodeRef = new OvsdbNodeRef(SfcOvsUtil.buildOvsdbNodeIID(node.getNodeId())); ovsdbBridgeBuilder.setManagedBy(ovsdbNodeRef); OvsdbNodeAugmentation ovsdbNodeAugmentation = SfcOvsUtil.getOvsdbNodeAugmentation(ovsdbNodeRef, executor);
ovsdbBridgeAugmentationBuilder.setBridgeName(new OvsdbBridgeName(bridgeName)); ovsdbBridgeAugmentationBuilder.setProtocolEntry(OvsdbUtils.createMdsalProtocols()); final OvsdbNodeRef ovsdbNodeRef = new OvsdbNodeRef(ovsdbNodeIid); ovsdbBridgeAugmentationBuilder.setManagedBy(ovsdbNodeRef); bridgeNodeBuilder.addAugmentation(OvsdbBridgeAugmentation.class, ovsdbBridgeAugmentationBuilder.build());
ovsdbBridgeBuilder.setManagedBy(new OvsdbNodeRef(nodeIID));