[openstack-dev] [Solum] Command Line Interface for Solum

Jay Pipes jaypipes at gmail.com
Sun Nov 10 17:36:39 UTC 2013

On 11/10/2013 10:15 AM, Noorul Islam K M wrote:
> Hello all,
> I registered a new blueprint [1] for command line client interface for
> Solum. We need to decide whether we should have a separate repository
> for this or go with new unified CLI framework [2]. Since Solum is not
> part of OpenStack I think it is not the right time to go with the
> unified CLI.

I think a separate repository (python-solumclient) is appropriate.

There are two main camps of client tool programming: using the cliff 
library [1] and using the framework that was originally used for the 
Rackspace Cloud Servers CLI tool and library.

Example of the cliff style is python-neutronclient [2]. Example of the 
other style is the current python-novaclient [3].

I actually would love to see the Solum client take the best of both of 
the styles and create a client library that uses the cliff library for 
the underlying CLI plumbing and use the object-oriented style of 
python-novaclient that returns Resource objects instead of raw dicts 
like python-neutronclient does...


[1] https://cliff.readthedocs.org/en/latest/
[2] https://github.com/openstack/python-neutronclient
[3] https://github.com/openstack/python-novaclient

More information about the OpenStack-dev mailing list