Interface TunnelAttributes
-
- All Superinterfaces:
AttributeFilters
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,Priority
- All Known Subinterfaces:
BasicSessionAttributeObject
,Link1
,Lspa
,PcepCreateP2pTunnelInput
,PcepUpdateTunnelInput
,SessionAttributeObjectWithResourcesAffinities
,TunnelPcepLinkCfgAttributes
@Generated("mdsal-binding-generator") public interface TunnelAttributes extends org.opendaylight.yangtools.yang.binding.DataObject, Priority, AttributeFilters
This class represents the following YANG schema fragment defined in module rsvp
grouping tunnel-attributes { uses priority; leaf local-protection-desired { type boolean; default false; } leaf label-recording-desired { type boolean; default false; } leaf se-style-desired { type boolean; default false; } leaf session-name { type string; } uses attribute-filters; }
The schema path to identify an instance is rsvptunnel-attributes
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Boolean
getLabelRecordingDesired()
Return labelRecordingDesired, ornull
if it is not present.Boolean
getLocalProtectionDesired()
Return localProtectionDesired, ornull
if it is not present.String
getSessionName()
Return sessionName, ornull
if it is not present.Boolean
getSeStyleDesired()
Return seStyleDesired, ornull
if it is not present.Class<? extends TunnelAttributes>
implementedInterface()
default @NonNull Boolean
requireLabelRecordingDesired()
Return labelRecordingDesired, guaranteed to be non-null.default @NonNull Boolean
requireLocalProtectionDesired()
Return localProtectionDesired, guaranteed to be non-null.default @NonNull String
requireSessionName()
Return sessionName, guaranteed to be non-null.default @NonNull Boolean
requireSeStyleDesired()
Return seStyleDesired, guaranteed to be non-null.-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.AttributeFilters
getExcludeAny, getIncludeAll, getIncludeAny, requireExcludeAny, requireIncludeAll, requireIncludeAny
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.Priority
getHoldPriority, getSetupPriority, requireHoldPriority, requireSetupPriority
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends TunnelAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceAttributeFilters
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfacePriority
-
getLocalProtectionDesired
Boolean getLocalProtectionDesired()
Return localProtectionDesired, ornull
if it is not present.- Returns:
Boolean
localProtectionDesired, ornull
if it is not present.
-
requireLocalProtectionDesired
default @NonNull Boolean requireLocalProtectionDesired()
Return localProtectionDesired, guaranteed to be non-null.- Returns:
Boolean
localProtectionDesired, guaranteed to be non-null.- Throws:
NoSuchElementException
- if localProtectionDesired is not present
-
getLabelRecordingDesired
Boolean getLabelRecordingDesired()
Return labelRecordingDesired, ornull
if it is not present.- Returns:
Boolean
labelRecordingDesired, ornull
if it is not present.
-
requireLabelRecordingDesired
default @NonNull Boolean requireLabelRecordingDesired()
Return labelRecordingDesired, guaranteed to be non-null.- Returns:
Boolean
labelRecordingDesired, guaranteed to be non-null.- Throws:
NoSuchElementException
- if labelRecordingDesired is not present
-
getSeStyleDesired
Boolean getSeStyleDesired()
Return seStyleDesired, ornull
if it is not present.- Returns:
Boolean
seStyleDesired, ornull
if it is not present.
-
requireSeStyleDesired
default @NonNull Boolean requireSeStyleDesired()
Return seStyleDesired, guaranteed to be non-null.- Returns:
Boolean
seStyleDesired, guaranteed to be non-null.- Throws:
NoSuchElementException
- if seStyleDesired is not present
-
getSessionName
String getSessionName()
Return sessionName, ornull
if it is not present.- Returns:
String
sessionName, ornull
if it is not present.
-
requireSessionName
default @NonNull String requireSessionName()
Return sessionName, guaranteed to be non-null.- Returns:
String
sessionName, guaranteed to be non-null.- Throws:
NoSuchElementException
- if sessionName is not present
-
-