Re: [openstack-dev] Newbie python novaclient question

2013-10-11 Thread Alex
Thank you Noorul. I looked at the review. My question is that in openstackcomputeshell.main which line call the v1_1/ shell.py.function? Thanks Al On Oct 10, 2013, at 9:03 PM, Noorul Islam K M noo...@noorul.com wrote: A L la6...@gmail.com writes: Dear Openstack Dev Gurus, I am trying

Re: [openstack-dev] Newbie python novaclient question

2013-10-11 Thread Noorul Islam K M
Alex la6...@gmail.com writes: Thank you Noorul. I looked at the review. My question is that in openstackcomputeshell.main which line call the v1_1/ shell.py.function? I would look at get_subcommand_parser() method. Thanks and Regards Noorul On Oct 10, 2013, at 9:03 PM, Noorul Islam K M

Re: [openstack-dev] Newbie python novaclient question

2013-10-11 Thread Alex
Yes , this method seems to look for the corresponding action but still doesn't seem to be the one actually calling them. Regards Al On Oct 10, 2013, at 11:07 PM, Noorul Islam K M noo...@noorul.com wrote: Alex la6...@gmail.com writes: Thank you Noorul. I looked at the review. My question

Re: [openstack-dev] Newbie python novaclient question

2013-10-11 Thread Noorul Islam K M
Alex la6...@gmail.com writes: Yes , this method seems to look for the corresponding action but still doesn't seem to be the one actually calling them. Are you looking for this which is inside **main** method? args = subcommand_parser.parse_args(argv) Thanks and Regards Noorul Regards Al

Re: [openstack-dev] Newbie python novaclient question

2013-10-11 Thread Alex
Is that actually doing something or parsing the sub commands? I think after args is initialized it is probably the args.func calls that actually does something. For example the following line in the main: args.func(self.cs, args) What do you think is the .func method? Regards Al On Oct 11,

Re: [openstack-dev] Newbie python novaclient question

2013-10-11 Thread Noorul Islam Kamal Malmiyoda
On Oct 11, 2013 6:04 PM, Alex la6...@gmail.com wrote: Is that actually doing something or parsing the sub commands? I think after args is initialized it is probably the args.func calls that actually does something. For example the following line in the main: args.func(self.cs, args) What

Re: [openstack-dev] Newbie python novaclient question

2013-10-10 Thread Noorul Islam K M
A L la6...@gmail.com writes: Dear Openstack Dev Gurus, I am trying to understand the python novaclient code. Can someone please point me to where in openstackcomputeshell class in shell.py does the actual function or class related to an argument gets called? This review [1] is something I