openstack命令行接口

本文介绍如何使用OpenStack的命令行接口(CLI),包括安装方法及常用命令概述。CLI支持多种操作如服务器启动、镜像管理等,并提供glance、keystone等工具帮助用户更好地管理OpenStack云资源。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

可以直接在http://docs.openstack.org/cli/quick-start/content/cli_overview.html看到openstack的命令行接口。

Overview of CLIs

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


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值