Class NeutronFirewallPolicyNorthbound
- java.lang.Object
-
- org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound<NeutronFirewallPolicy,NeutronFirewallPolicyRequest,INeutronFirewallPolicyCRUD>
-
- org.opendaylight.neutron.northbound.api.NeutronFirewallPolicyNorthbound
-
@Singleton @Path("/fw/firewall_policies") public final class NeutronFirewallPolicyNorthbound extends AbstractNeutronNorthbound<NeutronFirewallPolicy,NeutronFirewallPolicyRequest,INeutronFirewallPolicyCRUD>
Neutron Northbound REST APIs for Firewall Policies.
-
-
Field Summary
-
Fields inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
HTTP_OK_BOTTOM, HTTP_OK_TOP
-
-
Constructor Summary
Constructors Constructor Description NeutronFirewallPolicyNorthbound(INeutronFirewallPolicyCRUD neutronCRUD)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createFirewallPolicies(NeutronFirewallPolicyRequest input)
Creates new Firewall Policy.javax.ws.rs.core.Response
deleteFirewallPolicy(String firewallPolicyUUID)
Deletes a Firewall Policy.protected String
getResourceName()
javax.ws.rs.core.Response
listGroups(List<String> fields, String queryFirewallPolicyUUID, String queryFirewallPolicyTenantID, String queryFirewallPolicyName, Boolean querySecurityPolicyIsShared, Boolean querySecurityPolicyIsAudited, String limit, String marker, String pageReverse)
Returns a list of all Firewall Policies.javax.ws.rs.core.Response
showFirewallPolicy(String firewallPolicyUUID, List<String> fields)
Returns a specific Firewall Policy.javax.ws.rs.core.Response
updateFirewallPolicy(String firewallPolicyUUID, NeutronFirewallPolicyRequest input)
Updates a Firewall Policy.-
Methods inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
create, delete, getNeutronCRUD, serviceUnavailable, show, update, updateDelta, uuidNoExist
-
-
-
-
Constructor Detail
-
NeutronFirewallPolicyNorthbound
@Inject public NeutronFirewallPolicyNorthbound(INeutronFirewallPolicyCRUD neutronCRUD)
-
-
Method Detail
-
getResourceName
protected String getResourceName()
- Specified by:
getResourceName
in classAbstractNeutronNorthbound<NeutronFirewallPolicy,NeutronFirewallPolicyRequest,INeutronFirewallPolicyCRUD>
-
listGroups
@GET @Produces("application/json") public javax.ws.rs.core.Response listGroups(@QueryParam("fields") List<String> fields, @QueryParam("id") String queryFirewallPolicyUUID, @QueryParam("tenant_id") String queryFirewallPolicyTenantID, @QueryParam("name") String queryFirewallPolicyName, @QueryParam("shared") Boolean querySecurityPolicyIsShared, @QueryParam("audited") Boolean querySecurityPolicyIsAudited, @QueryParam("limit") String limit, @QueryParam("marker") String marker, @QueryParam("page_reverse") String pageReverse)
Returns a list of all Firewall Policies.
-
showFirewallPolicy
@Path("{firewallPolicyUUID}") @GET @Produces("application/json") public javax.ws.rs.core.Response showFirewallPolicy(@PathParam("firewallPolicyUUID") String firewallPolicyUUID, @QueryParam("fields") List<String> fields)
Returns a specific Firewall Policy.
-
createFirewallPolicies
@POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response createFirewallPolicies(NeutronFirewallPolicyRequest input)
Creates new Firewall Policy.
-
updateFirewallPolicy
@Path("{firewallPolicyUUID}") @PUT @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response updateFirewallPolicy(@PathParam("firewallPolicyUUID") String firewallPolicyUUID, NeutronFirewallPolicyRequest input)
Updates a Firewall Policy.
-
deleteFirewallPolicy
@Path("{firewallPolicyUUID}") @DELETE public javax.ws.rs.core.Response deleteFirewallPolicy(@PathParam("firewallPolicyUUID") String firewallPolicyUUID)
Deletes a Firewall Policy.
-
-