HPE OneView
cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieving HpOneView server info by using . " python-hpOneView"

 
svcaHP
Occasional Visitor

Retrieving HpOneView server info by using . " python-hpOneView"

Hi ,

I am using python code to fetch server hardware details at HpOneview sever  by "Server name"  . For instace, "servername@abc.com" monitored by Hp One view server

by using following api https://github.com/HewlettPackard/python-hpOneView

so, 

oneview_client.server_hardware.get_by("name", "name of server like 'acb')

it is giving my only one record as expected

when i use,

oneview_client.server_hardware.get_by("ServerName", "abc.xyz.com") 

It is not matching any of the servers even though the "abc.xyz.com" is present in HpOneView.

Regards,

imran

1 REPLY 1
ChrisLynchHPE
Neighborhood Moderator

Re: Retrieving HpOneView server info by using . " python-hpOneView"

Please ask your question on the Issue Tracker for the Python library project.  The project maintainers will be able to help you further from there.

It is always recommended to ask your HPE OneView SDK/Scripting toolkits in their respective project issue tracker.


Accept or Kudo