This section describes the resource model supported by the zhmcclient package.
Note that the zhmcclient package supports only a subset of the resources described in the HMC API
book. We will grow the implemented subset over time, and if you find that a particular resource you need is missing, please open an issue in the zhmcclient issue tracker.
See Resource model concepts
for a description of the concepts used in representing the resource model.
The resource descriptions in this section do not detail the resource properties. The description of the resource properties of a particular HMC resource type can be found in its "Data model" section in the HMC API
book. Each Python resource class mentions the corresponding HMC resource type.
The data types used in these "Data model" sections are represented in Python data types according to the mapping shown in the following table:
HMC API data type | Python data type |
---|---|
Boolean | py:bool |
Byte, Integer, Long, Short | integer |
Float | py:float |
String, String Enum | unicode string |
timestamp |
integer |
Array | py:list |
Object | py:dict |
zhmcclient._cpc
zhmcclient.CpcManager
zhmcclient.Cpc
zhmcclient._unmanaged_cpc
zhmcclient.UnmanagedCpcManager
zhmcclient.UnmanagedCpc
zhmcclient._activation_profile
zhmcclient.ActivationProfileManager
zhmcclient.ActivationProfile
zhmcclient._lpar
zhmcclient.LparManager
zhmcclient.Lpar
zhmcclient._partition
zhmcclient.PartitionManager
zhmcclient.Partition
zhmcclient._adapter
zhmcclient.AdapterManager
zhmcclient.Adapter
zhmcclient._port
zhmcclient.PortManager
zhmcclient.Port
zhmcclient._nic
zhmcclient.NicManager
zhmcclient.Nic
zhmcclient._hba
zhmcclient.HbaManager
zhmcclient.Hba
zhmcclient._virtual_function
zhmcclient.VirtualFunctionManager
zhmcclient.VirtualFunction
zhmcclient._virtual_switch
zhmcclient.VirtualSwitchManager
zhmcclient.VirtualSwitch
zhmcclient._storage_group
zhmcclient.StorageGroupManager
zhmcclient.StorageGroup
zhmcclient._storage_volume
zhmcclient.StorageVolumeManager
zhmcclient.StorageVolume
zhmcclient._virtual_storage_resource
zhmcclient.VirtualStorageResourceManager
zhmcclient.VirtualStorageResource
zhmcclient._storage_group_template
zhmcclient.StorageGroupTemplateManager
zhmcclient.StorageGroupTemplate
zhmcclient._storage_volume_template
zhmcclient.StorageVolumeTemplateManager
zhmcclient.StorageVolumeTemplate
zhmcclient._capacity_group
zhmcclient.CapacityGroupManager
zhmcclient.CapacityGroup
zhmcclient._console
zhmcclient.ConsoleManager
zhmcclient.Console
zhmcclient._user
zhmcclient.UserManager
zhmcclient.User
zhmcclient._user_role
zhmcclient.UserRoleManager
zhmcclient.UserRole
zhmcclient._user_pattern
zhmcclient.UserPatternManager
zhmcclient.UserPattern
zhmcclient._password_rule
zhmcclient.PasswordRuleManager
zhmcclient.PasswordRule
zhmcclient._task
zhmcclient.TaskManager
zhmcclient.Task
zhmcclient._ldap_server_definition
zhmcclient.LdapServerDefinitionManager
zhmcclient.LdapServerDefinition