Interface BgpNeighborMultihopConfig

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

@Generated("mdsal-binding-generator") public interface BgpNeighborMultihopConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration parameters specifying the multihop behaviour for BGP sessions to the peer

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

 grouping bgp-neighbor-multihop_config {
   leaf enabled {
     type boolean;
     default false;
   }
   leaf multihop-ttl {
     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 enabled, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint8
    Return multihopTtl, or null if it is not present.
     
    default @NonNull Boolean
    Return enabled, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint8
    Return multihopTtl, 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 BgpNeighborMultihopConfig> 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
    • getEnabled

      Boolean getEnabled()
      Return enabled, or null if it is not present.
           
               When enabled the referenced group or neighbors are permitted to be indirectly
               connected - including cases where the TTL can be decremented between the BGP
               peers
           
       
      Returns:
      Boolean enabled, or null if it is not present.
    • requireEnabled

      default @NonNull Boolean requireEnabled()
      Return enabled, guaranteed to be non-null.
           
               When enabled the referenced group or neighbors are permitted to be indirectly
               connected - including cases where the TTL can be decremented between the BGP
               peers
           
       
      Returns:
      Boolean enabled, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if enabled is not present
    • getMultihopTtl

      org.opendaylight.yangtools.yang.common.Uint8 getMultihopTtl()
      Return multihopTtl, or null if it is not present.
           
               Time-to-live value to use when packets are sent to the referenced group or
               neighbors and ebgp-multihop is enabled
           
       
      Returns:
      Uint8 multihopTtl, or null if it is not present.
    • requireMultihopTtl

      default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireMultihopTtl()
      Return multihopTtl, guaranteed to be non-null.
           
               Time-to-live value to use when packets are sent to the referenced group or
               neighbors and ebgp-multihop is enabled
           
       
      Returns:
      Uint8 multihopTtl, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if multihopTtl is not present