When you use json to create node group you should use the following:
{ 'volume_type': ..
} because that just exposes API interface: https://github.com/openstack/python-saharaclient/blob/master/saharaclient/api/node_group_templates.py#L32
but when you don't have json, you should use something like that:
openstack .. --volumes-type ceph --volumes-size 1
that was done to have the same prefix for arguments related to volumes.
https://github.com/openstack/python-saharaclient/blob/master/saharaclient/osc/v1/node_group_templates.py#L260
So, I agreed that this probably introduces some confusion and we should take a look on this and fix that in APIv2 (to have the same pattern of arguments in API).
When you use json to create node group you should use the following:
{
'volume_type': ..
} /github. com/openstack/ python- saharaclient/ blob/master/ saharaclient/ api/node_ group_templates .py#L32
because that just exposes API interface: https:/
but when you don't have json, you should use something like that:
openstack .. --volumes-type ceph --volumes-size 1
that was done to have the same prefix for arguments related to volumes.
https:/ /github. com/openstack/ python- saharaclient/ blob/master/ saharaclient/ osc/v1/ node_group_ templates. py#L260
So, I agreed that this probably introduces some confusion and we should take a look on this and fix that in APIv2 (to have the same pattern of arguments in API).