Source code for imcsdk.mometa.lsboot.LsbootDef

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

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


[docs]class LsbootDefConsts: PURPOSE_OPERATIONAL = "operational" PURPOSE_UTILITY = "utility" REBOOT_ON_UPDATE_FALSE = "false" REBOOT_ON_UPDATE_NO = "no" REBOOT_ON_UPDATE_TRUE = "true" REBOOT_ON_UPDATE_YES = "yes"
[docs]class LsbootDef(ManagedObject): """This is LsbootDef class.""" consts = LsbootDefConsts() naming_props = set([]) mo_meta = MoMeta("LsbootDef", "lsbootDef", "boot-policy", VersionMeta.Version151f, "InputOutput", 0x1f, [], ["admin", "read-only", "user"], [u'computeRackUnit'], [u'lsbootBootSecurity', u'lsbootEfi', u'lsbootLan', u'lsbootStorage', u'lsbootVirtualMedia'], ["Get", "Set"]) prop_meta = { "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, 0x2, 0, 255, None, [], []), "name": MoPropertyMeta("name", "name", "string", VersionMeta.Version151f, MoPropertyMeta.READ_ONLY, None, None, None, r"""[\-\.:_a-zA-Z0-9]{0,16}""", [], []), "purpose": MoPropertyMeta("purpose", "purpose", "string", VersionMeta.Version151f, MoPropertyMeta.READ_ONLY, None, None, None, None, ["operational", "utility"], []), "reboot_on_update": MoPropertyMeta("reboot_on_update", "rebootOnUpdate", "string", VersionMeta.Version151f, MoPropertyMeta.READ_WRITE, 0x4, None, None, None, ["No", "Yes", "false", "no", "true", "yes"], []), "rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version151f, MoPropertyMeta.READ_WRITE, 0x8, 0, 255, None, [], []), "status": MoPropertyMeta("status", "status", "string", VersionMeta.Version151f, MoPropertyMeta.READ_WRITE, 0x10, None, None, None, ["", "created", "deleted", "modified", "removed"], []), } prop_map = { "childAction": "child_action", "dn": "dn", "name": "name", "purpose": "purpose", "rebootOnUpdate": "reboot_on_update", "rn": "rn", "status": "status", } def __init__(self, parent_mo_or_dn, **kwargs): self._dirty_mask = 0 self.child_action = None self.name = None self.purpose = None self.reboot_on_update = None self.status = None ManagedObject.__init__(self, "LsbootDef", parent_mo_or_dn, **kwargs)