]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
node-proxy: Add a `NodeProxyManager` class
authorGuillaume Abrioux <gabrioux@ibm.com>
Fri, 1 Dec 2023 08:11:31 +0000 (08:11 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 25 Jan 2024 15:07:20 +0000 (15:07 +0000)
commit8d129efd850dff1306c4084f52da84594d8146ef
tree766e107cdd146f9693c1230e949cc5f0a8e190c9
parente9a2450f897aca61181522bf64b215d5295154b0
node-proxy: Add a `NodeProxyManager` class

The current approach with `init_node_proxy()` and `node_proxy_loop_check()`
is 'cumbersome' and gives the heebie-jeebies.

Sub-classing `Thread()` makes the code a bit more clearer and readable.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/cephadm/cephadm.py
src/cephadm/cephadmlib/agent.py [new file with mode: 0644]
src/cephadm/cephadmlib/node_proxy/main.py
src/cephadm/tests/test_agent.py