summaryrefslogtreecommitdiff
path: root/saharaclient/api/clusters.py
Commit message (Collapse)AuthorAgeFilesLines
* Add sorting ability to Python-saharaclientMikhail Lelyakin2016-08-041-2/+4
| | | | | | | | | | Now we are working on pagination and sorting ability in Sahara API. This changes support work with sorting abilities. Change-Id: I824690f106bd81cc2ee949a65ba129c7ccf21d90 bp: pagination Depends-on: Icb83422a516961acd7c1c20a88cb0bb816c6bc81
* Add pagination ability to Python-saharaclientMikhail Lelyakin2016-07-281-3/+4
| | | | | | | | | Now we are working on pagination ability in Sahara API. This changes support work with new abilities. Change-Id: Idf96a82b0f49bd288eb3fd9bfa82f92074ea4e7c bp: pagination Depends-on: I50fa225361617e835c314e873035704b9fe811d0
* Merge "verifications impl for saharaclient"Jenkins2016-02-241-0/+5
|\
| * verifications impl for saharaclientVitaly Gridnev2016-02-111-0/+5
| | | | | | | | | | | | | | | | | | | | added method to verify cluster, also added support in the new CLI. Depends-On: I1b975c9a5e5241c660de66a04bf559fc8f960873 Implements blueprint: cluster-verification Change-Id: I598753cbb33d7781b646e726ad8d614e924e4876
* | Adding ability to unset fields with update callsAndrey Pavlov2016-01-291-3/+5
|/ | | | | | | | | | Adding a sentinel object that will be used as a default value in update methods. This object will allow to distinguish whether a field should be unset or should not be updated. Change-Id: Ie6679c8f64623e8570176b8009380b08de2be6a5 Closes-bug: #1534050
* Adding autogenerated saharaclient API docsAndrey Pavlov2015-11-121-0/+34
| | | | | | | | Saharaclient API docs now can be autogenerated, that prevents them from manual update. Also docstrings were added to describe some unclear parameters. Change-Id: Ibf9fdf332c91cdfb18d6f8ec5429a39dc2862494
* Allowing for shares to be edited on an existing clusterChad Roberts2015-11-061-2/+3
| | | | | | | | | | Now allowing the shares parameter to be passed on a cluster update call. It is optional and defaults to None. Change-Id: I1a16bff7bd3d20a4253a66bedc86d8c1c72328a6 Partial-Implements: bp sahara-add-shares-to-clusters Depends-On: I33971eb495c5a318ba17a4b3f98534b9e8776deb
* Support updates and ACL for objectsSergey Lukjanov2015-08-281-2/+14
| | | | | | | | | | | | | | | | | | | It implements PATCH updates for clients, updates support for all objects and is_public/is_protected support. It's a combination of parts of the follwing patches (squashed to make review and merge gating easier and faster): I3abc57b43d825d69129f9c0b2058d1e2a004c832 I0d1d892ce11c9a3b46c8583ed58f9131a0f915a3 Co-Authored-By: luhuichun <huichun.lu@intel.com> Co-Authored-By: Andrey Pavlov <apavlov@mirantis.com> Co-Authored-By: Vitaly Gridnev <vgridnev@mirantis.com> Change-Id: I5a0156b7effc59ef3d183b0caacb6980c27f425c Partially-Implements: blueprint api-for-objects-update Partially-Implements: blueprint shared-protected-resources
* API to mount manila shares to clustersEthan Gafford2015-08-071-2/+4
| | | | | | | | | | | | Manually mounting shares to every node in a large cluster would be a tedious and error-prone process. Auto-mounting shares that are requested for use in either the data source or binary storage case might be feasible for some use cases. However, outside of our (optional) EDP interface this functionality would never be usable. As such, it is best to provide the user an API for mounting of shares onto Sahara clusters. Change-Id: Ib897d3fefaea146150963e25fbaaec80e197ca36 Implements: blueprint mount-share-api
* Add support of use_autoconfig fieldVitaly Gridnev2015-08-041-2/+3
| | | | | | | | This change will allow switch off autoconfiguration, when it's needed. Partial-Implements blueprint: recommend-configuration Change-Id: Iaf546262a68b74d9463c476097f0d5596cc38f96
* Allow multiple clusters creationTelles Nobrega2015-07-071-2/+12
| | | | | | | This patch allows the user to use the client to create multiple clusters Change-Id: I3b48d6ede758e86e8cbc5bbccc069c4c24b53a44 Partially-implements: bp simultaneously-creating-multiple-clusters
* Add support for show_events parameterNikita Konovalov2015-03-201-2/+8
| | | | | | | | | | Cluster get operation now supports show_events flag to display provision progress. Removed events endpoint as it is going to be removed from the API. Partially implements bp: event-log Change-Id: I6892c8be2f8daaa215732f5e58524620cb9a1f85
* Removed cluster validation on client sideAndrew Lazarev2015-02-111-13/+0
| | | | | | | | | | | | | | | | | | | There is no sense in validation on client side. I believe we don't want to have all validation logic in two places. Also, the current validation was wrong for several reasons: 1. Wrong APIException usage (see bug description) 2. It required default_image_id for the cluster. Image could be set in each node group individually. 3. It required cluster_configs that is not mandatory So, the only correct check was for node_groups field, but still I don't think that client is the right place for checking such things. If one day we will allow clusters with no nodegroups client should allow that without modifications. Change-Id: I3a7bf39b102b699e8f4a1e493314412cfd26ee2e Closes-Bug: #1420569
* Adding support for query filtering to list() callsChad Roberts2014-11-171-2/+3
| | | | | | | | | | | | Each of the list() methods now supports an extra parameter, search_opts, which is a dict that will contain search fields and values to limit the result sets. The changes here will also rely upon changes to the Sahara service to support query-style parameters. Change-Id: I26986cbc153c3f8ad74b52d91086afbdfbd93926 Implements: bp enable-result-filtering
* Swap the saharaclient and savannaclient directoriesTrevor McKay2014-03-131-0/+74
Exchange the contents of the saharaclient and savannaclient directories so that 'savannlient' is the effective alias and 'saharaclient' contains all of the source code. * Change all of the imports that reference savannaclient to saharaclient * Change paths that reference savannaclient (under doc) * Leave variable and class names unchaned at this point * Leave references to python_savannaclient unchanged since the top * level dir name has not yet changed Partial-implements: blueprint savanna-renaming-client Change-Id: I83cb21922ae5a8cec291990b3ab67bb9e3cb2d62