]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: add fetch_tcp_ports function for getting processed ports
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 26 May 2023 19:06:40 +0000 (15:06 -0400)
committerAdam King <adking@redhat.com>
Thu, 31 Aug 2023 17:35:14 +0000 (13:35 -0400)
commit9e040ba46685b91fa4c2c79ecf21e625fe50be24
treeb1e43d5df787c5f8bdf5e836d0fbab907681a873
parente2c5787a59ba2d26c7da9c9ae65e5fbd7e6cd2ad
cephadm: add fetch_tcp_ports function for getting processed ports

The cephadm cli can pass ports as either a string containing space
separated port numbers or, in the newer method, a (JSON) list of ints.
The fetch_tcp_ports function abstracts away the handling of
these input forms.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadm.py