From 7f33397c76540dff8ed724caf2aa14ac94c73e03 Mon Sep 17 00:00:00 2001 From: Teoman ONAY Date: Wed, 26 Jul 2023 16:40:11 +0200 Subject: [PATCH] mgr/cephadm: Add "networks" parameter to orch apply rgw This parameter is available in specs but not available as a parameter. Having it will ease its use in cephadm-adopt playbook in ceph-ansible. fixes: https://tracker.ceph.com/issues/62185 Signed-off-by: Teoman ONAY --- src/pybind/mgr/orchestrator/module.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pybind/mgr/orchestrator/module.py b/src/pybind/mgr/orchestrator/module.py index f7de02c7f86c0..d2f9416b60793 100644 --- a/src/pybind/mgr/orchestrator/module.py +++ b/src/pybind/mgr/orchestrator/module.py @@ -1369,6 +1369,7 @@ def _apply_rgw(self, realm: Optional[str] = None, zonegroup: Optional[str] = None, zone: Optional[str] = None, + networks: Optional[List[str]] = None, port: Optional[int] = None, ssl: bool = False, dry_run: bool = False, @@ -1392,6 +1393,7 @@ def _apply_rgw(self, rgw_realm=realm, rgw_zonegroup=zonegroup, rgw_zone=zone, + networks=networks, rgw_frontend_port=port, ssl=ssl, placement=PlacementSpec.from_string(placement),