usage: Add network resources to Limit Summary

blueprint make-quotas-great-again
Change-Id: I5594b594e5f5d7ca5341fb479b48efac6578c5c8
This commit is contained in:
Akihiro Motoki 2017-12-09 18:39:29 +09:00
parent b0dc533527
commit b5671a22ee

View File

@ -103,13 +103,18 @@ CHART_DEFS = [
ChartDef("instances", _("Instances"), None, None), ChartDef("instances", _("Instances"), None, None),
ChartDef("cores", _("VCPUs"), None, None), ChartDef("cores", _("VCPUs"), None, None),
ChartDef("ram", _("RAM"), None, (sizeformat.mb_float_format,)), 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"), ChartDef("floatingip", _("Floating IPs"),
pgettext_lazy('Label in the limit summary', "Allocated"), pgettext_lazy('Label in the limit summary', "Allocated"),
None), None),
ChartDef("security_group", _("Security Groups"), None, None), ChartDef("security_group", _("Security Groups"), None, None),
ChartDef("volumes", _("Volumes"), None, None), ChartDef("security_group_rule", _("Security Group Rules"), None, None),
ChartDef("gigabytes", _("Volume Storage"), None, ChartDef("network", _("Networks"), None, None),
(sizeformat.diskgbformat,)), ChartDef("port", _("Ports"), None, None),
ChartDef("router", _("Routers"), None, None),
] ]