Merge "nova: track flavor name"
This commit is contained in:
commit
e028ef71f8
@ -70,6 +70,7 @@ resources:
|
||||
image_ref: resource_metadata.image_ref
|
||||
display_name: resource_metadata.display_name
|
||||
flavor_id: resource_metadata.(instance_flavor_id|(flavor.id))
|
||||
flavor_name: resource_metadata.(instance_type|(flavor.name))
|
||||
server_group: resource_metadata.user_metadata.server_group
|
||||
event_delete: compute.instance.delete.start
|
||||
event_attributes:
|
||||
|
@ -102,6 +102,15 @@ resources_update_operations = [
|
||||
"value": {"type": "string", "min_length": 0, "max_length": 255,
|
||||
"required": False}
|
||||
}]},
|
||||
{"desc": "add flavor_name to instance",
|
||||
"type": "update_attribute_type",
|
||||
"resource_type": "instance",
|
||||
"data": [{
|
||||
"op": "add",
|
||||
"path": "/attributes/flavor_name",
|
||||
"value": {"type": "string", "min_length": 0, "max_length": 255,
|
||||
"required": True, "options": {'fill': ''}}
|
||||
}]},
|
||||
]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user