Interface NetworkService

  • All Superinterfaces:
    RestService
    All Known Implementing Classes:
    NetworkServiceImpl

    public interface NetworkService
    extends RestService
    OpenStack (Neutron) Network based Operations
    Author:
    Jeremy Unruh
    • Method Detail

      • list

        List<? extends Network> list​(Map<String,​String> filteringParams)
        Parameters:
        filteringParams - map (name, value) of filtering parameters
        Returns:
        List of Network
      • list

        List<? extends Network> list()
        Lists the networks to which the current authorized tenant has access
        Returns:
        List of Network
      • get

        Network get​(String networkId)
        Gets the network by ID
        Parameters:
        networkId - the network identifier
        Returns:
        the Network or null if not found
      • update

        Network update​(String networkId,
                       NetworkUpdate network)
        Updates a network associated by the specified networkId
        Parameters:
        networkId - the network identifier
        network - the network options to update (see Builders.networkUpdate()
        Returns:
        the updated network
      • delete

        ActionResponse delete​(String networkId)
        Deletes a specified network and its associated resources
        Parameters:
        networkId - the network identifier
        Returns:
        the action response
      • create

        Network create​(Network network)
        Creates a new Network
        Parameters:
        network - the network to create
        Returns:
        the newly created network