- Community Home
- >
- Networking
- >
- Software Defined Networking
- >
- Problem with create new flow
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2014 07:28 PM
03-24-2014 07:28 PM
Hello everybody, I started evaluating the hp sdn van controller.
I have a problem, when I create a new flow it will get the response message back
{
"error": "com.hp.api.auth.AuthenticationException",
"message": "Authentication required"
}
what should i do ?
thanks eveymuch in advance
Sopon
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2014 02:56 AM
03-25-2014 02:56 AM
SolutionHello phoongsaan,
Thanks for your query.
As per the error - "message": "Authentication required" , you have to first get an authentication token by calling the auth api then you can create the flow.
You may have to use authentication json [e.g. { "login": { "user": "sdn", "password": "skyline","domain": "sdn" }} ] to get the token
Please have a look on SDN Controller Programming guide [page 16- Rsdoc Live Reference] .
Please follow the steps and let us know if you are still facing the problem.
Thanks,
HP SDN Team
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2014 01:14 AM
04-01-2014 01:14 AM
Re: Problem with create new flow
Thanks so much for the solution. Now, I try to add the new flow ,
{"flow": {
"priority": 30000,
"table_id": 200,
"idle_timeout": 60,
"match": [
{"ipv4_src": "192.168.1.20"},
{"ipv4_dst": "192.168.1.10"},
{"ip_proto": "tcp"},
{"eth_type": "ipv4"},
{"tcp_dst": "80"}
],
"instructions": [{"apply_actions": [{"output": 5}]}]
}}
it reply me with the response code "400", What should I do?, I already attach the picture of what happen.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2014 07:30 AM
04-02-2014 07:30 AM
Re: Problem with create new flow
Hello phoongsaan,
From the error message “Not supported before version 1.1” , it is clear that the API needs a version OpenFlow 1.1 or above.
By using the GET /of/datapaths REST API you can check the OpenFlow version. After calling this api , in the response body you can see negotiated version which is the OpenFlow version. [for e.g. 1.0.0]
In your json you have table_id field which is supported only in OpenFlow 1.1 and above.So you get the error.
You can either try the api with OpenFlow 1.1 and above or you can modify the call for 1.0.0
A sample json for OpenFlow 1.0.0 is as below ,you might need to modify accordingly
{"flow": {
"priority": 30000,
"idle_timeout": 60,
"match": [
{"ipv4_src": "10.0.0.1"},
{"ipv4_dst": "10.0.0.22"},
{"ip_proto": "tcp"},
{"eth_type": "ipv4"},
{"tcp_dst": "80"}
],
"actions": [{"output": 1}]
}}
Please let us know if you still face some problem.
Thanks,
HP SDN Team
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2014 03:25 AM
04-16-2014 03:25 AM
Re: Problem with create new flow
Hi phoongsaan,
Doing a follow up to see if previous post helps you.
Please let us know if your problem is solved or you still have some problem.
Thanks,
HP SDN Team