Class NeutronFirewallRulesNorthbound

    • Constructor Detail

      • NeutronFirewallRulesNorthbound

        @Inject
        public NeutronFirewallRulesNorthbound​(INeutronFirewallRuleCRUD neutronCRUD)
    • Method Detail

      • listRules

        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response listRules​(@QueryParam("fields")
                                                   List<String> fields,
                                                   @QueryParam("id")
                                                   String queryFirewallRuleUUID,
                                                   @QueryParam("tenant_id")
                                                   String queryFirewallRuleTenantID,
                                                   @QueryParam("name")
                                                   String queryFirewallRuleName,
                                                   @QueryParam("shared")
                                                   Boolean queryFirewallRuleIsShared,
                                                   @QueryParam("firewall_policy_id")
                                                   String queryFirewallRulePolicyID,
                                                   @QueryParam("protocol")
                                                   String queryFirewallRuleProtocol,
                                                   @QueryParam("ip_version")
                                                   Integer queryFirewallRuleIpVer,
                                                   @QueryParam("source_ip_address")
                                                   String queryFirewallRuleSrcIpAddr,
                                                   @QueryParam("destination_ip_address")
                                                   String queryFirewallRuleDstIpAddr,
                                                   @QueryParam("source_port_range_min")
                                                   Integer queryFirewallRuleSrcPortRangeMin,
                                                   @QueryParam("source_port_range_max")
                                                   Integer queryFirewallRuleSrcPortRangeMax,
                                                   @QueryParam("destination_port_range_min")
                                                   Integer queryFirewallRuleDstPortRangeMin,
                                                   @QueryParam("destination_port_range_max")
                                                   Integer queryFirewallRuleDstPortRangeMax,
                                                   @QueryParam("position")
                                                   Integer queryFirewallRulePosition,
                                                   @QueryParam("action")
                                                   String queryFirewallRuleAction,
                                                   @QueryParam("enabled")
                                                   Boolean queryFirewallRuleIsEnabled,
                                                   @QueryParam("limit")
                                                   String limit,
                                                   @QueryParam("marker")
                                                   String marker,
                                                   @QueryParam("page_reverse")
                                                   String pageReverse)
        Returns a list of all Firewall Rules.
      • showFirewallRule

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

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response createFirewallRules​(NeutronFirewallRuleRequest input)
        Creates new Firewall Rule.
      • updateFirewallRule

        @Path("{firewallRuleUUID}")
        @PUT
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response updateFirewallRule​(@PathParam("firewallRuleUUID")
                                                            String firewallRuleUUID,
                                                            NeutronFirewallRuleRequest input)
        Updates a Firewall Rule.
      • deleteFirewallRule

        @Path("{firewallRuleUUID}")
        @DELETE
        public javax.ws.rs.core.Response deleteFirewallRule​(@PathParam("firewallRuleUUID")
                                                            String firewallRuleUUID)
        Deletes a Firewall Rule.