Class NeutronRoutersNorthbound

    • Constructor Detail

      • NeutronRoutersNorthbound

        @Inject
        public NeutronRoutersNorthbound​(INeutronRouterCRUD neutronCRUD)
    • Method Detail

      • listRouters

        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response listRouters​(@QueryParam("fields")
                                                     List<String> fields,
                                                     @QueryParam("id")
                                                     String queryID,
                                                     @QueryParam("name")
                                                     String queryName,
                                                     @QueryParam("admin_state_up")
                                                     Boolean queryAdminStateUp,
                                                     @QueryParam("status")
                                                     String queryStatus,
                                                     @QueryParam("tenant_id")
                                                     String queryTenantID,
                                                     @QueryParam("external_gateway_info")
                                                     String queryExternalGatewayInfo,
                                                     @QueryParam("limit")
                                                     String limit,
                                                     @QueryParam("marker")
                                                     String marker,
                                                     @QueryParam("page_reverse")
                                                     String pageReverse)
        Returns a list of all Routers.
      • showRouter

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

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response createRouters​(NeutronRouterRequest input)
        Creates new Routers.
      • updateRouter

        @Path("{routerUUID}")
        @PUT
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response updateRouter​(@PathParam("routerUUID")
                                                      String routerUUID,
                                                      NeutronRouterRequest input)
        Updates a Router.
      • deleteRouter

        @Path("{routerUUID}")
        @DELETE
        public javax.ws.rs.core.Response deleteRouter​(@PathParam("routerUUID")
                                                      String routerUUID)
        Deletes a Router.
      • addRouterInterface

        @Path("{routerUUID}/add_router_interface")
        @PUT
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response addRouterInterface​(@PathParam("routerUUID")
                                                            String routerUUID,
                                                            NeutronRouterInterface input)
        Adds an interface to a router.
      • removeRouterInterface

        @Path("{routerUUID}/remove_router_interface")
        @PUT
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response removeRouterInterface​(@PathParam("routerUUID")
                                                               String routerUUID,
                                                               NeutronRouterInterface input)