* Re: [RFC PATCH 0/5] nvmetcli: REST API for remote configuration [not found] <20231113152709.30894-1-hare@suse.de> @ 2023-11-14 4:20 ` Chaitanya Kulkarni 2023-12-05 5:58 ` Chaitanya Kulkarni 0 siblings, 1 reply; 2+ messages in thread From: Chaitanya Kulkarni @ 2023-11-14 4:20 UTC (permalink / raw) To: Hannes Reinecke Cc: Sagi Grimberg, Christoph Hellwig, Keith Busch, linux-nvme@lists.infradead.org On 11/13/2023 7:27 AM, Hannes Reinecke wrote: > Hi all, > > here's an attempt to allow remote configuration via a JSON REST API. > It's basically using the configfs paths as the web URI, and using > http 'GET', 'PUT', and 'PATCH' to retrieve, create, or modify the > nvmet configuration. > I've also included a REST API responder based on flask to handle API > calls. > To test it out just do: > > # python nvmetapi > > and on another console: > > # export NVMET_URI=http://127.0.0.1:5000/ > # python ./nvmetcli ls > > and you should be seeing the same output as you would when running > local (albeit with a 'small' delay as it fetches the data via the network). > > As usual, comments and reviews are welcome. I'm at LPC, I'll give it a try once I'm back. -ck ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [RFC PATCH 0/5] nvmetcli: REST API for remote configuration 2023-11-14 4:20 ` [RFC PATCH 0/5] nvmetcli: REST API for remote configuration Chaitanya Kulkarni @ 2023-12-05 5:58 ` Chaitanya Kulkarni 0 siblings, 0 replies; 2+ messages in thread From: Chaitanya Kulkarni @ 2023-12-05 5:58 UTC (permalink / raw) To: Christoph Hellwig, Sagi Grimberg Cc: Keith Busch, Hannes Reinecke, linux-nvme@lists.infradead.org On 11/13/23 20:20, Chaitanya Kulkarni wrote: > On 11/13/2023 7:27 AM, Hannes Reinecke wrote: >> Hi all, >> >> here's an attempt to allow remote configuration via a JSON REST API. >> It's basically using the configfs paths as the web URI, and using >> http 'GET', 'PUT', and 'PATCH' to retrieve, create, or modify the >> nvmet configuration. >> I've also included a REST API responder based on flask to handle API >> calls. >> To test it out just do: >> >> # python nvmetapi >> >> and on another console: >> >> # export NVMET_URI=http://127.0.0.1:5000/ >> # python ./nvmetcli ls >> >> and you should be seeing the same output as you would when running >> local (albeit with a 'small' delay as it fetches the data via the network). >> >> As usual, comments and reviews are welcome. > > I'm at LPC, I'll give it a try once I'm back. > > -ck > > > I did take a quick look into this series, overall I like this idea of allowing remote configuration, Sagi/Christoph do you guys have any objections ? -ck ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-12-05 5:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20231113152709.30894-1-hare@suse.de>
2023-11-14 4:20 ` [RFC PATCH 0/5] nvmetcli: REST API for remote configuration Chaitanya Kulkarni
2023-12-05 5:58 ` Chaitanya Kulkarni
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox