HewlettPackard / oneview-ansible-collection

Ansible Collection and Sample Playbooks for HPE OneView
Apache License 2.0
25 stars 22 forks source link

ipv6 address not in correct format with oneview_enclosure_facts #236

Closed DungKHoang closed 1 year ago

DungKHoang commented 1 year ago

When using oneview_enclosure_facts for inventory of Synergy enclosures, I get IP address of enclosure bay not correctly formatted See output below: "managerBays": [ { "appliancePort1SpeedGbs": 0, "appliancePort1State": "Absent", "appliancePort1Status": "Unknown", "appliancePort2SpeedGbs": 0, "appliancePort2State": "Absent", "appliancePort2Status": "Unknown", "bayNumber": 1, "bayPowerState": "Unknown", "changeState": "None", "devicePresence": "Present", "fwBuildDate": "11/04/2017,01:53:01", "fwVersion": "2.00.00", "ipAddress": "fe80::2:0:d:3%eth2", "linkPortIsolated": false, "linkPortSpeedGbs": "10", "linkPortState": "Linked", "linkPortStatus": "OK", "linkedEnclosure": { "bayNumber": 2, "serialNumber": "0000A66101" },

alisha-k-kalladassery commented 1 year ago

Hi,

We will look into this and get back to you.

alisha-k-kalladassery commented 1 year ago

Hi DungKHoang, As SDK team we don't do any formatting on ipAddress. Please let us know what type of formatting you are looking for. If possible can you share an example also.

alisha-k-kalladassery commented 1 year ago

Hi DungKHoang,

We are closing this as we haven't heard back from you. Please feel free to open a new issue if you have any queries.

Thanks