openstack元数据定义模板

Cinder_Type:

{
    "namespace": "OS::Cinder::Volumetype", 
    "display_name": "Cinder Volume Type", 
    "description": "The Cinder volume type configuration option. Volume type assignment provides a mechanism not only to provide scheduling to a specific storage back-end, but also can be used to specify specific information for a back-end storage device to act upon.", 
    "resource_type_associations": [
        {
            "created_at": "2018-03-15T02:40:40Z", 
            "prefix": "cinder_", 
            "name": "OS::Glance::Image"
        }
    ], 
    "visibility": "public", 
    "protected": true, 
    "created_at": "2018-03-15T02:40:40Z", 
    "properties": {
        "img_volume_type": {
            "type": "string", 
            "description": "Specifies the volume type that should be applied during new volume creation with a image. This value is passed to Cinder when creating a new volume. Priority of volume type related parameters are 1.volume_type(via API or CLI), 2.cinder_img_volume_type, 3.default_volume_type(via cinder.conf). If not specified, volume_type or default_volume_type will be referred based on their priority.", 
            "title": "Image Volume Type"
        }
    }
}
原文地址:https://www.cnblogs.com/hurongpu/p/8572440.html