Interface BgpNeighborAddPathsConfig

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

    @Generated("mdsal-binding-generator")
    public interface BgpNeighborAddPathsConfig
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Configuration parameters specfying whether the local system will send or multiple paths using ADD_PATHS

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

     grouping bgp-neighbor-add-paths_config {
       leaf receive {
         type boolean;
         default false;
       }
       leaf send-max {
         type uint8;
       }
     }
     
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        Boolean getReceive()
        Return receive, or null if it is not present.
             
                 Enable ability to receive multiple path advertisements for an NLRI from the
                 neighbor or group
             
         
        Returns:
        Boolean receive, or null if it is not present.
      • requireReceive

        default @NonNull Boolean requireReceive()
        Return receive, guaranteed to be non-null.
             
                 Enable ability to receive multiple path advertisements for an NLRI from the
                 neighbor or group
             
         
        Returns:
        Boolean receive, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if receive is not present
      • getSendMax

        org.opendaylight.yangtools.yang.common.Uint8 getSendMax()
        Return sendMax, or null if it is not present.
             
                 The maximum number of paths to advertise to neighbors for a single NLRI
             
         
        Returns:
        Uint8 sendMax, or null if it is not present.
      • requireSendMax

        default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireSendMax()
        Return sendMax, guaranteed to be non-null.
             
                 The maximum number of paths to advertise to neighbors for a single NLRI
             
         
        Returns:
        Uint8 sendMax, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if sendMax is not present