Source code for ucsmsdk.mometa.equipment.EquipmentServerUnitCapProvider

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

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


[docs]class EquipmentServerUnitCapProviderConsts: DELETED_FALSE = "false" DELETED_NO = "no" DELETED_TRUE = "true" DELETED_YES = "yes" DEPRECATED_FALSE = "false" DEPRECATED_NO = "no" DEPRECATED_TRUE = "true" DEPRECATED_YES = "yes"
[docs]class EquipmentServerUnitCapProvider(ManagedObject): """This is EquipmentServerUnitCapProvider class.""" consts = EquipmentServerUnitCapProviderConsts() naming_props = set([u'vendor', u'model', u'revision']) mo_meta = MoMeta("EquipmentServerUnitCapProvider", "equipmentServerUnitCapProvider", "manufacturer-[vendor]-model-[model]-revision-[revision]", VersionMeta.Version251a, "InputOutput", 0x1ff, [], [""], [u'capabilityCatalogue', u'equipmentHwCapDerivativeProvider'], [u'computePciCap', u'equipmentBiosDef', u'equipmentBladeAGLibrary', u'equipmentBladeConnDef', u'equipmentBoardControllerDef', u'equipmentDimmMapping', u'equipmentHDDFaultMonDef', u'equipmentManufacturingDef', u'equipmentPhysicalDef', u'equipmentPicture', u'equipmentServerFeatureCap', u'equipmentServiceDef', u'equipmentSlotArray', u'equipmentSlotArrayRef', u'equipmentStorageControllerConfig', u'firmwareConstraints', u'firmwareType', u'firmwareUpgradeConstraint'], ["Get"]) prop_meta = { "child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version251a, MoPropertyMeta.INTERNAL, 0x2, None, None, r"""((deleteAll|ignore|deleteNonPresent),){0,2}(deleteAll|ignore|deleteNonPresent){0,1}""", [], []), "deleted": MoPropertyMeta("deleted", "deleted", "string", VersionMeta.Version251a, MoPropertyMeta.READ_ONLY, None, None, None, None, ["false", "no", "true", "yes"], []), "deprecated": MoPropertyMeta("deprecated", "deprecated", "string", VersionMeta.Version251a, MoPropertyMeta.READ_ONLY, None, None, None, None, ["false", "no", "true", "yes"], []), "dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version251a, MoPropertyMeta.READ_ONLY, 0x4, 0, 256, None, [], []), "element_load_failures": MoPropertyMeta("element_load_failures", "elementLoadFailures", "uint", VersionMeta.Version251a, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), "elements_loaded": MoPropertyMeta("elements_loaded", "elementsLoaded", "uint", VersionMeta.Version251a, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), "gencount": MoPropertyMeta("gencount", "gencount", "uint", VersionMeta.Version251a, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), "load_errors": MoPropertyMeta("load_errors", "loadErrors", "uint", VersionMeta.Version251a, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), "load_warnings": MoPropertyMeta("load_warnings", "loadWarnings", "uint", VersionMeta.Version251a, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), "max_local_disks": MoPropertyMeta("max_local_disks", "maxLocalDisks", "ushort", VersionMeta.Version251a, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), "mgmt_plane_ver": MoPropertyMeta("mgmt_plane_ver", "mgmtPlaneVer", "string", VersionMeta.Version251a, MoPropertyMeta.READ_ONLY, None, 0, 510, None, [], []), "model": MoPropertyMeta("model", "model", "string", VersionMeta.Version251a, MoPropertyMeta.NAMING, 0x8, 1, 510, None, [], []), "prom_card_type": MoPropertyMeta("prom_card_type", "promCardType", "ushort", VersionMeta.Version251a, MoPropertyMeta.READ_WRITE, 0x10, None, None, None, [], []), "revision": MoPropertyMeta("revision", "revision", "string", VersionMeta.Version251a, MoPropertyMeta.NAMING, 0x20, 1, 510, None, [], []), "rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version251a, MoPropertyMeta.READ_ONLY, 0x40, 0, 256, None, [], []), "sacl": MoPropertyMeta("sacl", "sacl", "string", VersionMeta.Version311e, 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.Version251a, MoPropertyMeta.READ_WRITE, 0x80, None, None, r"""((removed|created|modified|deleted),){0,3}(removed|created|modified|deleted){0,1}""", [], []), "vendor": MoPropertyMeta("vendor", "vendor", "string", VersionMeta.Version251a, MoPropertyMeta.NAMING, 0x100, 1, 510, None, [], []), } prop_map = { "childAction": "child_action", "deleted": "deleted", "deprecated": "deprecated", "dn": "dn", "elementLoadFailures": "element_load_failures", "elementsLoaded": "elements_loaded", "gencount": "gencount", "loadErrors": "load_errors", "loadWarnings": "load_warnings", "maxLocalDisks": "max_local_disks", "mgmtPlaneVer": "mgmt_plane_ver", "model": "model", "promCardType": "prom_card_type", "revision": "revision", "rn": "rn", "sacl": "sacl", "status": "status", "vendor": "vendor", } def __init__(self, parent_mo_or_dn, vendor, model, revision, **kwargs): self._dirty_mask = 0 self.vendor = vendor self.model = model self.revision = revision self.child_action = None self.deleted = None self.deprecated = None self.element_load_failures = None self.elements_loaded = None self.gencount = None self.load_errors = None self.load_warnings = None self.max_local_disks = None self.mgmt_plane_ver = None self.prom_card_type = None self.sacl = None self.status = None ManagedObject.__init__(self, "EquipmentServerUnitCapProvider", parent_mo_or_dn, **kwargs)