The rsd_lib.resources.v2_1.fabric.fabric Module

class rsd_lib.resources.v2_1.fabric.fabric.Fabric(connector, path='', redfish_version=None, registries=None, reader=None, json_doc=None, root=None)

Bases: rsd_lib.base.ResourceBase

Fabric resource class

Fabric contains properties describing a simple fabric consisting of one or more switches, zero or more endpoints, and zero or more zones.

property endpoints

Property to provide reference to EndpointCollection instance

It is calculated once when it is queried for the first time. On refresh, this property is reset.

fabric_type = <sushy.resources.base.Field object>

The protocol being sent over this fabric.

max_zones = <sushy.resources.base.Field object>

The value of this property shall contain the maximum number of zones the switch can currently configure.

status = <rsd_lib.base.StatusField object>

This indicates the known state of the resource, such as if it is enabled.

property switches

Property to provide reference to SwitchCollection instance

It is calculated once when it is queried for the first time. On refresh, this property is reset.

property zones

Property to provide reference to ZoneCollection instance

It is calculated once when it is queried for the first time. On refresh, this property is reset.

class rsd_lib.resources.v2_1.fabric.fabric.FabricCollection(connector, path, redfish_version=None, registries=None, root=None)

Bases: rsd_lib.base.ResourceCollectionBase