Class NeutronFirewallNorthbound
- java.lang.Object
-
- org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound<NeutronFirewall,NeutronFirewallRequest,INeutronFirewallCRUD>
-
- org.opendaylight.neutron.northbound.api.NeutronFirewallNorthbound
-
@Singleton @Path("/fw/firewalls") public final class NeutronFirewallNorthbound extends AbstractNeutronNorthbound<NeutronFirewall,NeutronFirewallRequest,INeutronFirewallCRUD>
Neutron Northbound REST APIs for Firewall.
-
-
Field Summary
-
Fields inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
HTTP_OK_BOTTOM, HTTP_OK_TOP
-
-
Constructor Summary
Constructors Constructor Description NeutronFirewallNorthbound(INeutronFirewallCRUD neutronCRUD)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createFirewalls(NeutronFirewallRequest input)
Creates new Firewall.javax.ws.rs.core.Response
deleteFirewall(String firewallUUID)
Deletes a Firewall.protected String
getResourceName()
javax.ws.rs.core.Response
listGroups(List<String> fields, String queryFirewallUUID, String queryFirewallTenantID, String queryFirewallName, Boolean queryFirewallAdminStateIsUp, Boolean queryFirewallIsShared, String queryFirewallPolicyID, String limit, String marker, String pageReverse)
Returns a list of all Firewalls.javax.ws.rs.core.Response
showFirewall(String firewallUUID, List<String> fields)
Returns a specific Firewall.javax.ws.rs.core.Response
updateFirewall(String firewallUUID, NeutronFirewallRequest input)
Updates a Firewall.-
Methods inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
create, delete, getNeutronCRUD, serviceUnavailable, show, update, updateDelta, uuidNoExist
-
-
-
-
Constructor Detail
-
NeutronFirewallNorthbound
@Inject public NeutronFirewallNorthbound(INeutronFirewallCRUD neutronCRUD)
-
-
Method Detail
-
getResourceName
protected String getResourceName()
- Specified by:
getResourceName
in classAbstractNeutronNorthbound<NeutronFirewall,NeutronFirewallRequest,INeutronFirewallCRUD>
-
listGroups
@GET @Produces("application/json") public javax.ws.rs.core.Response listGroups(@QueryParam("fields") List<String> fields, @QueryParam("id") String queryFirewallUUID, @QueryParam("tenant_id") String queryFirewallTenantID, @QueryParam("name") String queryFirewallName, @QueryParam("admin_state_up") Boolean queryFirewallAdminStateIsUp, @QueryParam("shared") Boolean queryFirewallIsShared, @QueryParam("firewall_policy_id") String queryFirewallPolicyID, @QueryParam("limit") String limit, @QueryParam("marker") String marker, @QueryParam("page_reverse") String pageReverse)
Returns a list of all Firewalls.
-
showFirewall
@Path("{firewallUUID}") @GET @Produces("application/json") public javax.ws.rs.core.Response showFirewall(@PathParam("firewallUUID") String firewallUUID, @QueryParam("fields") List<String> fields)
Returns a specific Firewall.
-
createFirewalls
@POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response createFirewalls(NeutronFirewallRequest input)
Creates new Firewall.
-
updateFirewall
@Path("{firewallUUID}") @PUT @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response updateFirewall(@PathParam("firewallUUID") String firewallUUID, NeutronFirewallRequest input)
Updates a Firewall.
-
deleteFirewall
@Path("{firewallUUID}") @DELETE public javax.ws.rs.core.Response deleteFirewall(@PathParam("firewallUUID") String firewallUUID)
Deletes a Firewall.
-
-