public interface NetworkTopology extends ChildOf<NetworkTopologyData>, Augmentable<NetworkTopology>
This class represents the following YANG schema fragment defined in module network-topology
container network-topology { list topology { key topology-id; leaf topology-id { type topology-id; } leaf server-provided { type boolean; config false; } container topology-types { } list underlay-topology { key topology-ref; leaf topology-ref { type topology-ref; } } list node { key node-id; uses node-attributes; must boolean(../underlay-topology[*]/node[./supporting-nodes/node-ref]); list termination-point { key tp-id; uses tp-attributes; } } list link { key link-id; uses link-attributes; must boolean(../underlay-topology/link[./supporting-link]); must boolean(../node[./source/source-node]); must boolean(../node[./destination/dest-node]); must boolean(../node/termination-point[./source/source-tp]); must boolean(../node/termination-point[./destination/dest-tp]); } } }The schema path to identify an instance is network-topology/network-topology
To create instances of this class use NetworkTopologyBuilder
.
NetworkTopologyBuilder
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
@Nullable List<Topology> |
getTopology()
This is the model of an abstract topology.A topology contains nodes and
links.Each topology MUST be identified byunique topology-id for reason that a
network could contain manytopologies.
|
default @NonNull List<Topology> |
nonnullTopology() |
getImplementedInterface
augmentation
@Nullable List<Topology> getTopology()
java.util.List
topology
, or null
if not presentCopyright © 2019 OpenDaylight. All rights reserved.