Class NeutronLoadBalancerPoolNorthbound

    • Constructor Detail

      • NeutronLoadBalancerPoolNorthbound

        @Inject
        public NeutronLoadBalancerPoolNorthbound​(INeutronLoadBalancerPoolCRUD neutronCRUD,
                                                 org.opendaylight.mdsal.binding.api.DataBroker dataBroker)
    • Method Detail

      • listGroups

        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response listGroups​(@QueryParam("fields")
                                                    List<String> fields,
                                                    @QueryParam("id")
                                                    String queryLoadBalancerPoolID,
                                                    @QueryParam("tenant_id")
                                                    String queryLoadBalancerPoolTenantID,
                                                    @QueryParam("name")
                                                    String queryLoadBalancerPoolName,
                                                    @QueryParam("protocol")
                                                    String queryLoadBalancerProtocol,
                                                    @QueryParam("lb_algorithm")
                                                    String queryLoadBalancerPoolLbAlgorithm,
                                                    @QueryParam("healthmonitor_id")
                                                    String queryLoadBalancerPoolHealthMonitorID,
                                                    @QueryParam("admin_state_up")
                                                    Boolean queryLoadBalancerIsAdminStateUp,
                                                    @QueryParam("members")
                                                    List<NeutronLoadBalancerPoolMember> queryLoadBalancerPoolMembers,
                                                    @QueryParam("limit")
                                                    String limit,
                                                    @QueryParam("marker")
                                                    String marker,
                                                    @QueryParam("page_reverse")
                                                    String pageReverse)
        Returns a list of all LoadBalancerPool.
      • showLoadBalancerPool

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

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response createLoadBalancerPools​(NeutronLoadBalancerPoolRequest input)
        Creates new LoadBalancerPool.
      • updateLoadBalancerPool

        @Path("{loadBalancerPoolID}")
        @PUT
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response updateLoadBalancerPool​(@PathParam("loadBalancerPoolID")
                                                                String loadBalancerPoolID,
                                                                NeutronLoadBalancerPoolRequest input)
        Updates a LoadBalancerPool Policy.
      • deleteLoadBalancerPool

        @Path("{loadBalancerPoolUUID}")
        @DELETE
        public javax.ws.rs.core.Response deleteLoadBalancerPool​(@PathParam("loadBalancerPoolUUID")
                                                                String loadBalancerPoolUUID)
        Deletes a LoadBalancerPool.
      • listMembers

        @Path("{loadBalancerPoolUUID}/members")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response listMembers​(@PathParam("loadBalancerPoolUUID")
                                                     String loadBalancerPoolUUID,
                                                     @QueryParam("fields")
                                                     List<String> fields,
                                                     @QueryParam("id")
                                                     String queryLoadBalancerPoolMemberID,
                                                     @QueryParam("tenant_id")
                                                     String queryLoadBalancerPoolMemberTenantID,
                                                     @QueryParam("address")
                                                     String queryLoadBalancerPoolMemberAddress,
                                                     @QueryParam("protocol_port")
                                                     String queryLoadBalancerPoolMemberProtoPort,
                                                     @QueryParam("admin_state_up")
                                                     Boolean queryLoadBalancerPoolMemberAdminStateUp,
                                                     @QueryParam("weight")
                                                     Integer queryLoadBalancerPoolMemberWeight,
                                                     @QueryParam("subnet_id")
                                                     String queryLoadBalancerPoolMemberSubnetID,
                                                     @QueryParam("limit")
                                                     String limit,
                                                     @QueryParam("marker")
                                                     String marker,
                                                     @QueryParam("page_reverse")
                                                     String pageReverse)
        Returns a list of all LoadBalancerPoolMembers in specified pool.
      • showLoadBalancerPoolMember

        @Path("{loadBalancerPoolUUID}/members/{loadBalancerPoolMemberUUID}")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response showLoadBalancerPoolMember​(@PathParam("loadBalancerPoolUUID")
                                                                    String loadBalancerPoolUUID,
                                                                    @PathParam("loadBalancerPoolMemberUUID")
                                                                    String loadBalancerPoolMemberUUID,
                                                                    @QueryParam("fields")
                                                                    List<String> fields)
        Returns a specific LoadBalancerPoolMember.
      • createLoadBalancerPoolMember

        @Path("{loadBalancerPoolUUID}/members")
        @POST
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response createLoadBalancerPoolMember​(@PathParam("loadBalancerPoolUUID")
                                                                      String loadBalancerPoolUUID,
                                                                      NeutronLoadBalancerPoolMemberRequest input)
        Adds a Member to an LBaaS Pool member.
      • updateLoadBalancerPoolMember

        @Path("{loadBalancerPoolUUID}/members/{loadBalancerPoolMemberUUID}")
        @PUT
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response updateLoadBalancerPoolMember​(@PathParam("loadBalancerPoolUUID")
                                                                      String loadBalancerPoolUUID,
                                                                      @PathParam("loadBalancerPoolMemberUUID")
                                                                      String loadBalancerPoolMemberUUID,
                                                                      NeutronLoadBalancerPoolMemberRequest input)
        Updates a LB member pool.
      • deleteLoadBalancerPoolMember

        @Path("{loadBalancerPoolUUID}/members/{loadBalancerPoolMemberUUID}")
        @DELETE
        public javax.ws.rs.core.Response deleteLoadBalancerPoolMember​(@PathParam("loadBalancerPoolUUID")
                                                                      String loadBalancerPoolUUID,
                                                                      @PathParam("loadBalancerPoolMemberUUID")
                                                                      String loadBalancerPoolMemberUUID)
        Deletes a LoadBalancerPoolMember.