Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

id_pools_vmac_ranges and id_pools_WWNN_ranges and id_pools_sn_ranges do not have a get_all function #445

Open

Description

@DungKHoang

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

Activity

  1. sijeesh commented on Jul 23, 2019

    @sijeesh
    Collaborator

    @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.

  2. russellnelsonbriggs commented on Aug 21, 2019

    @russellnelsonbriggs
    Contributor

    @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.

  3. sijeesh commented on Aug 22, 2019

    @sijeesh
    Collaborator

    @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()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions