commit | 27fc3f7088abb2784a9c1d8346432113e86d2edb | [log] [tgz] |
---|---|---|
author | Hyunsun Moon <hyunsun.moon@gmail.com> | Thu Apr 28 17:33:41 2016 -0500 |
committer | Gerrit Code Review <gerrit@onlab.us> | Fri Apr 29 16:21:34 2016 +0000 |
tree | 62c9ff6992afdc721be9de03b8305b5902af611c | |
parent | 810326467ce2e813553bed964254326b2b33aaed [diff] [blame] |
Fixed to allow json media type header for ML2 delete postcommits Change-Id: I7f90214d0c13dfa0c91cf9066b26ca21058226e8
diff --git a/src/main/java/org/onosproject/cordvtn/rest/NeutronMl2PortsWebResource.java b/src/main/java/org/onosproject/cordvtn/rest/NeutronMl2PortsWebResource.java index 1d29594..1c37a2d 100644 --- a/src/main/java/org/onosproject/cordvtn/rest/NeutronMl2PortsWebResource.java +++ b/src/main/java/org/onosproject/cordvtn/rest/NeutronMl2PortsWebResource.java
@@ -108,6 +108,7 @@ @Path("{id}") @DELETE + @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) public Response deletePorts(@PathParam("id") String id) { log.trace(String.format(PORTS_MESSAGE, "delete"));