Source code for imcsdk.mometa.adaptor.AdaptorFcBootTable

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

from ...imcmo import ManagedObject
from ...imccoremeta import MoPropertyMeta, MoMeta
from ...imcmeta import VersionMeta


[docs]class AdaptorFcBootTableConsts: pass
[docs]class AdaptorFcBootTable(ManagedObject): """This is AdaptorFcBootTable class.""" consts = AdaptorFcBootTableConsts() naming_props = set([u'index']) mo_meta = MoMeta("AdaptorFcBootTable", "adaptorFcBootTable", "fcboot-[index]", VersionMeta.Version151f, "InputOutput", 0x7f, [], ["admin", "read-only", "user"], [u'adaptorHostFcIf'], [], ["Add", "Get", "Set"]) prop_meta = { "boot_lun": MoPropertyMeta("boot_lun", "bootLun", "uint", VersionMeta.Version151f, MoPropertyMeta.READ_WRITE, 0x2, None, None, None, [], ["0-255"]), "child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version151f, MoPropertyMeta.INTERNAL, None, None, None, None, [], []), "dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version151f, MoPropertyMeta.READ_WRITE, 0x4, 0, 255, None, [], []), "index": MoPropertyMeta("index", "index", "uint", VersionMeta.Version151f, MoPropertyMeta.NAMING, 0x8, None, None, None, [], ["0-3"]), "rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version151f, MoPropertyMeta.READ_WRITE, 0x10, 0, 255, None, [], []), "status": MoPropertyMeta("status", "status", "string", VersionMeta.Version151f, MoPropertyMeta.READ_WRITE, 0x20, None, None, None, ["", "created", "deleted", "modified", "removed"], []), "target_wwpn": MoPropertyMeta("target_wwpn", "targetWwpn", "string", VersionMeta.Version151f, MoPropertyMeta.READ_WRITE, 0x40, 0, 256, r"""(([A-Fa-f0-9][A-Fa-f0-9]:){7}[A-Fa-f0-9][A-Fa-f0-9])|0""", [], []), } prop_map = { "bootLun": "boot_lun", "childAction": "child_action", "dn": "dn", "index": "index", "rn": "rn", "status": "status", "targetWwpn": "target_wwpn", } def __init__(self, parent_mo_or_dn, index, **kwargs): self._dirty_mask = 0 self.index = index self.boot_lun = None self.child_action = None self.status = None self.target_wwpn = None ManagedObject.__init__(self, "AdaptorFcBootTable", parent_mo_or_dn, **kwargs)