| def plugin::smispy::dmtf::op_status_list_conv | ( | conv_dict, | ||
| dmtf_op_status_list, | ||||
| unknown_value, | ||||
| other_value | ||||
| ) |
| dictionary _OP_STATUS_STR_CONV |
{
OP_STATUS_UNKNOWN: "UNKNOWN",
OP_STATUS_OTHER: "OTHER",
OP_STATUS_OK: "OK",
OP_STATUS_DEGRADED: "DEGRADED",
OP_STATUS_STRESSED: "STRESSED",
OP_STATUS_PREDICTIVE_FAILURE: "PREDICTIVE_FAILURE",
OP_STATUS_ERROR: "ERROR",
OP_STATUS_NON_RECOVERABLE_ERROR: "NON_RECOVERABLE_ERROR",
OP_STATUS_STARTING: "STARTING",
OP_STATUS_STOPPING: "STOPPING",
OP_STATUS_STOPPED: "STOPPED",
OP_STATUS_IN_SERVICE: "IN_SERVICE",
OP_STATUS_NO_CONTACT: "NO_CONTACT",
OP_STATUS_LOST_COMMUNICATION: "LOST_COMMUNICATION",
OP_STATUS_ABORTED: "ABORTED",
OP_STATUS_DORMANT: "DORMANT",
OP_STATUS_SUPPORTING_ENTITY_IN_ERROR: "SUPPORTING_ENTITY_IN_ERROR",
OP_STATUS_COMPLETED: "COMPLETED",
OP_STATUS_POWER_MODE: "POWER_MODE",
}
| tuple COPY_STATE_SYNC = Uint16(4) |
| tuple CTRL_CONF_SRV_DA_RW = Uint16(2) |
| string DEFAULT_NAMESPACE = 'interop' |
| int DISK_TYPE_HDD = 2 |
| int DISK_TYPE_HYBRID = 4 |
| int DISK_TYPE_OTHER = 1 |
| int DISK_TYPE_SSD = 3 |
| int DISK_TYPE_UNKNOWN = 0 |
| tuple ELEMENT_THICK_VOLUME = Uint16(2) |
| tuple ELEMENT_THIN_VOLUME = Uint16(5) |
| tuple FC_PORT_PORT_DISCRIMINATOR_FCOE = Uint16(10) |
| tuple GMM_CAP_DELETE_GROUP = Uint16(20) |
| tuple GMM_CAP_DELETE_SPC = Uint16(24) |
| tuple GMM_CAP_DEV_MG_ALLOW_EMPTY_W_SPC = Uint16(5) |
| tuple ID_TYPE_ISCSI = Uint16(5) |
| tuple ID_TYPE_OTHER = Uint16(1) |
| tuple ID_TYPE_WWPN = Uint16(2) |
| list INTEROP_NAMESPACES = ['interop', 'root/interop', 'root/PG_Interop'] |
| tuple IPV6_ADDR_TYPE_6TO4 = Uint16(7) |
| tuple IPV6_ADDR_TYPE_GUA = Uint16(6) |
| tuple IPV6_ADDR_TYPE_ULA = Uint16(8) |
| tuple ISCSI_TGT_ROLE_TARGET = Uint16(3) |
| int JOB_STATE_COMPLETED = 7 |
| int JOB_STATE_NEW = 2 |
| int JOB_STATE_RUNNING = 4 |
| int JOB_STATE_STARTING = 3 |
| tuple MASK_GROUP_TYPE_DEV = Uint16(4) |
| tuple MASK_GROUP_TYPE_INIT = Uint16(2) |
| tuple MASK_GROUP_TYPE_TGT = Uint16(3) |
| tuple NET_PORT_LINK_TECH_ETHERNET = Uint16(2) |
| int OP_STATUS_ABORTED = 14 |
| int OP_STATUS_COMPLETED = 17 |
| int OP_STATUS_DEGRADED = 3 |
| int OP_STATUS_DORMANT = 15 |
| int OP_STATUS_ERROR = 6 |
| int OP_STATUS_IN_SERVICE = 11 |
| int OP_STATUS_LOST_COMMUNICATION = 13 |
| int OP_STATUS_NO_CONTACT = 12 |
| int OP_STATUS_NON_RECOVERABLE_ERROR = 7 |
| int OP_STATUS_OK = 2 |
| int OP_STATUS_OTHER = 1 |
| int OP_STATUS_POWER_MODE = 18 |
| int OP_STATUS_PREDICTIVE_FAILURE = 5 |
| int OP_STATUS_STARTING = 8 |
| int OP_STATUS_STOPPED = 10 |
| int OP_STATUS_STOPPING = 9 |
| int OP_STATUS_STRESSED = 4 |
| int OP_STATUS_SUPPORTING_ENTITY_IN_ERROR = 16 |
| int OP_STATUS_UNKNOWN = 0 |
| int POOL_USAGE_DELTA = 4 |
| int POOL_USAGE_RESERVED_FOR_SYSTEM = 3 |
| int POOL_USAGE_SPARE = 8 |
| int POOL_USAGE_UNRESTRICTED = 2 |
| int REPLICA_CAP_TYPE_ASYNC_CLONE_LOCAL = 11 |
| int REPLICA_CAP_TYPE_SYNC_CLONE_LOCAL = 10 |
| tuple REPLICA_MODE_ASYNC = Uint16(3) |
| tuple REPLICA_MODE_SYNC = Uint16(2) |
| tuple SCS_CAP_SUP_ST_VOLUME = Uint16(2) |
| tuple SCS_CAP_SUP_THIN_ST_VOLUME = Uint16(5) |
| tuple SCS_CAP_VOLUME_CREATE = Uint16(5) |
| tuple SCS_CAP_VOLUME_DELETE = Uint16(6) |
| tuple SCS_CAP_VOLUME_MODIFY = Uint16(7) |
| tuple SPC_NAME_FORMAT_ISCSI = Uint16(3) |
| tuple ST_CONF_CAP_COPY_TYPE_ASYNC = Uint16(2) |
| tuple ST_CONF_CAP_COPY_TYPE_SYNC = Uint16(3) |
| tuple ST_CONF_CAP_COPY_TYPE_UNSYNC_ASSOC = Uint16(4) |
| tuple ST_CONF_CAP_COPY_TYPE_UNSYNC_UNASSOC = Uint16(5) |
| int ST_POOL_FEATURE_INEXTS = 2 |
| int ST_POOL_FEATURE_MULTI_INPOOL = 4 |
| int ST_POOL_FEATURE_SINGLE_INPOOL = 3 |
| int ST_SYNC_STATE_SYNCHRONIZED = 6 |
| int SUPPORT_ELEMENT_EXPAND = 12 |
| int SUPPORT_ELEMENT_REDUCE = 13 |
| int SUPPORT_VOL_CREATE = 3 |
| tuple SYNC_TYPE_CLONE = Uint16(8) |
| tuple SYNC_TYPE_MIRROR = Uint16(6) |
| tuple SYNC_TYPE_SNAPSHOT = Uint16(7) |
| tuple TGT_PORT_USAGE_FRONTEND_ONLY = Uint16(2) |
| tuple TGT_PORT_USAGE_UNRESTRICTED = Uint16(4) |
| tuple THINP_POOL_TYPE_ALLOCATED = Uint16(7) |
| int VOL_NAME_FORMAT_NNA = 9 |
| int VOL_NAME_SPACE_VPD83_TYPE3 = 2 |
| string VOL_OTHER_INFO_NAA_VPD83_TYPE3H = 'NAA;VPD83Type3' |
| tuple VOL_USAGE_SYS_RESERVED = Uint16(3) |
1.6.1