Class NeutronTrunksNorthbound

    • Constructor Detail

      • NeutronTrunksNorthbound

        @Inject
        public NeutronTrunksNorthbound​(INeutronTrunkCRUD neutronCRUD)
    • Method Detail

      • listGroups

        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response listGroups​(@QueryParam("fields")
                                                    List<String> fields,
                                                    @QueryParam("id")
                                                    String queryUUID,
                                                    @QueryParam("tenant_id")
                                                    String queryTenantID,
                                                    @QueryParam("status")
                                                    String queryStatus,
                                                    @QueryParam("name")
                                                    String queryName,
                                                    @QueryParam("limit")
                                                    String limit,
                                                    @QueryParam("marker")
                                                    String marker,
                                                    @QueryParam("page_reverse")
                                                    String pageReverse)
        Returns a list of all Trunks.
      • showTrunk

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

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response createTrunks​(NeutronTrunkRequest input)
        Creates new Trunk.
      • updateTrunk

        @Path("{trunkUUID}")
        @PUT
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response updateTrunk​(@PathParam("trunkUUID")
                                                     String trunkUUID,
                                                     NeutronTrunkRequest input)
        Updates a Trunk.
      • deleteTrunk

        @Path("{trunkUUID}")
        @DELETE
        public javax.ws.rs.core.Response deleteTrunk​(@PathParam("trunkUUID")
                                                     String trunkUUID)
        Deletes a Trunk.