novaclient - Getting the flavor of server
I can be able to get the list of servers or instances using the following command as well as code in my devserver.
CLI code:
nova list
python code:
instances = nt.servers.list()
Now I need to get the Flavor of server, I have tried the following command in CLI , It works fine.
CLI Command:
nova show Instance-1
Now I need to get the same using python code. Someone let me know the way for the same.