Interface ListenerAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Listener
@Generated("mdsal-binding-generator") public interface ListenerAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
LBaaSV2.0 listener attributes.This class represents the following YANG schema fragment defined in module neutron-lbaasv2
grouping listener-attributes { leaf default-pool-id { type yang:uuid; } leaf admin-state-up { type boolean; default true; } leaf protocol { type identityref { base protocol-base; } } leaf protocol-port { type uint16 { range 0..65535; } } leaf-list loadbalancers { type yang:uuid; } leaf connection-limit { type int32 { range -1..65535; } default -1; } }
The schema path to identify an instance is neutron-lbaasv2/listener-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.Integer
getConnectionLimit()
Return connectionLimit, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getDefaultPoolId()
Return defaultPoolId, ornull
if it is not present.@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>
getLoadbalancers()
Return loadbalancers, ornull
if it is not present.Class<? extends ProtocolBase>
getProtocol()
Return protocol, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getProtocolPort()
Return protocolPort, ornull
if it is not present.Class<? extends ListenerAttributes>
implementedInterface()
default Boolean
isAdminStateUp()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
implementedInterface
Class<? extends ListenerAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getDefaultPoolId
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getDefaultPoolId()
Return defaultPoolId, ornull
if it is not present.ID of default pool. Must have compatible protocol with listener.
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
defaultPoolId, ornull
if it is not present.
-
getAdminStateUp
Boolean getAdminStateUp()
Return adminStateUp, ornull
if it is not present.The administrative state of the listener, 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.
-
getProtocolPort
org.opendaylight.yangtools.yang.common.Uint16 getProtocolPort()
Return protocolPort, ornull
if it is not present.The port on which the front end listens.
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
protocolPort, ornull
if it is not present.
-
getLoadbalancers
@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getLoadbalancers()
Return loadbalancers, ornull
if it is not present.List of loadbalancers on which this listener is provisioned.
- Returns:
java.util.List
loadbalancers, ornull
if it is not present.
-
getConnectionLimit
Integer getConnectionLimit()
Return connectionLimit, ornull
if it is not present.Maximum connections this load balancer can have. Default is infinite.
- Returns:
java.lang.Integer
connectionLimit, ornull
if it is not present.
-
-