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: ceph#108

Signed-off-by: Yin Congmin <congmin.yin@intel.com>
  • Loading branch information
CongMinYin committed Aug 29, 2023
1 parent 7aa987f commit 3b6b2c6
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 @@ -18,6 +18,12 @@ state_update_interval_sec = 5
#min_controller_id = 1
#max_controller_id = 65519

[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 3b6b2c6

Please sign in to comment.