1- CSO API: get auth_tokens
1- Create the auth.json file ( GUI_username, GUI_password and Tenant_name )
2-Â do a POST to get in the HTTP response with the auth_tokens ( HTTP response headers saved locally )
1- Create the auth.json file
Go to Contrail Service Orchestrator | https://contrail-juniper.net/ |
---|---|
| . |
| |
2-Â do a POST to get in the response the auth_tokens
curl -X POST -D headers -H "content-type:application/json" https://contrail-juniper.net/v3/auth/tokens -d@auth.json
-D headers ( the response header will be save localy)
-d@auth.json ( use the auth.json file for the password authentication )
#Â OLDÂ Â CSO lab:Â Â curl -X POST -D headers -H "content-type:application/json" http://x48-byod.mycsolab.com:5000/v3/auth/tokens -d@auth.json