[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is there a limit on the number of VMs returned by "openstack server list --all-projects" ?

On 12/20/2019 2:28 PM, Albert Braden wrote:
> Is it possible to pull the value of max_limit from the Nova API, or does my script have to grep it from the config file?

You'd have to get it from config. The end user of the cloud hitting the 
REST API should know as little about how the actual cloud is configured 
as possible unless it's available in some discoverable way like the 
version document or if some services have things like capabilities APIs.
403 responses for what you're allowed to do by policy is another 
discoverability thing but doesn't really help you here.