Question on "openstack resource provider allocation" commond
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
placement-osc-plugin |
Opinion
|
Undecided
|
Unassigned |
Bug Description
Now we have four commands about allocation
* resource provider allocation delete
* resource provider allocation set
* resource provider allocation show
and map to API:
'/allocatio
'GET': allocation.
'PUT': allocation.
'DELETE': allocation.
},
But I just think why these are NOT defined as:
* resource allocation delete
* resource allocation set
* resource allocation show
Because we have a list for provider:
'/resource_
'GET': allocation.
},
If we want to add support for this API, maybe using ``resource provider allocation show`` is more suitable in here
So, I just wanna sure is there some special consideration on here.
There probably wasn't much thought put into this at first because everything started as 'openstack resource provider ...' and the allocation CLI was probably just following that pattern, but it arguably could have been 'openstack resource consumer allocation ...' etc.