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

    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
      • isAdminStateUp

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

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

        String getLbAlgorithm()
        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 not present
      • getHealthmonitorId

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getHealthmonitorId()
        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 not present
      • getListeners

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

        SessionPersistence getSessionPersistence()
        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 not present