Re: [openstack-dev] [Heat] Show attribute is a collection of other attributes or not?

2015-07-03 Thread Peter Razumovsky
I want to implement this task 3 июля 2015 г. 15:00 пользователь Sergey Kraynev skray...@mirantis.com написал: Thank everyone for the good feedback. If summarize all suggestions: - I will continue add show as raw output (similar on clients show command output) - Also we decided to implement

Re: [openstack-dev] [Heat] Show attribute is a collection of other attributes or not?

2015-07-03 Thread Sergey Kraynev
Thank everyone for the good feedback. If summarize all suggestions: - I will continue add show as raw output (similar on clients show command output) - Also we decided to implement additional functional for get_attr function, when it get only resource name and returns map with all attributes

[openstack-dev] [Heat] Show attribute is a collection of other attributes or not?

2015-07-02 Thread Sergey Kraynev
Hi Heaters. I don't think that my question is very huge for openstack-dev, but it affects a lot of Heat resources and need collect more opinions before apply some of follow approaches. I recently uploaded initial approach for implementation common 'show' attribute [1]

Re: [openstack-dev] [Heat] Show attribute is a collection of other attributes or not?

2015-07-02 Thread Steven Hardy
On Thu, Jul 02, 2015 at 04:40:49PM +0300, Sergey Kraynev wrote: Hi Heaters. I don't think that my question is very huge for openstack-dev, but it affects a lot of Heat resourcesA and need collect more opinions before apply some of follow approaches. I recently uploaded initial

Re: [openstack-dev] [Heat] Show attribute is a collection of other attributes or not?

2015-07-02 Thread Randall Burt
Maybe use all for all attributes in the schema and use show for the raw output from the service (as is done today for server and neutron stuff). On Jul 2, 2015, at 12:46 PM, Steven Hardy sha...@redhat.com wrote: On Thu, Jul 02, 2015 at 04:40:49PM +0300, Sergey Kraynev wrote: Hi Heaters.

Re: [openstack-dev] [Heat] Show attribute is a collection of other attributes or not?

2015-07-02 Thread Randall Burt
On Jul 2, 2015, at 2:35 PM, Steve Baker sba...@redhat.com wrote: On 03/07/15 06:03, Randall Burt wrote: Maybe use all for all attributes in the schema and use show for the raw output from the service (as is done today for server and neutron stuff). Instead of all, how about allowing a

Re: [openstack-dev] [Heat] Show attribute is a collection of other attributes or not?

2015-07-02 Thread Steve Baker
On 03/07/15 06:03, Randall Burt wrote: Maybe use all for all attributes in the schema and use show for the raw output from the service (as is done today for server and neutron stuff). Instead of all, how about allowing a special form of {get_attr: [resource_name]} with no extra arguments to

Re: [openstack-dev] [Heat] Show attribute is a collection of other attributes or not?

2015-07-02 Thread Steven Hardy
On Fri, Jul 03, 2015 at 07:35:18AM +1200, Steve Baker wrote: On 03/07/15 06:03, Randall Burt wrote: Maybe use all for all attributes in the schema and use show for the raw output from the service (as is done today for server and neutron stuff). Instead of all, how about allowing a special