Class LbPoolServiceImpl

    • Constructor Detail

      • LbPoolServiceImpl

        public LbPoolServiceImpl()
    • Method Detail

      • list

        public List<? extends LbPool> list()
        List all lb pools that the current tenant has access to
        Specified by:
        list in interface LbPoolService
        Returns:
        list of all lb pools
      • list

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

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

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

        public LbPool create​(LbPool lbPool)
        Create a lb Pool
        Specified by:
        create in interface LbPoolService
        Parameters:
        lbPool - LbPool
        Returns:
        Member
      • update

        public LbPool update​(String lbPoolId,
                             LbPoolUpdate lbPool)
        Update a lb pool
        Specified by:
        update in interface LbPoolService
        Parameters:
        lbPoolId - the lb pool identifier
        lbPool - LbPoolUpdate
        Returns:
        LbPool
      • stats

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

        public HealthMonitor associateHealthMonitor​(String lbPoolId,
                                                    String healthMonitorId)
        Associates a health monitor with a specified pool.
        Specified by:
        associateHealthMonitor in interface LbPoolService
        Parameters:
        lbPoolId - the lb pool identifier
        Returns:
        HealthMonitor
      • disAssociateHealthMonitor

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