Commit Graph

15 Commits

Author SHA1 Message Date
Ricardo Rocha ab8392c44c Add hidden property to cluster template
Add a new 'hidden' property to cluster template creation, allowing
operators to hide cluster templates from user listings.

The flag is controlled by two cmd line parameters, --hidden (true) and
--visible (false).

Change-Id: Id1dcf1dabb09b357923d3dda36eafa42377e4f35
Story: 2004941
Task: 29342
2019-02-06 15:26:42 +01:00
Daniel Abad 05ccd7f5fc Add deprecation warnings to magnum client commands
In order to enforce the transition to the new
OpenStack client, added deprecation warnings to the
magnum cluster-list, cluster-show, cluster-update,
cluster-delete, cluster-config, cluster-create,
cluster-template-list, cluster-template-show,
cluster-template-create, cluster-template-delete,
cluster-template-update, ca-sign, ca-rotate,
ca-show and stats-list, commands.

Change-Id: I0103f686e0feb4dad4173ba7aa00768c8e25440d
Partially-Implements: blueprint deprecate-magnum-client
2018-02-27 12:24:35 +00:00
Costin Gamenț a6a76a31dc Add disable floating ip parameter
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
2018-01-30 16:25:51 +01:00
Jenkins 7d5539f28e Merge "Add the support for 'detail' flag" 2017-06-07 07:40:37 +00:00
Madhuri Kumari 2850d1714f Add the support for 'detail' flag
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
2017-06-06 05:03:00 +00:00
coldmoment 9e372baad4 Magnum client suport insecure_registry
Change-Id: Iaf2c967d4d145aea8c3c127a2c1169105479d98a
Partially-Implements: blueprint support-insecure-registry
2017-05-12 14:33:26 +08:00
ricolin 69363f9632 Remove support for keyapir UUID
Remove support for keypair UUID, since it's never been able to use.
Partial-Bug: #1674211

Change-Id: I00ea74abe6e301ff86c4115269ad2b0023c1d901
2017-03-20 19:09:42 +08:00
Jason Dunsmore cb8edde0b6 Allow name as positional argument
Make "magnum cluster-create" and "magnum cluster-template-create"
accept name as a positional like the other magnum subcommands.

Implements: blueprint positional-name
Change-Id: Ie505ef8ea7e4c13ed2795cde826b9822d094aaeb
2017-02-22 14:06:14 -05:00
yatin f2af2b255f Mark help messages for Translation
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
2017-01-04 12:18:58 +05:30
Jenkins 51b26ec9f6 Merge "Renames *-id parameters" 2016-11-15 19:35:18 +00:00
Stephen Watson 503bb3d21b Renames *-id parameters
Deprecates the *-id paramaters in Magnum client using
the cliutils deprecation map decorator.

Implements blueprint rename-id-parameter-names

Change-Id: Idc6b9322ec7c0ecb386162ca46c7d49b910685d8
2016-11-15 10:01:28 -07:00
yatinkarel 96fe7815ff Remove invalid check for 'manifest' path
cluster-template-update has a invalid check for 'manifest'
path, with this patch it is cleaned up.

Change-Id: Ie6f3654dc7531cf62c5ca52273b45a4d093d7e25
Closes-Bug: #1638858
2016-11-08 12:19:52 +05:30
Stephen Watson 06290d21d1 Add --keypair-id for cluster-create
Adds a keypair-id override parameter on cluster-create
to optionally override the keypair present on the
given ClusterTemplate.

In cluster-template-create, keypair-id is now an optional
parameter.

Fixes old help text referencing Bays/Baymodel.

Change-Id: Iaa934432ec56268c70001579a02658eceaa76b6d
Implements: blueprint keypair-override-on-create
Depends-On: I177a5aa06f881156944a9f74c9ccc3cd2abac492
2016-10-07 13:24:22 -07:00
OTSUKA, Yuanying 3652bbea60 Add floating_ip_enabled attributes to baymodel
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
2016-08-29 14:18:34 +09:00
Stephen Watson d9ae385588 Adds 'cluster' and 'cluster template'
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
2016-08-23 17:14:23 +00:00