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.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description BooleangetAdminStateUp()Return adminStateUp, ornullif it is not present.IntegergetConnectionLimit()Return connectionLimit, ornullif it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.UuidgetDefaultPoolId()Return defaultPoolId, ornullif 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, ornullif it is not present.Class<? extends ProtocolBase>getProtocol()Return protocol, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint16getProtocolPort()Return protocolPort, ornullif it is not present.Class<? extends ListenerAttributes>implementedInterface()default BooleanisAdminStateUp()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
implementedInterface
Class<? extends ListenerAttributes> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein 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, ornullif 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.UuiddefaultPoolId, ornullif it is not present.
-
getAdminStateUp
Boolean getAdminStateUp()
Return adminStateUp, ornullif it is not present.The administrative state of the listener, which is up (true) or down (false).- Returns:
java.lang.BooleanadminStateUp, ornullif 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, ornullif it is not present.The protocol the front end listens for.- Returns:
java.lang.Classprotocol, ornullif it is not present.
-
getProtocolPort
org.opendaylight.yangtools.yang.common.Uint16 getProtocolPort()
Return protocolPort, ornullif it is not present.The port on which the front end listens.- Returns:
org.opendaylight.yangtools.yang.common.Uint16protocolPort, ornullif 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, ornullif it is not present.List of loadbalancers on which this listener is provisioned.- Returns:
java.util.Listloadbalancers, ornullif it is not present.
-
getConnectionLimit
Integer getConnectionLimit()
Return connectionLimit, ornullif it is not present.Maximum connections this load balancer can have. Default is infinite.- Returns:
java.lang.IntegerconnectionLimit, ornullif it is not present.
-
-