summaryrefslogtreecommitdiffstats
path: root/API.txt
Commit message (Collapse)AuthorAgeFilesLines
* Provide API to check if IPA DNS is enabled on some serverSimo Sorce2011-01-191-0/+5
| | | | Fixes: https://fedorahosted.org/freeipa/ticket/600
* update API removal of idnssoamaximum from dns APIs broke the build. THis ↵Adam Young2011-01-181-6/+3
| | | | fixes it.
* Remove old DNS plugin commands from API validationSimo Sorce2011-01-141-139/+0
|
* Fix API validationSimo Sorce2011-01-141-1/+1
|
* Add API version and have server reject incompatible clients.Rob Crittenden2011-01-141-0/+2752
This patch contains 2 parts. The first part is a small utility to create and validate the current API. To do this it needs to load ipalib which on a fresh system introduces a few problems, namely that it relies on a python plugin to set the default encoding to utf8. For our purposes we can skip that. It is also important that any optional plugins be loadable so the API can be examined. The second part is a version exchange between the client and server. The version has a major and a minor version. The major verion is updated whenever existing API changes. The minor version is updated when new API is added. A request will be rejected if either the major versions don't match or if the client major version is higher than then server major version (though by implication new API would return a command not found if allowed to proceed). To determine the API version of the server from a client use the ping command. ticket 584