- Community Home
- >
- Networking
- >
- Software Defined Networking
- >
- Not able to get the connected devices (i.e. switch...
Software Defined Networking
1752790
Members
6241
Online
108789
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-02-2015 03:54 AM
03-02-2015 03:54 AM
Not able to get the connected devices (i.e. switches) details by using getDevices() API
Hi All,
I am trying to get the connected devices (OpenFlow supported Switches) details by using the API getDevices() which is defined in Class DeviceServiceAdapter(). But unfortunately this API is returning the value “null” when calling from Internal Application. Tried getDevice (DataPathId dpid) and getDevices(IpAddress deviceIp) APIs, but these APIs also returning value “null”.
The connected switches firmware version is V1.3
Earlier this switch was upgraded with firmware which supports OpenFlow V1.0. So, I thought that there may be compatibility issues as the OpenFlow protocol version is older. So, I have upgraded to the firmware which supports OpenFlow V1.3, but still the above mentioned APIs returns value “null” which confirms that the issue is not with compatibility or OpenFlow version.
Code snippet for reference:
DeviceServiceAdapter DSA = new DeviceServiceAdapter();
logger.info("Devices: " + DSA.getDevices());
Output Observed:
Devices: null
Kindly suggest me that how to get connected devices details from Internal Application.
Thanks in advance.
Regards,
Chethan
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP