Re: [openstack-dev] [openstackclient] [magnum] Review of object and actions for magnumclient implementation

2015-05-26 Thread Dean Troyer
For reference, the current list of objects and actions used by commands in the OSC repo are at http://docs.openstack.org/developer/python-openstackclient/commands.html. Also note that while the OSC team may have multiple opinions on what fits well and does not in plugins, the plugins are owned by

Re: [openstack-dev] [openstackclient] [magnum] Review of object and actions for magnumclient implementation

2015-05-25 Thread Ronald Bradford
To summarize. I believe we have 3 decisions from my original email but I have also uncovered some more problems. 1. replication controller instead of rc Adrian, regarding rc and replication controller. The OSC uses verbose commands including multi words. This includes availability zone, volume

[openstack-dev] [openstackclient] [magnum] Review of object and actions for magnumclient implementation

2015-05-24 Thread Ronald Bradford
I have outlined in the blueprint ( https://blueprints.launchpad.net/python-openstackclient/+spec/magnum-support) the object and actions mappings that are currently available in the magnumclient. I have separated the list of actions that are presently used and actions that are not for review and

Re: [openstack-dev] [openstackclient] [magnum] Review of object and actions for magnumclient implementation

2015-05-24 Thread Hongbin Lu
Hi Ronald, I think the “update” action is definitely appropriate to use, since it is not specific to magnum (Heat and Ironic use it as well). By looking through the existing list of actions [1], it looks the start/stop actions fits into the openstackclient resume/suspend actions. The “execute”

Re: [openstack-dev] [openstackclient] [magnum] Review of object and actions for magnumclient implementation

2015-05-24 Thread Adrian Otto
Thanks for taking the initiative on this! Remarks in-line... On May 24, 2015, at 11:20 AM, Ronald Bradford m...@ronaldbradford.commailto:m...@ronaldbradford.com wrote: I have outlined in the blueprint (https://blueprints.launchpad.net/python-openstackclient/+spec/magnum-support) the object

Re: [openstack-dev] [openstackclient] [magnum] Review of object and actions for magnumclient implementation

2015-05-24 Thread Steve Martinelli
Hey Ronald, Thanks for asking first, as more folks are adopting OSC plugins for their respective clients we should probably streamline this a bit, but the ML works for now. Just 2 remarks... I'd actually prefer 'replication controller' (which you prefer) instead of 'rc' (as adrian