From: Sage Weil Date: Mon, 22 Nov 2021 21:42:46 +0000 (-0500) Subject: mgr/dashboard: expect pg_num_max property for pools X-Git-Tag: v17.1.0~123^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=094d0268f75917217df696b7fa0fdc7aa42d69ae;p=ceph.git mgr/dashboard: expect pg_num_max property for pools Signed-off-by: Sage Weil --- diff --git a/src/pybind/mgr/dashboard/controllers/pool.py b/src/pybind/mgr/dashboard/controllers/pool.py index e2717e6fd477..386d584404c8 100644 --- a/src/pybind/mgr/dashboard/controllers/pool.py +++ b/src/pybind/mgr/dashboard/controllers/pool.py @@ -73,7 +73,8 @@ POOL_SCHEMA = ([{ "expected_num_objects": (int, ""), "fast_read": (bool, ""), "options": ({ - "pg_num_min": (int, "") + "pg_num_min": (int, ""), + "pg_num_max": (int, "") }, ""), "application_metadata": ([str], ""), "create_time": (str, ""), diff --git a/src/pybind/mgr/dashboard/openapi.yaml b/src/pybind/mgr/dashboard/openapi.yaml index c5c5f806980e..46785f57c837 100644 --- a/src/pybind/mgr/dashboard/openapi.yaml +++ b/src/pybind/mgr/dashboard/openapi.yaml @@ -6956,11 +6956,15 @@ paths: options: description: '' properties: + pg_num_max: + description: '' + type: integer pg_num_min: description: '' type: integer required: - pg_num_min + - pg_num_max type: object pg_autoscale_mode: description: ''