Skip to content

Commit

Permalink
Merge pull request #228 from CiscoUcs/423b
Browse files Browse the repository at this point in the history
refreshes the SDK for 423b
  • Loading branch information
vvb authored Jan 13, 2023
2 parents dea5c07 + f91e4b4 commit 7c1cda2
Show file tree
Hide file tree
Showing 97 changed files with 1,176 additions and 193 deletions.
38 changes: 23 additions & 15 deletions ucsmsdk/mometa/aaa/AaaModLR.py

Large diffs are not rendered by default.

38 changes: 23 additions & 15 deletions ucsmsdk/mometa/aaa/AaaSessionLR.py

Large diffs are not rendered by default.

14 changes: 13 additions & 1 deletion ucsmsdk/mometa/adaptor/AdaptorHostEthIf.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,15 @@ class AdaptorHostEthIfConsts:
IF_TYPE_PHYSICAL = "physical"
IF_TYPE_UNKNOWN = "unknown"
IF_TYPE_VIRTUAL = "virtual"
INLET2_THERMAL_LOWER_CRITICAL = "lower-critical"
INLET2_THERMAL_LOWER_NON_CRITICAL = "lower-non-critical"
INLET2_THERMAL_LOWER_NON_RECOVERABLE = "lower-non-recoverable"
INLET2_THERMAL_NOT_SUPPORTED = "not-supported"
INLET2_THERMAL_OK = "ok"
INLET2_THERMAL_UNKNOWN = "unknown"
INLET2_THERMAL_UPPER_CRITICAL = "upper-critical"
INLET2_THERMAL_UPPER_NON_CRITICAL = "upper-non-critical"
INLET2_THERMAL_UPPER_NON_RECOVERABLE = "upper-non-recoverable"
IS_RING_SIZE_CAPPED_FALSE = "false"
IS_RING_SIZE_CAPPED_NO = "no"
IS_RING_SIZE_CAPPED_TRUE = "true"
Expand Down Expand Up @@ -401,7 +410,8 @@ class AdaptorHostEthIf(ManagedObject):
"id": MoPropertyMeta("id", "id", "uint", VersionMeta.Version101e, MoPropertyMeta.NAMING, 0x20, None, None, None, [], []),
"if_role": MoPropertyMeta("if_role", "ifRole", "string", VersionMeta.Version101e, MoPropertyMeta.READ_ONLY, None, None, None, None, ["diag", "fcoe-nas-storage", "fcoe-storage", "fcoe-uplink", "mgmt", "monitor", "nas-storage", "network", "network-fcoe-uplink", "server", "service", "storage", "unknown"], []),
"if_type": MoPropertyMeta("if_type", "ifType", "string", VersionMeta.Version101e, MoPropertyMeta.READ_ONLY, None, None, None, None, ["aggregation", "physical", "unknown", "virtual"], []),
"is_ring_size_capped": MoPropertyMeta("is_ring_size_capped", "isRingSizeCapped", "string", None, MoPropertyMeta.READ_ONLY, None, None, None, None, ["false", "no", "true", "yes"], []),
"inlet2_thermal": MoPropertyMeta("inlet2_thermal", "inlet2Thermal", "string", VersionMeta.Version423b, MoPropertyMeta.READ_ONLY, None, None, None, None, ["lower-critical", "lower-non-critical", "lower-non-recoverable", "not-supported", "ok", "unknown", "upper-critical", "upper-non-critical", "upper-non-recoverable"], []),
"is_ring_size_capped": MoPropertyMeta("is_ring_size_capped", "isRingSizeCapped", "string", VersionMeta.Version422d, MoPropertyMeta.READ_ONLY, None, None, None, None, ["false", "no", "true", "yes"], []),
"lc": MoPropertyMeta("lc", "lc", "string", VersionMeta.Version101e, MoPropertyMeta.READ_ONLY, None, None, None, None, ["allocated", "available", "deallocated", "repurposed"], []),
"link_state": MoPropertyMeta("link_state", "linkState", "string", VersionMeta.Version101e, MoPropertyMeta.READ_ONLY, None, None, None, None, ["admin-down", "down", "error", "offline", "unallocated", "unavailable", "unknown", "up"], []),
"locale": MoPropertyMeta("locale", "locale", "string", VersionMeta.Version101e, MoPropertyMeta.READ_ONLY, None, None, None, r"""((defaultValue|unknown|server|chassis|internal|external),){0,5}(defaultValue|unknown|server|chassis|internal|external){0,1}""", [], []),
Expand Down Expand Up @@ -468,6 +478,7 @@ class AdaptorHostEthIf(ManagedObject):
"id": "id",
"ifRole": "if_role",
"ifType": "if_type",
"inlet2Thermal": "inlet2_thermal",
"isRingSizeCapped": "is_ring_size_capped",
"lc": "lc",
"linkState": "link_state",
Expand Down Expand Up @@ -535,6 +546,7 @@ def __init__(self, parent_mo_or_dn, id, **kwargs):
self.host_port = None
self.if_role = None
self.if_type = None
self.inlet2_thermal = None
self.is_ring_size_capped = None
self.lc = None
self.link_state = None
Expand Down
12 changes: 12 additions & 0 deletions ucsmsdk/mometa/adaptor/AdaptorHostFcIf.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,15 @@ class AdaptorHostFcIfConsts:
IF_TYPE_PHYSICAL = "physical"
IF_TYPE_UNKNOWN = "unknown"
IF_TYPE_VIRTUAL = "virtual"
INLET2_THERMAL_LOWER_CRITICAL = "lower-critical"
INLET2_THERMAL_LOWER_NON_CRITICAL = "lower-non-critical"
INLET2_THERMAL_LOWER_NON_RECOVERABLE = "lower-non-recoverable"
INLET2_THERMAL_NOT_SUPPORTED = "not-supported"
INLET2_THERMAL_OK = "ok"
INLET2_THERMAL_UNKNOWN = "unknown"
INLET2_THERMAL_UPPER_CRITICAL = "upper-critical"
INLET2_THERMAL_UPPER_NON_CRITICAL = "upper-non-critical"
INLET2_THERMAL_UPPER_NON_RECOVERABLE = "upper-non-recoverable"
LC_ALLOCATED = "allocated"
LC_AVAILABLE = "available"
LC_DEALLOCATED = "deallocated"
Expand Down Expand Up @@ -403,6 +412,7 @@ class AdaptorHostFcIf(ManagedObject):
"id": MoPropertyMeta("id", "id", "uint", VersionMeta.Version101e, MoPropertyMeta.NAMING, 0x20, None, None, None, [], []),
"if_role": MoPropertyMeta("if_role", "ifRole", "string", VersionMeta.Version101e, MoPropertyMeta.READ_ONLY, None, None, None, None, ["diag", "fcoe-nas-storage", "fcoe-storage", "fcoe-uplink", "mgmt", "monitor", "nas-storage", "network", "network-fcoe-uplink", "server", "service", "storage", "unknown"], []),
"if_type": MoPropertyMeta("if_type", "ifType", "string", VersionMeta.Version101e, MoPropertyMeta.READ_ONLY, None, None, None, None, ["aggregation", "physical", "unknown", "virtual"], []),
"inlet2_thermal": MoPropertyMeta("inlet2_thermal", "inlet2Thermal", "string", VersionMeta.Version423b, MoPropertyMeta.READ_ONLY, None, None, None, None, ["lower-critical", "lower-non-critical", "lower-non-recoverable", "not-supported", "ok", "unknown", "upper-critical", "upper-non-critical", "upper-non-recoverable"], []),
"lc": MoPropertyMeta("lc", "lc", "string", VersionMeta.Version101e, MoPropertyMeta.READ_ONLY, None, None, None, None, ["allocated", "available", "deallocated", "repurposed"], []),
"link_state": MoPropertyMeta("link_state", "linkState", "string", VersionMeta.Version101e, MoPropertyMeta.READ_ONLY, None, None, None, None, ["admin-down", "down", "error", "offline", "unallocated", "unavailable", "unknown", "up"], []),
"locale": MoPropertyMeta("locale", "locale", "string", VersionMeta.Version101e, MoPropertyMeta.READ_ONLY, None, None, None, r"""((defaultValue|unknown|server|chassis|internal|external),){0,5}(defaultValue|unknown|server|chassis|internal|external){0,1}""", [], []),
Expand Down Expand Up @@ -470,6 +480,7 @@ class AdaptorHostFcIf(ManagedObject):
"id": "id",
"ifRole": "if_role",
"ifType": "if_type",
"inlet2Thermal": "inlet2_thermal",
"lc": "lc",
"linkState": "link_state",
"locale": "locale",
Expand Down Expand Up @@ -537,6 +548,7 @@ def __init__(self, parent_mo_or_dn, id, **kwargs):
self.host_port = None
self.if_role = None
self.if_type = None
self.inlet2_thermal = None
self.lc = None
self.link_state = None
self.locale = None
Expand Down
12 changes: 12 additions & 0 deletions ucsmsdk/mometa/adaptor/AdaptorHostIscsiIf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@ class AdaptorHostIscsiIfConsts:
IF_TYPE_PHYSICAL = "physical"
IF_TYPE_UNKNOWN = "unknown"
IF_TYPE_VIRTUAL = "virtual"
INLET2_THERMAL_LOWER_CRITICAL = "lower-critical"
INLET2_THERMAL_LOWER_NON_CRITICAL = "lower-non-critical"
INLET2_THERMAL_LOWER_NON_RECOVERABLE = "lower-non-recoverable"
INLET2_THERMAL_NOT_SUPPORTED = "not-supported"
INLET2_THERMAL_OK = "ok"
INLET2_THERMAL_UNKNOWN = "unknown"
INLET2_THERMAL_UPPER_CRITICAL = "upper-critical"
INLET2_THERMAL_UPPER_NON_CRITICAL = "upper-non-critical"
INLET2_THERMAL_UPPER_NON_RECOVERABLE = "upper-non-recoverable"
LC_ALLOCATED = "allocated"
LC_AVAILABLE = "available"
LC_DEALLOCATED = "deallocated"
Expand Down Expand Up @@ -232,6 +241,7 @@ class AdaptorHostIscsiIf(ManagedObject):
"if_role": MoPropertyMeta("if_role", "ifRole", "string", VersionMeta.Version201m, MoPropertyMeta.READ_ONLY, None, None, None, None, ["diag", "fcoe-nas-storage", "fcoe-storage", "fcoe-uplink", "mgmt", "monitor", "nas-storage", "network", "network-fcoe-uplink", "server", "service", "storage", "unknown"], []),
"if_type": MoPropertyMeta("if_type", "ifType", "string", VersionMeta.Version201m, MoPropertyMeta.READ_ONLY, None, None, None, None, ["aggregation", "physical", "unknown", "virtual"], []),
"initiator_name": MoPropertyMeta("initiator_name", "initiatorName", "string", VersionMeta.Version201m, MoPropertyMeta.READ_ONLY, None, None, None, r"""[\-\.:_a-zA-Z0-9]{0,16}""", [], []),
"inlet2_thermal": MoPropertyMeta("inlet2_thermal", "inlet2Thermal", "string", VersionMeta.Version423b, MoPropertyMeta.READ_ONLY, None, None, None, None, ["lower-critical", "lower-non-critical", "lower-non-recoverable", "not-supported", "ok", "unknown", "upper-critical", "upper-non-critical", "upper-non-recoverable"], []),
"lc": MoPropertyMeta("lc", "lc", "string", VersionMeta.Version201m, MoPropertyMeta.READ_ONLY, None, None, None, None, ["allocated", "available", "deallocated", "repurposed"], []),
"link_state": MoPropertyMeta("link_state", "linkState", "string", VersionMeta.Version201m, MoPropertyMeta.READ_ONLY, None, None, None, None, ["admin-down", "down", "error", "offline", "unallocated", "unavailable", "unknown", "up"], []),
"locale": MoPropertyMeta("locale", "locale", "string", VersionMeta.Version201m, MoPropertyMeta.READ_ONLY, None, None, None, r"""((defaultValue|unknown|server|chassis|internal|external),){0,5}(defaultValue|unknown|server|chassis|internal|external){0,1}""", [], []),
Expand Down Expand Up @@ -288,6 +298,7 @@ class AdaptorHostIscsiIf(ManagedObject):
"ifRole": "if_role",
"ifType": "if_type",
"initiatorName": "initiator_name",
"inlet2Thermal": "inlet2_thermal",
"lc": "lc",
"linkState": "link_state",
"locale": "locale",
Expand Down Expand Up @@ -344,6 +355,7 @@ def __init__(self, parent_mo_or_dn, id, **kwargs):
self.if_role = None
self.if_type = None
self.initiator_name = None
self.inlet2_thermal = None
self.lc = None
self.link_state = None
self.locale = None
Expand Down
12 changes: 12 additions & 0 deletions ucsmsdk/mometa/adaptor/AdaptorHostPort.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ class AdaptorHostPortConsts:
HOST_PORT_ID_ANY = "any"
HOST_PORT_ID_HOSTPORT1 = "hostport1"
HOST_PORT_ID_HOSTPORT2 = "hostport2"
INLET2_THERMAL_LOWER_CRITICAL = "lower-critical"
INLET2_THERMAL_LOWER_NON_CRITICAL = "lower-non-critical"
INLET2_THERMAL_LOWER_NON_RECOVERABLE = "lower-non-recoverable"
INLET2_THERMAL_NOT_SUPPORTED = "not-supported"
INLET2_THERMAL_OK = "ok"
INLET2_THERMAL_UNKNOWN = "unknown"
INLET2_THERMAL_UPPER_CRITICAL = "upper-critical"
INLET2_THERMAL_UPPER_NON_CRITICAL = "upper-non-critical"
INLET2_THERMAL_UPPER_NON_RECOVERABLE = "upper-non-recoverable"
OPER_STATE_ACCESSIBILITY_PROBLEM = "accessibility-problem"
OPER_STATE_AUTO_UPGRADE = "auto-upgrade"
OPER_STATE_BACKPLANE_PORT_PROBLEM = "backplane-port-problem"
Expand Down Expand Up @@ -160,6 +169,7 @@ class AdaptorHostPort(ManagedObject):
"flt_aggr": MoPropertyMeta("flt_aggr", "fltAggr", "ulong", VersionMeta.Version223a, MoPropertyMeta.INTERNAL, None, None, None, None, [], []),
"host_port_id": MoPropertyMeta("host_port_id", "hostPortId", "string", VersionMeta.Version421a, MoPropertyMeta.READ_ONLY, None, None, None, None, ["any", "hostport1", "hostport2"], ["0-255"]),
"id": MoPropertyMeta("id", "id", "uint", VersionMeta.Version223a, MoPropertyMeta.NAMING, 0x8, None, None, None, [], ["1-5000"]),
"inlet2_thermal": MoPropertyMeta("inlet2_thermal", "inlet2Thermal", "string", VersionMeta.Version423b, MoPropertyMeta.READ_ONLY, None, None, None, None, ["lower-critical", "lower-non-critical", "lower-non-recoverable", "not-supported", "ok", "unknown", "upper-critical", "upper-non-critical", "upper-non-recoverable"], []),
"location_dn": MoPropertyMeta("location_dn", "locationDn", "string", VersionMeta.Version223a, MoPropertyMeta.READ_ONLY, None, 0, 256, None, [], []),
"model": MoPropertyMeta("model", "model", "string", VersionMeta.Version223a, MoPropertyMeta.READ_ONLY, None, 0, 510, None, [], []),
"oper_qualifier_reason": MoPropertyMeta("oper_qualifier_reason", "operQualifierReason", "string", VersionMeta.Version223a, MoPropertyMeta.READ_ONLY, None, None, None, r"""[ !#$%&\(\)\*\+,\-\./:;\?@\[\]_\{\|\}~a-zA-Z0-9]{0,256}""", [], []),
Expand All @@ -184,6 +194,7 @@ class AdaptorHostPort(ManagedObject):
"fltAggr": "flt_aggr",
"hostPortId": "host_port_id",
"id": "id",
"inlet2Thermal": "inlet2_thermal",
"locationDn": "location_dn",
"model": "model",
"operQualifierReason": "oper_qualifier_reason",
Expand All @@ -208,6 +219,7 @@ def __init__(self, parent_mo_or_dn, id, **kwargs):
self.child_action = None
self.flt_aggr = None
self.host_port_id = None
self.inlet2_thermal = None
self.location_dn = None
self.model = None
self.oper_qualifier_reason = None
Expand Down
12 changes: 12 additions & 0 deletions ucsmsdk/mometa/adaptor/AdaptorHostScsiIf.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ class AdaptorHostScsiIfConsts:
IF_TYPE_PHYSICAL = "physical"
IF_TYPE_UNKNOWN = "unknown"
IF_TYPE_VIRTUAL = "virtual"
INLET2_THERMAL_LOWER_CRITICAL = "lower-critical"
INLET2_THERMAL_LOWER_NON_CRITICAL = "lower-non-critical"
INLET2_THERMAL_LOWER_NON_RECOVERABLE = "lower-non-recoverable"
INLET2_THERMAL_NOT_SUPPORTED = "not-supported"
INLET2_THERMAL_OK = "ok"
INLET2_THERMAL_UNKNOWN = "unknown"
INLET2_THERMAL_UPPER_CRITICAL = "upper-critical"
INLET2_THERMAL_UPPER_NON_CRITICAL = "upper-non-critical"
INLET2_THERMAL_UPPER_NON_RECOVERABLE = "upper-non-recoverable"
LC_ALLOCATED = "allocated"
LC_AVAILABLE = "available"
LC_DEALLOCATED = "deallocated"
Expand Down Expand Up @@ -226,6 +235,7 @@ class AdaptorHostScsiIf(ManagedObject):
"id": MoPropertyMeta("id", "id", "uint", VersionMeta.Version251a, MoPropertyMeta.NAMING, 0x20, None, None, None, [], []),
"if_role": MoPropertyMeta("if_role", "ifRole", "string", VersionMeta.Version251a, MoPropertyMeta.READ_ONLY, None, None, None, None, ["diag", "fcoe-nas-storage", "fcoe-storage", "fcoe-uplink", "mgmt", "monitor", "nas-storage", "network", "network-fcoe-uplink", "server", "service", "storage", "unknown"], []),
"if_type": MoPropertyMeta("if_type", "ifType", "string", VersionMeta.Version251a, MoPropertyMeta.READ_ONLY, None, None, None, None, ["aggregation", "physical", "unknown", "virtual"], []),
"inlet2_thermal": MoPropertyMeta("inlet2_thermal", "inlet2Thermal", "string", VersionMeta.Version423b, MoPropertyMeta.READ_ONLY, None, None, None, None, ["lower-critical", "lower-non-critical", "lower-non-recoverable", "not-supported", "ok", "unknown", "upper-critical", "upper-non-critical", "upper-non-recoverable"], []),
"lc": MoPropertyMeta("lc", "lc", "string", VersionMeta.Version251a, MoPropertyMeta.READ_ONLY, None, None, None, None, ["allocated", "available", "deallocated", "repurposed"], []),
"link_state": MoPropertyMeta("link_state", "linkState", "string", VersionMeta.Version251a, MoPropertyMeta.READ_ONLY, None, None, None, None, ["admin-down", "down", "error", "offline", "unallocated", "unavailable", "unknown", "up"], []),
"locale": MoPropertyMeta("locale", "locale", "string", VersionMeta.Version251a, MoPropertyMeta.READ_ONLY, None, None, None, r"""((defaultValue|unknown|server|chassis|internal|external),){0,5}(defaultValue|unknown|server|chassis|internal|external){0,1}""", [], []),
Expand Down Expand Up @@ -276,6 +286,7 @@ class AdaptorHostScsiIf(ManagedObject):
"id": "id",
"ifRole": "if_role",
"ifType": "if_type",
"inlet2Thermal": "inlet2_thermal",
"lc": "lc",
"linkState": "link_state",
"locale": "locale",
Expand Down Expand Up @@ -326,6 +337,7 @@ def __init__(self, parent_mo_or_dn, id, **kwargs):
self.flt_aggr = None
self.if_role = None
self.if_type = None
self.inlet2_thermal = None
self.lc = None
self.link_state = None
self.locale = None
Expand Down
12 changes: 12 additions & 0 deletions ucsmsdk/mometa/adaptor/AdaptorHostServiceEthIf.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ class AdaptorHostServiceEthIfConsts:
IF_TYPE_PHYSICAL = "physical"
IF_TYPE_UNKNOWN = "unknown"
IF_TYPE_VIRTUAL = "virtual"
INLET2_THERMAL_LOWER_CRITICAL = "lower-critical"
INLET2_THERMAL_LOWER_NON_CRITICAL = "lower-non-critical"
INLET2_THERMAL_LOWER_NON_RECOVERABLE = "lower-non-recoverable"
INLET2_THERMAL_NOT_SUPPORTED = "not-supported"
INLET2_THERMAL_OK = "ok"
INLET2_THERMAL_UNKNOWN = "unknown"
INLET2_THERMAL_UPPER_CRITICAL = "upper-critical"
INLET2_THERMAL_UPPER_NON_CRITICAL = "upper-non-critical"
INLET2_THERMAL_UPPER_NON_RECOVERABLE = "upper-non-recoverable"
LC_ALLOCATED = "allocated"
LC_AVAILABLE = "available"
LC_DEALLOCATED = "deallocated"
Expand Down Expand Up @@ -226,6 +235,7 @@ class AdaptorHostServiceEthIf(ManagedObject):
"id": MoPropertyMeta("id", "id", "uint", VersionMeta.Version221b, MoPropertyMeta.NAMING, 0x20, None, None, None, [], []),
"if_role": MoPropertyMeta("if_role", "ifRole", "string", VersionMeta.Version221b, MoPropertyMeta.READ_ONLY, None, None, None, None, ["diag", "fcoe-nas-storage", "fcoe-storage", "fcoe-uplink", "mgmt", "monitor", "nas-storage", "network", "network-fcoe-uplink", "server", "service", "storage", "unknown"], []),
"if_type": MoPropertyMeta("if_type", "ifType", "string", VersionMeta.Version221b, MoPropertyMeta.READ_ONLY, None, None, None, None, ["aggregation", "physical", "unknown", "virtual"], []),
"inlet2_thermal": MoPropertyMeta("inlet2_thermal", "inlet2Thermal", "string", VersionMeta.Version423b, MoPropertyMeta.READ_ONLY, None, None, None, None, ["lower-critical", "lower-non-critical", "lower-non-recoverable", "not-supported", "ok", "unknown", "upper-critical", "upper-non-critical", "upper-non-recoverable"], []),
"lc": MoPropertyMeta("lc", "lc", "string", VersionMeta.Version221b, MoPropertyMeta.READ_ONLY, None, None, None, None, ["allocated", "available", "deallocated", "repurposed"], []),
"link_state": MoPropertyMeta("link_state", "linkState", "string", VersionMeta.Version221b, MoPropertyMeta.READ_ONLY, None, None, None, None, ["admin-down", "down", "error", "offline", "unallocated", "unavailable", "unknown", "up"], []),
"locale": MoPropertyMeta("locale", "locale", "string", VersionMeta.Version221b, MoPropertyMeta.READ_ONLY, None, None, None, r"""((defaultValue|unknown|server|chassis|internal|external),){0,5}(defaultValue|unknown|server|chassis|internal|external){0,1}""", [], []),
Expand Down Expand Up @@ -279,6 +289,7 @@ class AdaptorHostServiceEthIf(ManagedObject):
"id": "id",
"ifRole": "if_role",
"ifType": "if_type",
"inlet2Thermal": "inlet2_thermal",
"lc": "lc",
"linkState": "link_state",
"locale": "locale",
Expand Down Expand Up @@ -332,6 +343,7 @@ def __init__(self, parent_mo_or_dn, id, **kwargs):
self.flt_aggr = None
self.if_role = None
self.if_type = None
self.inlet2_thermal = None
self.lc = None
self.link_state = None
self.locale = None
Expand Down
Loading

0 comments on commit 7c1cda2

Please sign in to comment.