mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
redfish: Add MACAddress property to GetNicInventory (#56864)
* add MACAddress property to GetNicInventory * add changelog fragment
This commit is contained in:
parent
9151f343da
commit
7eae4761b8
2 changed files with 5 additions and 2 deletions
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
bugfixes:
|
||||||
|
- redfish_facts - add MACAddress to properties fetched by Redfish GetNicInventory command
|
|
@ -1365,8 +1365,8 @@ class RedfishUtils(object):
|
||||||
key = "EthernetInterfaces"
|
key = "EthernetInterfaces"
|
||||||
# Get these entries, but does not fail if not found
|
# Get these entries, but does not fail if not found
|
||||||
properties = ['Description', 'FQDN', 'IPv4Addresses', 'IPv6Addresses',
|
properties = ['Description', 'FQDN', 'IPv4Addresses', 'IPv6Addresses',
|
||||||
'NameServers', 'PermanentMACAddress', 'SpeedMbps', 'MTUSize',
|
'NameServers', 'MACAddress', 'PermanentMACAddress',
|
||||||
'AutoNeg', 'Status']
|
'SpeedMbps', 'MTUSize', 'AutoNeg', 'Status']
|
||||||
|
|
||||||
response = self.get_request(self.root_uri + resource_uri)
|
response = self.get_request(self.root_uri + resource_uri)
|
||||||
if response['ret'] is False:
|
if response['ret'] is False:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue