API Documentation #36
Comments
@lpabon, the Add Node command takes an IP address as the 'name' of the node. How do you plan to extend this to support multiple network interfaces attached to a node? |
@lpabon , Add Node command doesn't return an id in its JSON response (nit), while Add Device requires node id to be specified in its JSON request. |
@krisis Great question on the IP address. I'm not sure what to do there. What do you think we should do? |
Is using KB as the unit for size really needed? We talk of sizes in 100s of GBs, specifying such large sizes in KBs doesn't look pretty to me. |
The Create a Volume api has an optional |
@lpabon, Add Node returns cluster id and not Node id. |
@lpabon, Node could follow same convention of taking an optional name, which would default to the Node's id. |
@lpabon you're right. Add Node does return node id in response. |
Thanks for the reviews, here are my comments:
|
On suggestion from Greg Meno I have updated the API with support for asynchronous operations. |
Added Authentication documentation |
@lpabon My comments as below:
|
@dpkshetty |
|
@dpkshetty Hi, I made the following updates:
|
@lpabon Great, thanks for the updates
|
@dpkshetty Hi Deepak, thanks for the review. Before I supply my comments, I just wanted to point out that this is a software interface, not one to the users. The users will not see this, so they will not be confused. Here are my comments
|
@lpabon Hi
|
@dpkshetty Hi, I made the following updates
|
Thank you all for the help. The work has started to implement the proposed API |
@krisis @dpkshetty Question on https://github.com/heketi/heketi/wiki/API#node_add. According to [1], it seems the API should really only ask the hostname of the system. Does it really need to use IPs? I'm assuming it still needs to know the management hostname/ip and the storage network hostname/ip, right? |
@krisis @dpkshetty , should I remove "name" from the request? |
@krisis @dpkshetty @kshlm Question, When adding a node, I think the username and the SSH private key should be added also, right? Or should we assume that the ssh-agent running on the system that heketi is running has been setup? |
|
@dpkshetty Great thanks for the help |
Hi all,
Now that Heketi is focusing just on GlusterFS, we need to finalize the API. The implementation may or may not finish the entire API set, but it will need to do enough for Manila and Kubernetes to consume. Although the proposed API is quite simple, please make sure that the proposed API makes it easy to add future features.
Here is the proposed API:
https://github.com/heketi/heketi/wiki/API
Here is the old one for the prototype used by the demo:
https://github.com/heketi/heketi/wiki/API/c4be1ddcfd17e72117ebc584d646eec2987fcb58
The text was updated successfully, but these errors were encountered: