yanyanhu
42d141db9f
Add min_size and max_size properties to Cluster
...
Two new properties are added to cluster: min_size and max_size.
This patch provides related support from client side. Now user
can specify the min and max size of cluster when creating it.
Change-Id: I72869259993ec8a8697eba45c12bf6ba9d408292
Implements: blueprint add-size-limitation-properties-to-cluster
2015-04-30 04:42:55 -04:00
yanyanhu
8e87b1aaaf
Replace cluster size with new property desired_capacity
...
Implements: blueprint replace-cluster-size-with-desired-capacity
Change-Id: I425087e10a17818e3e20eb9b19d44017f262a475
2015-04-29 04:46:50 -04:00
tengqm
722a17c914
Remove '...' from short-id style listing
...
This '...' was intented to be a reminder that the ID has more to show.
It is not necessary. The user should know that well.
Change-Id: I77addcb3c68a48f101dbd6c1e82263bf78e2c147
2015-04-26 06:24:45 -04:00
tengqm
1558e75dee
Add --details argument to node-show
...
This new parameter is used to show details of a physical node.
Change-Id: Ifad04a2ce9c352f48ad21bf07bebbbdf677a422c
2015-04-21 09:56:51 -04:00
yanyanhu
e711680767
Add webhook support
...
Change-Id: Ia34a449eeb22b41e9725500b4eb80a437ffd8c3c
2015-04-17 04:08:56 -04:00
tengqm
244357258e
Fix initial gate errors
...
Change-Id: I8e7e0a65d658f5356a7e4e8436888d195bb53fe7
2015-03-21 18:42:25 +08:00
tengqm
3d8c95a276
Make update always do a node retrieval first
...
The reason is the the <id> param might be the name of the node, while
the name could be changed. So without a persistent ID, we cannot
guarantee that the node could be retrieved again successfully.
2015-03-05 17:57:10 +08:00
tengqm
f62f646a10
Added support to list nodes with global tenant
2015-03-05 14:08:22 +08:00
tengqm
2c01a36c5b
Added support to cluster-policy-show operation
2015-03-05 10:16:02 +08:00
tengqm
073ee16378
Revised cluster-policy-list operation
2015-03-04 17:34:27 +08:00
tengqm
3713c4c7c2
Fixed cluster_update operation error
...
The cluster identity could have been changed during update, so we use
the UUID as key for post-update retrieval.
2015-03-03 18:01:19 +08:00
tengqm
25749bb188
Revised cluster-update operation support
2015-03-03 17:25:30 +08:00
tengqm
70d3dab2e6
Added support to policy-update operation
2015-03-03 13:17:53 +08:00
tengqm
d931b591e4
Added support to profile-update operation
2015-03-02 14:08:15 +08:00
tengqm
822c9efee8
Fixed profile creation errors
...
Some errors exist in profile spec parsing logic
2015-03-01 22:40:37 +08:00
tengqm
7e6205fc3c
Revised event list/show support
2015-02-27 13:59:37 +08:00
tengqm
2d3d445861
Removed support to profile/policy type template
2015-02-26 11:35:21 +08:00
tengqm
e29c8097e1
Added policy schema show support
2015-02-15 20:53:08 +08:00
tengqm
cfb60e52b2
Initial support to profile-type-schema
2015-02-15 19:52:22 +08:00
tengqm
c3f756dc1b
Make node-list ordered by created_time by default
2015-02-12 16:37:01 +08:00
tengqm
4d2274fa19
Added support to other useful fields when listing policies
...
The 'policy_name', 'cluster_name', 'policy_type' fields are now
retrieved together with the ClusterPolicy binding object. We show them
to user in lists now.
2015-02-12 16:32:57 +08:00
tengqm
a19bf3b78d
Reworkd policy operations
...
Now we support attach, detach, update, enable, disable, list operations
on cluster policies
2015-02-12 15:21:22 +08:00
tengqm
77022d6512
Cluster policy listing support
2015-02-11 23:43:21 +08:00
tengqm
a8ec309453
Initial support to policy operations
...
The only thing left is for policy update
2015-02-08 22:24:42 +08:00
tengqm
804d67c894
Initial support to node-join/leave operations
2015-02-08 11:56:33 +08:00
tengqm
3cd869153d
Added required constraints to some operations
2015-02-07 21:32:31 +08:00
tengqm
f3c410040f
Make profile a required argument
...
This is a bug found by tiantian. There are other cases in client that
need to be checked.
2015-02-07 12:08:40 +08:00
tengqm
2217caed37
Support to cluster-node-add operation
2015-02-06 20:29:36 +08:00
tengqm
73d54bdb42
Added formatter for ID fields
2015-02-05 20:02:06 +08:00
tengqm
4c3cfe515a
Make node_create/node_show work with new API design
...
The so-called new API design just wraps everything into a dictionary
named 'node' in the requests and responses.
2015-02-04 13:46:41 +08:00
tengqm
fec355ebc6
Revised cluster-create and cluster-show commands
2015-02-04 10:35:08 +08:00
tengqm
e1df85331e
Make at least profile-create API work
2015-02-03 22:52:13 +08:00
tengqm
a0e2a72dab
Support profile resource_key when do profile-show
2015-02-03 22:17:52 +08:00
tengqm
ecc1404219
Added short ID support for node-list
2015-02-01 22:33:20 +08:00
tengqm
b56fb2577e
Make deleted_time show conditional
2015-01-30 15:07:50 +08:00
tengqm
24b8e8cdc2
Remove init_time from list show
2015-01-30 11:20:43 +08:00
tengqm
2fc32f509b
Added cluster deletion support
2015-01-28 23:06:51 +08:00
tengqm
9bf7c606d9
Fixed one PEP8 error
2015-01-26 22:55:00 +08:00
tengqm
ce0a28e374
Fixed cluster list column name error
2015-01-26 22:49:25 +08:00
tengqm
040837834f
Fixed object listing logic
...
The previous endless listing behavior was actually caused by the
ignorance of 'marker' key. This patch fixes that.
2015-01-26 22:45:16 +08:00
tengqm
f8a0f40258
Basic support for cluster show
2015-01-26 17:32:54 +08:00
tengqm
74b110e77b
Added feature to show IDs in short-form
2015-01-26 14:07:14 +08:00
tengqm
02bf9dcaae
Initial support to cluster create
2015-01-26 13:33:55 +08:00
tengqm
d3c4b191db
Fixed flake8 errors
2015-01-25 19:50:02 +08:00
tengqm
15569fdb45
Revised listing functions to take advantage of exception handling
2015-01-25 19:28:29 +08:00
tengqm
a100d79e68
Added action-list and action-show support
2015-01-23 21:50:00 +08:00
tengqm
fe271369fa
Added node show support
2015-01-23 16:58:41 +08:00
tengqm
22e46a66a6
Added node list command and fixed related errors
2015-01-23 16:38:10 +08:00
tengqm
f6a7a292d6
Add support to profile show
2015-01-20 23:34:45 +08:00
tengqm
b7677be573
Revised profile list implementation
2015-01-20 21:45:14 +08:00