SDK API to get the version of openstack distribution

Anil Jangam anilj.mailing at gmail.com
Sat Jul 18 06:13:41 UTC 2020


Hi,

I am able to iterate through the list of hypervisors and servers as
follows.

for hypervisor in self.connection.list_hypervisors():
for server in self.connection.compute.servers():


However, I could not find an API that returns the version of the OpenStack
i.e. whether it is Stein, Train, or Ussuri.

Openstack CLI client has command: openstack versions show

Thanks,
/anil.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200717/8f41867f/attachment.html>


More information about the openstack-discuss mailing list