diff --git a/redfish-client/templates/system_info.template b/redfish-client/templates/system_info.template index 646b623..857b6aa 100644 --- a/redfish-client/templates/system_info.template +++ b/redfish-client/templates/system_info.template @@ -50,7 +50,7 @@ Ethernet Interface : This system has no ethernet interface as Redfish standard data {%- endif %} Looking for potential OEM information : -{%- if system.data.Oem.Hp %} +{%- if system.data.Oem.Hpe %} Supplemental information from HPE OEM part. {%- if system.network_adapters_collection %} {%- for networkadapter_index in system.network_adapters_collection.network_adapters_dict | sort %} @@ -84,7 +84,7 @@ Simple Storage : This system has no simple storage as Redfish standard data {%- endif %} Looking for potential OEM information : -{%- if system.data.Oem.Hp %} +{%- if system.data.Oem.Hpe %} Supplemental information from HPE OEM part. {%- if system.smart_storage %} {%- for array_controllers_index in system.smart_storage.array_controllers_collection.array_controllers_dict | sort %} @@ -105,4 +105,4 @@ Looking for potential OEM information : This system has no supplemental OEM information {%- endif %} -------------------------------------------------------------------------------- -{% endfor %} \ No newline at end of file +{% endfor %} diff --git a/redfish/standard.py b/redfish/standard.py index ff2d195..5a32b05 100644 --- a/redfish/standard.py +++ b/redfish/standard.py @@ -213,12 +213,12 @@ class Systems(Device): self.simple_storage_collection = None try: - self.data.Oem.Hp + self.data.Oem.Hpe try: self.network_adapters_collection = \ hpe.NetworkAdaptersCollection( self.get_link_url('NetworkAdapters', - self.data.Oem.Hp.Links), + self.data.Oem.Hpe.Links), connection_parameters) except AttributeError: # This means we don't have NetworkAdapters @@ -227,7 +227,7 @@ class Systems(Device): self.smart_storage = \ hpe.SmartStorage( self.get_link_url('SmartStorage', - self.data.Oem.Hp.Links), + self.data.Oem.Hpe.Links), connection_parameters) except AttributeError: # This means we don't have SmartStorage