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
All Known Subinterfaces:
Config, State

@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 Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends BgpNeighborRouteReflectorConfig> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getRouteReflectorClusterId

      RrClusterIdType getRouteReflectorClusterId()
      Return routeReflectorClusterId, or null 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, or null 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, or null if it is not present.
           
               Configure the neighbor as a route reflector client.
           
       
      Returns:
      Boolean routeReflectorClient, or null 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