harvest
harvest copied to clipboard
Add REST support to Harvest
ZAPIs are being deprecated in ONTAP. From slack forum:
ZAPIs will still be available in the version of ONTAP released around Oct 2022. That version of ONTAP will have support till 2025.
the ZAPI/RESTAPI mapping doc: confluence page: https://confluence.ngage.netapp.com/display/UM/CI+and+AIQUM+Cloud+Agent+Data+Requirements#CIandAIQUMCloudAgentDataRequirements-CombinedFoundationandApplicationtable This has the pointing time copy of the spreadsheet which lives on https://netapp.sharepoint.com/:x:/s/MAP-UX/um.dw/EaITSCApQKpJgur1_iysMIoBn3zKSS7n5-7VWKM1Jv1_XA?e=trZ2I4 (filter by the "Harvest" column)
Useful for our user documentation later. Both are public available:
- https://netapp.io/2020/12/17/ontapi-to-rest-mapping/ (exact link: https://library.netapp.com/ecm/ecm_download_file/ECMLP2874886)
- https://library.netapp.com/ecmdocs/ECMLP2856304/html/index.html - this is the swagger documentation for the released ONTAP version (the dev version and earlier versions are inside sec lab: http://restapi.rtp.netapp.com/)
Internal RESTAPI plan for Harvest (only viewable to NetApp employees) https://netapp.sharepoint.com/:p:/s/MAP-UX/Harvest/EckF1_OYvqdDjlOKE0vrAkIBe3f_KfreTTI4N2H_479ZGg?e=AyeC6g
Replaced by #402
Stories which needs to be subdivided further.
- [x] Analyze missing metrics in dashboards
- [x] Analyze missing counters inside labels (aggr_labels, volume_labels etc)
- [x] Analyze missing counters in templates
- [x] Create remaining object templates
- [x] Missing plugins in current rest templates
- [x] Rest infrastructure handling for arrays
- [x] Rest Infrastructure test going off/on vpn
- [x] Rest Infrastructure private cli
- [x] Build support for public/private cli combined in templates
- [x] Document Rest infra
- [x] fill gaps
- [x] write test cases for rest template extension
- [x] Enable Rest for CI
- [x] Asup
- [x] Support filtering
- [ ] Revisit arrays
- [x] Add support for logging request/response similar to what is supported today
array handling will be done in #1637
Verified in 23.02