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 Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description Boolean
getAdminStateUp()
Return adminStateUp, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getHealthmonitorId()
Return healthmonitorId, ornull
if it is not present.String
getLbAlgorithm()
Return lbAlgorithm, ornull
if it is not present.@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>
getListeners()
Return listeners, ornull
if it is not present.Class<? extends ProtocolBase>
getProtocol()
Return protocol, ornull
if it is not present.SessionPersistence
getSessionPersistence()
Return sessionPersistence, ornull
if it is not present.Class<? extends PoolAttributes>
implementedInterface()
default Boolean
isAdminStateUp()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
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
-
getAdminStateUp
Boolean getAdminStateUp()
Return adminStateUp, ornull
if it is not present.The administrative state of the pool, which is up (true) or down (false).
- Returns:
java.lang.Boolean
adminStateUp, ornull
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, ornull
if it is not present.The protocol the front end listens for.
- Returns:
java.lang.Class
protocol, ornull
if it is not present.
-
getLbAlgorithm
String getLbAlgorithm()
Return lbAlgorithm, ornull
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, ornull
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, ornull
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, ornull
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, ornull
if it is not present.List of listeners that belong to the pool.
- Returns:
java.util.List
listeners, ornull
if it is not present.
-
getSessionPersistence
SessionPersistence getSessionPersistence()
Return sessionPersistence, ornull
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, ornull
if it is not present.
-
-