All Superinterfaces:
BgpGracefulRestart, BgpRouteSelectionOptions, BgpUseMultiplePaths, 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:
Global

@Generated("mdsal-binding-generator") public interface BgpGlobalBase extends org.opendaylight.yangtools.yang.binding.DataObject, BgpRouteSelectionOptions, BgpUseMultiplePaths, BgpGracefulRestart
Global configuration parameters for the BGP router

This class represents the following YANG schema fragment defined in module openconfig-bgp

 grouping bgp-global-base {
   container config {
     uses bgp-global_config;
     presence "";
   }
   container state {
     config false;
     uses bgp-global_config;
     uses bgp-op:bgp-global_state;
   }
   uses bgp-mp:bgp-route-selection-options;
   container default-route-distance {
     container config {
       uses bgp-default-route-distance_config;
     }
     container state {
       config false;
       uses bgp-default-route-distance_config;
     }
   }
   container confederation {
     container config {
       uses bgp-confederation_config;
     }
     container state {
       config false;
       uses bgp-confederation_config;
     }
   }
   uses bgp-mp:bgp-use-multiple-paths;
   uses bgp-graceful-restart;
   container afi-safis {
     uses bgp-mp:bgp-common-afi-safi-list;
   }
 }
 
  • 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 BgpGlobalBase> implementedInterface()
      Specified by:
      implementedInterface in interface BgpGracefulRestart
      Specified by:
      implementedInterface in interface BgpRouteSelectionOptions
      Specified by:
      implementedInterface in interface BgpUseMultiplePaths
      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
    • getConfig

      Config getConfig()
      Return config, or null if it is not present.
           
               Configuration parameters relating to the global BGP router
           
       
      Returns:
      Config config, or null if it is not present.
    • getState

      State getState()
      Return state, or null if it is not present.
           
               State information relating to the global BGP router
           
       
      Returns:
      State state, or null if it is not present.
    • nonnullState

      @NonNull State nonnullState()
      Return state, or an empty instance if it is not present.
      Returns:
      State state, or an empty instance if it is not present.
    • getDefaultRouteDistance

      DefaultRouteDistance getDefaultRouteDistance()
      Return defaultRouteDistance, or null if it is not present.
           
               Administrative distance (or preference) assigned to routes received from
               different sources (external, internal, and local).
           
       
      Returns:
      DefaultRouteDistance defaultRouteDistance, or null if it is not present.
    • nonnullDefaultRouteDistance

      @NonNull DefaultRouteDistance nonnullDefaultRouteDistance()
      Return defaultRouteDistance, or an empty instance if it is not present.
      Returns:
      DefaultRouteDistance defaultRouteDistance, or an empty instance if it is not present.
    • getConfederation

      Confederation getConfederation()
      Return confederation, or null if it is not present.
           
               Parameters indicating whether the local system acts as part of a BGP
               confederation
           
       
      Returns:
      Confederation confederation, or null if it is not present.
    • nonnullConfederation

      @NonNull Confederation nonnullConfederation()
      Return confederation, or an empty instance if it is not present.
      Returns:
      Confederation confederation, or an empty instance if it is not present.
    • getAfiSafis

      AfiSafis getAfiSafis()
      Return afiSafis, or null if it is not present.
           
               Address family specific configuration
           
       
      Returns:
      AfiSafis afiSafis, or null if it is not present.
    • nonnullAfiSafis

      @NonNull AfiSafis nonnullAfiSafis()
      Return afiSafis, or an empty instance if it is not present.
      Returns:
      AfiSafis afiSafis, or an empty instance if it is not present.