# openstackAPI **Repository Path**: 1091198228/openstack-api ## Basic Information - **Project Name**: openstackAPI - **Description**: openstack-api - **Primary Language**: Python - **License**: EPL-1.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-04-16 - **Last Updated**: 2022-07-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # openstack-queens版本开发文档 ## 调用api的三种方式 1. `rustfulAPI` json交互的api 2. `python-openstack-client` python客户端api 3. `openstack-sdk` openstackSDK 集成开发工具包 ## 一:openstack-rustFulAPI api开发文档汇总地址:https://docs.openstack.org/wallaby/api/ ### 常用服务汇总 |中文服务名| 服务名| 开发文档地址 | |----| ---- |---- | |认证服务|Identity service|[keystone](https://docs.openstack.org/api-ref/identity/)| |镜像服务|Image service|[glance](https://docs.openstack.org/api-ref/image/)| |计算服务|Compute service|[nova](https://docs.openstack.org/api-ref/compute/)| |网络服务|Network service|[neutron](https://docs.openstack.org/api-ref/network/)| |块存储服务|Block Storage service|[cinder](https://docs.openstack.org/api-ref/block-storage/)| |对象存储服务|Object Storage service|[swift](https://docs.openstack.org/api-ref/block-storage/)| |容器服务|Containers service|[zun](https://docs.openstack.org/api-ref/application-container/)| ### 常见服务端口 |openstack service| default ports| port type| | ---- | ---- | ----| |Block Storage (cinder)| 8776 |publicurl and adminurl| |Compute (nova) endpoints |8774 |publicurl and adminurl| |Compute API (nova-api)| 8773, 8775 | |Compute ports for access to virtual machine consoles|5900-5999 | |Compute VNC proxy for browsers ( openstack-nova-novncproxy) |6080 | |Compute VNC proxy for traditional VNC clients (openstack-nova-xvpvncproxy)| 6081| |Proxy port for HTML5 console used by Compute service |6082| |Data processing service (sahara) endpoint |8386| publicurl and adminurl| |Identity service (keystone) administrative endpoint |35357 adminurl| |Identity service public endpoint |5000 |publicurl| |Image service (glance) API |9292 |publicurl and adminurl| |Image service registry |9191 | |Networking (neutron) |9696| publicurl and adminurl| |Object Storage (swift) |6000, 6001, 6002| |Orchestration (heat) endpoint |8004| publicurl and adminurl| |Orchestration AWS CloudFormation-compatible API (openstack-heat-api-cfn) |8000 | |Orchestration AWS CloudWatch-compatible API (openstack-heat-api-cloudwatch) |8003| |Telemetry (ceilometer) |8777| publicurl and adminurl| ## 二:python-openstack-client |中文服务名| 服务名| 客户端名 | |----| ---- |---- | |认证服务|Identity Service|[keystone client](https://docs.openstack.org/python-keystoneclient/queens/)| |镜像服务|Image Service|[glance client](https://docs.openstack.org/python-glanceclient/queens/)| |计算服务|Compute Service|[nova client](https://docs.openstack.org/python-novaclient/queens/)| |网络服务|Networking Service|[neutron client](https://docs.openstack.org/python-neutronclient/queens/)| |块存储服务|Block Storage Service|[cinder client](https://docs.openstack.org/python-cinderclient/queens/)| |对象存储服务|Object Storage Service|[swift client](https://docs.openstack.org/python-swiftclient/queens/)| # 其他 ## 非openstack组件使用的默认端口号 |openstack service| default ports |used by| |----|----|----| |HTTP | 80 | OpenStack dashboard (Horizon) when it is not configured to use secure access.| |HTTP alternate |8080| OpenStack Object Storage (swift) service.| |HTTPS |443| Any OpenStack service that is enabled for SSL, especially secure-access dashboard.| |rsync |873 |OpenStack Object Storage. Required.| |iSCSI target |3260 |OpenStack Block Storage. Required.| |MySQL database service |3306 |Most OpenStack components.| |Message Broker (AMQP traffic) |5672| OpenStack Block Storage, Networking, Orchestration, and Compute.| 参考链接:http://docs.openstack.org/kilo/config-reference/content/firewalls-default-ports.html