id_pools_vmac_ranges and id_pools_WWNN_ranges and id_pools_sn_ranges do not have a get_all function
Scenario/Intent
Query ranges
Environment Details
- OneView SDK Version: 4.80
- OneView Appliance Version: 4.20
- OneView Client API Version: 800
- Python Version: 3.7
- Platform: [Ubuntu
Steps to Reproduce
There is no function to get all the ranges
@DungKHoang , Please have a look into the below module. https://github.com/HewlettPackard/python-hpOneView/blob/release/v4.8.0/hpOneView/resources/servers/id_pools_ranges.py
I think we don't have an example file for this module, let me know if you want an example to use this module.
@DungKHoang is right - there is no get_all() method in that module, while most of the other modules have one. They are nice because they get all pages for you and return the members.
@russellnelsonbriggs, As I mentioned above, please have a look at the id_pool_range module. When you create an instance of the "IdPoolsRanges" class, pass the type(vmac, vsn, vwwn ) and get_all method will be available for the instance.
Example: instance = IdPoolsRanges('vmac', connection) instance.get_all()