public OvsdbBridgeAugmentation extractBridgeAugmentation(Node node) { if (node == null) { return null; } return node.getAugmentation(OvsdbBridgeAugmentation.class); }
@Override public Node build() { return new NodeImpl(this); }
@Override public TopologyTypes build() { return new TopologyTypesImpl(this); }
private NodeHolder(final NodeId id) { this.inab = new IgpNodeAttributesBuilder(); this.nb = new NodeBuilder().setKey(new NodeKey(id)).setNodeId(id); }
NodeImpl(NodeBuilder base) { if (base.key() != null) { this.key = base.key(); } else { this.key = new NodeKey(base.getNodeId()); } this._nodeId = key.getNodeId(); this._supportingNode = base.getSupportingNode(); this._terminationPoint = base.getTerminationPoint(); this.augmentation = ImmutableMap.copyOf(base.augmentation); }
LinkImpl(LinkBuilder base) { if (base.key() != null) { this.key = base.key(); } else { this.key = new LinkKey(base.getLinkId()); } this._linkId = key.getLinkId(); this._destination = base.getDestination(); this._source = base.getSource(); this._supportingLink = base.getSupportingLink(); this.augmentation = ImmutableMap.copyOf(base.augmentation); }
UnderlayTopologyImpl(UnderlayTopologyBuilder base) { if (base.key() != null) { this.key = base.key(); } else { this.key = new UnderlayTopologyKey(base.getTopologyRef()); } this._topologyRef = key.getTopologyRef(); this.augmentation = ImmutableMap.copyOf(base.augmentation); }
private Object getNodeId() { return this.nb.getNodeId(); } }
@Override public UnderlayTopology build() { return new UnderlayTopologyImpl(this); }
@Override public Link build() { return new LinkImpl(this); }
public OvsdbBridgeAugmentation extractBridgeAugmentation(Node node) { if (node == null) { return null; } return node.getAugmentation(OvsdbBridgeAugmentation.class); }
public TopologyTypes build() { return new TopologyTypesImpl(this); }
public UnderlayTopology build() { return new UnderlayTopologyImpl(this); }
public OvsdbBridgeAugmentation extractBridgeAugmentation(Node node) { if (node == null) { return null; } return node.getAugmentation(OvsdbBridgeAugmentation.class); }
public OvsdbBridgeAugmentation getBridge(Node node) { return node.getAugmentation(OvsdbBridgeAugmentation.class); }
NetconfNode getNetconfNode() { return node.getAugmentation(NetconfNode.class); }
public OvsdbNodeAugmentation extractOvsdbNode(Node node) { return node.getAugmentation(OvsdbNodeAugmentation.class); }
public OvsdbNodeAugmentation extractNodeAugmentation(Node node) { return node.getAugmentation(OvsdbNodeAugmentation.class); }
public OvsdbNodeAugmentation extractOvsdbNode(Node node) { return node.getAugmentation(OvsdbNodeAugmentation.class); }
public OvsdbNodeAugmentation extractNodeAugmentation(Node node) { return node.getAugmentation(OvsdbNodeAugmentation.class); }