Source code for ucsmsdk.mometa.compute.ComputeBoardConnector

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

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


[docs]class ComputeBoardConnectorConsts: BOARD_CONNECTOR_TYPE_CONN_LINKED = "conn-linked" BOARD_CONNECTOR_TYPE_CONN_UNLINKED = "conn-unlinked"
[docs]class ComputeBoardConnector(ManagedObject): """This is ComputeBoardConnector class.""" consts = ComputeBoardConnectorConsts() naming_props = set([]) mo_meta = MoMeta("ComputeBoardConnector", "computeBoardConnector", "board-conn", VersionMeta.Version222c, "InputOutput", 0x1f, [], ["read-only"], [u'computeBlade'], [], ["Get"]) prop_meta = { "board_connector_type": MoPropertyMeta("board_connector_type", "boardConnectorType", "string", VersionMeta.Version222c, MoPropertyMeta.READ_ONLY, None, None, None, None, ["conn-linked", "conn-unlinked"], []), "child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version222c, MoPropertyMeta.INTERNAL, 0x2, None, None, r"""((deleteAll|ignore|deleteNonPresent),){0,2}(deleteAll|ignore|deleteNonPresent){0,1}""", [], []), "dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version222c, MoPropertyMeta.READ_ONLY, 0x4, 0, 256, None, [], []), "master_slot_id": MoPropertyMeta("master_slot_id", "masterSlotId", "uint", VersionMeta.Version222c, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), "rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version222c, MoPropertyMeta.READ_ONLY, 0x8, 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}""", [], []), "slave_slot_id": MoPropertyMeta("slave_slot_id", "slaveSlotId", "uint", VersionMeta.Version222c, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), "status": MoPropertyMeta("status", "status", "string", VersionMeta.Version222c, MoPropertyMeta.READ_WRITE, 0x10, None, None, r"""((removed|created|modified|deleted),){0,3}(removed|created|modified|deleted){0,1}""", [], []), } prop_map = { "boardConnectorType": "board_connector_type", "childAction": "child_action", "dn": "dn", "masterSlotId": "master_slot_id", "rn": "rn", "sacl": "sacl", "slaveSlotId": "slave_slot_id", "status": "status", } def __init__(self, parent_mo_or_dn, **kwargs): self._dirty_mask = 0 self.board_connector_type = None self.child_action = None self.master_slot_id = None self.sacl = None self.slave_slot_id = None self.status = None ManagedObject.__init__(self, "ComputeBoardConnector", parent_mo_or_dn, **kwargs)