认证token
curl -X POST -d '{"auth": {"tenantName": "IED-as", "passwordCredentials":{"username": "admin", "password": "cloud@tm"}}}' -H "Content-type: application/json" http://10.1.1.186:35357/v2.0/tokens | python -mjson.tool
curl -X GET -H "X-Auth-Token:b5f5e4cad1c2402db27b583256461427" -H "Content-type: application/json" http://10.1.1.186:8774/v2/170bf7acb88646bc9147085d426c4671/servers | python -mjson.tool
identity
post v2.0/tokens Returns a token when credentials are supplied 35357/v2.0/
get v2.0/tenants Returns a list of tenants. 5000/v2.0/
compute
get v2/{tenant_id}/limits Returns current limits for the account 8774/v2/
get v2/{tenant_id}/servers Lists IDs, names, and links for all servers. 8774/v2/
get v2/{tenant_id}/servers/detail Lists details for all servers 8774/v2/
get v2/{tenant_id}/servers/{server_id} Lists details for the specified server server_id为id不是hostID 8774/v2/
get v2/{tenant_id}/servers/{server_id}/metadata Lists metadata associated with the resource 8774/v2/
get v2/{tenant_id}/servers/{server_id}/metadata/{key}
get v2/{tenant_id}/servers/ips Lists all server addresses ???
get v2/{tenant_id}/servers/ips/{network_id} Lists addresses by network ID ???
get v2/images Lists IDs, names, and links for available images 9292/v1/
get v2/images/detail Lists all details for available images 9292/v1/
get v2/images/{image_id} Lists details of the specified image. 9292/v1/ 显示元数据
get v2/images/{image_id}/metadata Lists metadata associated with the resource 9292/v1/
get v2/flavors Lists IDs, names, and links for available flavors ???
get v2/flavors/detail Lists all details for available flavors ???
get v2/flavors/{flavor_id} Lists details for the specified flavor ???
Compute API Extensions
get v2/{tenant_id}/os-floating-ips Lists floating IP addresses associated with the tenant or account 8774/v2/
get v2/{tenant_id}/os-floating-ips/{id} Lists details of the floating IP address associated with floating_IP_address_ID 8774/v2/
get v2/{tenant_id}/os-floating-ip-dns Get a list of registered DNS Domains published by the DNS drivers 8774/v2/
get v2/{tenant_id}/os-floating-ip-pools View a list of Floating IP Pools 8774/v2/
get v2/{tenant_id}/flavors/{flavor_id} Describe a single flavor with extra attributes 8774/v2/
get v2/{tenant_id}/flavors/detail List flavors with extra attributes 8774/v2/
get v2/{tenant_id}/os-keypairs View a lists of keypairs associated with the account. 8774/v2/
get v2/{tenant_id}/os-keypairs/{keypair_name} Show a keypair associated with the account 8774/v2/
get v2/{tenant_id}/os-hosts List all hosts 8774/v2/ 必须用admmin的id和tenant_id
get v2/{tenant_id}/os-hosts/{host_name} Describe a specific host 8774/v2/
get v2/{tenant_id}/os-hypervisors List hypervisors information per server 8774/v2/
get v2/{tenant_id}/os-hypervisors/{id} Offers detailed hypervisors API information per server 8774/v2/
get v2/{tenant_id}/os-networks Lists networks 8774/v2/
get v2/{tenant_id}/os-networks/{id} Gets information about an individual network. 8774/v2/
get v2/{tenant_id}/os-quota-sets/{tenant_id} Show quotas for tenant. 8774/v2/ 第一个tenant_id为admin的 第二个tenant_id为项目的
get v2/{tenant_id}/os-quota-sets/{tenant_id}/defaults Retrieve default quotas 8774/v2/
get v2/{tenant_id}/os-security-groups List security groups 8774/v2/
get v2/{tenant_id}/os-security-groups/{security_group_id} Get specific security group 8774/v2/
get v2/{tenant_id}/servers/{server_id}/os-security-groups List security groups for a specific server. 8774/v2/ ???
get v2/{tenant_id}/os-simple-tenant-usage View usage for all tenants. tenant_id 为admin的 8774/v2/
get v2/{tenant_id}/os-simple-tenant-usage/{tenant_id} Retrieve usage for a tenant 8774/v2/ 后面的tenant_id为项目的id
get v2/{tenant_id}/limits Returns absolute and rate limit information, including information on currently used absolute limits
images
get v1/images Requesting a List of Public VM Images 9292/v1/
get v1/images/detail List available images (all details). 9292/v1/
get v1/images/{image_id} List details of the specified image 9292/v1/
get v1/shared-images/{tenant_id} Requesting a List of VM Images shared with a given tenant. 9292/v1/
volume
get v1/{tenant_id}/volumes View a list of simple Volume entities.
get v1/{tenant_id}/volumes/detail View a list of detailed Volume entities
get v1/{tenant_id}/volumes/{volume_id} View all information about a single Volume
get v1/{tenant_id}/volume_types Request a list of Volume Types.
get v1/{tenant_id}/volume_types/{volume_type_id} Request a single Volume Type
get v1/{tenant_id}/snapshots View a list of simple Snapshot entities
get v1/{tenant_id}/snapshots/detail View a list of detailed Snapshot entities
get v1/{tenant_id}/snapshots/{snapshot_id} View all information about a single Snapshot.
get v1.1/{tenant_id}/os-volumes Lists the volumes associated with the account
get v1.1/{tenant_id}/os-volumes/detail Lists details for a specified volume
get v1.1/{tenant_id}/os-volumes/{volume_id} Shows information for a specified volume
get v1.1/{tenant_id}/os-volume-types Lists volume types.
get v1.1/{tenant_id}/os-volume-types/{volume_type_id} Shows information for a specified volume type
get v1.1/{tenant_id}/os-snapshots Lists snapshots
get v1.1/{tenant_id}/os-snapshots/detail Lists details for a specified snapshot.
get v1.1/{tenant_id}/os-snapshots/{snapshot_id} Shows information for a specified snapshot.
get v2/{tenant_id}/servers/{server_id}/os-volume_attachments Lists the volume attachments for the specified server.
get v2/{tenant_id}/servers/{server_id}/os-volume_attachments/{attachment_id} Lists volume details for the specified volume attachment ID
相关推荐
调用openstack api接口创建用户
### OpenStack API 知识点详解 #### 一、OpenStack API 概述 OpenStack 是一个开源的云计算管理平台项目,它提供了一系列用于构建和管理云环境的服务。OpenStack API 是实现这些服务之间交互的核心组件之一。通过 ...
### OpenStack API 使用详解 #### 一、北向接口与安全性 OpenStack作为一个全面的开源IaaS(基础设施即服务)云管理平台,提供了标准的RESTful接口,这些接口设计时充分考虑了安全性因素,具备安全加固能力。这些...
### OpenStack API 大全解析 #### 一、概述 OpenStack API大全是关于OpenStack最新版本API的全面文档,该文档提供了详细的API接口描述、使用方法及注意事项,旨在帮助开发者更好地利用OpenStack构建和管理云环境。...
OpenStack 是一个开源的云计算平台,它提供了丰富的API接口,允许用户通过Restful风格的调用来管理和操作云环境中的各种资源。"OpenStack Restful-api中文版.doc"文档主要是针对OpenStack API的中文指南,方便中国...
标题 "c# openstack api" 指的是使用C#编程语言来操作OpenStack的API。OpenStack是一个开源的云计算平台,提供IaaS(基础设施即服务)解决方案,允许用户通过API来创建、管理虚拟计算资源,如计算、存储和网络。...
api-wg 包含了 OpenStack API 工作组的文件,包括指导手册、API 一致性规则、命名规则、和最佳实践建议。 标签:apiwg
openstack api 明细 curl -X GET -H "X-Auth-Token: openstack" -H "Accept: application/xml" http://172.26.80.22:8774/v1.1/1/flavors?marker=2
3. OpenStack API版本:OpenStack API有多个版本,例如Compute API 1.1和Identity Service 2.0。每个版本都有对应的规范,确保了API功能的标准化和一致性。用户和开发者在使用API时,需要根据实际OpenStack部署的...
标题《openstack-api》和描述《api-openstack cloud development》所指的知识点主要围绕着OpenStack云平台的API开发。OpenStack是一个开源的云计算平台项目,旨在提供易于部署、可扩展、可靠和安全的云计算服务。API...
### OpenStack Identity API v3 知识点解析 #### 一、OpenStack Identity API v3 概览 **OpenStack Identity API v3** 是OpenStack项目中的一个关键组件,主要负责管理和验证用户身份,以及控制对其他服务的访问...
OpenStack Java API是Java开发者用来与OpenStack云平台交互的一种工具,它允许开发人员通过编写Java代码来调用OpenStack的各种服务接口。OpenStack是一个开源的云计算平台,它提供了多种服务,包括计算(Nova)、...
syntribos, OpenStack安全组的python API安全测试工具 团队和知识库标签 Syntribos,自动化的API安全测试工具 syntribos xxxxxxx x xxxxxxxxxxxxx x x xxxxxxxxxxx x xxxxx
- **验证安装**:通过登录控制面板或使用API命令验证OpenStack组件是否安装成功。 - **配置网络**:根据实际需求配置网络环境。 - **安全设置**:加强安全措施,如更改默认密码、限制访问权限等。 #### 七、常见...
### OpenStack KVM镜像制作与发布 #### 一、KVM Linux镜像制作与发布 ##### 宿主系统配置 - **宿主系统版本**:Ubuntu 10.10 Server amd64 - **支持的目标系统版本**: - Ubuntu 11.10 Server amd64 - Ubuntu ...
手把手教您如何使用python语言,创建OpenStack虚拟机。
OpenStack API是OpenStack提供的一种原生API,用户可以使用OpenStack API来管理云设施。OpenStack API提供了云设施与外界交互的接口,是外界用户对云实施管理的唯一通道。 知识点7:消息队列(Rabbit MQ Server) ...
本手册主要关注OpenStack的操作与API开发,帮助初学者快速理解和掌握这个复杂的系统。 "Software Manuals"部分可能涵盖了以下几个主要的知识点: 1. **安装与配置**:这部分可能会介绍如何在不同的操作系统环境下...