Skip to content

Commit

Permalink
control/discovery: add discovery controller
Browse files Browse the repository at this point in the history
The discovery contrller implement the basic function.
Use command "python3 -m control.discovery" to start
discovery controller. Client can use command
"nvme discover -t tcp -a ip -s port" to get log pages.

The configuration is in ceph-nvmeof.conf [discovery] part.

feature: #108

Signed-off-by: Yin Congmin <[email protected]>
  • Loading branch information
CongMinYin committed Sep 5, 2023
1 parent 9c0b3de commit 6c0bae3
Show file tree
Hide file tree
Showing 2 changed files with 1,083 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ceph-nvmeof.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ state_update_interval_sec = 5
#max_controller_id = 65519
enable_discovery_controller = false

[discovery]

addr = 0.0.0.0
port = 8009
debug = 20

[ceph]
pool = rbd
config_file = /etc/ceph/ceph.conf
Expand Down
Loading

0 comments on commit 6c0bae3

Please sign in to comment.