]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/cephadm: Add "networks" parameter to orch apply rgw
authorTeoman ONAY <tonay@ibm.com>
Wed, 26 Jul 2023 14:40:11 +0000 (16:40 +0200)
committerAdam King <adking@redhat.com>
Wed, 23 Aug 2023 21:43:57 +0000 (17:43 -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 7d8703bde7b4f565b58d2093790e46845da115d8..934b82255f64505d089a4e87e6f4495f2232b7d4 100644 (file)
@@ -1296,6 +1296,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,
@@ -1319,6 +1320,7 @@ Usage:
             rgw_realm=realm,
             rgw_zonegroup=zonegroup,
             rgw_zone=zone,
+            networks=networks,
             rgw_frontend_port=port,
             ssl=ssl,
             placement=PlacementSpec.from_string(placement),