ucsmsdk.mometa.diag package¶
Submodules¶
This module contains the general information for DiagBladeTest ManagedObject.
-
class
ucsmsdk.mometa.diag.DiagBladeTest.
DiagBladeTest
(parent_mo_or_dn, order, **kwargs)[source]¶ Bases:
ucsmsdk.ucsmo.ManagedObject
This is DiagBladeTest class.
-
consts
= <ucsmsdk.mometa.diag.DiagBladeTest.DiagBladeTestConsts instance>¶
-
mo_meta
= <ucsmsdk.ucscoremeta.MoMeta object>¶
-
naming_props
= set([u'order'])¶
-
prop_map
= {'dn': 'dn', 'status': 'status', 'length': 'length', 'sacl': 'sacl', 'rn': 'rn', 'type': 'type', 'order': 'order', 'childAction': 'child_action'}¶
-
prop_meta
= {'dn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x10cd23b90>, 'status': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12024f190>, 'length': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x11683c0d0>, 'sacl': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12024f990>, 'rn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12024f310>, 'type': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12024fe10>, 'order': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12024f9d0>, 'child_action': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x11a7e07d0>}¶
-
-
class
ucsmsdk.mometa.diag.DiagBladeTest.
DiagBladeTestConsts
[source]¶ -
TYPE_DISK
= 'disk'¶
-
TYPE_MEMORY
= 'memory'¶
-
TYPE_MEMTEST
= 'memtest'¶
-
TYPE_PCI
= 'pci'¶
-
TYPE_PROCESSOR
= 'processor'¶
-
TYPE_STRESS
= 'stress'¶
-
This module contains the general information for DiagNetworkTest ManagedObject.
-
class
ucsmsdk.mometa.diag.DiagNetworkTest.
DiagNetworkTest
(parent_mo_or_dn, order, **kwargs)[source]¶ Bases:
ucsmsdk.ucsmo.ManagedObject
This is DiagNetworkTest class.
-
consts
= <ucsmsdk.mometa.diag.DiagNetworkTest.DiagNetworkTestConsts instance>¶
-
mo_meta
= <ucsmsdk.ucscoremeta.MoMeta object>¶
-
naming_props
= set([u'order'])¶
-
prop_map
= {'dn': 'dn', 'status': 'status', 'length': 'length', 'switchId': 'switch_id', 'sacl': 'sacl', 'rn': 'rn', 'type': 'type', 'order': 'order', 'childAction': 'child_action'}¶
-
prop_meta
= {'dn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12d83dfd0>, 'status': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12d9647d0>, 'length': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12d83d250>, 'type': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12d964e10>, 'sacl': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12d964fd0>, 'rn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12d83dbd0>, 'switch_id': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12d964dd0>, 'order': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12d83dd10>, 'child_action': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12eaeb410>}¶
-
-
class
ucsmsdk.mometa.diag.DiagNetworkTest.
DiagNetworkTestConsts
[source]¶ -
SWITCH_ID_A
= 'A'¶
-
SWITCH_ID_B
= 'B'¶
-
SWITCH_ID_NONE
= 'NONE'¶
-
TYPE_ETH
= 'eth'¶
-
TYPE_FC
= 'fc'¶
-
This module contains the general information for DiagRslt ManagedObject.
-
class
ucsmsdk.mometa.diag.DiagRslt.
DiagRslt
(parent_mo_or_dn, id, **kwargs)[source]¶ Bases:
ucsmsdk.ucsmo.ManagedObject
This is DiagRslt class.
-
consts
= <ucsmsdk.mometa.diag.DiagRslt.DiagRsltConsts instance>¶
-
mo_meta
= <ucsmsdk.ucscoremeta.MoMeta object>¶
-
naming_props
= set([u'id'])¶
-
prop_map
= {'dn': 'dn', 'status': 'status', 'sacl': 'sacl', 'result': 'result', 'id': 'id', 'childAction': 'child_action', 'descr': 'descr', 'startTs': 'start_ts', 'rsltStatus': 'rslt_status', 'rn': 'rn', 'endTs': 'end_ts'}¶
-
prop_meta
= {'dn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12e8a99d0>, 'status': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12e8a9110>, 'rslt_status': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12e8a9910>, 'sacl': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12e8a9b10>, 'start_ts': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12e8a9790>, 'result': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12e8a9a10>, 'id': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12e8a9550>, 'child_action': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12e8a9410>, 'descr': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12e8a9f50>, 'end_ts': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12e8a9190>, 'rn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x12e8a9fd0>}¶
-
-
class
ucsmsdk.mometa.diag.DiagRslt.
DiagRsltConsts
[source]¶ -
RESULT_FAIL
= 'fail'¶
-
RESULT_NA
= 'na'¶
-
RESULT_PASS
= 'pass'¶
-
RSLT_STATUS_CANCELLED
= 'cancelled'¶
-
RSLT_STATUS_COMPLETE
= 'complete'¶
-
RSLT_STATUS_FAILED
= 'failed'¶
-
RSLT_STATUS_IN_PROGRESS
= 'in-progress'¶
-
RSLT_STATUS_NOT_RUN
= 'not-run'¶
-
RSLT_STATUS_SCHEDULED
= 'scheduled'¶
-
This module contains the general information for DiagRunPolicy ManagedObject.
-
class
ucsmsdk.mometa.diag.DiagRunPolicy.
DiagRunPolicy
(parent_mo_or_dn, name, **kwargs)[source]¶ Bases:
ucsmsdk.ucsmo.ManagedObject
This is DiagRunPolicy class.
-
consts
= <ucsmsdk.mometa.diag.DiagRunPolicy.DiagRunPolicyConsts instance>¶
-
mo_meta
= <ucsmsdk.ucscoremeta.MoMeta object>¶
-
naming_props
= set([u'name'])¶
-
prop_map
= {'dn': 'dn', 'status': 'status', 'policyLevel': 'policy_level', 'sacl': 'sacl', 'policyOwner': 'policy_owner', 'successAction': 'success_action', 'intId': 'int_id', 'childAction': 'child_action', 'name': 'name', 'descr': 'descr', 'rn': 'rn', 'failureAction': 'failure_action'}¶
-
prop_meta
= {'dn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1206a5250>, 'failure_action': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1206a5110>, 'sacl': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1206a5a50>, 'int_id': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1206a5e50>, 'child_action': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1206a5bd0>, 'name': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1206a5350>, 'descr': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1206a5b90>, 'policy_owner': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1206a5910>, 'status': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1206a5d90>, 'policy_level': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1206a5390>, 'rn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1206a5150>, 'success_action': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1206a5450>}¶
-
-
class
ucsmsdk.mometa.diag.DiagRunPolicy.
DiagRunPolicyConsts
[source]¶ -
INT_ID_NONE
= 'none'¶
-
POLICY_OWNER_LOCAL
= 'local'¶
-
POLICY_OWNER_PENDING_POLICY
= 'pending-policy'¶
-
POLICY_OWNER_POLICY
= 'policy'¶
-
This module contains the general information for DiagSrvCapProvider ManagedObject.
-
class
ucsmsdk.mometa.diag.DiagSrvCapProvider.
DiagSrvCapProvider
(parent_mo_or_dn, vendor, model, revision, **kwargs)[source]¶ Bases:
ucsmsdk.ucsmo.ManagedObject
This is DiagSrvCapProvider class.
-
consts
= <ucsmsdk.mometa.diag.DiagSrvCapProvider.DiagSrvCapProviderConsts instance>¶
-
mo_meta
= <ucsmsdk.ucscoremeta.MoMeta object>¶
-
naming_props
= set([u'model', u'vendor', u'revision'])¶
-
prop_map
= {'dn': 'dn', 'status': 'status', 'vendor': 'vendor', 'deleted': 'deleted', 'deprecated': 'deprecated', 'promCardType': 'prom_card_type', 'loadWarnings': 'load_warnings', 'elementsLoaded': 'elements_loaded', 'gencount': 'gencount', 'mgmtPlaneVer': 'mgmt_plane_ver', 'sacl': 'sacl', 'model': 'model', 'revision': 'revision', 'loadErrors': 'load_errors', 'rn': 'rn', 'elementLoadFailures': 'element_load_failures', 'childAction': 'child_action'}¶
-
prop_meta
= {'dn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x121644210>, 'status': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x11d6f93d0>, 'vendor': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x10feaf210>, 'load_errors': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x121644150>, 'deleted': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x114ffd2d0>, 'deprecated': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1101be4d0>, 'prom_card_type': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x121644f90>, 'gencount': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x121644dd0>, 'load_warnings': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x121644050>, 'element_load_failures': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x121644f50>, 'sacl': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x10beae890>, 'model': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1216445d0>, 'revision': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1216446d0>, 'mgmt_plane_ver': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1216443d0>, 'rn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x121644310>, 'elements_loaded': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x121644290>, 'child_action': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x11e498250>}¶
-
-
class
ucsmsdk.mometa.diag.DiagSrvCapProvider.
DiagSrvCapProviderConsts
[source]¶ -
DELETED_FALSE
= 'false'¶
-
DELETED_NO
= 'no'¶
-
DELETED_TRUE
= 'true'¶
-
DELETED_YES
= 'yes'¶
-
DEPRECATED_FALSE
= 'false'¶
-
DEPRECATED_NO
= 'no'¶
-
DEPRECATED_TRUE
= 'true'¶
-
DEPRECATED_YES
= 'yes'¶
-
This module contains the general information for DiagSrvCtrl ManagedObject.
-
class
ucsmsdk.mometa.diag.DiagSrvCtrl.
DiagSrvCtrl
(parent_mo_or_dn, **kwargs)[source]¶ Bases:
ucsmsdk.ucsmo.ManagedObject
This is DiagSrvCtrl class.
-
consts
= <ucsmsdk.mometa.diag.DiagSrvCtrl.DiagSrvCtrlConsts instance>¶
-
mo_meta
= <ucsmsdk.ucscoremeta.MoMeta object>¶
-
naming_props
= set([])¶
-
prop_map
= {'dn': 'dn', 'status': 'status', 'operState': 'oper_state', 'imgName': 'img_name', 'startTsM': 'start_ts_m', 'operQualifier': 'oper_qualifier', 'sacl': 'sacl', 'startTs': 'start_ts', 'errorDescr': 'error_descr', 'adminState': 'admin_state', 'endTs': 'end_ts', 'imgLoc': 'img_loc', 'runPolicyName': 'run_policy_name', 'rn': 'rn', 'endTsM': 'end_ts_m', 'type': 'type', 'childAction': 'child_action'}¶
-
prop_meta
= {'dn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1258f9490>, 'status': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x127532b50>, 'sacl': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x127532090>, 'end_ts': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1258f9910>, 'start_ts': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x127532690>, 'end_ts_m': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1258f95d0>, 'error_descr': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1258f9c50>, 'start_ts_m': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x127532050>, 'run_policy_name': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x127532cd0>, 'admin_state': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1258f9050>, 'img_loc': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1258f9090>, 'oper_qualifier': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1258f9fd0>, 'img_name': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1258f9810>, 'rn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1258f9cd0>, 'type': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x127532490>, 'oper_state': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1258f90d0>, 'child_action': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1258f9d50>}¶
-
-
class
ucsmsdk.mometa.diag.DiagSrvCtrl.
DiagSrvCtrlConsts
[source]¶ -
ADMIN_STATE_CANCEL
= 'cancel'¶
-
ADMIN_STATE_READY
= 'ready'¶
-
ADMIN_STATE_TRIGGER
= 'trigger'¶
-
END_TS_M_NEVER
= 'never'¶
-
END_TS_NEVER
= 'never'¶
-
OPER_STATE_CANCELLED
= 'cancelled'¶
-
OPER_STATE_COMPLETE
= 'complete'¶
-
OPER_STATE_FAILED
= 'failed'¶
-
OPER_STATE_IN_PROGRESS
= 'in-progress'¶
-
OPER_STATE_NOT_RUN
= 'not-run'¶
-
OPER_STATE_SCHEDULED
= 'scheduled'¶
-
START_TS_M_NEVER
= 'never'¶
-
START_TS_NEVER
= 'never'¶
-
TYPE_EFI
= 'EFI'¶
-
TYPE_FULL
= 'full'¶
-