From cee6f08c9d7b6960ededcefdd13fc0d8b9eb44ec Mon Sep 17 00:00:00 2001 From: Angie Wang Date: Fri, 9 Nov 2018 15:56:54 -0500 Subject: [PATCH] Add the ability to resize gnocchi filesystem through horizon This update allows user to update gnocchi filesystem size via horizon. Change-Id: If7581bdcae565a42e2bd9e6c1adb30d2f2bf65ab Closes-Bug: 1800910 Signed-off-by: Angie Wang --- .../dashboards/admin/system_config/forms.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/dashboards/admin/system_config/forms.py b/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/dashboards/admin/system_config/forms.py index 093c5cdb..d6fda0ab 100755 --- a/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/dashboards/admin/system_config/forms.py +++ b/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/dashboards/admin/system_config/forms.py @@ -691,6 +691,12 @@ class UpdateiStorage(forms.SelfHandlingForm): help_text=_("Glance image storage space in gibibytes."), min_value=0) + gnocchi = forms.IntegerField( + label=_("Gnocchi Storage (GiB)"), + required=True, + help_text=_("Gnocchi storage space in gibibytes."), + min_value=0) + backup = forms.IntegerField( label=_("Backup Storage (GiB)"), required=True,