Class NeutronSecurityRulesNorthbound

    • Constructor Detail

      • NeutronSecurityRulesNorthbound

        @Inject
        public NeutronSecurityRulesNorthbound​(INeutronSecurityRuleCRUD neutronCRUD)
    • Method Detail

      • listRules

        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response listRules​(@QueryParam("fields")
                                                   List<String> fields,
                                                   @QueryParam("id")
                                                   String querySecurityRuleUUID,
                                                   @QueryParam("direction")
                                                   String querySecurityRuleDirection,
                                                   @QueryParam("protocol")
                                                   String querySecurityRuleProtocol,
                                                   @QueryParam("port_range_min")
                                                   Integer querySecurityRulePortMin,
                                                   @QueryParam("port_range_max")
                                                   Integer querySecurityRulePortMax,
                                                   @QueryParam("ethertype")
                                                   String querySecurityRuleEthertype,
                                                   @QueryParam("remote_ip_prefix")
                                                   String querySecurityRuleIpPrefix,
                                                   @QueryParam("remote_group_id")
                                                   String querySecurityRemoteGroupID,
                                                   @QueryParam("security_group_id")
                                                   String querySecurityRuleGroupID,
                                                   @QueryParam("tenant_id")
                                                   String querySecurityRuleTenantID,
                                                   @QueryParam("limit")
                                                   String limit,
                                                   @QueryParam("marker")
                                                   String marker,
                                                   @QueryParam("page_reverse")
                                                   String pageReverse)
        Returns a list of all Security Rules.
      • showSecurityRule

        @Path("{securityRuleUUID}")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response showSecurityRule​(@PathParam("securityRuleUUID")
                                                          String securityRuleUUID,
                                                          @QueryParam("fields")
                                                          List<String> fields)
        Returns a specific Security Rule.
      • createSecurityRules

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response createSecurityRules​(NeutronSecurityRuleRequest input)
        Creates new Security Rule.
      • updateSecurityRule

        @Path("{securityRuleUUID}")
        @PUT
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response updateSecurityRule​(@PathParam("securityRuleUUID")
                                                            String securityRuleUUID,
                                                            NeutronSecurityRuleRequest input)
        Updates a Security Rule.
      • deleteSecurityRule

        @Path("{securityRuleUUID}")
        @DELETE
        public javax.ws.rs.core.Response deleteSecurityRule​(@PathParam("securityRuleUUID")
                                                            String securityRuleUUID)
        Deletes a Security Rule.