Enhance description of instance-uuid option for image-create

Current description of instance-uuid may confuse users because
they may think that instance-uuid can serve as basis for image
but it just stores instance-uuid as image-metadata.
So we need to enhance the description in glanceclient.

Change-Id: I55829d106c9d25374df6538b3071104ee5f215f2
Closes-Bug: #1496822
This commit is contained in:
kairat_kushaev
2016-01-15 11:50:43 +03:00
parent 0b7a6d2379
commit a8d7ded8fb
2 changed files with 8 additions and 2 deletions

View File

@@ -159,7 +159,10 @@ schema_fixture = {
"type": "string"
},
"instance_uuid": {
"description": "ID of instance used to create this image.",
"description": ("Metadata which can be used to record which "
"instance this image is associated with. "
"(Informational only, does not create an instance "
"snapshot.)"),
"is_base": "false",
"type": "string"
},

View File

@@ -195,7 +195,10 @@ _BASE_SCHEMA = {
},
"instance_uuid": {
"type": "string",
"description": "ID of instance used to create this image."
"description": ("Metadata which can be used to record which "
"instance this image is associated with. "
"(Informational only, does not create an instance "
"snapshot.)")
},
"name": {
"type": "string",