Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Image Added


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'