Interface MadConfed

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<MadConfed>, BestpathSelection, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChoiceIn<Bestpath>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface MadConfed
    extends org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Augmentable<MadConfed>, BestpathSelection
    Configure a BGP routing process to compare the Multi Exit Discriminator (MED) between paths learned from confederation peers.

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

     case mad-confed {
       leaf enable {
         type boolean;
         default false;
       }
       leaf missing-as-worst {
         type boolean;
         default false;
       }
     }
     
    The schema path to identify an instance is bgp/bgp-af-config/bestpath/bestpath-selection/mad-confed
    • 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
      default java.lang.Class<MadConfed> implementedInterface()  
      @Nullable java.lang.Boolean isEnable()  
      @Nullable java.lang.Boolean isMissingAsWorst()
      Assigns a value of infinity to routes that are missing the Multi Exit Discriminator (MED) attribute, making the path without a MED value the least desirable path
      • Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable

        augmentation
    • Field Detail

      • QNAME

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

      • implementedInterface

        default java.lang.Class<MadConfed> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • isEnable

        @Nullable java.lang.Boolean isEnable()
        Returns:
        java.lang.Boolean enable, or null if not present
      • isMissingAsWorst

        @Nullable java.lang.Boolean isMissingAsWorst()
        Assigns a value of infinity to routes that are missing the Multi Exit Discriminator (MED) attribute, making the path without a MED value the least desirable path
        Returns:
        java.lang.Boolean missingAsWorst, or null if not present