Interface Linkstate
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,RouteDistinguisherGrouping
- All Known Subinterfaces:
CLinkstateDestination
,LinkstateRoute
@Generated("mdsal-binding-generator") public interface Linkstate extends org.opendaylight.yangtools.yang.binding.DataObject, RouteDistinguisherGrouping
This class represents the following YANG schema fragment defined in module bgp-linkstate
grouping linkstate { uses bgp-t:route-distinguisher-grouping { refine route-distinguisher { mandatory false; } } leaf protocol-id { type protocol-id; } leaf identifier { type identifier; } choice object-type { case node-case { container node-descriptors { uses node-identifier; } } case link-case { container local-node-descriptors { uses node-identifier; uses bgp-epe:epe-node-descriptors; } container remote-node-descriptors { uses node-identifier; uses bgp-epe:epe-node-descriptors; } container link-descriptors { uses link-identifier; } } case prefix-case { container advertising-node-descriptors { uses node-identifier; } container prefix-descriptors { uses prefix-identifiers; } } case te-lsp-case { choice address-family { case ipv4-case { leaf ipv4-tunnel-sender-address { type inet:ipv4-address-no-zone; } leaf ipv4-tunnel-endpoint-address { type inet:ipv4-address-no-zone; } } case ipv6-case { leaf ipv6-tunnel-sender-address { type inet:ipv6-address-no-zone; } leaf ipv6-tunnel-endpoint-address { type inet:ipv6-address-no-zone; } } } leaf tunnel-id { type rsvp:tunnel-id; } leaf lsp-id { type rsvp:lsp-id; } } } }
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Identifier
getIdentifier()
Return identifier, ornull
if it is not present.ObjectType
getObjectType()
Return objectType, ornull
if it is not present.ProtocolId
getProtocolId()
Return protocolId, ornull
if it is not present.Class<? extends Linkstate>
implementedInterface()
default @NonNull Identifier
requireIdentifier()
Return identifier, guaranteed to be non-null.default @NonNull ProtocolId
requireProtocolId()
Return protocolId, guaranteed to be non-null.-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.RouteDistinguisherGrouping
getRouteDistinguisher, requireRouteDistinguisher
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends Linkstate> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceRouteDistinguisherGrouping
-
getProtocolId
ProtocolId getProtocolId()
Return protocolId, ornull
if it is not present.- Returns:
ProtocolId
protocolId, ornull
if it is not present.
-
requireProtocolId
default @NonNull ProtocolId requireProtocolId()
Return protocolId, guaranteed to be non-null.- Returns:
ProtocolId
protocolId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if protocolId is not present
-
getIdentifier
Identifier getIdentifier()
Return identifier, ornull
if it is not present.- Returns:
Identifier
identifier, ornull
if it is not present.
-
requireIdentifier
default @NonNull Identifier requireIdentifier()
Return identifier, guaranteed to be non-null.- Returns:
Identifier
identifier, guaranteed to be non-null.- Throws:
NoSuchElementException
- if identifier is not present
-
getObjectType
ObjectType getObjectType()
Return objectType, ornull
if it is not present.- Returns:
ObjectType
objectType, ornull
if it is not present.
-
-