[Openstack] OpenStack + Nova list, nova show location

Desta Haileselassie Hagos desta161921 at gmail.com
Fri Oct 26 18:48:52 UTC 2012


Dear Qin Xiaohong,

Thank you very so much indeed. That's EXACTLY what I was looking for.


Cheers,

Desta


On Fri, Oct 26, 2012 at 6:17 PM, Qin, Xiaohong <Xiaohong.Qin at emc.com> wrote:

> Hi,****
>
> ** **
>
> This is just an entering point to load all client side nova code, the
> “nova list” CLI eventually invokes the following code in your stack
> directory,****
>
> ** **
>
> python-novaclient/novaclient/v1_1/shell.py****
>
> ** **
>
> Inside this file, you can see the following function,****
>
> ** **
>
> def do_list****
>
> ** **
>
> That prints out the list of VMs.****
>
> ** **
>
> This is the code on client side; the other piece of code is on the server
> side through nova api service.****
>
> ** **
>
> Dennis Qin ****
>
> ** **
>
> *From:* openstack-bounces+xiaohong.qin=emc.com at lists.launchpad.net[mailto:
> openstack-bounces+xiaohong.qin=emc.com at lists.launchpad.net] *On Behalf Of
> *Desta Haileselassie Hagos
> *Sent:* Friday, October 26, 2012 7:01 AM
> *To:* openstack at lists.launchpad.net; Rosa, Andrea (HP Cloud Services)
> *Subject:* [Openstack] OpenStack + Nova list, nova show location****
>
> ** **
>
> ** **
>
> Dear All,
>
> I still couldn't find the exact location where this "nova list" and "nova
> show " commands are executed.
>
> Would you please explain me a bit what this load_entry_point stuff is
> doing? and Where exactly it is loading these parameters???
>
> ****
>
> if __name__ == '__main__':
>     sys.exit(
>         load_entry_point('python-novaclient==2012.1', 'console_scripts',
> 'nova')()
>  )
>
>
> ****
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121026/563c305a/attachment.html>


More information about the Openstack mailing list