]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: Add "networks" parameter to orch apply rgw 52674/head
authorTeoman ONAY <tonay@ibm.com>
Wed, 26 Jul 2023 14:40:11 +0000 (16:40 +0200)
committerTeoman ONAY <tonay@ibm.com>
Thu, 10 Aug 2023 09:45:58 +0000 (11:45 +0200)
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>
src/pybind/mgr/orchestrator/module.py

index f7de02c7f86c04fdbe9c9be16ec7626930abe4cd..d2f9416b6079385da06f914585bb23e0166e9135 100644 (file)
@@ -1369,6 +1369,7 @@ Usage:
                    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 @@ Usage:
             rgw_realm=realm,
             rgw_zonegroup=zonegroup,
             rgw_zone=zone,
+            networks=networks,
             rgw_frontend_port=port,
             ssl=ssl,
             placement=PlacementSpec.from_string(placement),