Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- why does flavor attribute only returns id on my call here (get server list : /servers/detail, https://developer.openstack.org/api-ref/compute/#list-servers) :
- Array
- (
- [0] => Array
- (
- ........
- [flavor] => Array
- (
- [id] => 8fbb7ade-4721-405c-931f-11fdefd5bffc
- [links] => Array
- (
- [0] => Array
- (
- [href] => http://xxx.xxx.xxx.xxx/flavors/8fbb7ade-4721-405c-931f-11fdefd5bffc
- [rel] => bookmark
- )
- )
- )
- although, on the documentation on https://developer.openstack.org/api-ref/compute/#list-servers (response example) i can get complete info of flavor :
- "flavor": {
- "disk": 1,
- "ephemeral": 0,
- "extra_specs": {
- "hw:cpu_model": "SandyBridge",
- "hw:mem_page_size": "2048",
- "hw:cpu_policy": "dedicated"
- },
- "original_name": "m1.tiny.specs",
- "ram": 512,
- "swap": 0,
- "vcpus": 1
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement