From 0b20bd1c7744190f9154118559085ab35c8100e7 Mon Sep 17 00:00:00 2001 From: markdhooper Date: Thu, 28 Apr 2022 09:20:16 -0300 Subject: [PATCH] added the ability to set per-host virtual ip interfaces --- .../usr/share/cockpit/ceph-deploy/ceph-deploy.js | 14 +++++++++++++- .../cockpit/ceph-deploy/helper_scripts/core_params | 1 + 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/fakeroot/usr/share/cockpit/ceph-deploy/ceph-deploy.js b/src/fakeroot/usr/share/cockpit/ceph-deploy/ceph-deploy.js index d5bef4c..91e5ef9 100644 --- a/src/fakeroot/usr/share/cockpit/ceph-deploy/ceph-deploy.js +++ b/src/fakeroot/usr/share/cockpit/ceph-deploy/ceph-deploy.js @@ -754,7 +754,19 @@ let g_option_scheme = { rgwloadbalancers: { inventory_file: true, global: [], - unique: [], + unique: [ + { + option_name: "virtual_ip_interface", + option_format: "default", + optional: true, + label: "virtual_ip_interface", + feedback: true, + feedback_type: "name", + help: "", + input_type: "text", + default_value: "", + }, + ], group: [ { option_name: "haproxy_frontend_port", diff --git a/src/fakeroot/usr/share/cockpit/ceph-deploy/helper_scripts/core_params b/src/fakeroot/usr/share/cockpit/ceph-deploy/helper_scripts/core_params index df978af..9af95c0 100755 --- a/src/fakeroot/usr/share/cockpit/ceph-deploy/helper_scripts/core_params +++ b/src/fakeroot/usr/share/cockpit/ceph-deploy/helper_scripts/core_params @@ -154,6 +154,7 @@ class Host: radosgw_address: str = "" monitor_interface: str = "" dedicated_devices: List = field(default_factory=lambda: []) + virtual_ip_interface: str = "" def load_dictionary(self, dict_variable: dict): ret_val = False