09-21-2023 12:42 PM
Hello,
this is my first time using ISE API on Devnet, I'm unable to run the following commands below on developer, getting the error message below, and can't open the Microsoft VM on RDP, receiving the error below in the screenshot.
Any idea what am I doing wrong? Thank you.
Run the commands below to authenticate the specified users:
python pez.py -c ise_dot1x_analyst.cfg
python pez.py -c ise_dot1x_cio.cfg
python pez.py -c ise_dot1x_contractor.cfg
python pez.py -c ise_dot1x_cxo.cfg
python pez.py -c ise_dot1x_devops.cfg
python pez.py -c ise_dot1x_engineer.cfg
python pez.py -c ise_dot1x_helpdesk.cfg
python pez.py -c ise_dot1x_netadmin.cfg
python pez.py -c ise_dot1x_netops.cfg
python pez.py -c ise_dot1x_pm.cfg
python pez.py -c ise_dot1x_probe.cfg
python pez.py -c ise_dot1x_secadmin.cfg
python pez.py -c ise_dot1x_se.cfg
python pez.py -c ise_dot1x_secops.cfg
python pez.py -c ise_dot1x_tme.cfg
python pez.py -c ise_dot1x_vendor.cfg
python pez.py -c ise_dot1x_webops.cfg
python pez.py -c ise_vpn.cfg
Last login: Fri Sep 22 00:42:21 2023 from 192.168.254.11
[developer@hcllinux ~]$
[developer@hcllinux ~]$
[developer@hcllinux ~]$
[developer@hcllinux ~]$ python pez.py -c_dot1x_analyst.cfg
python: can't open file 'pez.py': [Errno 2] No such file or directory
[developer@hcllinux ~]$
[developer@hcllinux ~]$ ^C
[developer@hcllinux ~]$ python pez.py -c_dot1x_analyst.cfg
python: can't open file 'pez.py': [Errno 2] No such file or directory
09-24-2023 02:36 PM
Hi @Khaledt,
I haven't personally seen this error with this sandbox before. You can see if any others have had this same issue: https://community.cisco.com/t5/custom/page/page-id/search?filter=location:4426j-disc-dev-devnet-sandbox&q=Automate%20ISE%20with%20OpenAPIs%20Python%20and%20Ansible&mode=board
Hope this helps!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide