Interface InstanceEndpointConfig
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
,InstanceEndpointLocalRemote
@Generated("mdsal-binding-generator")
public interface InstanceEndpointConfig
extends org.opendaylight.yangtools.binding.Grouping, 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; } }
-
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.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.yangtools.binding.BindingContract
implementedInterface
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.network.instance.rev151018.InstanceEndpointLocalRemote
getLocalRemote
-
Method Details
-
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
-