Interface BgpNeighborMultihopConfig

  • 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 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;
       }
     }
     
    The schema path to identify an instance is openconfig-bgp/bgp-neighbor-multihop_config
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable Boolean isEnabled()
        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:
        java.lang.Boolean enabled, or null if not present
      • getMultihopTtl

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