"""This module contains the general information for ConfigManagedEpImpactResponse ManagedObject."""
from ...ucsmo import ManagedObject
from ...ucscoremeta import MoPropertyMeta, MoMeta
from ...ucsmeta import VersionMeta
[docs]class ConfigManagedEpImpactResponseConsts:
REBOOT_REQUIRED_FALSE = "false"
REBOOT_REQUIRED_NO = "no"
REBOOT_REQUIRED_TRUE = "true"
REBOOT_REQUIRED_YES = "yes"
STATE_COMPLETE = "complete"
STATE_NOT_STARTED = "not-started"
STATE_WAITING = "waiting"
[docs]class ConfigManagedEpImpactResponse(ManagedObject):
"""This is ConfigManagedEpImpactResponse class."""
consts = ConfigManagedEpImpactResponseConsts()
naming_props = set([u'appConnectorId', u'sourceConnectorId'])
mo_meta = MoMeta("ConfigManagedEpImpactResponse", "configManagedEpImpactResponse", "ManagedEpapp-id-[app_connector_id]src-id-[source_connector_id]", VersionMeta.Version212a, "InputOutput", 0x1ff, [], ["read-only"], [], [u'configImpact'], [None])
prop_meta = {
"affected_chassis_cnt": MoPropertyMeta("affected_chassis_cnt", "affectedChassisCnt", "ushort", VersionMeta.Version911z, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []),
"affected_servers": MoPropertyMeta("affected_servers", "affectedServers", "ushort", VersionMeta.Version212a, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []),
"app_connector_id": MoPropertyMeta("app_connector_id", "appConnectorId", "uint", VersionMeta.Version212a, MoPropertyMeta.NAMING, 0x2, None, None, None, [], []),
"child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version212a, MoPropertyMeta.INTERNAL, 0x4, None, None, r"""((deleteAll|ignore|deleteNonPresent),){0,2}(deleteAll|ignore|deleteNonPresent){0,1}""", [], []),
"dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version212a, MoPropertyMeta.READ_ONLY, 0x8, 0, 256, None, [], []),
"ep_name": MoPropertyMeta("ep_name", "epName", "string", VersionMeta.Version212a, MoPropertyMeta.READ_ONLY, None, None, None, r"""[\-\.:_a-zA-Z0-9]{0,16}""", [], []),
"impact_analyzer_id": MoPropertyMeta("impact_analyzer_id", "impactAnalyzerId", "string", VersionMeta.Version212a, MoPropertyMeta.READ_WRITE, 0x10, None, None, r"""([0-9]){4}-([0-9]){2}-([0-9]){2}T([0-9]){2}:([0-9]){2}:([0-9]){2}((\.([0-9]){3})){0,1}""", [], []),
"reboot_required": MoPropertyMeta("reboot_required", "rebootRequired", "string", VersionMeta.Version212a, MoPropertyMeta.READ_ONLY, None, None, None, None, ["false", "no", "true", "yes"], []),
"rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version212a, 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}""", [], []),
"source_connector_id": MoPropertyMeta("source_connector_id", "sourceConnectorId", "uint", VersionMeta.Version212a, MoPropertyMeta.NAMING, 0x40, None, None, None, [], []),
"state": MoPropertyMeta("state", "state", "string", VersionMeta.Version212a, MoPropertyMeta.READ_WRITE, 0x80, None, None, None, ["complete", "not-started", "waiting"], []),
"status": MoPropertyMeta("status", "status", "string", VersionMeta.Version212a, MoPropertyMeta.READ_WRITE, 0x100, None, None, r"""((removed|created|modified|deleted),){0,3}(removed|created|modified|deleted){0,1}""", [], []),
}
prop_map = {
"affectedChassisCnt": "affected_chassis_cnt",
"affectedServers": "affected_servers",
"appConnectorId": "app_connector_id",
"childAction": "child_action",
"dn": "dn",
"epName": "ep_name",
"impactAnalyzerId": "impact_analyzer_id",
"rebootRequired": "reboot_required",
"rn": "rn",
"sacl": "sacl",
"sourceConnectorId": "source_connector_id",
"state": "state",
"status": "status",
}
def __init__(self, parent_mo_or_dn, app_connector_id, source_connector_id, **kwargs):
self._dirty_mask = 0
self.app_connector_id = app_connector_id
self.source_connector_id = source_connector_id
self.affected_chassis_cnt = None
self.affected_servers = None
self.child_action = None
self.ep_name = None
self.impact_analyzer_id = None
self.reboot_required = None
self.sacl = None
self.state = None
self.status = None
ManagedObject.__init__(self, "ConfigManagedEpImpactResponse", parent_mo_or_dn, **kwargs)