Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from heatclient.client import Client
- tenant_id = 'b363706f891f48019483f8bd6503c54b'
- heat_url = 'http://heat.example.org:8004/v1/%s' % tenant_id
- auth_token = '3bcc3d3a03f44e3d8377f9247b0ad155'
- heat = Client('1', endpoint=heat_url, token=auth_token)
- stacks = heat.stacks.list()
- for stack in stacks:
- if stack.status == "CREATE_COMPLETE":
- print stack
Add Comment
Please, Sign In to add comment