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
|
This system has no ethernet interface as Redfish standard data
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
Looking for potential OEM information :
|
Looking for potential OEM information :
|
||||||
{%- if system.data.Oem.Hp %}
|
{%- if system.data.Oem.Hpe %}
|
||||||
Supplemental information from HPE OEM part.
|
Supplemental information from HPE OEM part.
|
||||||
{%- if system.network_adapters_collection %}
|
{%- if system.network_adapters_collection %}
|
||||||
{%- for networkadapter_index in system.network_adapters_collection.network_adapters_dict | sort %}
|
{%- 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
|
This system has no simple storage as Redfish standard data
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
Looking for potential OEM information :
|
Looking for potential OEM information :
|
||||||
{%- if system.data.Oem.Hp %}
|
{%- if system.data.Oem.Hpe %}
|
||||||
Supplemental information from HPE OEM part.
|
Supplemental information from HPE OEM part.
|
||||||
{%- if system.smart_storage %}
|
{%- if system.smart_storage %}
|
||||||
{%- for array_controllers_index in system.smart_storage.array_controllers_collection.array_controllers_dict | sort %}
|
{%- 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
|
This system has no supplemental OEM information
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -213,12 +213,12 @@ class Systems(Device):
|
|||||||
self.simple_storage_collection = None
|
self.simple_storage_collection = None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.data.Oem.Hp
|
self.data.Oem.Hpe
|
||||||
try:
|
try:
|
||||||
self.network_adapters_collection = \
|
self.network_adapters_collection = \
|
||||||
hpe.NetworkAdaptersCollection(
|
hpe.NetworkAdaptersCollection(
|
||||||
self.get_link_url('NetworkAdapters',
|
self.get_link_url('NetworkAdapters',
|
||||||
self.data.Oem.Hp.Links),
|
self.data.Oem.Hpe.Links),
|
||||||
connection_parameters)
|
connection_parameters)
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
# This means we don't have NetworkAdapters
|
# This means we don't have NetworkAdapters
|
||||||
@ -227,7 +227,7 @@ class Systems(Device):
|
|||||||
self.smart_storage = \
|
self.smart_storage = \
|
||||||
hpe.SmartStorage(
|
hpe.SmartStorage(
|
||||||
self.get_link_url('SmartStorage',
|
self.get_link_url('SmartStorage',
|
||||||
self.data.Oem.Hp.Links),
|
self.data.Oem.Hpe.Links),
|
||||||
connection_parameters)
|
connection_parameters)
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
# This means we don't have SmartStorage
|
# This means we don't have SmartStorage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user