Change the ethernet switches uri for 2.2/2.3
Change-Id: I1148f13f38c4372c444ca20d31388a800d4fc28b
This commit is contained in:
parent
1764b514b0
commit
45fc6a5074
@ -22,6 +22,10 @@ from rsd_lib.resources.v2_2.telemetry import telemetry
|
|||||||
|
|
||||||
class RSDLibV2_2(v2_1.RSDLibV2_1):
|
class RSDLibV2_2(v2_1.RSDLibV2_1):
|
||||||
|
|
||||||
|
_ethernet_switches_path = base.Field(
|
||||||
|
['Oem', 'Intel_RackScale', 'EthernetSwitches', '@odata.id'])
|
||||||
|
"""EthernetSwitchCollecton path"""
|
||||||
|
|
||||||
_nodes_path = base.Field(['Oem', 'Intel_RackScale', 'Nodes', '@odata.id'],
|
_nodes_path = base.Field(['Oem', 'Intel_RackScale', 'Nodes', '@odata.id'],
|
||||||
required=True)
|
required=True)
|
||||||
"""NodeCollection path"""
|
"""NodeCollection path"""
|
||||||
|
@ -27,6 +27,10 @@ class RSDLibV2_3(v2_2.RSDLibV2_2):
|
|||||||
# service don't exist in RSD v2.3
|
# service don't exist in RSD v2.3
|
||||||
_telemetry_service_path = None
|
_telemetry_service_path = None
|
||||||
|
|
||||||
|
_ethernet_switches_path = base.Field(
|
||||||
|
['Oem', 'Intel_RackScale', 'EthernetSwitches', '@odata.id'])
|
||||||
|
"""EthernetSwitchCollecton path"""
|
||||||
|
|
||||||
_storage_service_path = base.Field(['StorageServices',
|
_storage_service_path = base.Field(['StorageServices',
|
||||||
'@odata.id'], required=True)
|
'@odata.id'], required=True)
|
||||||
"""StorageServiceCollection path"""
|
"""StorageServiceCollection path"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user