Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please someone help me to find out corresponding NetApp API.
What NetApp API call to get components as " Node Chassis" , " SFP" , and " NIC/SAS Card" information?
Thanks
Solved! See The Solution
1 ACCEPTED SOLUTION
Jyblues has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You’re welcome, yes!
11 REPLIES 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe the /cluster/chassis/{id} endpoint is what you are looking for.
https://library.netapp.com/ecmdocs/ECMLP2884819/html/resources/chassis.html
Please let me know if model doesn't return all of the information you are looking for
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the information.
Do you have idea for how to get SFP and NIC/SAS card information through NetApp API?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For SFP you can look into the StorageSwitch model: https://library.netapp.com/ecmdocs/ECMLP2884819/html/resources/storage_switch.html
It has a line for it in the ports variable.
FOR NIC/SAS card information you can look into the Disk model: https://library.netapp.com/ecmdocs/ECMLP2884819/html/resources/disk.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks alot again.
Would you please advice which NetApp REST API can use these information?
-Node Chassis
-SFP
-NIC/SAS Card
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, sorry I will give the REST endpoints for each of them.
-Node Chassis: /api/cluster/chassis/{id}
-SFP: /api/storage/switches
-NIC/SAS Card: /api/storage/disks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot for quick response.
But I cannot get SFP information through "/api/storage/switches "
It is very minimal information and like this
{
"records": [],
"num_records": 0,
"_links": {
"self": {
"href": "/api/storage/switches"
}
}
}
How about /api/storage/ports and there are
sfp-info.part-number → cable.part_number
adapter-fc-info.adapter-sfp-info.serial-number → cable.serial_number
adapter-fc-info.adapter-sfp-info.speed-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, didn't know what SFP information you wanted. Please use /api/storage/ports to get that desired information
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for conformation.
Also /api/storage/disks call abstract Disk information, not SAS/NIC card information.
Would you please advise on that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try using /api/storage/ports/{node.uuid}/{name}
The type will show you the SAS/NIC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks so much!!
So I can say there are ONTAP API for getting these information?
-Node Chassis
-SFP
-NIC/SAS Card
Jyblues has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You’re welcome, yes!
