"""This module contains the general information for AaaLocalMgmtCmdLog ManagedObject.""" from ...ucsmo import ManagedObject from ...ucscoremeta import MoPropertyMeta, MoMeta from ...ucsmeta import VersionMeta class AaaLocalMgmtCmdLogConsts: SWITCH_ID_A = "A" SWITCH_ID_B = "B" SWITCH_ID_NONE = "NONE" class AaaLocalMgmtCmdLog(ManagedObject): """This is AaaLocalMgmtCmdLog class.""" consts = AaaLocalMgmtCmdLogConsts() naming_props = set([]) mo_meta = MoMeta("AaaLocalMgmtCmdLog", "aaaLocalMgmtCmdLog", "", VersionMeta.Version312b, "InputOutput", 0x1f, [], ["admin"], [], [], [None]) prop_meta = { "child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version312b, MoPropertyMeta.INTERNAL, 0x2, None, None, r"""((deleteAll|ignore|deleteNonPresent),){0,2}(deleteAll|ignore|deleteNonPresent){0,1}""", [], []), "cmdline": MoPropertyMeta("cmdline", "cmdline", "string", VersionMeta.Version312b, MoPropertyMeta.READ_ONLY, None, 0, 510, None, [], []), "date": MoPropertyMeta("date", "date", "string", VersionMeta.Version312b, MoPropertyMeta.READ_ONLY, None, None, None, r"""([0-9]){4}-([0-9]){2}-([0-9]){2}T([0-9]){2}:([0-9]){2}:([0-9]){2}((\.([0-9]){3})){0,1}""", [], []), "dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version312b, MoPropertyMeta.READ_ONLY, 0x4, 0, 256, None, [], []), "host": MoPropertyMeta("host", "host", "string", VersionMeta.Version312b, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), "rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version312b, MoPropertyMeta.READ_ONLY, 0x8, 0, 256, None, [], []), "sacl": MoPropertyMeta("sacl", "sacl", "string", VersionMeta.Version312b, MoPropertyMeta.READ_ONLY, None, None, None, r"""((none|del|mod|addchild|cascade),){0,4}(none|del|mod|addchild|cascade){0,1}""", [], []), "status": MoPropertyMeta("status", "status", "string", VersionMeta.Version312b, MoPropertyMeta.READ_WRITE, 0x10, None, None, r"""((removed|created|modified|deleted),){0,3}(removed|created|modified|deleted){0,1}""", [], []), "switch_id": MoPropertyMeta("switch_id", "switchId", "string", VersionMeta.Version312b, MoPropertyMeta.READ_ONLY, None, None, None, None, ["A", "B", "NONE"], []), "term": MoPropertyMeta("term", "term", "string", VersionMeta.Version312b, MoPropertyMeta.READ_ONLY, None, 0, 16, None, [], []), "user": MoPropertyMeta("user", "user", "string", VersionMeta.Version312b, MoPropertyMeta.READ_ONLY, None, None, None, r"""[\-\.:_a-zA-Z0-9]{0,16}""", [], []), } prop_map = { "childAction": "child_action", "cmdline": "cmdline", "date": "date", "dn": "dn", "host": "host", "rn": "rn", "sacl": "sacl", "status": "status", "switchId": "switch_id", "term": "term", "user": "user", } def __init__(self, parent_mo_or_dn, **kwargs): self._dirty_mask = 0 self.child_action = None self.cmdline = None self.date = None self.host = None self.sacl = None self.status = None self.switch_id = None self.term = None self.user = None ManagedObject.__init__(self, "AaaLocalMgmtCmdLog", parent_mo_or_dn, **kwargs)