config/sysinv/cgts-client/cgts-client/cgtsclient
Ovidiu Poncea 8db7a1bc9d Ceph for standard: Add deployment model to System Inventory cluster API
In order to enable StarlingX Dashboard to display and allow configu-
ration of Ceph we need a new field, deployment_model, added to the
'cluster' API reponses. This field is generated at runtime based on
the configured ceph monitors and type of system.

Four options have been defined for deployment_model:
o storage-nodes: OSDs are deployed on storage nodes. Main trigger for
  this model is the creation of a node with storage personality.
o controller-nodes: OSDs are deployed on controller nodes. Main
  trigger is creation of Ceph monitor on a worker node. This is the
  implicit model on AIO Duplex.
o aio-sx: OSDs are deployed on a simplex controller.
o undefined: before either a storage node is installed or a compute
  monitor is created on a worker.

This commit also enables storage profiles on controllers based on
storage model and adds the new field to CLI output of
'system cluster-*' commands.

Change-Id: I4d5cb6120abb176025857ae9749e8eb6ca121475
Implements: containerization-2002844-CEPH-persistent-storage-backend-for-Kubernetes
Story: 2002844
Task: 29113
Signed-off-by: Ovidiu Poncea <Ovidiu.Poncea@windriver.com>
2019-02-05 18:01:42 +00:00
..
common Fix: "dict" issue for Python 2/3 compatible code 2018-12-18 11:03:00 +08:00
openstack Fix: "filter" issue for Python 2/3 compatible code 2018-12-19 10:14:36 +08:00
tests Remove mox from cgtsclient tests 2019-01-02 14:02:27 -06:00
v1 Ceph for standard: Add deployment model to System Inventory cluster API 2019-02-05 18:01:42 +00:00
__init__.py Convert cgtsclient from setuptools to pbr. Add tox. 2018-06-28 22:07:37 -04:00
client.py create config for sm-api 2018-08-13 13:26:28 -04:00
exc.py Fix unicode issue for Python 2/3 compatible code. 2018-12-06 12:59:33 +08:00
shell.py Fix 'print' issue for Python 2/3 compatible code. 2018-12-06 12:59:33 +08:00