Interface BgpNeighborRouteReflectorConfig
-
- All Superinterfaces:
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-reflectorThis 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; } }
The schema path to identify an instance is openconfig-bgpbgp-neighbor-route-reflector_config
-
-
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 Boolean
getRouteReflectorClient()
Return routeReflectorClient, ornull
if it is not present.RrClusterIdType
getRouteReflectorClusterId()
Return routeReflectorClusterId, ornull
if it is not present.Class<? extends BgpNeighborRouteReflectorConfig>
implementedInterface()
default @NonNull Boolean
requireRouteReflectorClient()
Return routeReflectorClient, guaranteed to be non-null.default @NonNull RrClusterIdType
requireRouteReflectorClusterId()
Return routeReflectorClusterId, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends BgpNeighborRouteReflectorConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.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
default @NonNull RrClusterIdType 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
default @NonNull Boolean 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
-
-