You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having a problem with the "show-endpoints.py" sample.
When I use this sample code on the Cisco ACI Always-On Sandbox I receive a keyError in acitoolkit.py
Error-message:
PS C:\Path_to_File> python .\acitoolkit_test.py
Traceback (most recent call last):
File "C:\Path_to_File\acitoolkit_test.py", line 27, in
ENDPOINTS = aci.Endpoint.get(SESSION)
File "C:\Path_to_File\acitoolkit\acitoolkit.py", line 5432, in get
endpoints = Endpoint._get(session, endpoint_name, interfaces,
File "C:\Path_to_File\acitoolkit\acitoolkit.py", line 5388, in _get
endpoint.ip = str(ep['ip'])
KeyError: 'ip'
However when I try showing the tenants or the EPGs everything works just fine.
Is this way of displaying the endpoints deprecated or am I missing something else here?
Thanks in advance!
Nik
The text was updated successfully, but these errors were encountered:
Hi there,
I am having a problem with the "show-endpoints.py" sample.
When I use this sample code on the Cisco ACI Always-On Sandbox I receive a keyError in acitoolkit.py
Error-message:
PS C:\Path_to_File> python .\acitoolkit_test.py
Traceback (most recent call last):
File "C:\Path_to_File\acitoolkit_test.py", line 27, in
ENDPOINTS = aci.Endpoint.get(SESSION)
File "C:\Path_to_File\acitoolkit\acitoolkit.py", line 5432, in get
endpoints = Endpoint._get(session, endpoint_name, interfaces,
File "C:\Path_to_File\acitoolkit\acitoolkit.py", line 5388, in _get
endpoint.ip = str(ep['ip'])
KeyError: 'ip'
However when I try showing the tenants or the EPGs everything works just fine.
Is this way of displaying the endpoints deprecated or am I missing something else here?
Thanks in advance!
Nik
The text was updated successfully, but these errors were encountered: