Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvme_gw: allow to list and delete bdevs and subsystems #5

Merged
merged 3 commits into from
Dec 1, 2021

Conversation

trociny
Copy link
Contributor

@trociny trociny commented Nov 21, 2021

This is a simple implementation to add the ability to list and delete bdevs and subsystems. It will need to be improved when we have a better understanding about the UI/API.

@trociny
Copy link
Contributor Author

trociny commented Nov 21, 2021

@anitashekar @PepperJo

def bdev_rbd_delete(self, request, context):
# Delete bdev
self.logger.info({
f"Received: {request.bdev_name}",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: it would be nice to note that the request was to delete the bdev in the log

Copy link
Contributor

@anitashekar anitashekar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Signed-off-by: Mykola Golub <mykola.golub@clyso.com>
Signed-off-by: Mykola Golub <mykola.golub@clyso.com>
Signed-off-by: Mykola Golub <mykola.golub@clyso.com>
@trociny
Copy link
Contributor Author

trociny commented Nov 30, 2021

@anitashekar Thanks! Updated.

@trociny trociny merged commit 315c79c into ceph:devel Dec 1, 2021
@trociny trociny deleted the wip-list-delete branch December 1, 2021 16:35
@epuertat epuertat added this to the Milestone 1 milestone Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants