Keystone 资源插件,用于域和区域

https://blueprints.launchpad.net/heat/+spec/heat-keystone-region-resource https://blueprints.launchpad.net/heat/+spec/heat-keystone-domain-resource

添加 Keystone 域和区域的资源插件。

问题描述

Heat 尚未提供 Keystone 域和区域的资源插件,而这些插件有助于操作员在云用户组织和服务部署中引入分层结构。此蓝图旨在支持它们。

提议的变更

添加以下 Keystone v3 域和区域资源插件

  • OS::Keystone::Region

属性

  • id
    • required: True

    • type: String

    • update_allowed: False

    • description: 区域 ID

  • description
    • required: False

    • type: String

    • update_allowed: True

    • description: 区域描述

  • parent_region
    • required: False

    • type: String

    • update_allowed: True

    • description: 如果该区域是另一个区域的子区域,则将此参数设置为父区域的 ID。

    • constraints: 自定义约束 ‘keystone.region’

  • enabled
    • default: True

    • type: Boolean

    • update_allowed: True

    • description: 如果为 true,则启用该区域。如果为 false,则禁用该区域。

  • 更新 OS::Keystone::Endpoint,使其置于给定的区域下,并使用自定义约束 ‘keystone.region’。

  • OS::Keystone::Domain

属性

  • name
    • required: True

    • type: String

    • update_allowed: True

    • description: 域名

  • description
    • required: False

    • type: String

    • update_allowed: True

    • description: 域描述

  • enabled
    • default: True

    • type: Boolean

    • update_allowed: True

    • description: 如果为 true,则启用该域。如果为 false,则禁用该域。

注意:OS::Keystone::User、OS::Keystone::Project 和 OS::Keystone::Group 已经引用了自定义约束 ‘keystone.domain’。

备选方案

实现

负责人

主要负责人

kanagaraj-manickam sirushtim

里程碑

完成目标里程碑

mitaka-1

工作项

  • 添加所需的自定义约束和上述定义的资源插件。

  • 添加所需的测试用例

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

依赖项