And an option to output the minimum version for a given binary (e.g. nova-compute) or all services, and an option to say whether or not the minimum matches the current version (obviously a human can eyeball that to tell but you likely want something programmatic for that, like an exit code).
Maybe you want some options on the command to make it like a report, e.g. output the current version:
https:/ /github. com/openstack/ nova/blob/ 7ecdee01ed0efce cc4b448118a412d 2c6554a27d/ nova/objects/ service. py#L34
And an option to output the minimum version for a given binary (e.g. nova-compute) or all services, and an option to say whether or not the minimum matches the current version (obviously a human can eyeball that to tell but you likely want something programmatic for that, like an exit code).