Cannot delete static flow through northbound 10/2310/2
authorAlessandro Boch <aboch@cisco.com>
Fri, 1 Nov 2013 00:06:43 +0000 (17:06 -0700)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 4 Nov 2013 17:51:56 +0000 (17:51 +0000)
- Removed wrong annotation in flowprogrammer.northbound

Change-Id: I81ad631a95c36567f29fb8cc8a2760783b0b437e
Signed-off-by: Alessandro Boch <aboch@cisco.com>
opendaylight/northbound/flowprogrammer/src/main/java/org/opendaylight/controller/flowprogrammer/northbound/FlowProgrammerNorthbound.java

index 973c63b790129da5dc10d110e8e12f2f0745f8c8..7e4b9b9aa49ca5dd5d611f97878772cc0c987448 100644 (file)
@@ -511,7 +511,6 @@ public class FlowProgrammerNorthbound {
 
     @Path("/{containerName}/node/{nodeType}/{nodeId}/staticFlow/{name}")
     @DELETE
 
     @Path("/{containerName}/node/{nodeType}/{nodeId}/staticFlow/{name}")
     @DELETE
-    @Consumes({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
     @StatusCodes({
         @ResponseCode(code = 204, condition = "Flow Config deleted successfully"),
         @ResponseCode(code = 401, condition = "User not authorized to perform this operation"),
     @StatusCodes({
         @ResponseCode(code = 204, condition = "Flow Config deleted successfully"),
         @ResponseCode(code = 401, condition = "User not authorized to perform this operation"),