Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

1- Create the auth.json file

2- do a POST to get in the response the auth_tokens


1- Create the auth.json file

https://www.juniper.net/documentation/en_US/nfv1.0/topics/task/configuration/ccpe-api-obtain-admin-token.html

  • tenant_name
  • email
  • GUI   username / password


2- do a POST to get in the response the auth_tokens

curl -X POST -D headers -H "content-type:application/json" http://x48-byod.mycsolab.com:5000/v3/auth/tokens -d@auth.json


3- do some POST

Example to get "configure-sites"

curl -k -D headers -X POST -H "X-Auth-Token:$OS_TOKEN" -H "Content-type: application/json" https://192.168.10.42/tssm/configure-sites -d'

  • No labels