Add RSD oem specific links in Fabric Port in RSD 2.1
Change-Id: Ie332d300c3ce32a3c29341292c0f57ab13c36907
This commit is contained in:
parent
3cadf3760f
commit
bb59b57537
@ -26,6 +26,20 @@ from rsd_lib import utils as rsd_lib_utils
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class LinksIntelRackScaleField(base.CompositeField):
|
||||
|
||||
neighbor_port = base.Field(
|
||||
"NeighborPort", adapter=utils.get_members_identities
|
||||
)
|
||||
"""This indicates neighbor port which is connected to this port"""
|
||||
|
||||
|
||||
class LinksOemField(base.CompositeField):
|
||||
|
||||
intel_rackscale = LinksIntelRackScaleField("Intel_RackScale")
|
||||
"""Intel Rack Scale Design specific properties."""
|
||||
|
||||
|
||||
class ActionsField(base.CompositeField):
|
||||
|
||||
reset = common.ResetActionField("#Port.Reset")
|
||||
@ -63,6 +77,9 @@ class LinksField(base.CompositeField):
|
||||
this port.
|
||||
"""
|
||||
|
||||
oem = LinksOemField("Oem")
|
||||
"""Oem specific properties."""
|
||||
|
||||
|
||||
class OemField(base.CompositeField):
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user