Source code for ucsmsdk.mometa.diag.DiagBladeTest

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

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


[docs]class DiagBladeTestConsts: TYPE_DISK = "disk" TYPE_MEMORY = "memory" TYPE_MEMTEST = "memtest" TYPE_PCI = "pci" TYPE_PROCESSOR = "processor" TYPE_STRESS = "stress"
[docs]class DiagBladeTest(ManagedObject): """This is DiagBladeTest class.""" consts = DiagBladeTestConsts() naming_props = set([u'order']) mo_meta = MoMeta("DiagBladeTest", "diagBladeTest", "blade-test-[order]", VersionMeta.Version131c, "InputOutput", 0xff, [], ["admin", "pn-policy"], [u'diagRunPolicy'], [], ["Get"]) prop_meta = { "child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version131c, MoPropertyMeta.INTERNAL, 0x2, None, None, r"""((deleteAll|ignore|deleteNonPresent),){0,2}(deleteAll|ignore|deleteNonPresent){0,1}""", [], []), "dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version131c, MoPropertyMeta.READ_ONLY, 0x4, 0, 256, None, [], []), "length": MoPropertyMeta("length", "length", "uint", VersionMeta.Version131c, MoPropertyMeta.READ_WRITE, 0x8, None, None, None, [], ["1-1440"]), "order": MoPropertyMeta("order", "order", "byte", VersionMeta.Version131c, MoPropertyMeta.NAMING, 0x10, None, None, None, [], ["1-64"]), "rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version131c, MoPropertyMeta.READ_ONLY, 0x20, 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}""", [], []), "status": MoPropertyMeta("status", "status", "string", VersionMeta.Version131c, MoPropertyMeta.READ_WRITE, 0x40, None, None, r"""((removed|created|modified|deleted),){0,3}(removed|created|modified|deleted){0,1}""", [], []), "type": MoPropertyMeta("type", "type", "string", VersionMeta.Version131c, MoPropertyMeta.READ_WRITE, 0x80, None, None, None, ["disk", "memory", "memtest", "pci", "processor", "stress"], []), } prop_map = { "childAction": "child_action", "dn": "dn", "length": "length", "order": "order", "rn": "rn", "sacl": "sacl", "status": "status", "type": "type", } def __init__(self, parent_mo_or_dn, order, **kwargs): self._dirty_mask = 0 self.order = order self.child_action = None self.length = None self.sacl = None self.status = None self.type = None ManagedObject.__init__(self, "DiagBladeTest", parent_mo_or_dn, **kwargs)