From b5671a22ee7303974bb35b2ad4cdf912592340fe Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Sat, 9 Dec 2017 18:39:29 +0900 Subject: [PATCH] usage: Add network resources to Limit Summary blueprint make-quotas-great-again Change-Id: I5594b594e5f5d7ca5341fb479b48efac6578c5c8 --- openstack_dashboard/usage/views.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/openstack_dashboard/usage/views.py b/openstack_dashboard/usage/views.py index 4731456e2a..532526461c 100644 --- a/openstack_dashboard/usage/views.py +++ b/openstack_dashboard/usage/views.py @@ -103,13 +103,18 @@ CHART_DEFS = [ ChartDef("instances", _("Instances"), None, None), ChartDef("cores", _("VCPUs"), None, None), ChartDef("ram", _("RAM"), None, (sizeformat.mb_float_format,)), + ChartDef("volumes", _("Volumes"), None, None), + ChartDef("snapshots", _("Volume Snapshots"), None, None), + ChartDef("gigabytes", _("Volume Storage"), None, + (sizeformat.diskgbformat,)), ChartDef("floatingip", _("Floating IPs"), pgettext_lazy('Label in the limit summary', "Allocated"), None), ChartDef("security_group", _("Security Groups"), None, None), - ChartDef("volumes", _("Volumes"), None, None), - ChartDef("gigabytes", _("Volume Storage"), None, - (sizeformat.diskgbformat,)), + ChartDef("security_group_rule", _("Security Group Rules"), None, None), + ChartDef("network", _("Networks"), None, None), + ChartDef("port", _("Ports"), None, None), + ChartDef("router", _("Routers"), None, None), ]