The rsd_lib.resources.v2_1.fabric.zone
Module¶
- class rsd_lib.resources.v2_1.fabric.zone.LinksField(*args, **kwargs)¶
Bases:
sushy.resources.base.CompositeField
- endpoints = <sushy.resources.base.Field object>¶
An array of references to the endpoints that are contained in this zone.
- involved_switches = <sushy.resources.base.Field object>¶
An array of references to the switchs that are utilized in this zone.
- class rsd_lib.resources.v2_1.fabric.zone.Zone(connector, path='', redfish_version=None, registries=None, reader=None, json_doc=None)¶
Bases:
rsd_lib.base.ResourceBase
Zone resource class
Switch contains properties describing a simple fabric zone.
- links = <rsd_lib.resources.v2_1.fabric.zone.LinksField object>¶
Contains references to other resources that are related to this resource.
- status = <rsd_lib.base.StatusField object>¶
This indicates the known state of the resource, such as if it is enabled.
- update(endpoints)¶
Add or remove Endpoints from a Zone
User have to provide a full representation of Endpoints array. A partial update (single element update/append/detele) is not supported. :param endpoints: a full representation of Endpoints array
- class rsd_lib.resources.v2_1.fabric.zone.ZoneCollection(connector, path, redfish_version=None, registries=None)¶