cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
521
Views
0
Helpful
2
Replies

Cisco ACI script to launch APIC Web GUI and login automatically

vv0bbLeS
Level 1
Level 1

Hello all,

I've been coding some using the REST API for Cisco ACI, and I just had a thought that it would be nice to have a script that could launch the web GUI for a given APIC and login to it automatically (using stored credentials or a stored REST API authentication cookie). The script wouldn't necessarily be a REST API call, but I was curious if this idea is possible to code, or if anyone has already done it? I was hoping I could pass my REST API authentication cookie to the APIC Web GUI somehow to load the APIC Web GUI and already be logged in. : )

0xD2A6762E
2 Replies 2

Tarakesh Jetti
Cisco Employee
Cisco Employee

Hi, 

Can you please post the REST API code that you are trying to use in Cisco ACI? Did you see any error? I understand that you want to bypass entering the credentials for APIC GUI every time you login(Login Automatically)?

You can also learn more about Cisco ACI through our live Ask the Experts (ATXs) session. Check out Cisco ACI ATXs Resources [https://community.cisco.com/t5/data-center-and-cloud-knowledge/cisco-aci-ask-the-experts-resources/ta-p/4394491] to view the latest schedule for upcoming sessions, as well as the useful references, e.g. online guides, FAQs.

Thanks and regards,

Tarakesh Jetti

Customer Success Specialist - CX

 

Hello, 

I found something which will really help in achieving your goal. You can use Selenium Library to accomplish the task of launching  the web GUI for a given APIC and login to it automatically. Please refer the below links for your reference. 

https://robotframework.org/SeleniumLibrary/

https://www.lambdatest.com/blog/automate-login-page-using-selenium-webdriver/

You can also learn more about Cisco ACI through our live Ask the Experts (ATXs) session. Check out Cisco ACI ATXs Resources [https://community.cisco.com/t5/data-center-and-cloud-knowledge/cisco-aci-ask-the-experts-resources/ta-p/4394491] to view the latest schedule for upcoming sessions, as well as the useful references, e.g. online guides, FAQs.

Thanks and regards,

Tarakesh Jetti

Customer Success Specialist - CX

 

 

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License