mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-23 21:31:00 +02:00
Fixed to allow json media type header for ML2 delete postcommits
Change-Id: I7f90214d0c13dfa0c91cf9066b26ca21058226e8
This commit is contained in:
parent
5c9591cb7f
commit
54d51aa3cd
@ -58,6 +58,7 @@ public class NeutronMl2NetworksWebResource extends AbstractWebResource {
|
|||||||
|
|
||||||
@DELETE
|
@DELETE
|
||||||
@Path("{id}")
|
@Path("{id}")
|
||||||
|
@Consumes(MediaType.APPLICATION_JSON)
|
||||||
@Produces(MediaType.APPLICATION_JSON)
|
@Produces(MediaType.APPLICATION_JSON)
|
||||||
public Response deleteNetwork(@PathParam("id") String id) {
|
public Response deleteNetwork(@PathParam("id") String id) {
|
||||||
log.trace(String.format(NETWORKS_MESSAGE, "delete"));
|
log.trace(String.format(NETWORKS_MESSAGE, "delete"));
|
||||||
|
@ -108,6 +108,7 @@ public class NeutronMl2PortsWebResource extends AbstractWebResource {
|
|||||||
|
|
||||||
@Path("{id}")
|
@Path("{id}")
|
||||||
@DELETE
|
@DELETE
|
||||||
|
@Consumes(MediaType.APPLICATION_JSON)
|
||||||
@Produces(MediaType.APPLICATION_JSON)
|
@Produces(MediaType.APPLICATION_JSON)
|
||||||
public Response deletePorts(@PathParam("id") String id) {
|
public Response deletePorts(@PathParam("id") String id) {
|
||||||
log.trace(String.format(PORTS_MESSAGE, "delete"));
|
log.trace(String.format(PORTS_MESSAGE, "delete"));
|
||||||
|
@ -60,6 +60,7 @@ public class NeutronMl2SubnetsWebResource extends AbstractWebResource {
|
|||||||
|
|
||||||
@DELETE
|
@DELETE
|
||||||
@Path("{id}")
|
@Path("{id}")
|
||||||
|
@Consumes(MediaType.APPLICATION_JSON)
|
||||||
@Produces(MediaType.APPLICATION_JSON)
|
@Produces(MediaType.APPLICATION_JSON)
|
||||||
public Response deleteSubnet(@PathParam("id") String id) {
|
public Response deleteSubnet(@PathParam("id") String id) {
|
||||||
log.trace(String.format(SUBNETS_MESSAGE, "delete"));
|
log.trace(String.format(SUBNETS_MESSAGE, "delete"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user