Interface PoolAttributes

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

    @Generated("mdsal-binding-generator")
    public interface PoolAttributes
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module neutron-lbaasv2

     grouping pool-attributes {
       leaf admin-state-up {
         type boolean;
       }
       leaf protocol {
         type identityref {
           base protocol-base;
         }
       }
       leaf lb-algorithm {
         type string;
       }
       leaf healthmonitor-id {
         type yang:uuid;
       }
       leaf-list listeners {
         type yang:uuid;
       }
       container session-persistence {
         leaf cookie-name {
           type string;
         }
         leaf type {
           type string;
         }
       }
     }
     
    The schema path to identify an instance is neutron-lbaasv2/pool-attributes
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        Boolean getAdminStateUp()
        Return adminStateUp, or null if it is not present.
             
                 The administrative state of the pool, which is up (true) or down (false).
             
         
        Returns:
        java.lang.Boolean adminStateUp, or null if it is not present.
      • isAdminStateUp

        @Deprecated(forRemoval=true)
        default Boolean isAdminStateUp()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getProtocol

        Class<? extends ProtocolBase> getProtocol()
        Return protocol, or null if it is not present.
             
                 The protocol the front end listens for.
             
         
        Returns:
        java.lang.Class protocol, or null if it is not present.
      • getLbAlgorithm

        String getLbAlgorithm()
        Return lbAlgorithm, or null if it is not present.
             
                 The load-balancer algorithm, which is round-robin, least-connections, and so on.
                 This value, which must be supported, is dependent on the load-balancer provider.
                 Round-robin must be supported.
             
         
        Returns:
        java.lang.String lbAlgorithm, or null if it is not present.
      • getHealthmonitorId

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getHealthmonitorId()
        Return healthmonitorId, or null if it is not present.
             
                 The healthmonitor associated with this pool.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid healthmonitorId, or null if it is not present.
      • getListeners

        @Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getListeners()
        Return listeners, or null if it is not present.
             
                 List of listeners that belong to the pool.
             
         
        Returns:
        java.util.List listeners, or null if it is not present.
      • getSessionPersistence

        SessionPersistence getSessionPersistence()
        Return sessionPersistence, or null if it is not present.
             
                 The session persistence algorithm. This algorithm is a dictionary with type and
                 cookie_name keys.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.lbaasv2.rev150712.pool.attributes.SessionPersistence sessionPersistence, or null if it is not present.