[openstack-dev] [ironic][OpenStackClient] two openstack commands for the same operation?
Lucas Alvares Gomes
lucasagomes at gmail.com
Mon Aug 29 14:52:15 UTC 2016
On Mon, Aug 29, 2016 at 3:41 PM, Loo, Ruby <ruby.loo at intel.com> wrote:
> Hi,
>
> In ironic, we have these ironic CLI commands:
> - ironic node-vendor-passthru (calls the specified passthru method)
> - ironic node-get-vendor-passthru-methods (lists the available passthru methods)
>
> For their corresponding openstackclient plugin commands, we (I, I guess) have proposed [1]:
> - openstack baremetal node passthrough call
> - openstack baremetal node passthrough list
>
> I did this because 'passthrough' is more English than 'passthru' and I thought that was the 'way to go' in osc. But some folks wanted it to be 'passthru' because in ironic, we've been calling them 'passthru' since day 2. To make everyone happy, I also proposed (as aliases):
>
> - openstack baremetal node passthru call
> - openstack baremetal node passthru list
>
> Unfortunately, I wasn't able to make everyone happy because someone else thinks that we shouldn't be providing two different openstack commands that provide the same functionality. (They're fine with either one, just not both.)
>
I also don't like having two commands for the same functionality, it
sounds wrong to me. I think we should deprecate one of the two.
I don't have a strong opinion of which one we should deprecate but I
slightly prefer "passthru" because that's how we call it in the API.
Cheers,
Lucas
More information about the OpenStack-dev
mailing list