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 Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getHealthmonitorId()
The healthmonitor associated with this pool.String
getLbAlgorithm()
The load-balancer algorithm, which is round-robin, least-connections, and so on.@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.Class<? extends ProtocolBase>
getProtocol()
The protocol the front end listens for.SessionPersistence
getSessionPersistence()
The session persistence algorithm.Class<? extends PoolAttributes>
implementedInterface()
Boolean
isAdminStateUp()
The administrative state of the pool, which is up (true) or down (false).
-
-
-
Method Detail
-
implementedInterface
Class<? extends PoolAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.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
, ornull
if not present
-
getProtocol
Class<? extends ProtocolBase> getProtocol()
The protocol the front end listens for.- Returns:
java.lang.Class
protocol
, ornull
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
, ornull
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
, ornull
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
, ornull
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
, ornull
if not present
-
-