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 Jul 3, 2023
1 parent e783513 commit f37a278
Show file tree
Hide file tree
Showing 2 changed files with 1,044 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ceph-nvmeof.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ enable_auth = False
state_update_notify = True
state_update_interval_sec = 5

[discovery]

addr =
port = 8009

[ceph]

pool = rbd
Expand Down
Loading

0 comments on commit f37a278

Please sign in to comment.