Interface BgpUseMultiplePathsConfig

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

    @Generated("mdsal-binding-generator")
    public interface BgpUseMultiplePathsConfig
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Generic configuration options relating to use of multiple paths for a AFI-SAFI, group or neighbor

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

     grouping bgp-use-multiple-paths_config {
       leaf enabled {
         type boolean;
         default false;
       }
     }
     
    The schema path to identify an instance is openconfig-bgp-multiprotocolbgp-use-multiple-paths_config
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends BgpUseMultiplePathsConfig> implementedInterface()
        Specified by:
        implementedInterface in interface 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.
             
                 Whether the use of multiple paths for the same NLRI is enabled for the neighbor.
                 This value is overridden by any more specific configuration value.
             
         
        Returns:
        Boolean enabled, or null if it is not present.
      • requireEnabled

        default @NonNull Boolean requireEnabled()
        Return enabled, guaranteed to be non-null.
             
                 Whether the use of multiple paths for the same NLRI is enabled for the neighbor.
                 This value is overridden by any more specific configuration value.
             
         
        Returns:
        Boolean enabled, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if enabled is not present