Interface L3policyService

  • All Known Implementing Classes:
    L3policyServiceImpl

    public interface L3policyService
    This interface defines all methods for the manipulation of l3policy
    Author:
    vinod borole
    • Method Detail

      • list

        List<? extends L3Policy> list()
        List all l3 policies
        Returns:
        List of l3 policies
      • list

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

        L3Policy get​(String id)
        Get the specified l3 policy by ID
        Parameters:
        id - the l3 policy id
        Returns:
        l3 policy or null if not found
      • delete

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

        L3Policy create​(L3Policy l3Policy)
        Create a new l3 policy
        Parameters:
        l3 - policy
        Returns:
        the newly created l3 policy
      • update

        L3Policy update​(String l3PolicyId,
                        L3Policy l3Policy)
        Updates an existing l3 policy
        Parameters:
        l3 - policy identifier
        l3 - policy that is be used to updated
        Returns:
        the updated l3 policy