Fix behaviour of --floating-ip-enabled and add --floating-ip-disabled.
Removed default setting of floating_ip_enabled API call parameter from
the clients (now the API default is used if it's not explicitly set in
the client arguments).
Change-Id: I9e01addaab17a0d37bb2fed10b4672d421bc1e09
Closes-Bug: #1639119
Magnum API supports a 'detail' flag to show the list
of cluster templates with details but that was not supported
at client.
So this patch adds the support for cluster-template-list command.
Change-Id: I7df73aae1c489132aaf091d162b1d081e65f09c7
Partial-Bug: #1674314
Currently only few help messages are marked for translation.
With this patch all the help messages are marked for
translation so that they can be tracked by Zanata bot.
Change-Id: I025e94f5148b32ba2cdcb1fa7ee2219d27da68a1
Closes-Bug: #1653053
This will make it more apparent to new users that the bay* commands
are being replaced by the cluster* commands.
Change-Id: I66a323b568893c6a4d9b019ae05b308f02921fb7
cluster-template-update has a invalid check for 'manifest'
path, with this patch it is cleaned up.
Change-Id: Ie6f3654dc7531cf62c5ca52273b45a4d093d7e25
Closes-Bug: #1638858
floating_ip_enabled option is added by server, so we should add
this option to client too.
Change-Id: I971ef74f0cc79346a76c1faba55777b0a44465da
Partial-Implements: blueprint bay-with-no-floating-ips
Depends-On: I99677221250480b43a4b95ebf460c43bc77090ad
Add new base classes for Bay and Cluster to inherit from.
Add new tests for cluster and cluster_template code.
Leaves all commands in-place and adds new cluster-related
commands for magnumclient.
Add deprecation decorator and messages for bay/baymodel.
Implements: blueprint rename-bay-to-cluster
Change-Id: I64e1aa6a71b109687568005655c6de55f86fad29
This adds a new flag to baymodel-create that
signals if load balancers should be used in this
baymodel or not.
Change-Id: Ibd3bd9e8e4e72844b561f1d6d1146b0f5777843c
Partially-Implements: blueprint decouple-lbaas
fixed_subnet option is added by server, so we should add
this option to client too.
Change-Id: I3963b069ae8dde09f696e03cc43c5c37f8cc971b
Partial-Implements: blueprint magnum-baremetal-full-support
Depends-On: Ia21ad6e3e1472a0d078d08369ef62601034fcc17
The following dependency enhances baymolel with a new attribute:
docker-storage-driver. Add docker-storage-driver argument to the
client.
Change-Id: I0b567e793ff9222d5381529bb0e36553aa2b7b79
Partially-Implements: blueprint support-for-different-docker-storage-driver
Depends-On: Ib58cb734c4e9c90d5d83574852213d2e97359e92
mesos_slave_executor_environment_variables is a file path to deliver
the data for mesos executor environment variables, and validate the
file if existing or matching the json form.
Change-Id: Iaeb912184f8789321526887d25e281b5181089ef
Partially-Implements:blueprint mesos-slave-flags
This patch does:
- move '_get_list_table_columns_and_formatters' function
to cliutils.
- add '--fields' to 'bay-list' command to show more
specific fields.
- add test case for bay-list with '--fields'.
Change-Id: I2fdd66f0c6648bb2c6ae65325cbba3656b9854f6
Closes-Bug: #1535687
This patch corrects help messages of DNS option for baymodel-create,
and <baymodel> option for baymodel-show.
Change-Id: I5c32c90246114645630b2570c4be0c3125ca11d8
This patch adds '--fields' to 'baymodel-list' command to show more
specific fields.
Available fields for listing baymodels:
-- uuid
-- name
-- coe
-- image_id
-- apiserver_port
-- registry_enabled
-- server_type
-- public
-- links
-- tls_disabled
Change-Id: Ie887574d6e8a2ddda25e042317dd98c781016c80
Closes-Bug: #1551574
There are no messages from bay, baymodel, pod, container, rc, service
client after successfully accepting the request of some operations
This patch adds messages when Magnum successfully accepts
baymodel/bay/container/service/rc deletion operations request.
Change-Id: I0fc1b5156ae084ff66a56a4ae2190d6e720e0bcd
Closes-Bug: #1560370
* can use commas or semicolons in label list
* add two tests, all semicolons and mixed
semicolons and commas
Closes-bug: #1497042
Change-Id: I6c243b09343b92fc54a991facf874d1e5f0f1f51
Client changes to create baymodel with provided VM/BM
server type. In its current state of art, the Baymodel is
created with only "VM" server type. This value is hardcoded
in the code and a tech debt bug was filed to clean it off. Also
this feature can be useful to allow bay model creation with
various server type like virtual machines, baremetal etc. For
this release will restrict the server_type to vm.
Co-Authored By: OTSUKA, Yuanying <yuanying@fraction.jp>
Change-Id: I9b5566bf59e300e080937906c23c7ff7dc359e16
Partial-Bug: #1491003
Apiclient[1] and cliutils[2] is removed form Oslo incubator, we should keep
the local copy by ourself.
1. copy openstack/common/apiclient to common/apiclient
2. only keep base, auth, exceptions from apiclient, others are unused
3. copy openstack/common/cliutils.py to common/cliutils.py
4. update all magnumclient.openstack.common.* users to use
magnumclient.common.*
This is the first step to delete openstack common modules.
[1] Change: I2020d73fa9cedb3b3b87c1d8dbc8d437857ec7c2
[2] Change: Ibc5a8f11c6e5c308cec15a60eeb07a898254f9b7
Partial-Bug: #1545957
Change-Id: Ide3814d87ecdf3255868bf3b78fdceb58bd14295
This patch corrects help message of name option for baymodel-create.
Typo: 'bay' -> 'baymodel'
Change-Id: I7ab80fe19110fd3dfec2c3084311d7d11e3bce51
Closes-Bug: #1519199
This patch revise help message of '--docker-volume-size' for
baymodel-create to be able to know how to set this parameter
to user (tell user this parameter is number in GB).
Change-Id: Ifb30451f8f5fcbe45e47fe6f78e506e9107b63b8
Closes-Bug: #1518143
v1 shell has many sub command. It is difficult to add more test
and functions. Actually we have forgotten to add some tests for
these sub-commands.
This patch splits these.
Change-Id: I6b80b621311442df987e6ff031e8c77cf4bb7095
Closes-Bug: #1515109