OpenStack API, Compute API - list servers [closed]

asked 2013-11-23 04:36:50 -0500

HRITCU ANDREI gravatar image

Hello,

http://localhost:5000/ - I see that this is the Identity Api and it's OK.

I want to get the list of servers of a given tenant. I see that I have to use the COMPUTE API but I don't know how to do that? I don't know where to call the Compute API.

I really need some help. Thank you!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by dheeru
close date 2013-11-24 07:18:22.573662

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-11-23 10:05:08 -0500

dheeru gravatar image
1. 'keystone token-get' from command prompt
2. Note the token and tenant id from the output.
3. Use this token and tenant id

e.g
curl -v -H "X-Auth-Token:<your token>" http://localhost:5000/v2/<admin_tenant_id>/servers
edit flag offensive delete link more

Comments

Did this help you ? Please confirm. We can close this request.

dheeru gravatar imagedheeru ( 2013-11-24 05:12:29 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-11-23 04:36:50 -0500

Seen: 96 times

Last updated: Nov 24 '13