Skip to content

Commit

Permalink
Merge pull request #234 from pradeepmcp/master_new1
Browse files Browse the repository at this point in the history
Updated ucsmsdk to 4.3(2b)
  • Loading branch information
vvb committed Aug 30, 2023
2 parents 53f56cc + 48aa969 commit da2b304
Show file tree
Hide file tree
Showing 186 changed files with 6,426 additions and 258 deletions.
4 changes: 4 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
History
-------

0.9.15 (2023-08-29)
---------------------
* Support for UCSM release 4.3(2b)

0.9.14 (2023-01-13)
---------------------
* Support for UCSM release 4.2(3b)
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.9.14
current_version = 0.9.15
commit = False
tag = False

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

setup(
name='ucsmsdk',
version='0.9.14',
version='0.9.15',
description="Python SDK for Cisco UCS",
long_description=readme + '\n\n' + history,
long_description_content_type='text/markdown',
Expand Down
2 changes: 1 addition & 1 deletion ucsmsdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@

__author__ = 'Cisco Systems Inc'
__email__ = '[email protected]'
__version__ = '0.9.14'
__version__ = '0.9.15'
76 changes: 74 additions & 2 deletions ucsmsdk/mometa/aaa/AaaModLR.py

Large diffs are not rendered by default.

76 changes: 74 additions & 2 deletions ucsmsdk/mometa/aaa/AaaSessionLR.py

Large diffs are not rendered by default.

20 changes: 15 additions & 5 deletions ucsmsdk/mometa/aaa/AaaUserEp.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ class AaaUserEpConsts:
FSM_STATUS_UPDATE_USER_EP_SET_USER_PEER = "updateUserEpSetUserPeer"
FSM_STATUS_UPDATE_USER_EP_SUCCESS = "updateUserEpSuccess"
INT_ID_NONE = "none"
IS_PASSWORD_ENCRYPTION_KEY_SET_FALSE = "false"
IS_PASSWORD_ENCRYPTION_KEY_SET_NO = "no"
IS_PASSWORD_ENCRYPTION_KEY_SET_TRUE = "true"
IS_PASSWORD_ENCRYPTION_KEY_SET_YES = "yes"
POLICY_OWNER_LOCAL = "local"
POLICY_OWNER_PENDING_POLICY = "pending-policy"
POLICY_OWNER_POLICY = "policy"
Expand All @@ -168,7 +172,7 @@ class AaaUserEp(ManagedObject):
consts = AaaUserEpConsts()
naming_props = set([])

mo_meta = MoMeta("AaaUserEp", "aaaUserEp", "user-ext", VersionMeta.Version101e, "InputOutput", 0x1ff, [], ["aaa", "admin"], ['topSystem'], ['aaaEpLogin', 'aaaExtMgmtCutThruTkn', 'aaaLocale', 'aaaLoginProfile', 'aaaPreLoginBanner', 'aaaPwdProfile', 'aaaRemoteUser', 'aaaRole', 'aaaShellLogin', 'aaaUser', 'aaaUserEpFsm', 'aaaUserEpFsmTask', 'aaaWebLogin', 'eventInst', 'faultInst'], ["Get", "Set"])
mo_meta = MoMeta("AaaUserEp", "aaaUserEp", "user-ext", VersionMeta.Version101e, "InputOutput", 0x3ff, [], ["aaa", "admin"], ['topSystem'], ['aaaEpLogin', 'aaaExtMgmtCutThruTkn', 'aaaLocale', 'aaaLoginProfile', 'aaaPreLoginBanner', 'aaaPwdProfile', 'aaaRemoteUser', 'aaaRole', 'aaaShellLogin', 'aaaUser', 'aaaUserEpFsm', 'aaaUserEpFsmTask', 'aaaWebLogin', 'eventInst', 'faultInst'], ["Get", "Set"])

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}""", [], []),
Expand All @@ -185,13 +189,15 @@ class AaaUserEp(ManagedObject):
"fsm_status": MoPropertyMeta("fsm_status", "fsmStatus", "string", VersionMeta.Version101e, MoPropertyMeta.INTERNAL, None, None, None, None, ["nop", "updateUserEpBegin", "updateUserEpFail", "updateUserEpSetUserLocal", "updateUserEpSetUserPeer", "updateUserEpSuccess"], []),
"fsm_try": MoPropertyMeta("fsm_try", "fsmTry", "byte", VersionMeta.Version101e, MoPropertyMeta.INTERNAL, None, None, None, None, [], []),
"int_id": MoPropertyMeta("int_id", "intId", "string", VersionMeta.Version101e, MoPropertyMeta.INTERNAL, None, None, None, None, ["none"], ["0-4294967295"]),
"is_password_encryption_key_set": MoPropertyMeta("is_password_encryption_key_set", "isPasswordEncryptionKeySet", "string", VersionMeta.Version432b, MoPropertyMeta.READ_ONLY, None, None, None, None, ["false", "no", "true", "yes"], []),
"name": MoPropertyMeta("name", "name", "string", VersionMeta.Version101e, MoPropertyMeta.CREATE_ONLY, 0x10, None, None, r"""[\-\.:_a-zA-Z0-9]{0,16}""", [], []),
"password_encryption_key": MoPropertyMeta("password_encryption_key", "passwordEncryptionKey", "string", VersionMeta.Version432b, MoPropertyMeta.READ_WRITE, 0x20, None, None, r"""[!""#%&'\(\)\*\+,\-\./:;<>@\[\\\]\^_`\{\|\}~a-zA-Z0-9]{8,127}""", [], []),
"policy_level": MoPropertyMeta("policy_level", "policyLevel", "uint", VersionMeta.Version211a, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []),
"policy_owner": MoPropertyMeta("policy_owner", "policyOwner", "string", VersionMeta.Version211a, MoPropertyMeta.READ_WRITE, 0x20, None, None, None, ["local", "pending-policy", "policy"], []),
"pwd_strength_check": MoPropertyMeta("pwd_strength_check", "pwdStrengthCheck", "string", VersionMeta.Version131c, MoPropertyMeta.READ_WRITE, 0x40, None, None, None, ["false", "no", "true", "yes"], []),
"rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version101e, MoPropertyMeta.READ_ONLY, 0x80, 0, 256, None, [], []),
"policy_owner": MoPropertyMeta("policy_owner", "policyOwner", "string", VersionMeta.Version211a, MoPropertyMeta.READ_WRITE, 0x40, None, None, None, ["local", "pending-policy", "policy"], []),
"pwd_strength_check": MoPropertyMeta("pwd_strength_check", "pwdStrengthCheck", "string", VersionMeta.Version131c, MoPropertyMeta.READ_WRITE, 0x80, None, None, None, ["false", "no", "true", "yes"], []),
"rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version101e, MoPropertyMeta.READ_ONLY, 0x100, 0, 256, None, [], []),
"sacl": MoPropertyMeta("sacl", "sacl", "string", VersionMeta.Version302c, 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, 0x100, None, None, r"""((removed|created|modified|deleted),){0,3}(removed|created|modified|deleted){0,1}""", [], []),
"status": MoPropertyMeta("status", "status", "string", VersionMeta.Version101e, MoPropertyMeta.READ_WRITE, 0x200, None, None, r"""((removed|created|modified|deleted),){0,3}(removed|created|modified|deleted){0,1}""", [], []),
}

prop_map = {
Expand All @@ -209,7 +215,9 @@ class AaaUserEp(ManagedObject):
"fsmStatus": "fsm_status",
"fsmTry": "fsm_try",
"intId": "int_id",
"isPasswordEncryptionKeySet": "is_password_encryption_key_set",
"name": "name",
"passwordEncryptionKey": "password_encryption_key",
"policyLevel": "policy_level",
"policyOwner": "policy_owner",
"pwdStrengthCheck": "pwd_strength_check",
Expand All @@ -233,7 +241,9 @@ def __init__(self, parent_mo_or_dn, **kwargs):
self.fsm_status = None
self.fsm_try = None
self.int_id = None
self.is_password_encryption_key_set = None
self.name = None
self.password_encryption_key = None
self.policy_level = None
self.policy_owner = None
self.pwd_strength_check = None
Expand Down
5 changes: 5 additions & 0 deletions ucsmsdk/mometa/adaptor/AdaptorCapSpec.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ class AdaptorCapSpecConsts:
FW_VERSION_OPR_NONE = "none"
FW_VERSION_OPR_RANGE = "range"
MAXIMUM_UNSPECIFIED = "unspecified"
RETIMER_SUPPORT_NO = "no"
RETIMER_SUPPORT_YES = "yes"
TYPE_CDN_SUPPORT = "cdn-support"
TYPE_ETH_FLOW_MONITORING_NETFLOW = "eth-flow-monitoring-netflow"
TYPE_ETH_NVGRE = "eth-nvgre"
Expand Down Expand Up @@ -61,6 +63,7 @@ class AdaptorCapSpec(ManagedObject):
"fw_version_opr": MoPropertyMeta("fw_version_opr", "fwVersionOpr", "string", VersionMeta.Version211a, MoPropertyMeta.READ_ONLY, None, None, None, None, ["gt", "lt", "none", "range"], []),
"maximum": MoPropertyMeta("maximum", "maximum", "string", VersionMeta.Version101e, MoPropertyMeta.READ_ONLY, None, None, None, None, ["unspecified"], ["0-4294967295"]),
"nf_version_lo": MoPropertyMeta("nf_version_lo", "nfVersionLo", "string", VersionMeta.Version223a, MoPropertyMeta.READ_ONLY, None, 0, 510, None, [], []),
"retimer_support": MoPropertyMeta("retimer_support", "retimerSupport", "string", VersionMeta.Version432b, MoPropertyMeta.READ_ONLY, None, None, None, None, ["no", "yes"], []),
"rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version101e, MoPropertyMeta.READ_ONLY, 0x8, 0, 256, None, [], []),
"sacl": MoPropertyMeta("sacl", "sacl", "string", VersionMeta.Version302c, 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, 0x10, None, None, r"""((removed|created|modified|deleted),){0,3}(removed|created|modified|deleted){0,1}""", [], []),
Expand All @@ -75,6 +78,7 @@ class AdaptorCapSpec(ManagedObject):
"fwVersionOpr": "fw_version_opr",
"maximum": "maximum",
"nfVersionLo": "nf_version_lo",
"retimerSupport": "retimer_support",
"rn": "rn",
"sacl": "sacl",
"status": "status",
Expand All @@ -90,6 +94,7 @@ def __init__(self, parent_mo_or_dn, type, **kwargs):
self.fw_version_opr = None
self.maximum = None
self.nf_version_lo = None
self.retimer_support = None
self.sacl = None
self.status = None

Expand Down
17 changes: 17 additions & 0 deletions ucsmsdk/mometa/adaptor/AdaptorExtEthIfPc.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@


class AdaptorExtEthIfPcConsts:
ADMIN_SPEED_100GBPS = "100gbps"
ADMIN_SPEED_10GBPS = "10gbps"
ADMIN_SPEED_1GBPS = "1gbps"
ADMIN_SPEED_20GBPS = "20gbps"
ADMIN_SPEED_25GBPS = "25gbps"
ADMIN_SPEED_40GBPS = "40gbps"
ADMIN_SPEED_AUTO = "auto"
ADMIN_SPEED_INDETERMINATE = "indeterminate"
IF_ROLE_DIAG = "diag"
IF_ROLE_FCOE_NAS_STORAGE = "fcoe-nas-storage"
IF_ROLE_FCOE_STORAGE = "fcoe-storage"
Expand Down Expand Up @@ -44,6 +52,9 @@ class AdaptorExtEthIfPcConsts:
OPER_STATE_SOFTWARE_FAILURE = "software-failure"
OPER_STATE_UDLD_AGGR_DOWN = "udld-aggr-down"
OPER_STATE_UP = "up"
SW_AUTO_NEG_25G = "25g"
SW_AUTO_NEG_OFF = "off"
SW_AUTO_NEG_ON = "on"
SWITCH_ID_A = "A"
SWITCH_ID_B = "B"
SWITCH_ID_NONE = "NONE"
Expand All @@ -58,6 +69,7 @@ class AdaptorExtEthIfPc(ManagedObject):
mo_meta = MoMeta("AdaptorExtEthIfPc", "adaptorExtEthIfPc", "pc-[port_id]", VersionMeta.Version201m, "InputOutput", 0x7f, [], ["admin", "ext-lan-config", "ext-lan-policy", "pn-equipment", "pn-maintenance"], ['adaptorUnit', 'fabricLocale'], ['adaptorExtEthIfPcEp', 'dcxVIf'], ["Get"])

prop_meta = {
"admin_speed": MoPropertyMeta("admin_speed", "adminSpeed", "string", VersionMeta.Version432b, MoPropertyMeta.READ_ONLY, None, None, None, None, ["100gbps", "10gbps", "1gbps", "20gbps", "25gbps", "40gbps", "auto", "indeterminate"], []),
"child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version201m, MoPropertyMeta.INTERNAL, 0x2, None, None, r"""((deleteAll|ignore|deleteNonPresent),){0,2}(deleteAll|ignore|deleteNonPresent){0,1}""", [], []),
"dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version201m, MoPropertyMeta.READ_ONLY, 0x4, 0, 256, None, [], []),
"ep_dn": MoPropertyMeta("ep_dn", "epDn", "string", VersionMeta.Version201m, MoPropertyMeta.READ_ONLY, None, 0, 256, None, [], []),
Expand All @@ -75,12 +87,14 @@ class AdaptorExtEthIfPc(ManagedObject):
"sacl": MoPropertyMeta("sacl", "sacl", "string", VersionMeta.Version302c, MoPropertyMeta.READ_ONLY, None, None, None, r"""((none|del|mod|addchild|cascade),){0,4}(none|del|mod|addchild|cascade){0,1}""", [], []),
"state_qual": MoPropertyMeta("state_qual", "stateQual", "string", VersionMeta.Version201m, MoPropertyMeta.READ_ONLY, None, 0, 510, None, [], []),
"status": MoPropertyMeta("status", "status", "string", VersionMeta.Version201m, MoPropertyMeta.READ_WRITE, 0x40, None, None, r"""((removed|created|modified|deleted),){0,3}(removed|created|modified|deleted){0,1}""", [], []),
"sw_auto_neg": MoPropertyMeta("sw_auto_neg", "swAutoNeg", "string", VersionMeta.Version432b, MoPropertyMeta.READ_ONLY, None, None, None, None, ["25g", "off", "on"], []),
"switch_id": MoPropertyMeta("switch_id", "switchId", "string", VersionMeta.Version201m, MoPropertyMeta.READ_ONLY, None, None, None, None, ["A", "B", "NONE"], []),
"transport": MoPropertyMeta("transport", "transport", "string", VersionMeta.Version201m, MoPropertyMeta.READ_ONLY, None, None, None, r"""((defaultValue|unknown|ether|dce|fc),){0,4}(defaultValue|unknown|ether|dce|fc){0,1}""", [], []),
"type": MoPropertyMeta("type", "type", "string", VersionMeta.Version201m, MoPropertyMeta.READ_ONLY, None, None, None, r"""((defaultValue|unknown|lan|san|ipc),){0,4}(defaultValue|unknown|lan|san|ipc){0,1}""", [], []),
}

prop_map = {
"adminSpeed": "admin_speed",
"childAction": "child_action",
"dn": "dn",
"epDn": "ep_dn",
Expand All @@ -98,6 +112,7 @@ class AdaptorExtEthIfPc(ManagedObject):
"sacl": "sacl",
"stateQual": "state_qual",
"status": "status",
"swAutoNeg": "sw_auto_neg",
"switchId": "switch_id",
"transport": "transport",
"type": "type",
Expand All @@ -106,6 +121,7 @@ class AdaptorExtEthIfPc(ManagedObject):
def __init__(self, parent_mo_or_dn, port_id, **kwargs):
self._dirty_mask = 0
self.port_id = port_id
self.admin_speed = None
self.child_action = None
self.ep_dn = None
self.flt_aggr = None
Expand All @@ -120,6 +136,7 @@ def __init__(self, parent_mo_or_dn, port_id, **kwargs):
self.sacl = None
self.state_qual = None
self.status = None
self.sw_auto_neg = None
self.switch_id = None
self.transport = None
self.type = None
Expand Down
37 changes: 26 additions & 11 deletions ucsmsdk/mometa/adaptor/AdaptorFamilyTypeDef.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@


class AdaptorFamilyTypeDefConsts:
BOOT_MODE_SECURE = "secure"
BOOT_MODE_UNSECURE = "unsecure"
CPLD_SUPPORT_NO = "no"
CPLD_SUPPORT_YES = "yes"
IS_MULTI_PORT_FALSE = "false"
IS_MULTI_PORT_NO = "no"
IS_MULTI_PORT_TRUE = "true"
Expand All @@ -18,6 +22,8 @@ class AdaptorFamilyTypeDefConsts:
IS_RETIMER_REQUIRED_NO = "no"
IS_RETIMER_REQUIRED_TRUE = "true"
IS_RETIMER_REQUIRED_YES = "yes"
UBM_SUPPORT_NO = "no"
UBM_SUPPORT_YES = "yes"


class AdaptorFamilyTypeDef(ManagedObject):
Expand All @@ -26,24 +32,29 @@ class AdaptorFamilyTypeDef(ManagedObject):
consts = AdaptorFamilyTypeDefConsts()
naming_props = set([])

mo_meta = MoMeta("AdaptorFamilyTypeDef", "adaptorFamilyTypeDef", "family-type", VersionMeta.Version202m, "InputOutput", 0x7ff, [], ["read-only"], ['adaptorFruCapProvider', 'equipmentLocalDiskControllerCapProvider'], [], ["Get"])
mo_meta = MoMeta("AdaptorFamilyTypeDef", "adaptorFamilyTypeDef", "family-type", VersionMeta.Version202m, "InputOutput", 0xfff, [], ["read-only"], ['adaptorFruCapProvider', 'equipmentLocalDiskControllerCapProvider'], [], ["Get"])

prop_meta = {
"child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version202m, MoPropertyMeta.INTERNAL, 0x2, None, None, r"""((deleteAll|ignore|deleteNonPresent),){0,2}(deleteAll|ignore|deleteNonPresent){0,1}""", [], []),
"dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version202m, MoPropertyMeta.READ_ONLY, 0x4, 0, 256, None, [], []),
"is_multi_port": MoPropertyMeta("is_multi_port", "isMultiPort", "string", VersionMeta.Version224b, MoPropertyMeta.READ_WRITE, 0x8, None, None, None, ["false", "no", "true", "yes"], []),
"is_passthrough": MoPropertyMeta("is_passthrough", "isPassthrough", "string", VersionMeta.Version202m, MoPropertyMeta.READ_WRITE, 0x10, None, None, None, ["false", "no", "true", "yes"], []),
"is_retimer_required": MoPropertyMeta("is_retimer_required", "isRetimerRequired", "string", VersionMeta.Version311e, MoPropertyMeta.READ_WRITE, 0x20, None, None, None, ["false", "no", "true", "yes"], []),
"num_dce_ports": MoPropertyMeta("num_dce_ports", "numDcePorts", "uint", VersionMeta.Version202m, MoPropertyMeta.READ_WRITE, 0x40, None, None, None, [], ["0-4294967295"]),
"port_family": MoPropertyMeta("port_family", "portFamily", "string", VersionMeta.Version202m, MoPropertyMeta.READ_WRITE, 0x80, 0, 510, None, [], []),
"rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version202m, MoPropertyMeta.READ_ONLY, 0x100, 0, 256, None, [], []),
"boot_mode": MoPropertyMeta("boot_mode", "bootMode", "string", VersionMeta.Version432b, MoPropertyMeta.READ_WRITE, 0x2, None, None, None, ["secure", "unsecure"], []),
"child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version202m, MoPropertyMeta.INTERNAL, 0x4, None, None, r"""((deleteAll|ignore|deleteNonPresent),){0,2}(deleteAll|ignore|deleteNonPresent){0,1}""", [], []),
"cpld_support": MoPropertyMeta("cpld_support", "cpldSupport", "string", VersionMeta.Version432b, MoPropertyMeta.READ_ONLY, None, None, None, None, ["no", "yes"], []),
"dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version202m, MoPropertyMeta.READ_ONLY, 0x8, 0, 256, None, [], []),
"is_multi_port": MoPropertyMeta("is_multi_port", "isMultiPort", "string", VersionMeta.Version224b, MoPropertyMeta.READ_WRITE, 0x10, None, None, None, ["false", "no", "true", "yes"], []),
"is_passthrough": MoPropertyMeta("is_passthrough", "isPassthrough", "string", VersionMeta.Version202m, MoPropertyMeta.READ_WRITE, 0x20, None, None, None, ["false", "no", "true", "yes"], []),
"is_retimer_required": MoPropertyMeta("is_retimer_required", "isRetimerRequired", "string", VersionMeta.Version311e, MoPropertyMeta.READ_WRITE, 0x40, None, None, None, ["false", "no", "true", "yes"], []),
"num_dce_ports": MoPropertyMeta("num_dce_ports", "numDcePorts", "uint", VersionMeta.Version202m, MoPropertyMeta.READ_WRITE, 0x80, None, None, None, [], ["0-4294967295"]),
"port_family": MoPropertyMeta("port_family", "portFamily", "string", VersionMeta.Version202m, MoPropertyMeta.READ_WRITE, 0x100, 0, 510, None, [], []),
"rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version202m, MoPropertyMeta.READ_ONLY, 0x200, 0, 256, None, [], []),
"sacl": MoPropertyMeta("sacl", "sacl", "string", VersionMeta.Version302c, 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.Version202m, MoPropertyMeta.READ_WRITE, 0x200, None, None, r"""((removed|created|modified|deleted),){0,3}(removed|created|modified|deleted){0,1}""", [], []),
"type": MoPropertyMeta("type", "type", "string", VersionMeta.Version202m, MoPropertyMeta.READ_WRITE, 0x400, 0, 510, None, [], []),
"status": MoPropertyMeta("status", "status", "string", VersionMeta.Version202m, MoPropertyMeta.READ_WRITE, 0x400, None, None, r"""((removed|created|modified|deleted),){0,3}(removed|created|modified|deleted){0,1}""", [], []),
"type": MoPropertyMeta("type", "type", "string", VersionMeta.Version202m, MoPropertyMeta.READ_WRITE, 0x800, 0, 510, None, [], []),
"ubm_support": MoPropertyMeta("ubm_support", "ubmSupport", "string", VersionMeta.Version432b, MoPropertyMeta.READ_ONLY, None, None, None, None, ["no", "yes"], []),
}

prop_map = {
"bootMode": "boot_mode",
"childAction": "child_action",
"cpldSupport": "cpld_support",
"dn": "dn",
"isMultiPort": "is_multi_port",
"isPassthrough": "is_passthrough",
Expand All @@ -54,11 +65,14 @@ class AdaptorFamilyTypeDef(ManagedObject):
"sacl": "sacl",
"status": "status",
"type": "type",
"ubmSupport": "ubm_support",
}

def __init__(self, parent_mo_or_dn, **kwargs):
self._dirty_mask = 0
self.boot_mode = None
self.child_action = None
self.cpld_support = None
self.is_multi_port = None
self.is_passthrough = None
self.is_retimer_required = None
Expand All @@ -67,5 +81,6 @@ def __init__(self, parent_mo_or_dn, **kwargs):
self.sacl = None
self.status = None
self.type = None
self.ubm_support = None

ManagedObject.__init__(self, "AdaptorFamilyTypeDef", parent_mo_or_dn, **kwargs)
Loading

0 comments on commit da2b304

Please sign in to comment.