1- Need to know the API version ( http://172.30.54.71:8774/v2/ )
2- Openstack API listen on port 8774 ( http://<IP@>:8774 )
3- get the Token from Keystone ( port 5000 )
https://docs.openstack.org/juno/config-reference/content/list-of-compute-config-options.html
Default option: osapi_compute_listen_port = 8774
root@vse2100-11:~# more /etc/nova/nova.conf | grep port
rabbit_port=5672
report_interval=10
novncproxy_port=5999
auth_port=35357
3- get the Token from Keystone ( port 5000 )
Method:
POST: http://172.30.54.71:5000/v2.0/tokens
In the Body:
{
"auth":{
"tenantName":"admin",
"passwordCredentials":{
"username":"admin",
"password":"contrail123"
}
}
}
"serviceCatalog":
"name": "nova"
"name": "neutron"
"name": "cinderv2"
"name": "novav3"
"name": "glance"
"name": "heat-cfn"
"name": "cinder"
"name": "nova_ec2"
"name": "heat"
"name": "keystone"