CiscoUcs / ucsmsdk

Python SDK for Cisco UCSM
Other
81 stars 60 forks source link

__get_mo_obj() Dn Parse Failure #151

Closed seils closed 12 months ago

seils commented 7 years ago

The __get_mo_obj() function in ucsmsdk/ucsmo.py fails to correctly parse a Dn that includes a forward slash (/) in the property value.

For example, classId networkLanNeighborEntry includes values for localInterface and remoteInterface in traditional Cisco interface naming format:

\<interface>\<slot>/\<port>

i.e.

Ethernet1/48 GigabitEthernet1/1/1 ...

The statement rn_str = os.path.basename(self.__properties['dn']) returns 48 or 1 from the above values when trying to generate the Rn.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] commented 12 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.