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 973c63b..7e4b9b9 100644 (file)
@@ -511,7 +511,6 @@ public class FlowProgrammerNorthbound {
 
     @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"),