Keystone 服务和端点资源插件

https://blueprints.launchpad.net/heat/+spec/keystone-resource-service-endpoint

添加 Keystone 服务和端点的资源插件。

问题描述

在基于 Heat 的云部署工具(如 TripleO)中,厂商正在通过一些方式(如 shell 脚本)自动化 Keystone Region、Service 和 Endpoint 的创建。这在多个厂商之间重复出现,如果 Heat 提供 Keystone Region、Service 和端点的资源插件,就可以通过 heat 模板进行自动化。因此,此蓝图旨在为 Keystone Service 和 Endpoint 提供 Heat 资源插件。

提议的变更

使用 keystone v3 API 在 contirb/heat_keystone 下添加以下资源:

  • OS::Keystone::Service

    • name (可选 - 默认为 self.physical_resource_name())

    • description (可选)

    • type (必需)

  • OS::Keystone::Endpoint

    • region (可选)

    • service_id (必需)

    • interface: ‘public’, ‘admin’ 或 ‘internal’

    • url (必需)

备选方案

实现

负责人

主要负责人

Kanagaraj Manickam (kanagaraj-manickam)

里程碑

完成目标里程碑

liberty-1

工作项

  • 添加解决方案部分中定义的资源的 contrib 资源

  • 添加服务的约束

  • 添加所需的测试用例

  • 在 heat-template 项目中添加示例模板

依赖项