Interface InstanceEndpointConfig
-
- All Superinterfaces:
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 endpointThis 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
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 String
getEndpointId()
Return endpointId, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getPrecedence()
Return precedence, ornull
if it is not present.Class<? extends InstanceEndpointConfig>
implementedInterface()
default @NonNull String
requireEndpointId()
Return endpointId, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16
requirePrecedence()
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
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends InstanceEndpointConfig> 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 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
default @NonNull String 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
-
-