Interface TopologyRef
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
- All Known Subinterfaces:
PcepTunnelTopologyConfig
@Generated("mdsal-binding-generator")
public interface TopologyRef
extends org.opendaylight.yangtools.binding.Grouping
This class represents the following YANG schema fragment defined in module topology-tunnel-pcep-config
grouping topology-ref { leaf pcep-topology-reference { type leafref { path /nt:network-topology/nt:topology/nt:topology-id; } } }
-
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId
Return pcepTopologyReference, ornull
if it is not present.default @NonNull org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId
Return pcepTopologyReference, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getPcepTopologyReference
org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId getPcepTopologyReference()Return pcepTopologyReference, ornull
if it is not present.An absolute reference to a topology instance.
- Returns:
TopologyId
pcepTopologyReference, ornull
if it is not present.
-
requirePcepTopologyReference
default @NonNull org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId requirePcepTopologyReference()Return pcepTopologyReference, guaranteed to be non-null.An absolute reference to a topology instance.
- Returns:
TopologyId
pcepTopologyReference, guaranteed to be non-null.- Throws:
NoSuchElementException
- if pcepTopologyReference is not present
-