[openstack-dev] [designate][osc] new sub commands - how should they be named?

Morgan Fainberg morgan.fainberg at gmail.com
Wed Apr 6 14:53:24 UTC 2016


On Wed, Apr 6, 2016 at 7:44 AM, Sheel Rana Insaan <ranasheel2000 at gmail.com>
wrote:

> Hey Graham,
>
> I just added service for block storage, we have named these
> openstack volume service list/enable/disable.
>
> Same protocol is used for nova as well previosly.
>
> Hope this will help.
>
> Regards,
> Sheel Rana
> On Apr 6, 2016 7:54 PM, "Hayes, Graham" <graham.hayes at hpe.com> wrote:
>
>> On 06/04/2016 15:20, Qiming Teng wrote:
>> > On Wed, Apr 06, 2016 at 01:59:29PM +0000, Hayes, Graham wrote:
>> >> Designate is adding support for viewing the status of the various
>> >> services that are running.
>> >>
>> >> We have added support to our openstack client plugin, but were looking
>> >> for guidance / advices on what the actual commands should be.
>> >>
>> >> We have implemented it in [1] as "dns service list" and
>> >> "dns service show" - but this is name-spacing the command.
>> > do you mean?
>> >
>> > openstack dns service list
>> > openstack dns service show
>>
>> sorry, yes - I just included the sub commands.
>>
>> >
>> >> Is there an alternative? "service" is already taken by keystone, and if
>> >> we take "service-status" (or other generic term) it will most likely
>> >> conflict when nova / cinder / heat / others add support of their
>> service
>> >> listings to OSC.
>> >>
>> >> What is the protocol here? First to grab it wins?
>> >>
>> >> Thanks
>> >>
>> >> - Graham
>> >>
>> >> 1 - https://review.openstack.org/284103
>> >>
>>
>
I think the offered options make a lot of sense:

    openstack dns service list
    openstack dns service show


I would encourage continued use of the namespacing like this for future
subcommands where possible (as it seems cinder and nova are already on
track to do).

--Morgan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160406/3fbd1dec/attachment.html>


More information about the OpenStack-dev mailing list