Interface BgpDefaultRouteDistanceConfig

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Config, State

    public interface BgpDefaultRouteDistanceConfig
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Configuration options relating to the administrative distance (or preference) assigned to routes received from different sources (external, internal, and local).

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

     grouping bgp-default-route-distance_config {
       leaf external-route-distance {
         type uint8 {
           range 1..255;
         }
       }
       leaf internal-route-distance {
         type uint8 {
           range 1..255;
         }
       }
     }
     
    The schema path to identify an instance is openconfig-bgp/bgp-default-route-distance_config
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

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

        org.opendaylight.yangtools.yang.common.Uint8 getExternalRouteDistance()
        Administrative distance for routes learned from external BGP (eBGP).
        Returns:
        org.opendaylight.yangtools.yang.common.Uint8 externalRouteDistance, or null if not present
      • getInternalRouteDistance

        org.opendaylight.yangtools.yang.common.Uint8 getInternalRouteDistance()
        Administrative distance for routes learned from internal BGP (iBGP).
        Returns:
        org.opendaylight.yangtools.yang.common.Uint8 internalRouteDistance, or null if not present