Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.ietf.stateful.rev200720
Interface PathBindingTlv
- 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:
Tlvs
@Generated("mdsal-binding-generator")
public interface PathBindingTlv
extends org.opendaylight.yangtools.binding.Grouping
This class represents the following YANG schema fragment defined in module odl-pcep-ietf-stateful
grouping path-binding-tlv {
container path-binding {
uses pcep:tlv;
choice binding-type-value {
case mpls-label {
leaf mpls-label {
type netc:mpls-label;
}
}
case mpls-label-entry {
leaf label {
type netc:mpls-label;
}
leaf traffic-class {
type uint8 {
range 0..7;
}
}
leaf bottom-of-stack {
type boolean;
}
leaf time-to-live {
type uint8;
}
}
case srv6 {
leaf srv6-address {
type inet:ipv6-address-no-zone;
}
}
}
}
}
-
Method Summary
Modifier and TypeMethodDescriptionReturn pathBinding, ornullif it is not present.@NonNull PathBindingReturn pathBinding, or an empty instance if it is not present.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getPathBinding
PathBinding getPathBinding()Return pathBinding, ornullif it is not present.- Returns:
PathBindingpathBinding, ornullif it is not present.
-
nonnullPathBinding
@NonNull PathBinding nonnullPathBinding()Return pathBinding, or an empty instance if it is not present.- Returns:
PathBindingpathBinding, or an empty instance if it is not present.
-