Interface Endpoints
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<Endpoints>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<ConnectionPoint>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface Endpoints extends org.opendaylight.yangtools.yang.binding.ChildOf<ConnectionPoint>, org.opendaylight.yangtools.yang.binding.Augmentable<Endpoints>
The set of endpoints which are grouped within the connection pointThis class represents the following YANG schema fragment defined in module openconfig-network-instance
container endpoints { when "../config/type = 'L2P2P' or ../config/type = 'L2VSI'" { } list endpoint { key endpoint-id; leaf endpoint-id { type leafref { path ../config/endpoint-id; } } container config { uses instance-endpoint-config; } container state { config false; uses instance-endpoint-config; uses instance-endpoint-state; } } }
The schema path to identify an instance is openconfig-network-instance/network-instance-top/network-instances/network-instance/connection-points/connection-point/endpointsTo create instances of this class use
EndpointsBuilder
.- See Also:
EndpointsBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable Map<EndpointKey,Endpoint>
getEndpoint()
A list of the endpoints (interfaces or remote connection points that can be used for this connection point).default Class<Endpoints>
implementedInterface()
default @NonNull Map<EndpointKey,Endpoint>
nonnullEndpoint()
-
-
-
Method Detail
-
implementedInterface
default Class<Endpoints> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getEndpoint
@Nullable Map<EndpointKey,Endpoint> getEndpoint()
A list of the endpoints (interfaces or remote connection points that can be used for this connection point). The active endpoint is selected based on the precedence that it is configured with- Returns:
java.util.Map
endpoint
, ornull
if not present
-
nonnullEndpoint
default @NonNull Map<EndpointKey,Endpoint> nonnullEndpoint()
- Returns:
java.util.Map
endpoint
, or an empty list if it is not present
-
-