How can I verify log-in credentials/connectivity to the vManage server using curl to ensure I am using the correct credentials in DX Netops Virtual Network Assurance (VNA) to configure the Viptela plugin.
Release : 21.2.x, 22.2.x
Component : PMVNA, SPCVNA
Replace USERNAME/PASSWORD/VMANAGEIP/VMANAGEPORT accordingly:
curl -X POST -v -k -H "Content-Type: application/x-www-form-urlencoded" -d 'j_username=USERNAME&j_password=PASSWORD' https://VMANAGEIP:VMANAGEPORT/dataservice/j_security_check
Example:
curl -X POST -v -k -H "Content-Type: application/x-www-form-urlencoded" -d 'j_username=adminuser&j_password=adminuserpassword' https://xx.xx.xx.xx443/dataservice/j_security_check