Class NeutronSubnetsNorthbound

    • Constructor Detail

      • NeutronSubnetsNorthbound

        @Inject
        public NeutronSubnetsNorthbound​(INeutronSubnetCRUD neutronCRUD)
    • Method Detail

      • listSubnets

        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response listSubnets​(@QueryParam("fields")
                                                     List<String> fields,
                                                     @QueryParam("id")
                                                     String queryID,
                                                     @QueryParam("network_id")
                                                     String queryNetworkID,
                                                     @QueryParam("name")
                                                     String queryName,
                                                     @QueryParam("ip_version")
                                                     Integer queryIPVersion,
                                                     @QueryParam("cidr")
                                                     String queryCIDR,
                                                     @QueryParam("gateway_ip")
                                                     String queryGatewayIp,
                                                     @QueryParam("enable_dhcp")
                                                     Boolean queryEnableDHCP,
                                                     @QueryParam("tenant_id")
                                                     String queryTenantID,
                                                     @QueryParam("ipv6_address_mode")
                                                     String queryIpV6AddressMode,
                                                     @QueryParam("ipv6_ra_mode")
                                                     String queryIpV6RaMode,
                                                     @QueryParam("limit")
                                                     Integer limit,
                                                     @QueryParam("marker")
                                                     String marker,
                                                     @DefaultValue("false") @QueryParam("page_reverse")
                                                     Boolean pageReverse)
        Returns a list of all Subnets.
      • showSubnet

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

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response createSubnets​(NeutronSubnetRequest input)
        Creates new Subnets.
      • updateSubnet

        @Path("{subnetUUID}")
        @PUT
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response updateSubnet​(@PathParam("subnetUUID")
                                                      String subnetUUID,
                                                      NeutronSubnetRequest input)
        Updates a Subnet.
      • deleteSubnet

        @Path("{subnetUUID}")
        @DELETE
        public javax.ws.rs.core.Response deleteSubnet​(@PathParam("subnetUUID")
                                                      String subnetUUID)
        Deletes a Subnet.