Interface Linkstate
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,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
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn identifier, ornull
if it is not present.Return objectType, ornull
if it is not present.Return protocolId, ornull
if it is not present.default @NonNull Identifier
Return identifier, guaranteed to be non-null.default @NonNull ProtocolId
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
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.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
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
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.
-