Source code for ucsmsdk.mometa.firmware.FirmwareExcludeServerComponent

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

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


[docs]class FirmwareExcludeServerComponentConsts: SERVER_COMPONENT_ADAPTOR = "adaptor" SERVER_COMPONENT_BLADE_BIOS = "blade-bios" SERVER_COMPONENT_BLADE_CONTROLLER = "blade-controller" SERVER_COMPONENT_BOARD_CONTROLLER = "board-controller" SERVER_COMPONENT_FLEXFLASH_CONTROLLER = "flexflash-controller" SERVER_COMPONENT_GRAPHICS_CARD = "graphics-card" SERVER_COMPONENT_HOST_HBA = "host-hba" SERVER_COMPONENT_HOST_HBA_OPTIONROM = "host-hba-optionrom" SERVER_COMPONENT_HOST_NIC = "host-nic" SERVER_COMPONENT_HOST_NIC_OPTIONROM = "host-nic-optionrom" SERVER_COMPONENT_LOCAL_DISK = "local-disk" SERVER_COMPONENT_PSU = "psu" SERVER_COMPONENT_SAS_EXP_REG_FW = "sas-exp-reg-fw" SERVER_COMPONENT_SAS_EXPANDER = "sas-expander" SERVER_COMPONENT_STORAGE_CONTROLLER = "storage-controller" SERVER_COMPONENT_STORAGE_CONTROLLER_ONBOARD_DEVICE = "storage-controller-onboard-device" SERVER_COMPONENT_STORAGE_CONTROLLER_ONBOARD_DEVICE_CPLD = "storage-controller-onboard-device-cpld" SERVER_COMPONENT_STORAGE_DEV_BRIDGE = "storage-dev-bridge" SERVER_COMPONENT_UNSPECIFIED = "unspecified"
[docs]class FirmwareExcludeServerComponent(ManagedObject): """This is FirmwareExcludeServerComponent class.""" consts = FirmwareExcludeServerComponentConsts() naming_props = set([u'serverComponent']) mo_meta = MoMeta("FirmwareExcludeServerComponent", "firmwareExcludeServerComponent", "exclude-server-component-[server_component]", VersionMeta.Version227b, "InputOutput", 0x3f, [], ["admin", "ls-compute", "ls-config-policy", "ls-server-policy"], [u'firmwareComputeHostPack'], [], [None]) prop_meta = { "child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version227b, MoPropertyMeta.INTERNAL, 0x2, None, None, r"""((deleteAll|ignore|deleteNonPresent),){0,2}(deleteAll|ignore|deleteNonPresent){0,1}""", [], []), "dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version227b, MoPropertyMeta.READ_ONLY, 0x4, 0, 256, None, [], []), "prop_acl": MoPropertyMeta("prop_acl", "propAcl", "ulong", VersionMeta.Version311e, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), "rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version227b, MoPropertyMeta.READ_ONLY, 0x8, 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}""", [], []), "server_component": MoPropertyMeta("server_component", "serverComponent", "string", VersionMeta.Version227b, MoPropertyMeta.NAMING, 0x10, None, None, None, ["adaptor", "blade-bios", "blade-controller", "board-controller", "flexflash-controller", "graphics-card", "host-hba", "host-hba-optionrom", "host-nic", "host-nic-optionrom", "local-disk", "psu", "sas-exp-reg-fw", "sas-expander", "storage-controller", "storage-controller-onboard-device", "storage-controller-onboard-device-cpld", "storage-dev-bridge", "unspecified"], []), "status": MoPropertyMeta("status", "status", "string", VersionMeta.Version227b, MoPropertyMeta.READ_WRITE, 0x20, None, None, r"""((removed|created|modified|deleted),){0,3}(removed|created|modified|deleted){0,1}""", [], []), } prop_map = { "childAction": "child_action", "dn": "dn", "propAcl": "prop_acl", "rn": "rn", "sacl": "sacl", "serverComponent": "server_component", "status": "status", } def __init__(self, parent_mo_or_dn, server_component, **kwargs): self._dirty_mask = 0 self.server_component = server_component self.child_action = None self.prop_acl = None self.sacl = None self.status = None ManagedObject.__init__(self, "FirmwareExcludeServerComponent", parent_mo_or_dn, **kwargs)