[openstack-dev] [Ironic] [OSC] Quick poll: OpenStackClient command for provision action

Haomeng, Wang wanghaomeng at gmail.com
Tue Nov 10 10:49:06 UTC 2015


How about below format?

#openstack baremetal <resource/target> <action> <uuid>

Example:

#openstack baremetal provision provide <UUID>
#openstack baremetal power on/off  <UUID>

I think it is easy to understand and remember:)



On Tue, Nov 10, 2015 at 6:17 PM, Pavlo Shchelokovskyy <
pshchelokovskyy at mirantis.com> wrote:

> Hi,
> I like the last variant by Lucas, and agree we need to ensure the CLI
> interface is consistent between power and provision commands.
>
> Best regards,
>
>
> On Tue, Nov 10, 2015 at 12:00 PM Lucas Alvares Gomes <
> lucasagomes at gmail.com> wrote:
>
>> > It's still not 100% consistent, "power" is a noun, "provision" is a
>> verb.
>> > Not sure it matters, though, adding OSC folks so that they can weigh in.
>> >
>>
>> "provision" can also be a noun [1]. But since the OSC syntax suggest
>> having a verb we could have something like:
>>
>> $ openstack baremetal set power --on | --off <UUID>
>> $ openstack baremetal set provision --provide | --active | ... <UUID>
>>
>> [1] http://www.thefreedictionary.com/provision
>>
>> __________________________________________________________________________
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
> --
> Dr. Pavlo Shchelokovskyy
> Senior Software Engineer
> Mirantis Inc
> www.mirantis.com
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151110/800b235a/attachment.html>


More information about the OpenStack-dev mailing list