Source code for ucsmsdk.mometa.sysdebug.SysdebugLogControlDestinationSyslog

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

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


[docs]class SysdebugLogControlDestinationSyslogConsts: DEFAULT_LEVEL_CRIT = "crit" DEFAULT_LEVEL_DEBUG0 = "debug0" DEFAULT_LEVEL_DEBUG1 = "debug1" DEFAULT_LEVEL_DEBUG2 = "debug2" DEFAULT_LEVEL_DEBUG3 = "debug3" DEFAULT_LEVEL_DEBUG4 = "debug4" DEFAULT_LEVEL_INFO = "info" DEFAULT_LEVEL_MAJOR = "major" DEFAULT_LEVEL_MINOR = "minor" DEFAULT_LEVEL_WARN = "warn" LEVEL_CRIT = "crit" LEVEL_DEBUG0 = "debug0" LEVEL_DEBUG1 = "debug1" LEVEL_DEBUG2 = "debug2" LEVEL_DEBUG3 = "debug3" LEVEL_DEBUG4 = "debug4" LEVEL_INFO = "info" LEVEL_MAJOR = "major" LEVEL_MINOR = "minor" LEVEL_WARN = "warn"
[docs]class SysdebugLogControlDestinationSyslog(ManagedObject): """This is SysdebugLogControlDestinationSyslog class.""" consts = SysdebugLogControlDestinationSyslogConsts() naming_props = set([]) mo_meta = MoMeta("SysdebugLogControlDestinationSyslog", "sysdebugLogControlDestinationSyslog", "syslog", VersionMeta.Version101e, "InputOutput", 0x7f, [], ["admin", "operations"], [u'sysdebugLogControlDomain'], [], ["Get"]) prop_meta = { "child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version101e, MoPropertyMeta.INTERNAL, 0x2, None, None, r"""((deleteAll|ignore|deleteNonPresent),){0,2}(deleteAll|ignore|deleteNonPresent){0,1}""", [], []), "default_level": MoPropertyMeta("default_level", "defaultLevel", "string", VersionMeta.Version101e, MoPropertyMeta.READ_WRITE, 0x4, None, None, None, ["crit", "debug0", "debug1", "debug2", "debug3", "debug4", "info", "major", "minor", "warn"], []), "dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version101e, MoPropertyMeta.READ_ONLY, 0x8, 0, 256, None, [], []), "level": MoPropertyMeta("level", "level", "string", VersionMeta.Version101e, MoPropertyMeta.READ_WRITE, 0x10, None, None, None, ["crit", "debug0", "debug1", "debug2", "debug3", "debug4", "info", "major", "minor", "warn"], []), "rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version101e, MoPropertyMeta.READ_ONLY, 0x20, 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}""", [], []), "status": MoPropertyMeta("status", "status", "string", VersionMeta.Version101e, MoPropertyMeta.READ_WRITE, 0x40, None, None, r"""((removed|created|modified|deleted),){0,3}(removed|created|modified|deleted){0,1}""", [], []), } prop_map = { "childAction": "child_action", "defaultLevel": "default_level", "dn": "dn", "level": "level", "rn": "rn", "sacl": "sacl", "status": "status", } def __init__(self, parent_mo_or_dn, **kwargs): self._dirty_mask = 0 self.child_action = None self.default_level = None self.level = None self.sacl = None self.status = None ManagedObject.__init__(self, "SysdebugLogControlDestinationSyslog", parent_mo_or_dn, **kwargs)