Interface InstanceEndpointConfig
- 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
,InstanceEndpointLocalRemote
@Generated("mdsal-binding-generator")
public interface InstanceEndpointConfig
extends org.opendaylight.yangtools.yang.binding.DataObject, InstanceEndpointLocalRemote
Configuration data relating to an forwarding-instance endpoint
This class represents the following YANG schema fragment defined in module openconfig-network-instance
grouping instance-endpoint-config { leaf endpoint-id { type string; } uses instance-endpoint-local-remote; leaf precedence { type uint16; } }
-
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 endpointId, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
Return precedence, ornull
if it is not present.Class<? extends InstanceEndpointConfig>
default @NonNull String
Return endpointId, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16
Return precedence, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.network.instance.rev151018.InstanceEndpointLocalRemote
getLocalRemote
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends InstanceEndpointConfig> 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 interfaceInstanceEndpointLocalRemote
-
getEndpointId
String getEndpointId()Return endpointId, ornull
if it is not present.An identifier for the endpoint
- Returns:
String
endpointId, ornull
if it is not present.
-
requireEndpointId
Return endpointId, guaranteed to be non-null.An identifier for the endpoint
- Returns:
String
endpointId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if endpointId is not present
-
getPrecedence
org.opendaylight.yangtools.yang.common.Uint16 getPrecedence()Return precedence, ornull
if it is not present.The precedence of the endpoint - the lowest precendence viable endpoint will be utilised as the active endpoint within a connection
- Returns:
Uint16
precedence, ornull
if it is not present.
-
requirePrecedence
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requirePrecedence()Return precedence, guaranteed to be non-null.The precedence of the endpoint - the lowest precendence viable endpoint will be utilised as the active endpoint within a connection
- Returns:
Uint16
precedence, guaranteed to be non-null.- Throws:
NoSuchElementException
- if precedence is not present
-