Interface NatPoolService

  • All Known Implementing Classes:
    NatPoolServiceImpl

    public interface NatPoolService
    This interface defines all methods for the manipulation of nat-pool
    Author:
    vinod borole
    • Method Detail

      • list

        List<? extends NatPool> list()
        List all nat pool
        Returns:
        List of nat pool
      • list

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

        NatPool get​(String id)
        Get the specified nat pool by ID
        Parameters:
        id - the nat pool id
        Returns:
        nat pool or null if not found
      • delete

        ActionResponse delete​(String id)
        Delete of the nat pool
        Parameters:
        id - the nat pool id
        Returns:
        the action response
      • create

        NatPool create​(NatPool natpool)
        Create a new nat pool
        Parameters:
        nat - pool
        Returns:
        the newly created nat pool
      • update

        NatPool update​(String natpoolId,
                       NatPool natpool)
        Updates an existing nat pool
        Parameters:
        nat - pool identifier
        nat - pool that is be used to updated
        Returns:
        the updated nat pool