]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: add utils.py
authorMichael Fritch <mfritch@suse.com>
Tue, 17 Mar 2020 04:47:36 +0000 (22:47 -0600)
committerSage Weil <sage@redhat.com>
Thu, 26 Mar 2020 01:57:06 +0000 (20:57 -0500)
commitcf53b392912d9d879e25f9da1bcd7a07b11e9524
tree71e2d909115204ed4c98f926f6d395fb7bf33dce
parente9b6ef73b8c843d7442b97c992432155c36141a6
mgr/cephadm: add utils.py

move `name_to_config_section` and `assert_valid_host` into utils.py

Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit 322eea8099616b25a091ac66a1253d1991a0da2c)
src/pybind/mgr/cephadm/__init__.py
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/nfs.py
src/pybind/mgr/cephadm/utils.py [new file with mode: 0644]