Re: [Openstack] [python-novaclient] how to understand the 'args.func' call

2013-01-23 Thread longeek
于 01/23/2013 08:15 PM, longeek 写道: > > Hi, > when I see the code of python-novaclient, in F release, I got the > confused. > Cmd: $nova diagnostics ubuntu12.04 > the Code: > # novaclient.shell.py line:491 > args.func(self.cs, args) > it will run the method: do_diagnostics in novaclient.v1_1.shell.p

[Openstack] [python-novaclient] how to understand the 'args.func' call

2013-01-23 Thread longeek
Hi, when I see the code of python-novaclient, in F release, I got the confused. Cmd: $nova diagnostics ubuntu12.04 the Code: # novaclient.shell.py line:491 args.func(self.cs, args) it will run the method: do_diagnostics in novaclient.v1_1.shell.py line 1051 Any good idea? ---