This adds two new APIs, ShowCloudletResourceUsage and ShowClusterResourceUsage that show the used and total resources in Cloudlets and Clusters. This allows the user to see exactly what resources the system believes are in use. This is important both for users, and also us as developers to ensure that the algorithms that are choosing cloudlets/clusters based on available resources are working as expected.
We already had an API to get a single cloudlet's resource usage, so that is just extended to a new show command for all cloudlets. The resourceScore functions were just moved to different files to be easier to use.
This adds two new APIs, ShowCloudletResourceUsage and ShowClusterResourceUsage that show the used and total resources in Cloudlets and Clusters. This allows the user to see exactly what resources the system believes are in use. This is important both for users, and also us as developers to ensure that the algorithms that are choosing cloudlets/clusters based on available resources are working as expected.
We already had an API to get a single cloudlet's resource usage, so that is just extended to a new show command for all cloudlets. The resourceScore functions were just moved to different files to be easier to use.