Skip to content

Commit

Permalink
mgr/cephadm: Add "networks" parameter to orch apply rgw
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
asm0deuz committed Aug 10, 2023
1 parent 2b672e0 commit 7f33397
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pybind/mgr/orchestrator/module.py
Expand Up @@ -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,
Expand All @@ -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),
Expand Down

0 comments on commit 7f33397

Please sign in to comment.