Commit Graph

6 Commits

Author SHA1 Message Date
Diogo Guerra 7ad1c27ed7 Drop bay and baymodel
Story: 2009104
Task: 42956

Signed-off-by: Diogo Guerra <diogo.filipe.tomas.guerra@cern.ch>
Change-Id: I8f0076cae90a59c1d9ffca827eb0e80abe9b10d7
2022-09-05 10:12:06 +00:00
Diogo Guerra 201b3527b0 Add CT tags argument and field to client
We noticed that from the user perspective it is hard
to know when a cluster_template provided by the cloud
admin is mature enough for a production release.
This field will allow the administrator to add an
annotation to the cluster template like
{deprecated, recommended, testing} giving further
usefull information to the end user about the
template's life cycle

This patch allows the magnumclient to pass the
--tags <text> when creating a cluster template
and also shows the observations available when listing
existent cluster templates.

story: 2004215
task: 40161

Depends-On: I5d1c4221f089bc5cd12b25f620aa01771a029df9
Change-Id: Ibbdc9a9cd7ae4733eb6d38a7db11a68866f0d446
Signed-off-by: Diogo Guerra <dy090.guerra@gmail.com>
2021-02-05 09:14:54 +00:00
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
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
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