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 Jul 10, 2023
1 parent e783513 commit e596bde
Show file tree
Hide file tree
Showing 2 changed files with 1,132 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 e596bde

Please sign in to comment.