Fixed get_actions_list script to get glance actions

Also updated values in mapping.json file as
per output of the script.

Change-Id: I9654b640b9f87c1d3db63a8db5143ae940fb23c4
This commit is contained in:
hardik 2016-06-17 15:35:59 +05:30
parent 14230fdcf7
commit 23becb2497
2 changed files with 36 additions and 3 deletions

View File

@ -245,17 +245,48 @@
"images_add_location": "images.add_location", "images_add_location": "images.add_location",
"images_create": "images.create", "images_create": "images.create",
"images_data": "images.data", "images_data": "images.data",
"images_deactivate": "images.deactivate",
"images_delete": "images.delete", "images_delete": "images.delete",
"images_delete_locations": "images.delete_locations", "images_delete_locations": "images.delete_locations",
"images_get": "images.get", "images_get": "images.get",
"images_list": "images.list", "images_list": "images.list",
"images_reactivate": "images.reactivate",
"images_update": "images.update", "images_update": "images.update",
"images_update_location": "images.update_location", "images_update_location": "images.update_location",
"images_upload": "images.upload", "images_upload": "images.upload",
"schemas_get": "schemas.get", "schemas_get": "schemas.get",
"tasks_create": "tasks.create", "tasks_create": "tasks.create",
"tasks_get": "tasks.get", "tasks_get": "tasks.get",
"tasks_list": "tasks.list" "tasks_list": "tasks.list",
"metadefs_resource_type_associate": "metadefs_resource_type.associate",
"metadefs_resource_type_deassociate": "metadefs_resource_type.deassociate",
"metadefs_resource_type_get": "metadefs_resource_type.get",
"metadefs_resource_type_list": "metadefs_resource_type.list",
"metadefs_property_create": "metadefs_property.create",
"metadefs_property_delete": "metadefs_property.delete",
"metadefs_property_delete_all": "metadefs_property.delete_all",
"metadefs_property_get": "metadefs_property.get",
"metadefs_property_list": "metadefs_property.list",
"metadefs_property_update": "metadefs_property.update",
"metadefs_object_create": "metadefs_object.create",
"metadefs_object_delete": "metadefs_object.delete",
"metadefs_object_delete_all": "metadefs_object.delete_all",
"metadefs_object_get": "metadefs_object.get",
"metadefs_object_list": "metadefs_object.list",
"metadefs_object_update": "metadefs_object.update",
"metadefs_tag_create": "metadefs_tag.create",
"metadefs_tag_create_multiple": "metadefs_tag.create_multiple",
"metadefs_tag_delete": "metadefs_tag.delete",
"metadefs_tag_delete_all": "metadefs_tag.delete_all",
"metadefs_tag_get": "metadefs_tag.get",
"metadefs_tag_list": "metadefs_tag.list",
"metadefs_tag_update": "metadefs_tag.update",
"metadefs_namespace_create": "metadefs_namespace.create",
"metadefs_namespace_delete": "metadefs_namespace.delete",
"metadefs_namespace_get": "metadefs_namespace.get",
"metadefs_namespace_list": "metadefs_namespace.list",
"metadefs_namespace_update": "metadefs_namespace.update",
"versions_list": "versions.list"
}, },
"keystone": { "keystone": {
"_comment": "It uses keystoneclient.v3.", "_comment": "It uses keystoneclient.v3.",

View File

@ -125,7 +125,9 @@ def get_parser():
GLANCE_NAMESPACE_LIST = [ GLANCE_NAMESPACE_LIST = [
'image_members', 'image_tags', 'images', 'schemas', 'tasks' 'image_members', 'image_tags', 'images', 'schemas', 'tasks',
'metadefs_resource_type', 'metadefs_property', 'metadefs_object',
'metadefs_tag', 'metadefs_namespace', 'versions'
] ]
CEILOMETER_NAMESPACE_LIST = [ CEILOMETER_NAMESPACE_LIST = [
@ -242,7 +244,7 @@ ALLOWED_ATTRS = ['service_catalog', 'catalog']
FORBIDDEN_METHODS = [ FORBIDDEN_METHODS = [
'add_hook', 'alternate_service_type', 'completion_cache', 'run_hooks', 'add_hook', 'alternate_service_type', 'completion_cache', 'run_hooks',
'write_to_completion_cache', 'model', 'build_key_only_query', 'build_url', 'write_to_completion_cache', 'model', 'build_key_only_query', 'build_url',
'head', 'put' 'head', 'put', 'unvalidated_model'
] ]