I'm looking for the python OpenStack SDK version of 'openstack usage list --start <start_time> '--end <end_time> -f ' which return each projects usage for a given period of time. I've found conn.get_compute_usage(), which returns for a user?
I'm looking for the python OpenStack SDK version of 'openstack usage list --start <start_time> '--end <end_time> -f ' which return each projects usage for a given period of time. I've found conn.get_compute_usage(), which returns for a user?
You have
get_compute_usage(projectName)
which will give a detailed info for a project. It admits arguments forstart
andend
time.