Interface LbPoolService

  • All Superinterfaces:
    RestService
    All Known Implementing Classes:
    LbPoolServiceImpl

    public interface LbPoolService
    extends RestService
    Networking (Neutron) Lbaas pool Extension API
    Author:
    liujunpeng
    • Method Detail

      • list

        List<? extends LbPool> list()
        List all lb pools that the current tenant has access to
        Returns:
        list of all lb pools
      • list

        List<? extends LbPool> list​(Map<String,​String> filteringParams)
        Returns list of lb pools filtered by parameters.
        Parameters:
        filteringParams - map (name, value) of filtering parameters
        Returns:
        List
      • get

        LbPool get​(String lbPoolId)
        Get the specified lb pool by ID
        Parameters:
        lbPoolId - the lb pool identifier
        Returns:
        the lbPool or null if not found
      • delete

        ActionResponse delete​(String lbPoolId)
        Delete the specified lb Pool by ID
        Parameters:
        lbPoolId - the lb pool identifier
        Returns:
        the action response
      • create

        LbPool create​(LbPool lbPool)
        Create a lb Pool
        Parameters:
        lbPool - LbPool
        Returns:
        Member
      • update

        LbPool update​(String lbPoolId,
                      LbPoolUpdate lbPool)
        Update a lb pool
        Parameters:
        lbPoolId - the lb pool identifier
        lbPool - LbPoolUpdate
        Returns:
        LbPool
      • stats

        LbPoolStats stats​(String lbPoolId)
        Get the LbPool Stats by ID
        Parameters:
        lbPoolId - , the lb pool identifier
      • associateHealthMonitor

        HealthMonitor associateHealthMonitor​(String lbPoolId,
                                             HealthMonitorAssociate associate)
        Associates a health monitor with a specified pool.
        Parameters:
        lbPoolId - the lb pool identifier
        associate - HealthMonitorAssociate
        Returns:
        HealthMonitor
      • associateHealthMonitor

        HealthMonitor associateHealthMonitor​(String lbPoolId,
                                             String healthMonitorId)
        Associates a health monitor with a specified pool.
        Parameters:
        lbPoolId - the lb pool identifier
        associate - HealthMonitorAssociate
        Returns:
        HealthMonitor
      • disAssociateHealthMonitor

        ActionResponse disAssociateHealthMonitor​(String lbPoolId,
                                                 String healthMonitorId)
        Disassociates a specified health monitor from a pool.
        Parameters:
        lbPoolId - the lb pool identifier
        healthMonitorId - the healthMonitor identifier
        Returns:
        ActionResponse