Interface BgpNeighborRouteReflectorConfig
- 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
@Generated("mdsal-binding-generator")
public interface BgpNeighborRouteReflectorConfig
extends org.opendaylight.yangtools.binding.Grouping
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;
}
}
-
Method Summary
Modifier and TypeMethodDescriptionReturn routeReflectorClient, ornullif it is not present.Return routeReflectorClusterId, ornullif it is not present.default @NonNull BooleanReturn routeReflectorClient, guaranteed to be non-null.default @NonNull RrClusterIdTypeReturn routeReflectorClusterId, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getRouteReflectorClusterId
RrClusterIdType getRouteReflectorClusterId()Return routeReflectorClusterId, ornullif 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:
RrClusterIdTyperouteReflectorClusterId, ornullif 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:
RrClusterIdTyperouteReflectorClusterId, guaranteed to be non-null.- Throws:
NoSuchElementException- if routeReflectorClusterId is not present
-
getRouteReflectorClient
Boolean getRouteReflectorClient()Return routeReflectorClient, ornullif it is not present.Configure the neighbor as a route reflector client.- Returns:
BooleanrouteReflectorClient, ornullif it is not present.
-
requireRouteReflectorClient
Return routeReflectorClient, guaranteed to be non-null.Configure the neighbor as a route reflector client.- Returns:
BooleanrouteReflectorClient, guaranteed to be non-null.- Throws:
NoSuchElementException- if routeReflectorClient is not present
-