Interface BgpNeighborAddPathsConfig

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, 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 Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return receive, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint8
    Return sendMax, or null if it is not present.
     
    default @NonNull Boolean
    Return receive, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint8
    Return sendMax, guaranteed to be non-null.
  • 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 BgpNeighborAddPathsConfig> 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
    • 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