Ask Your Question

Revision history [back]

How can I get the domain name for a server via the python-novaclient and the API?

I am able to get a particular server with the call:

server = self.nova_client.servers.find(id ="x")

But I don't see anything that would provide the domain name from this server object here: https://github.com/openstack/python-novaclient/blob/master/novaclient/v2/servers.py

Am I looking in the wrong place? Any suggestions where I could get the domain name using the API from a python app?

Thanks.