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

    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 Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends ListenerAttributes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getDefaultPoolId

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getDefaultPoolId()
        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, or null if not present
      • isAdminStateUp

        Boolean isAdminStateUp()
        The administrative state of the listener, 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
      • getProtocolPort

        org.opendaylight.yangtools.yang.common.Uint16 getProtocolPort()
        The port on which the front end listens.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 protocolPort, or null if not present
      • getLoadbalancers

        @Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getLoadbalancers()
        List of loadbalancers on which this listener is provisioned.
        Returns:
        java.util.List loadbalancers, or null if not present
      • getConnectionLimit

        Integer getConnectionLimit()
        Maximum connections this load balancer can have. Default is infinite.
        Returns:
        java.lang.Integer connectionLimit, or null if not present