Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Novaclient for usage features. Kill openstackx.
* Fixes bug 848403 * blueprint novaclient-migration * Fully removes openstackx * Needs https://review.openstack.org/3382 to work for non-admin users Change-Id: I3e7fcf2f79a92c92c6c66ff0637ed874563496d6
- Loading branch information
1 parent
166ec2f
commit c0a3d85
Showing
29 changed files
with
219 additions
and
256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
horizon/horizon/dashboards/nova/templates/nova/overview/usage.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
Usage Report For Period:,{{datetime_start|date:"b. d Y H:i"}},/,{{datetime_end|date:"b. d Y H:i"}} | ||
Tenant ID:,{{usage.tenant_id}} | ||
Total Active VCPUs:,{{usage.total_active_vcpus}} | ||
CPU-HRs Used:,{{usage.total_cpu_usage}} | ||
Total Active Ram (MB):,{{usage.total_active_ram_size}} | ||
Total Disk Size:,{{usage.total_active_disk_size}} | ||
Total Disk Usage:,{{usage.total_disk_usage}} | ||
CPU-HRs Used:,{{usage.total_vcpus_usage}} | ||
Total Active Ram (MB):,{{usage.total_active_memory_mb}} | ||
Total Disk Size:,{{usage.total_active_local_gb}} | ||
Total Disk Usage:,{{usage.total_local_gb_usage}} | ||
|
||
ID,Name,UserId,VCPUs,RamMB,DiskGB,Flavor,Usage(Hours),Uptime(Seconds),State | ||
{% for instance in usage.instances %}{{instance.id}},{{instance.name|addslashes}},{{instance.user_id|addslashes}},{{instance.vcpus|addslashes}},{{instance.ram_size|addslashes}},{{instance.disk_size|addslashes}},{{instance.flavor|addslashes}},{{instance.hours}},{{instance.uptime}},{{instance.state|capfirst|addslashes}} | ||
ID,Name,VCPUs,RamMB,DiskGB,Usage(Hours),Uptime(Seconds),State | ||
{% for server_usage in usage.server_usages %}{{server_usage.id}},{{server_usage.name|addslashes}},{{server_usage.vcpus|addslashes}},{{server_usage.memory_mb|addslashes}},{{server_usage.local_gb|addslashes}},{{server_usage.hours}},{{server_usage.uptime}},{{server_usage.state|capfirst|addslashes}} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.