2 * Copyright © 2016 AT&T and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.transportpce.networkmodel.dto;
10 import java.util.List;
12 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.network.rev180226.networks.network.Node;
13 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.network.topology.rev180226.networks.network.Link;
14 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.network.topology.rev180226.networks.network.node.TerminationPoint;
17 * Data holder for topology fragment.
19 public class TopologyShard {
21 private final List<Node> nodes;
22 private final List<Link> links;
23 private final List<TerminationPoint> tps;
25 public TopologyShard(List<Node> nodes, List<Link> links) {
31 public TopologyShard(List<Node> nodes, List<Link> links, List<TerminationPoint> tps) {
37 public List<Node> getNodes() {
41 public List<Link> getLinks() {
45 public List<TerminationPoint> getTps() {