Class NeutronVpnServicesNorthbound

    • Constructor Detail

      • NeutronVpnServicesNorthbound

        @Inject
        public NeutronVpnServicesNorthbound​(INeutronVpnServiceCRUD neutronCRUD)
    • Method Detail

      • listVPNServices

        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response listVPNServices​(@QueryParam("fields")
                                                         List<String> fields,
                                                         @QueryParam("id")
                                                         String queryID,
                                                         @QueryParam("tenant_id")
                                                         String queryTenantID,
                                                         @QueryParam("name")
                                                         String queryName,
                                                         @QueryParam("admin_state_up")
                                                         Boolean queryAdminStateUp,
                                                         @QueryParam("router_id")
                                                         String queryRouterID,
                                                         @QueryParam("status")
                                                         String queryStatus,
                                                         @QueryParam("subnet_id")
                                                         String querySubnetID,
                                                         @QueryParam("limit")
                                                         String limit,
                                                         @QueryParam("marker")
                                                         String marker,
                                                         @QueryParam("page_reverse")
                                                         String pageReverse)
        Returns a list of all VPN Services.
      • showVPNService

        @Path("{serviceID}")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response showVPNService​(@PathParam("serviceID")
                                                        String serviceID,
                                                        @QueryParam("fields")
                                                        List<String> fields)
        Returns a specific VPN Service.
      • createVPNService

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response createVPNService​(NeutronVpnServiceRequest input)
        Creates new VPN Service.
      • updateVPNService

        @Path("{serviceID}")
        @PUT
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response updateVPNService​(@PathParam("serviceID")
                                                          String serviceID,
                                                          NeutronVpnServiceRequest input)
        Updates a VPN Service.
      • deleteVPNService

        @Path("{serviceID}")
        @DELETE
        public javax.ws.rs.core.Response deleteVPNService​(@PathParam("serviceID")
                                                          String serviceID)
        Deletes a VPN Service.