可以直接在http://docs.openstack.org/cli/quick-start/content/cli_overview.html看到openstack的命令行接口。
The CLIs are open-source Python clients used to run commands to make API calls. For example, each nova client command runs cURL commands that embed API v2 requests. You can run the CLI from a desktop machine or remote system. For example, to use the Compute API from the command-line, install the nova client. A common openstack CLI is in development also.
To install a client on a Mac OS X or Linux system, you can use easy_install or pip or install the package from your Linux distribution. Using pip is recommended because it is easy and it ensures that you get the latest version of the nova client from the Python Package Index. Also, it lets you update the package later on.
Here are the CLIs for use with OpenStack clouds:
-
glance - Enables interaction with images, such as adding and setting permissions on images.
-
keystone - Controls and creates users, tenants, roles, endpoints, and credentials.
-
nova - Enables you to launch servers, set security groups, control IP addresses on servers, control volumes and snapshot images.
-
quantum - Offers network configuration for guest servers.
-
swift - Provides access to a swift installation for adhoc processing, to gather statistics, list items, update metadata, upload, download and delete files stored by the object storage service.
quantum是一个比较麻烦的东西,目前文档还是很缺乏,而且很少解析。不过下面几篇文档,如果你有时间深入研究,应该会搞明白更多。
安装脚本
https://github.com/jedipunkz/openstack_folsom_deploy
devstack安装quantum
http://networkstatic.net/openstack-folsom-quantum-devstack-installation-tutorial/
安装文档
https://github.com/EmilienM/openstack-folsom-guide
https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst