The cinder.volume.drivers.netapp.dataontap.utils.capabilities Module¶
Storage service catalog (SSC) functions and classes for NetApp cDOT systems.
-
class
CapabilitiesLibrary(protocol, vserver_name, zapi_client, configuration)¶ Bases:
object-
check_api_permissions()¶ Check which APIs that support SSC functionality are available.
-
get_matching_flexvols_for_extra_specs(extra_specs)¶ Return a list of flexvol names that match a set of extra specs.
-
get_ssc()¶ Get a copy of the Storage Service Catalog.
-
get_ssc_aggregates()¶ Get a list of aggregates for all SSC flexvols.
-
get_ssc_flexvol_names()¶ Get the names of the FlexVols in the Storage Service Catalog.
-
get_ssc_for_flexvol(flexvol_name)¶ Get map of Storage Service Catalog entries for a single flexvol.
-
update_ssc(flexvol_map)¶ Periodically runs to update Storage Service Catalog data.
The self.ssc attribute is updated with the following format. {<flexvol_name> : {<ssc_key>: <ssc_value>}}
-