Class NeutronNetworksNorthbound

    • Constructor Detail

      • NeutronNetworksNorthbound

        @Inject
        public NeutronNetworksNorthbound​(INeutronNetworkCRUD neutronNetworkCRUD)
    • Method Detail

      • listNetworks

        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response listNetworks​(@QueryParam("fields")
                                                      List<String> fields,
                                                      @QueryParam("id")
                                                      String queryID,
                                                      @QueryParam("name")
                                                      String queryName,
                                                      @QueryParam("admin_state_up")
                                                      String queryAdminStateUp,
                                                      @QueryParam("status")
                                                      String queryStatus,
                                                      @QueryParam("shared")
                                                      String queryShared,
                                                      @QueryParam("tenant_id")
                                                      String queryTenantID,
                                                      @QueryParam("router_external")
                                                      String queryRouterExternal,
                                                      @QueryParam("provider_network_type")
                                                      String queryProviderNetworkType,
                                                      @QueryParam("provider_physical_network")
                                                      String queryProviderPhysicalNetwork,
                                                      @QueryParam("provider_segmentation_id")
                                                      String queryProviderSegmentationID,
                                                      @QueryParam("qos_policy_id")
                                                      String queryQosPolicyId,
                                                      @QueryParam("limit")
                                                      Integer limit,
                                                      @QueryParam("marker")
                                                      String marker,
                                                      @DefaultValue("false") @QueryParam("page_reverse")
                                                      Boolean pageReverse)
        Returns a list of all Networks.
      • showNetwork

        @Path("{netUUID}")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response showNetwork​(@PathParam("netUUID")
                                                     String netUUID,
                                                     @QueryParam("fields")
                                                     List<String> fields)
        Returns a specific Network.
      • createNetworks

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response createNetworks​(NeutronNetworkRequest input)
        Creates new Networks.
      • updateNetwork

        @Path("{netUUID}")
        @PUT
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response updateNetwork​(@PathParam("netUUID")
                                                       String netUUID,
                                                       NeutronNetworkRequest input)
        Updates a Network.
      • deleteNetwork

        @Path("{netUUID}")
        @DELETE
        public javax.ws.rs.core.Response deleteNetwork​(@PathParam("netUUID")
                                                       String netUUID)
        Deletes a Network.