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.rev150608.network.Node;
13 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.network.topology.rev150608.network.Link;
16 * Data holder for topology fragment.
18 public class TopologyShard {
20 private final List<Node> nodes;
21 private final List<Link> links;
23 public TopologyShard(List<Node> nodes, List<Link> links) {
28 public List<Node> getNodes() {
32 public List<Link> getLinks() {