]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: Add "networks" parameter to orch apply rgw 53974/head
authorTeoman ONAY <tonay@ibm.com>
Wed, 26 Jul 2023 14:40:11 +0000 (16:40 +0200)
committerAdam King <adking@redhat.com>
Wed, 11 Oct 2023 17:58:01 +0000 (13:58 -0400)
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 <tonay@ibm.com>
(cherry picked from commit 7f33397c76540dff8ed724caf2aa14ac94c73e03)

src/pybind/mgr/orchestrator/module.py

index d6fe7a3bc6cdf02eca70e7aa4451924efb00d00c..cd2a4b6e30b8eb9a46595dbdd10d18753fd978cd 100644 (file)
@@ -1130,6 +1130,7 @@ Usage:
                    placement: Optional[str] = None,
                    realm: Optional[str] = None,
                    zone: Optional[str] = None,
+                   networks: Optional[List[str]] = None,
                    port: Optional[int] = None,
                    ssl: bool = False,
                    dry_run: bool = False,
@@ -1152,6 +1153,7 @@ Usage:
             service_id=svc_id,
             rgw_realm=realm,
             rgw_zone=zone,
+            networks=networks,
             rgw_frontend_port=port,
             ssl=ssl,
             placement=PlacementSpec.from_string(placement),