Interface BgpNeighborRouteReflectorConfig
- 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
@Generated("mdsal-binding-generator")
public interface BgpNeighborRouteReflectorConfig
extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration parameters determining whether the behaviour of the local system
when acting as a route-reflector
This class represents the following YANG schema fragment defined in module openconfig-bgp
grouping bgp-neighbor-route-reflector_config { leaf route-reflector-cluster-id { type bgp-types:rr-cluster-id-type; } leaf route-reflector-client { type boolean; default false; } }
-
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 routeReflectorClient, ornull
if it is not present.Return routeReflectorClusterId, ornull
if it is not present.Class<? extends BgpNeighborRouteReflectorConfig>
default @NonNull Boolean
Return routeReflectorClient, guaranteed to be non-null.default @NonNull RrClusterIdType
Return routeReflectorClusterId, guaranteed to be non-null.
-
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 BgpNeighborRouteReflectorConfig> 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
-
getRouteReflectorClusterId
RrClusterIdType getRouteReflectorClusterId()Return routeReflectorClusterId, ornull
if it is not present.route-reflector cluster id to use when local router is configured as a route reflector. Commonly set at the group level, but allows a different cluster id to be set for each neighbor.
- Returns:
RrClusterIdType
routeReflectorClusterId, ornull
if it is not present.
-
requireRouteReflectorClusterId
Return routeReflectorClusterId, guaranteed to be non-null.route-reflector cluster id to use when local router is configured as a route reflector. Commonly set at the group level, but allows a different cluster id to be set for each neighbor.
- Returns:
RrClusterIdType
routeReflectorClusterId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if routeReflectorClusterId is not present
-
getRouteReflectorClient
Boolean getRouteReflectorClient()Return routeReflectorClient, ornull
if it is not present.Configure the neighbor as a route reflector client.
- Returns:
Boolean
routeReflectorClient, ornull
if it is not present.
-
requireRouteReflectorClient
Return routeReflectorClient, guaranteed to be non-null.Configure the neighbor as a route reflector client.
- Returns:
Boolean
routeReflectorClient, guaranteed to be non-null.- Throws:
NoSuchElementException
- if routeReflectorClient is not present
-