ucsmsdk.mometa.swat package¶
Submodules¶
This module contains the general information for SwatAction ManagedObject.
-
class
ucsmsdk.mometa.swat.SwatAction.
SwatAction
(parent_mo_or_dn, name, **kwargs)[source]¶ Bases:
ucsmsdk.ucsmo.ManagedObject
This is SwatAction class.
-
consts
= <ucsmsdk.mometa.swat.SwatAction.SwatActionConsts instance>¶
-
mo_meta
= <ucsmsdk.ucscoremeta.MoMeta object>¶
-
naming_props
= set([u'name'])¶
-
prop_map
= {'dn': 'dn', 'status': 'status', 'interval': 'interval', 'sacl': 'sacl', 'evaluationMethod': 'evaluation_method', 'sleepDelay': 'sleep_delay', 'childAction': 'child_action', 'name': 'name', 'maxHits': 'max_hits', 'instanceMod': 'instance_mod', 'rn': 'rn', 'type': 'type'}¶
-
prop_meta
= {'dn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x165277ed0>, 'status': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x15334f890>, 'evaluation_method': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x165277190>, 'sacl': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x164cd0950>, 'instance_mod': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x154046dd0>, 'max_hits': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x14f143450>, 'name': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x14d9006d0>, 'sleep_delay': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x164cd0cd0>, 'interval': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x14f1431d0>, 'rn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x164cd0750>, 'child_action': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x165277c90>, 'type': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x15334f110>}¶
-
-
class
ucsmsdk.mometa.swat.SwatAction.
SwatActionConsts
[source]¶ -
EVALUATION_METHOD_DETERMINISTIC
= 'Deterministic'¶
-
EVALUATION_METHOD_RANDOM
= 'Random'¶
-
INSTANCE_MOD_CREATE
= 'CREATE'¶
-
INSTANCE_MOD_DELETE
= 'DELETE'¶
-
TYPE_CRASH
= 'CRASH'¶
-
TYPE_MOD
= 'MOD'¶
-
TYPE_RETURN
= 'RETURN'¶
-
TYPE_SLEEP
= 'SLEEP'¶
-
This module contains the general information for SwatCondition ManagedObject.
-
class
ucsmsdk.mometa.swat.SwatCondition.
SwatCondition
(parent_mo_or_dn, var_name, operation, var_value, **kwargs)[source]¶ Bases:
ucsmsdk.ucsmo.ManagedObject
This is SwatCondition class.
-
consts
= <ucsmsdk.mometa.swat.SwatCondition.SwatConditionConsts instance>¶
-
mo_meta
= <ucsmsdk.ucscoremeta.MoMeta object>¶
-
naming_props
= set([u'varName', u'operation', u'varValue'])¶
-
prop_map
= {'dn': 'dn', 'status': 'status', 'varValue': 'var_value', 'varName': 'var_name', 'sacl': 'sacl', 'operation': 'operation', 'rn': 'rn', 'childAction': 'child_action'}¶
-
prop_meta
= {'dn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x15d8a8e50>, 'status': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x13dfa5a10>, 'var_name': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x13dfa5a50>, 'var_value': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x13dfa5ed0>, 'sacl': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x13dfa56d0>, 'operation': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x15d8a8f90>, 'rn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x13dfa50d0>, 'child_action': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x15d8a8250>}¶
-
-
class
ucsmsdk.mometa.swat.SwatCondition.
SwatConditionConsts
[source]¶ -
OPERATION_EQ
= 'EQ'¶
-
OPERATION_GE
= 'GE'¶
-
OPERATION_GT
= 'GT'¶
-
OPERATION_LE
= 'LE'¶
-
OPERATION_LT
= 'LT'¶
-
OPERATION_NE
= 'NE'¶
-
This module contains the general information for SwatInjection ManagedObject.
-
class
ucsmsdk.mometa.swat.SwatInjection.
SwatInjection
(parent_mo_or_dn, name, **kwargs)[source]¶ Bases:
ucsmsdk.ucsmo.ManagedObject
This is SwatInjection class.
-
consts
= <ucsmsdk.mometa.swat.SwatInjection.SwatInjectionConsts instance>¶
-
mo_meta
= <ucsmsdk.ucscoremeta.MoMeta object>¶
-
naming_props
= set([u'name'])¶
-
prop_map
= {'dn': 'dn', 'status': 'status', 'vendor': 'vendor', 'sacl': 'sacl', 'serial': 'serial', 'rn': 'rn', 'childAction': 'child_action', 'name': 'name', 'poolDn': 'pool_dn', 'model': 'model', 'revision': 'revision'}¶
-
prop_meta
= {'dn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1511281d0>, 'status': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x166032d50>, 'vendor': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x166032f90>, 'sacl': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x166844ed0>, 'serial': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x166032c10>, 'rn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x166844650>, 'child_action': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x151128b50>, 'name': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x151128310>, 'pool_dn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x166844e90>, 'model': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1511283d0>, 'revision': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x166844a10>}¶
-
This module contains the general information for SwatResultstats ManagedObject.
-
class
ucsmsdk.mometa.swat.SwatResultstats.
SwatResultstats
(parent_mo_or_dn, **kwargs)[source]¶ Bases:
ucsmsdk.ucsmo.ManagedObject
This is SwatResultstats class.
-
consts
= <ucsmsdk.mometa.swat.SwatResultstats.SwatResultstatsConsts instance>¶
-
mo_meta
= <ucsmsdk.ucscoremeta.MoMeta object>¶
-
naming_props
= set([])¶
-
prop_map
= {'dn': 'dn', 'status': 'status', 'totalPasses': 'total_passes', 'trueHits': 'true_hits', 'activityName': 'activity_name', 'sacl': 'sacl', 'rn': 'rn', 'label': 'label', 'falseHits': 'false_hits', 'childAction': 'child_action'}¶
-
prop_meta
= {'dn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x16590b210>, 'false_hits': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x16590b750>, 'true_hits': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x16666b210>, 'status': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x16590bf10>, 'total_passes': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x16666be90>, 'sacl': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x16590b3d0>, 'activity_name': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x16590bd90>, 'label': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x16590b510>, 'rn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x16590b190>, 'child_action': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x16590be10>}¶
-
This module contains the general information for SwatTarget ManagedObject.
-
class
ucsmsdk.mometa.swat.SwatTarget.
SwatTarget
(parent_mo_or_dn, var_name, var_value, **kwargs)[source]¶ Bases:
ucsmsdk.ucsmo.ManagedObject
This is SwatTarget class.
-
consts
= <ucsmsdk.mometa.swat.SwatTarget.SwatTargetConsts instance>¶
-
mo_meta
= <ucsmsdk.ucscoremeta.MoMeta object>¶
-
naming_props
= set([u'varName', u'varValue'])¶
-
prop_map
= {'dn': 'dn', 'status': 'status', 'varValue': 'var_value', 'sacl': 'sacl', 'varName': 'var_name', 'rn': 'rn', 'childAction': 'child_action'}¶
-
prop_meta
= {'dn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x14f1a8410>, 'status': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x14f1a8dd0>, 'var_value': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x14f1a84d0>, 'sacl': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x14f1a8d10>, 'var_name': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x14f1a8f50>, 'rn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x14f1a8390>, 'child_action': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x14f1a8a10>}¶
-
This module contains the general information for SwatTrigger ManagedObject.
-
class
ucsmsdk.mometa.swat.SwatTrigger.
SwatTrigger
(parent_mo_or_dn, name, **kwargs)[source]¶ Bases:
ucsmsdk.ucsmo.ManagedObject
This is SwatTrigger class.
-
consts
= <ucsmsdk.mometa.swat.SwatTrigger.SwatTriggerConsts instance>¶
-
mo_meta
= <ucsmsdk.ucscoremeta.MoMeta object>¶
-
naming_props
= set([u'name'])¶
-
prop_map
= {'dn': 'dn', 'status': 'status', 'name': 'name', 'sacl': 'sacl', 'rn': 'rn', 'type': 'type', 'childAction': 'child_action'}¶
-
prop_meta
= {'dn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1646f7510>, 'status': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x16525dd90>, 'name': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1646f7650>, 'sacl': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x16525d650>, 'rn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x16525dc50>, 'type': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x16525d590>, 'child_action': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x165d23350>}¶
-