If there is an image uploaded in Openstack instance. How can I know the OS of the Image from API call. I curently dont see any attribute to tell the OS type.
Any Help?
If there is an image uploaded in Openstack instance. How can I know the
Share
There isn’t any guaranteed way of doing this with the existing system. That said, Glance (the openstack service that stores and retrieves images for you), does allow you to put in arbitrary metadata with a given image, so you can “mark it up” any way you like.
Take a look at the glance api (documented at http://docs.openstack.org/developer/glance/glanceapi.html) to get a sense of what’s there already and how you can add and read your own attributes.