- 12 Apr, 2013 2 commits
-
-
Michele Tartara authored
Provide some more insights about how to use the RAPI from the command line through the "curl" command. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michele Tartara authored
Add some additional information about how to use/test the RAPI, including how to specify authentication credentials. Cherry picked from 681f4f7b on master. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 27 Mar, 2013 1 commit
-
-
Bernardo Dal Seno authored
Minimum and maximum instance specs are put together into a single element of the instance policy. This is in preparation for introducing multiple min/max specs. Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 26 Mar, 2013 1 commit
-
-
Michele Tartara authored
Add some additional information about how to use/test the RAPI, including how to specify authentication credentials. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 21 Mar, 2013 1 commit
-
-
Helga Velroyen authored
This patch adds the currently known and used storage methods to the constants.py file. Note that storage types are different from disk templates. For example both disk templates, drbd and plain, use lvm storage types. The rapi documentation asserts that valid storage types are limited to lvm and file. With the extension of storage types, this is not true anymore, but the implementation of listing storage units is not implemented for the new types. We disable the assert for now, adding a fixme to extend it once the listing of storage units is extended for the new types as well. 'gnt-node list-storage' currently does not support any other storage type than 'lvm' and 'file'. We limit the QA to storage types that are currently implemented for this operation. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 26 Feb, 2013 1 commit
-
-
Michael Hanselmann authored
Many resources, but not all, list their supported methods. With a new reST directive, this list is now automatically generated and also lists the required permissions. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 22 Feb, 2013 1 commit
-
-
Michael Hanselmann authored
- Document fields in “rapi/users” file in the order they appear (username, password, options) - Mention new “--require-authentication” option - Clarify use of “write” on “GET” method Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 20 Feb, 2013 1 commit
-
-
Michael Hanselmann authored
Sometimes it can be difficult to determine the access permissions needed for a certain RAPI resource without looking at code. This table, added at the end of “rapi.rst”, shows all resources and the permissions needed for their methods. Another nice side-effect of this change is that there's an automatic cross-checking between implemented resources and methods and the documentation. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 19 Feb, 2013 2 commits
-
-
Michael Hanselmann authored
A newly added table of RAPI access permissions will link to all resources and their supported methods. For this reason link targets need to be added. The GET method on “/2/nodes/[node_name]” was not separately mentioned. This is also fixed. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michael Hanselmann authored
Assert that the documented fields are equal to those in the actual object. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 11 Feb, 2013 1 commit
-
-
Dimitris Aragiorgis authored
This slot was not used by Ganeti so the same info can be provided via tags. In order not to break configuration data we add a FromDict() method in Network config object that removes the deprecated network_type (if found) and then invoke the parent's method (which does the validation). Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 13 Dec, 2012 1 commit
-
-
Michael Hanselmann authored
- Mention user capabilities in security.rst - Replace “query” with “read” in RAPI documentation Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 10 Dec, 2012 1 commit
-
-
Michael Hanselmann authored
The assertion was failing as ECODE_TEMP_NORES was not documented. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 21 Nov, 2012 1 commit
-
-
Michael Hanselmann authored
The examples given in the RAPI documentation are not exhaustive. This patch tries to clarify this by adding ellipses where appropriate. One example's indentation is also fixed. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 20 Nov, 2012 1 commit
-
-
Dimitris Aragiorgis authored
Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 16 Nov, 2012 1 commit
-
-
Michael Hanselmann authored
This was requested in issue 301. Before this patch, requests to “/2/query/*” and “/2/instances/*/console” would require authentication with a user with write access. Since that is not strictly necessary, a new user option named “read” is added. Console information can also be retrieved as a normal query, therefore the change applies there too. This was the first user option to be added after “write”, therefore quite a few changes were necessary. Documentation, including NEWS, is updated as well. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 18 Oct, 2012 1 commit
-
-
Iustin Pop authored
This is straightforward; only one shell example remained, but as we process the man pages via pandoc and not sphinx, it's not actually used, we leave it as such for now. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 24 Sep, 2012 1 commit
-
-
René Nussbaumer authored
This is straightforward. Signed-off-by:
René Nussbaumer <rn@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- 18 Jun, 2012 1 commit
-
-
Iustin Pop authored
While reviewing the RAPI docs (for commit 003306f9), I realised that the punctuation used in RAPI is inconsistent, especially with regards to definition lists. This patch changes all such lists to not have punctuation, except for one case (the ecode descriptions, which have multiple paragraphs). Furthermore, it fixes the few opcodes which had docs ending with punctuation to not do so anymore. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- 15 Mar, 2012 1 commit
-
-
René Nussbaumer authored
Signed-off-by:
René Nussbaumer <rn@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 27 Feb, 2012 1 commit
-
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 21 Feb, 2012 1 commit
-
-
Iustin Pop authored
This will represent the instance (count) per spindle_count of their node(s). Debatable whether we need to add a per-instance spindle_weight. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- 26 Jan, 2012 1 commit
-
-
René Nussbaumer authored
Signed-off-by:
René Nussbaumer <rn@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- 15 Nov, 2011 1 commit
-
-
Michael Hanselmann authored
- Commit b7a1c816 changed the LU to generate jobs - Mention documented results in NEWS Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 17 Oct, 2011 1 commit
-
-
Michael Hanselmann authored
Commit d1c172de inadvertently changes the “/2/instances/[instance_name]/replace-disks” resource to use body parameters. There were no QA tests and the issue wasn't noticed. This patch re-introduces support for query parameters and adds a QA test. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Andrea Spadaccini <spadaccio@google.com>
-
- 13 Oct, 2011 2 commits
-
-
Michael Hanselmann authored
*mumble* Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
A separate patch will add “auto-promote” through “/2/nodes/[node_name]/role”. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 20 Sep, 2011 1 commit
-
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 16 Sep, 2011 1 commit
-
-
Michael Hanselmann authored
This was still missing from RAPI. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 13 Sep, 2011 2 commits
-
-
Andrea Spadaccini authored
Fix a failing pyassert in the RAPI docs and update it to reflect the addition of SPICE to gnt-instance console. Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
Like “/”, it'll just return a JSON null. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
- 07 Sep, 2011 1 commit
-
-
Michael Hanselmann authored
These were never really useful. Neither gave a complete list of available resources—the documentation in doc/rapi.rst is much better at that. Since some monitoring code might use the “/” resource it's kept around but will only return a JSON “null”. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
- 12 Aug, 2011 1 commit
-
-
Michael Hanselmann authored
Some opcodes aren't documented yet. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
- 10 Aug, 2011 2 commits
-
-
Michael Hanselmann authored
- In README, refer to “install.rst”, not “install.html” - In rapi.rst, wrap line longer than 72 characters - In rlib2.py, update and clarify description of POST vs. PUT Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Also replace console types with constants. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 09 Aug, 2011 1 commit
-
-
Michael Hanselmann authored
This was requested in issue 181. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
- 21 Jul, 2011 1 commit
-
-
Michael Hanselmann authored
No idea why this was missed before. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 05 Jul, 2011 2 commits
-
-
Michael Hanselmann authored
- Use constants and an assertion - Update documentation for node migration Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
The change is not backwards compatible, see the updated NEWS file. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
- 27 Jun, 2011 1 commit
-
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-