Oem entry for HPE is now Hpe not Hp anymore
Change-Id: Icec33d4f5d1923acd95eccb8e787cb0deca66a59
This commit is contained in:
parent
dd1b2d2138
commit
b80503b10d
@ -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 %}
|
||||
{% endfor %}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user