Source code for ucsmsdk.mometa.storage.StorageSystemFsmTask

"""This module contains the general information for StorageSystemFsmTask ManagedObject."""

from ...ucsmo import ManagedObject
from ...ucscoremeta import MoPropertyMeta, MoMeta
from ...ucsmeta import VersionMeta


[docs]class StorageSystemFsmTaskConsts: COMPLETION_CANCELLED = "cancelled" COMPLETION_COMPLETED = "completed" COMPLETION_PROCESSING = "processing" COMPLETION_SCHEDULED = "scheduled" ITEM_SYNC = "Sync" ITEM_NOP = "nop"
[docs]class StorageSystemFsmTask(ManagedObject): """This is StorageSystemFsmTask class.""" consts = StorageSystemFsmTaskConsts() naming_props = set([u'item']) mo_meta = MoMeta("StorageSystemFsmTask", "storageSystemFsmTask", "task-[item]", VersionMeta.Version211a, "OutputOnly", 0xf, [], [""], [u'storageSystem'], [], [None]) prop_meta = { "child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version211a, MoPropertyMeta.INTERNAL, None, None, None, r"""((deleteAll|ignore|deleteNonPresent),){0,2}(deleteAll|ignore|deleteNonPresent){0,1}""", [], []), "completion": MoPropertyMeta("completion", "completion", "string", VersionMeta.Version211a, MoPropertyMeta.READ_ONLY, None, None, None, None, ["cancelled", "completed", "processing", "scheduled"], []), "dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version211a, MoPropertyMeta.READ_ONLY, 0x2, 0, 256, None, [], []), "flags": MoPropertyMeta("flags", "flags", "string", VersionMeta.Version211a, MoPropertyMeta.READ_ONLY, None, None, None, r"""(defaultValue){0,1}""", [], []), "item": MoPropertyMeta("item", "item", "string", VersionMeta.Version211a, MoPropertyMeta.NAMING, None, None, None, None, ["Sync", "nop"], []), "rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version211a, MoPropertyMeta.READ_ONLY, 0x4, 0, 256, None, [], []), "sacl": MoPropertyMeta("sacl", "sacl", "string", VersionMeta.Version302a, MoPropertyMeta.READ_ONLY, None, None, None, r"""((none|del|mod|addchild|cascade),){0,4}(none|del|mod|addchild|cascade){0,1}""", [], []), "seq_id": MoPropertyMeta("seq_id", "seqId", "uint", VersionMeta.Version211a, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), "status": MoPropertyMeta("status", "status", "string", VersionMeta.Version211a, MoPropertyMeta.READ_WRITE, 0x8, None, None, r"""((removed|created|modified|deleted),){0,3}(removed|created|modified|deleted){0,1}""", [], []), } prop_map = { "childAction": "child_action", "completion": "completion", "dn": "dn", "flags": "flags", "item": "item", "rn": "rn", "sacl": "sacl", "seqId": "seq_id", "status": "status", } def __init__(self, parent_mo_or_dn, item, **kwargs): self._dirty_mask = 0 self.item = item self.child_action = None self.completion = None self.flags = None self.sacl = None self.seq_id = None self.status = None ManagedObject.__init__(self, "StorageSystemFsmTask", parent_mo_or_dn, **kwargs)