Ask Your Question
0

Push flows through OpenDaylight

asked 2014-08-01 02:47:31 -0700

joshua gravatar image

Hi,

I want to push the MPLS Label Swap through OpenDaylight.

I have the link https://wiki.opendaylight.org/view/EditingOpenDaylightOpenFlowPlugin:EndtoEndFlows:Example_Flows

I am trying to push flows.

I am using POSTMAN in Chrome Browser. It throws an error

<title>Apache Tomcat/7.0.32 - Error report</title> <style> <!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--> </style>

HTTP Status 415 - Unsupported Media Type


type Status report

message Unsupported Media Type

description The server refused this request because the request entity is in a format not supported by the requested resource for the requested method.


Apache Tomcat/7.0.32

How should I push the flows? Is there any tool available?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-08-01 05:22:17 -0700

Madhu gravatar image

The Unsupported Media Type error typically indicate an incorrect setting of the Content-Type header. Please make sure that the Content-Type is set appropriately. In this case, it is : Content-Type: application/xml

It would be helpful if you can export your POSTMAN script and include it here so that we can see exactly both the HTTP headers being used and the content.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2014-08-01 02:47:31 -0700

Seen: 493 times

Last updated: Aug 01 '14