public interface Source extends ChildOf<Link>, Augmentable<Source>
This class represents the following YANG schema fragment defined in module ietf-network-topology
container source {
leaf source-node {
type leafref {
path ../../../nw:node/nw:node-id;
require-instance false;
}
}
leaf source-tp {
type leafref {
path ../../../nw:node[nw:node-id=current()/../source-node]/termination-point/tp-id;
require-instance false;
}
}
}
The schema path to identify an instance is
ietf-network-topology/networks/network/(urn:ietf:params:xml:ns:yang:ietf-network-topology?revision=2018-02-26)link/source
To create instances of this class use SourceBuilder.
SourceBuilder| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
| Modifier and Type | Method and Description |
|---|---|
@Nullable NodeId |
getSourceNode()
Source node identifier.
|
@Nullable Object |
getSourceTp()
This termination point is located within the source nodeand terminates the link.
|
getImplementedInterfaceaugmentation@Nullable NodeId getSourceNode()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.network.rev180226.NodeId sourceNode, or null if not present@Nullable Object getSourceTp()
java.lang.Object sourceTp, or null if not presentCopyright © 2019 OpenDaylight. All rights reserved.