On Sun, Feb 11, 2018 at 10:18 PM, Hongbin Lu <hongbin...@gmail.com> wrote:
> I was working on the OSC plugin of my project and trying to choose a CLI
> option to represent the availability zone of the container. When I came
> across the existing commands, I saw some inconsistencies on the naming. Some
> commands use the syntax '--zone <xxx>', while others use the syntax
> '--availability-zone <xxx>'. For example:
>
> * openstack host list ... [--zone <zone>]
> * openstack aggregate create ... [--zone <availability-zone>]

These likely date back to the original command mapping I did and in
retrospect should have been --availability-zone.  However they have
been there since day 1 or 2.

> * openstack volume create ... [--availability-zone <availability-zone>]
> * openstack consistency group create ... [--availability-zone
> <availability-zone>]
>
> I wonder if it makes sense to address this inconsistency. Is it possible
> have all commands using one syntax?

This is the sort of thing that should be addressed in the long-overdue
OSC 4 release where we will make small breaking changes like this.
Of course, the old option will be properly deprecated and silently
supported for some time.

dt

-- 

Dean Troyer
dtro...@gmail.com

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to