- Community Home
- >
- Networking
- >
- Software Defined Networking
- >
- Re: HP SDN Controller REST API Authorization failu...
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
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
02-25-2014 09:50 PM
02-25-2014 09:50 PM
HP SDN Controller REST API Authorization failure
Hi,
I have successfully installed and able to acces HP VAN SDN Controller version 2.0.0.4253.
I tried connecting via REST API but gets "Connection refused" error. I tried using bith RESTPI Client addon as well as Curl.
I checked the port 8080 via netstat and its active.
Am I missing anything?
Regards
Atul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2014 04:27 AM
02-26-2014 04:27 AM
Re: HP SDN Controller REST API Authorization failure
Hi,
Are you able to run this attached script?
ps: please, change the CONTROLLER_IP variable if necessary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2014 06:46 AM
02-26-2014 06:46 AM
Re: HP SDN Controller REST API Authorization failure
Yes the script runs , but output is general data. No token related information is recieved.
However I tried using the link "https://10.204.254.93:8443/api" and it worked.
Do you have sample Java code for initial authorization?
Regards
Atul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2014 09:37 AM
02-26-2014 09:37 AM
Re: HP SDN Controller REST API Authorization failure
I'm not sure what is your doubt. Do you need the authorization token to access the REST api from an external application?
Take a look in this new shell script, and tell me if solved your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2014 06:12 PM
02-26-2014 06:12 PM
Re: HP SDN Controller REST API Authorization failure
Hi,
I am planning to write sample Java app using RESTAPI to get the shortest path between 2 nodes. I understand from the documentation that authorization is required before accessing the controller related details.
Regards
Atul