| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
On the way to have APIv2 as stable we need to have it available on the
OSC for sahara.
Change-Id: I84f4bc56c641caad7c04190c7a344a6773440eef
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I3f96e9dd8af1ddee5d1d7ea36f5cdae2d91bf6b2
|
| |
| |
| |
| |
| |
| |
| |
| | |
Adding boot from volume to python-sahahraclient CLI.
Change-Id: I302aaeb7a0f831730301162f8c51e0eebcbd66f8
Story: #2001820
Task: #12559
|
|/
|
|
|
|
|
|
|
|
| |
Just accept session objects.
This will require a new major release of python-saharaclient (2.0).
Change-Id: I9021a7ebeeecf94d48170e332b26ac6e80187501
Story: 1747838
Task: 6896
|
|
|
|
|
|
| |
bp sahara-support-s3
Change-Id: I14fb4286bffb1361706b6e8ae62ac7dbc20ee311
|
|
|
|
|
|
|
| |
Adding this parameter to create and update on the CLI
Change-Id: I792b4e7f0182e042086555f612d188d6dea03cf1
Closes-bug: #1630563
|
|
|
|
|
|
|
|
|
|
|
| |
These such rules are:
- [S366, S367] Organize your imports according to the ``Import order``
- [S368] Must use a dict comprehension instead of a dict constructor with
a sequence of key-value pairs.
- [S373] Don't translate logs
- [S375] Use jsonutils from oslo_serialization instead of json
Change-Id: I909da6772f733e8282a8f304b829aab9b25d6203
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When I used command "dataprocessing job execute", the option
--input and --output must be defined otherwise I can't excute job.
Because it alwalys return error_code 404. Acutually, we can use
option --args to appoint input_url and output_url.So I think
--input and --output should be optional.
add:
test_job_execute_with_input_output_option()
Closes-Bug: #1670227
Change-Id: Ia2d3a19658ad78f7c07f444131dddf836bb8018e
|
|
|
|
|
|
|
|
|
|
|
| |
In this patch, there are three changes.
1. Raise Exception if the config file already exists.
2. Avoid overriding the file of different version of a plugin.
3. stdout message should end with '\n' to start a newline.
4. execute remote API call only when file not exists.
Change-Id: I0c9eb2cb7fd1cafe4bea05c73811d6dea6b3e9a8
Closes-Bug: 1625990
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
added 'domain_name' parameter to Cluster Template in API
and CLI client.
NOTE: in spec we proposed to use two domains: one for internal
resolution and another for external. But we decided to use only one
domain for both sides so an instance will have one hostname in the
domain and two appropriate A records because it's more convenient.
partial-bp: designate-integration
Change-Id: Ic636d1d9d27f9f96fbfd37b7d29d8f0add44a24f
|
|
|
|
|
|
|
|
| |
this change adding support of plugin's api
patch method.
blueprint: plugin-management-api
Change-Id: I94dd1d4faf2ccbc3901ea5d5c7d69e7c5a4f8bdf
|
|
|
|
|
|
|
|
|
|
|
| |
osc-lib is a package of common support modules for writing
OSC plugins. All common functions, classes such as exceptions,
utils, logs and so on have been moved from openstackclient to
osc-lib.
So use osc-lib instead of openstackclient in sahara client.
Change-Id: I9543988830eeeac0d09facebabdeed9a968ba3f0
|
|
|
|
|
|
|
|
|
|
| |
Currently we have parameter 'version' for specifying plugin version
for creating node group templates and also for listing available
plugins. The problem is that this parameter is global parameter for
getting version of client. So, this patch fixes this confusion.
Change-Id: I89a670188c20e3b20b98b596a3efb8d5997c3214
Closes-bug: #1565775
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The OpenStack SDK is now used for the network client
in openstackclient. It brakes the "cluster create"
CLI command if neutron network is specified.
Change-Id: Id099c11973a6d221cfd10aa654b3d44257127ce0
Closes-bug: #1551224
|
|/
|
|
|
|
|
|
| |
Arguments that not provided via update methods
of CLI will not be unset
Change-Id: I1e36f6cfda21b526eef81f5fc8348c41319ded58
Closes-bug: #1551263
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Health verification for cluster can be shown with
"dataprocessing cluster verification CLUSTER --show"
command
* changing output for
"dataprocessing cluster verification CLUSTER --start"
command
* adding unit tests for cluster verifications
Partially-implements bp: cluster-verification
Change-Id: If095845f04e8df38d5cc083d2b5e17ac630515cb
|
|
|
|
|
|
|
|
|
| |
If a cluster had a node group with a name different
than a node group template name and you wanted to
resize it via CLI, cluster wasn't able to be scaled.
Change-Id: I554d9c07741dcb2077f9ecd0f6b5dbce65c6a464
Closes-bug: #1523455
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
"plugin show" CLI command was extended. Now if version of the
plugin is specified, additional information(required image tags,
node processes) will be shown. Also field names were capitalized.
Partially implements: blueprint cli-as-openstackclient-plugin
Change-Id: Ia25dd560627a39362e011528b1122d4723ce012e
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Node group template now can be created/updated with --flavor
argument that can contain both name or ID of the flavor
Partially implements: blueprint cli-as-openstackclient-plugin
Change-Id: I9d40e820fff70c51d34e82bd0a4c7c0c5e5aebde
|
|/
|
|
|
|
|
|
|
| |
Data Source type and credentials couldn't be
updated via CLI
Closes-bug: #1515946
Change-Id: I410a26c8b9f714cc844a1f84fc2a498c62cf04e9
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* fixing representation after image is registered
* adding ability to register images by name
* adding additional ut
Partially implements: blueprint cli-as-openstackclient-plugin
Change-Id: Idda6aefa6406b49c8aa6c4de67d1de73878c5661
|
|/
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixing updates for some CLI methods, adding
additional unit tests and small fixes
Partially implements: blueprint cli-as-openstackclient-plugin
Change-Id: I9e800ca4893fe4311517ca47f95d84620a73cee4
|
|/
|
|
|
|
|
|
|
|
|
| |
This method provides a small optimisation in
case we don't need anything else but resource
id, allowing not to request a resource when we
already have an id.
Partially implements: blueprint cli-as-openstackclient-plugin
Change-Id: I44baf18e5b1a1dc61948674ae4dbe1bb4cbed08d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding Job Binaries commands to Sahara
OpenstackClient plugin:
$ dataprocessing job binary create
$ dataprocessing job binary list
$ dataprocessing job binary show
$ dataprocessing job binary update
$ dataprocessing job binary delete
$ dataprocessing job binary download
Partially implements: blueprint cli-as-openstackclient-plugin
Change-Id: Ia452b22ac27677a911b5b2f38a0250d4962be447
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding Jobs commands to Sahara OpenstackClient
plugin:
$ dataprocessing job execute
$ dataprocessing job list
$ dataprocessing job show
$ dataprocessing job update
$ dataprocessing job delete
Partially implements: blueprint cli-as-openstackclient-plugin
Change-Id: I00cdd80740a0052d4e562276f8225378c7e8de55
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Partially implements: blueprint cli-as-openstackclient-plugin
Change-Id: I7f0dbec47f8c670c942a5244be96dde215a59f35
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adding Job Types commands to Sahara
OpenstackClient plugin:
$ dataprocessing job type list
$ dataprocessing job type configs get
Partially implements: blueprint cli-as-openstackclient-plugin
Change-Id: I259b006dc47da92952cdc2289ce0af8c200b39ef
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adding Job Templates commands to Sahara
OpenstackClient plugin:
$ dataprocessing job template create
$ dataprocessing job template list
$ dataprocessing job template show
$ dataprocessing job template update
$ dataprocessing job template delete
Partially implements: blueprint cli-as-openstackclient-plugin
Change-Id: I8c93b26c6eca37dbb144d7184c4d07dbe15bd9ab
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adding Clusters commands to Sahara
OpenstackClient plugin:
$ dataprocessing cluster create
$ dataprocessing cluster list
$ dataprocessing cluster show
$ dataprocessing cluster update
$ dataprocessing cluster scale
$ dataprocessing cluster delete
Partially implements: blueprint cli-as-openstackclient-plugin
Change-Id: Icbf1778f621f18a6e7deca7f093a31fa3ee1c5b7
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adding Cluster Templates commands to Sahara
OpenstackClient plugin:
$ dataprocessing cluster template create
$ dataprocessing cluster template list
$ dataprocessing cluster template show
$ dataprocessing cluster template update
$ dataprocessing cluster template delete
Partially implements: blueprint cli-as-openstackclient-plugin
Change-Id: Ib17d5b46efbb5fe15f24d85065ef2a65ad6548e4
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding Node Group Templates commands to Sahara
OpenstackClient plugin:
$ dataprocessing node group template create
$ dataprocessing node group template list
$ dataprocessing node group template show
$ dataprocessing node group template update
$ dataprocessing node group template delete
Partially implements: blueprint cli-as-openstackclient-plugin
Change-Id: I1afaaf62da69d1a93a3bba744c30c42bbacaa7bd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding Images commands to Sahara OpenstackClient plugin:
$ dataprocessing image list
$ dataprocessing image show
$ dataprocessing image register
$ dataprocessing image unregister
$ dataprocessing image tags set
$ dataprocessing image tags add
$ dataprocessing image tags remove
Partially implements: blueprint cli-as-openstackclient-plugin
Change-Id: Ib84fbb76b6cbc3a321efeb54c88bc58c76fb063e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes:
* adding Data Sources update command to OpenstackClient CLI:
$ dataprocessing data sources update
* adding ability to delete multiple data sources with one call
* adding prepare_column_headers method to osc utils
* adding public and protected support to datasources
* changing utils.get_resource method
Partially implements: blueprint cli-as-openstackclient-plugin
Change-Id: If3b1811eea5d1d9770c286dc9487d278f3616c48
|
|
|
|
|
|
|
| |
Adding ability to specify Data processing API url and
endpoint type that will be used by OpenstackClient CLI
Change-Id: I72d9b3f051b8d7b144e2f762be45f11080246222
Partially implements: blueprint cli-as-openstackclient-plugin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding Data Sources commands to Sahara OpenstackClient
plugin:
$ dataprocessing data sources list
$ dataprocessing data sources show
$ dataprocessing data sources create
$ dataprocessing data sources delete
Partially implements: blueprint cli-as-openstackclient-plugin
Change-Id: I159c3067fd74463d7cca7fa781432b5438455b81
|
|
This patch adds support of Sahara CLI to Openstackclient
by setting entry points and implementing interface functions.
Also it adds Plugins functionality and unit tests to cover it.
Co-Authored-By: Sergey Reshetnyak <sreshetniak@mirantis.com>
Partially implements: blueprint cli-as-openstackclient-plugin
Change-Id: If5c33f8446d64385a71e02a0ae7bf23d7b40f862
|