Update mapping.json for OpenStack actions

TODO:
  * Create good script for generating these lists
    for OpenStack services

Change-Id: I5cbe868f29f938cebd7ed40f6fba247e109e069f
This commit is contained in:
Nikolay Mahotkin 2015-04-23 17:36:44 +03:00
parent bb3472f898
commit 24eeedb857

View File

@ -1,18 +1,34 @@
{
"_comment": "Mapping OpenStack action namespaces to all its actions. Each action name is mapped to python-client method name in this namespace.",
"nova": {
"_comment": "It uses novaclient.v1_1.",
"_comment": "It uses novaclient.v2.",
"agents_create": "agents.create",
"agents_delete": "agents.delete",
"agents_find": "agents.find",
"agents_findall": "agents.findall",
"agents_list": "agents.list",
"agents_update": "agents.update",
"aggregates_add_host": "aggregates.add_host",
"aggregates_create": "aggregates.create",
"aggregates_delete": "aggregates.delete",
"aggregates_find": "aggregates.find",
"aggregates_findall": "aggregates.findall",
"aggregates_get": "aggregates.get",
"aggregates_get_details": "aggregates.get_details",
"aggregates_list": "aggregates.list",
"aggregates_remove_host": "aggregates.remove_host",
"aggregates_set_metadata": "aggregates.set_metadata",
"aggregates_update": "aggregates.update",
"availability_zones_find": "availability_zones.find",
"availability_zones_findall": "availability_zones.findall",
"availability_zones_list": "availability_zones.list",
"certs_create": "certs.create",
"certs_get": "certs.get",
"cloudpipe_create": "cloudpipe.create",
"cloudpipe_find": "cloudpipe.find",
"cloudpipe_findall": "cloudpipe.findall",
"cloudpipe_list": "cloudpipe.list",
"cloudpipe_update": "cloudpipe.update",
"dns_domains_create_private": "dns_domains.create_private",
"dns_domains_create_public": "dns_domains.create_public",
"dns_domains_delete": "dns_domains.delete",
@ -45,6 +61,15 @@
"floating_ips_findall": "floating_ips.findall",
"floating_ips_get": "floating_ips.get",
"floating_ips_list": "floating_ips.list",
"floating_ips_bulk_create": "floating_ips_bulk.create",
"floating_ips_bulk_delete": "floating_ips_bulk.delete",
"floating_ips_bulk_find": "floating_ips_bulk.find",
"floating_ips_bulk_findall": "floating_ips_bulk.findall",
"floating_ips_bulk_list": "floating_ips_bulk.list",
"fping_find": "fping.find",
"fping_findall": "fping.findall",
"fping_get": "fping.get",
"fping_list": "fping.list",
"hosts_find": "hosts.find",
"hosts_findall": "hosts.findall",
"hosts_get": "hosts.get",
@ -59,6 +84,7 @@
"hypervisors_search": "hypervisors.search",
"hypervisors_statistics": "hypervisors.statistics",
"hypervisors_uptime": "hypervisors.uptime",
"hypervisor_stats_statistics": "hypervisor_stats.statistics",
"images_delete": "images.delete",
"images_delete_meta": "images.delete_meta",
"images_find": "images.find",
@ -72,6 +98,7 @@
"keypairs_findall": "keypairs.findall",
"keypairs_get": "keypairs.get",
"keypairs_list": "keypairs.list",
"limits_get": "limits.get",
"networks_add": "networks.add",
"networks_associate_host": "networks.associate_host",
"networks_associate_project": "networks.associate_project",
@ -86,6 +113,11 @@
"quotas_delete": "quotas.delete",
"quotas_get": "quotas.get",
"quotas_update": "quotas.update",
"security_group_default_rules_create": "security_group_default_rules.create",
"security_group_default_rules_delete": "security_group_default_rules.delete",
"security_group_default_rules_list": "security_group_default_rules.list",
"security_group_rules_create": "security_group_rules.create",
"security_group_rules_delete": "security_group_rules.delete",
"security_groups_create": "security_groups.create",
"security_groups_delete": "security_groups.delete",
"security_groups_find": "security_groups.find",
@ -93,6 +125,12 @@
"security_groups_get": "security_groups.get",
"security_groups_list": "security_groups.list",
"security_groups_update": "security_groups.update",
"server_groups_create": "server_groups.create",
"server_groups_delete": "server_groups.delete",
"server_groups_find": "server_groups.find",
"server_groups_findall": "server_groups.findall",
"server_groups_get": "server_groups.get",
"server_groups_list": "server_groups.list",
"servers_add_fixed_ip": "servers.add_fixed_ip",
"servers_add_floating_ip": "servers.add_floating_ip",
"servers_add_security_group": "servers.add_security_group",
@ -113,6 +151,7 @@
"servers_get_console_output": "servers.get_console_output",
"servers_get_password": "servers.get_password",
"servers_get_rdp_console": "servers.get_rdp_console",
"servers_get_serial_console": "servers.get_serial_console",
"servers_get_spice_console": "servers.get_spice_console",
"servers_get_vnc_console": "servers.get_vnc_console",
"servers_interface_attach": "servers.interface_attach",
@ -159,6 +198,9 @@
"usage_findall": "usage.findall",
"usage_get": "usage.get",
"usage_list": "usage.list",
"versions_find": "versions.find",
"versions_findall": "versions.findall",
"versions_list": "versions.list",
"virtual_interfaces_find": "virtual_interfaces.find",
"virtual_interfaces_findall": "virtual_interfaces.findall",
"virtual_interfaces_list": "virtual_interfaces.list",
@ -204,7 +246,10 @@
"images_update": "images.update",
"images_update_location": "images.update_location",
"images_upload": "images.upload",
"schemas_get": "schemas.get"
"schemas_get": "schemas.get",
"tasks_create": "tasks.create",
"tasks_get": "tasks.get",
"tasks_list": "tasks.list"
},
"keystone": {
"_comment": "It uses keystoneclient.v3.",
@ -220,6 +265,22 @@
"domains_get": "domains.get",
"domains_list": "domains.list",
"domains_update": "domains.update",
"endpoint_filter_add_endpoint_to_project": "endpoint_filter.add_endpoint_to_project",
"endpoint_filter_check_endpoint_in_project": "endpoint_filter.check_endpoint_in_project",
"endpoint_filter_delete_endpoint_from_project": "endpoint_filter.delete_endpoint_from_project",
"endpoint_filter_list_endpoints_for_project": "endpoint_filter.list_endpoints_for_project",
"endpoint_filter_list_projects_for_endpoint": "endpoint_filter.list_projects_for_endpoint",
"endpoint_policy_check_policy_association_for_endpoint": "endpoint_policy.check_policy_association_for_endpoint",
"endpoint_policy_check_policy_association_for_region_and_service": "endpoint_policy.check_policy_association_for_region_and_service",
"endpoint_policy_check_policy_association_for_service": "endpoint_policy.check_policy_association_for_service",
"endpoint_policy_create_policy_association_for_endpoint": "endpoint_policy.create_policy_association_for_endpoint",
"endpoint_policy_create_policy_association_for_region_and_service": "endpoint_policy.create_policy_association_for_region_and_service",
"endpoint_policy_create_policy_association_for_service": "endpoint_policy.create_policy_association_for_service",
"endpoint_policy_delete_policy_association_for_endpoint": "endpoint_policy.delete_policy_association_for_endpoint",
"endpoint_policy_delete_policy_association_for_region_and_service": "endpoint_policy.delete_policy_association_for_region_and_service",
"endpoint_policy_delete_policy_association_for_service": "endpoint_policy.delete_policy_association_for_service",
"endpoint_policy_get_policy_for_endpoint": "endpoint_policy.get_policy_for_endpoint",
"endpoint_policy_list_endpoints_for_policy": "endpoint_policy.list_endpoints_for_policy",
"endpoints_create": "endpoints.create",
"endpoints_delete": "endpoints.delete",
"endpoints_find": "endpoints.find",
@ -275,6 +336,12 @@
"regions_get": "regions.get",
"regions_list": "regions.list",
"regions_update": "regions.update",
"role_assignments_create": "role_assignments.create",
"role_assignments_delete": "role_assignments.delete",
"role_assignments_find": "role_assignments.find",
"role_assignments_get": "role_assignments.get",
"role_assignments_list": "role_assignments.list",
"role_assignments_update": "role_assignments.update",
"roles_check": "roles.check",
"roles_create": "roles.create",
"roles_delete": "roles.delete",
@ -312,25 +379,28 @@
"users_find": "users.find",
"users_get": "users.get",
"users_list": "users.list",
"users_put": "users.put",
"users_remove_from_group": "users.remove_from_group",
"users_update": "users.update",
"users_update_password": "users.update_password"
},
"heat": {
"_comment": "It uses heatclient.v2.",
"actions_cancel_update": "actions.cancel_update",
"actions_check": "actions.check",
"actions_resume": "actions.resume",
"actions_suspend": "actions.suspend",
"build_info_build_info": "build_info.build_info",
"events_get": "events.get",
"events_list": "events.list",
"resource_types_generate_template": "resource_types.generate_template",
"resource_types_get": "resource_types.get",
"resource_types_list": "resource_types.list",
"resources_generate_template": "resources.generate_template",
"resources_get": "resources.get",
"resources_list": "resources.list",
"resources_metadata": "resources.metadata",
"resources_signal": "resources.signal",
"resource_types_get": "resource_types.get",
"resource_types_list": "resource_types.list",
"services_list": "services.list",
"software_configs_create": "software_configs.create",
"software_configs_delete": "software_configs.delete",
"software_configs_get": "software_configs.get",
@ -345,6 +415,12 @@
"stacks_delete": "stacks.delete",
"stacks_get": "stacks.get",
"stacks_list": "stacks.list",
"stacks_preview": "stacks.preview",
"stacks_restore": "stacks.restore",
"stacks_snapshot": "stacks.snapshot",
"stacks_snapshot_delete": "stacks.snapshot_delete",
"stacks_snapshot_list": "stacks.snapshot_list",
"stacks_snapshot_show": "stacks.snapshot_show",
"stacks_template": "stacks.template",
"stacks_update": "stacks.update",
"stacks_validate": "stacks.validate"
@ -366,6 +442,11 @@
"create_ikepolicy": "create_ikepolicy",
"create_ipsec_site_connection": "create_ipsec_site_connection",
"create_ipsecpolicy": "create_ipsecpolicy",
"create_lbaas_healthmonitor": "create_lbaas_healthmonitor",
"create_lbaas_member": "create_lbaas_member",
"create_lbaas_pool": "create_lbaas_pool",
"create_listener": "create_listener",
"create_loadbalancer": "create_loadbalancer",
"create_member": "create_member",
"create_metering_label": "create_metering_label",
"create_metering_label_rule": "create_metering_label_rule",
@ -394,6 +475,11 @@
"delete_ikepolicy": "delete_ikepolicy",
"delete_ipsec_site_connection": "delete_ipsec_site_connection",
"delete_ipsecpolicy": "delete_ipsecpolicy",
"delete_lbaas_healthmonitor": "delete_lbaas_healthmonitor",
"delete_lbaas_member": "delete_lbaas_member",
"delete_lbaas_pool": "delete_lbaas_pool",
"delete_listener": "delete_listener",
"delete_loadbalancer": "delete_loadbalancer",
"delete_member": "delete_member",
"delete_metering_label": "delete_metering_label",
"delete_metering_label_rule": "delete_metering_label_rule",
@ -419,6 +505,7 @@
"get_lbaas_agent_hosting_pool": "get_lbaas_agent_hosting_pool",
"get_quotas_tenant": "get_quotas_tenant",
"list_agents": "list_agents",
"list_credentials": "list_credentials",
"list_dhcp_agent_hosting_networks": "list_dhcp_agent_hosting_networks",
"list_extensions": "list_extensions",
"list_firewall_policies": "list_firewall_policies",
@ -431,11 +518,18 @@
"list_ipsec_site_connections": "list_ipsec_site_connections",
"list_ipsecpolicies": "list_ipsecpolicies",
"list_l3_agent_hosting_routers": "list_l3_agent_hosting_routers",
"list_lbaas_healthmonitors": "list_lbaas_healthmonitors",
"list_lbaas_loadbalancers": "list_lbaas_loadbalancers",
"list_lbaas_members": "list_lbaas_members",
"list_lbaas_pools": "list_lbaas_pools",
"list_listeners": "list_listeners",
"list_loadbalancers": "list_loadbalancers",
"list_members": "list_members",
"list_metering_label_rules": "list_metering_label_rules",
"list_metering_labels": "list_metering_labels",
"list_net_partitions": "list_net_partitions",
"list_network_gateways": "list_network_gateways",
"list_network_profile_bindings": "list_network_profile_bindings",
"list_network_profiles": "list_network_profiles",
"list_networks": "list_networks",
"list_networks_on_dhcp_agent": "list_networks_on_dhcp_agent",
@ -472,6 +566,11 @@
"show_ikepolicy": "show_ikepolicy",
"show_ipsec_site_connection": "show_ipsec_site_connection",
"show_ipsecpolicy": "show_ipsecpolicy",
"show_lbaas_healthmonitor": "show_lbaas_healthmonitor",
"show_lbaas_member": "show_lbaas_member",
"show_lbaas_pool": "show_lbaas_pool",
"show_listener": "show_listener",
"show_loadbalancer": "show_loadbalancer",
"show_member": "show_member",
"show_metering_label": "show_metering_label",
"show_metering_label_rule": "show_metering_label_rule",
@ -502,6 +601,11 @@
"update_ikepolicy": "update_ikepolicy",
"update_ipsec_site_connection": "update_ipsec_site_connection",
"update_ipsecpolicy": "update_ipsecpolicy",
"update_lbaas_healthmonitor": "update_lbaas_healthmonitor",
"update_lbaas_member": "update_lbaas_member",
"update_lbaas_pool": "update_lbaas_pool",
"update_listener": "update_listener",
"update_loadbalancer": "update_loadbalancer",
"update_member": "update_member",
"update_network": "update_network",
"update_network_gateway": "update_network_gateway",
@ -519,12 +623,9 @@
},
"cinder": {
"_comment": "It uses cinderclient.v1.",
"availability_zones_completion_cache": "availability_zones.completion_cache",
"availability_zones_find": "availability_zones.find",
"availability_zones_findall": "availability_zones.findall",
"availability_zones_list": "availability_zones.list",
"availability_zones_write_to_completion_cache": "availability_zones.write_to_completion_cache",
"backups_completion_cache": "backups.completion_cache",
"backups_create": "backups.create",
"backups_delete": "backups.delete",
"backups_export_record": "backups.export_record",
@ -533,13 +634,22 @@
"backups_get": "backups.get",
"backups_import_record": "backups.import_record",
"backups_list": "backups.list",
"backups_write_to_completion_cache": "backups.write_to_completion_cache",
"get_volume_api_version_from_endpoint": "get_volume_api_version_from_endpoint",
"limits_completion_cache": "limits.completion_cache",
"cgsnapshots_create": "cgsnapshots.create",
"cgsnapshots_delete": "cgsnapshots.delete",
"cgsnapshots_find": "cgsnapshots.find",
"cgsnapshots_findall": "cgsnapshots.findall",
"cgsnapshots_get": "cgsnapshots.get",
"cgsnapshots_list": "cgsnapshots.list",
"cgsnapshots_update": "cgsnapshots.update",
"consistencygroups_create": "consistencygroups.create",
"consistencygroups_delete": "consistencygroups.delete",
"consistencygroups_find": "consistencygroups.find",
"consistencygroups_findall": "consistencygroups.findall",
"consistencygroups_get": "consistencygroups.get",
"consistencygroups_list": "consistencygroups.list",
"consistencygroups_update": "consistencygroups.update",
"limits_get": "limits.get",
"limits_write_to_completion_cache": "limits.write_to_completion_cache",
"qos_specs_associate": "qos_specs.associate",
"qos_specs_completion_cache": "qos_specs.completion_cache",
"qos_specs_create": "qos_specs.create",
"qos_specs_delete": "qos_specs.delete",
"qos_specs_disassociate": "qos_specs.disassociate",
@ -551,38 +661,26 @@
"qos_specs_list": "qos_specs.list",
"qos_specs_set_keys": "qos_specs.set_keys",
"qos_specs_unset_keys": "qos_specs.unset_keys",
"qos_specs_write_to_completion_cache": "qos_specs.write_to_completion_cache",
"quota_classes_completion_cache": "quota_classes.completion_cache",
"quota_classes_get": "quota_classes.get",
"quota_classes_update": "quota_classes.update",
"quota_classes_write_to_completion_cache": "quota_classes.write_to_completion_cache",
"quotas_completion_cache": "quotas.completion_cache",
"quotas_defaults": "quotas.defaults",
"quotas_delete": "quotas.delete",
"quotas_get": "quotas.get",
"quotas_update": "quotas.update",
"quotas_write_to_completion_cache": "quotas.write_to_completion_cache",
"restores_completion_cache": "restores.completion_cache",
"restores_restore": "restores.restore",
"restores_write_to_completion_cache": "restores.write_to_completion_cache",
"services_completion_cache": "services.completion_cache",
"services_disable": "services.disable",
"services_disable_log_reason": "services.disable_log_reason",
"services_enable": "services.enable",
"services_find": "services.find",
"services_findall": "services.findall",
"services_list": "services.list",
"services_write_to_completion_cache": "services.write_to_completion_cache",
"transfers_accept": "transfers.accept",
"transfers_completion_cache": "transfers.completion_cache",
"transfers_create": "transfers.create",
"transfers_delete": "transfers.delete",
"transfers_find": "transfers.find",
"transfers_findall": "transfers.findall",
"transfers_get": "transfers.get",
"transfers_list": "transfers.list",
"transfers_write_to_completion_cache": "transfers.write_to_completion_cache",
"volume_encryption_types_completion_cache": "volume_encryption_types.completion_cache",
"volume_encryption_types_create": "volume_encryption_types.create",
"volume_encryption_types_delete": "volume_encryption_types.delete",
"volume_encryption_types_find": "volume_encryption_types.find",
@ -590,8 +688,6 @@
"volume_encryption_types_get": "volume_encryption_types.get",
"volume_encryption_types_list": "volume_encryption_types.list",
"volume_encryption_types_update": "volume_encryption_types.update",
"volume_encryption_types_write_to_completion_cache": "volume_encryption_types.write_to_completion_cache",
"volume_snapshots_completion_cache": "volume_snapshots.completion_cache",
"volume_snapshots_create": "volume_snapshots.create",
"volume_snapshots_delete": "volume_snapshots.delete",
"volume_snapshots_delete_metadata": "volume_snapshots.delete_metadata",
@ -604,18 +700,14 @@
"volume_snapshots_update": "volume_snapshots.update",
"volume_snapshots_update_all_metadata": "volume_snapshots.update_all_metadata",
"volume_snapshots_update_snapshot_status": "volume_snapshots.update_snapshot_status",
"volume_snapshots_write_to_completion_cache": "volume_snapshots.write_to_completion_cache",
"volume_types_completion_cache": "volume_types.completion_cache",
"volume_types_create": "volume_types.create",
"volume_types_delete": "volume_types.delete",
"volume_types_find": "volume_types.find",
"volume_types_findall": "volume_types.findall",
"volume_types_get": "volume_types.get",
"volume_types_list": "volume_types.list",
"volume_types_write_to_completion_cache": "volume_types.write_to_completion_cache",
"volumes_attach": "volumes.attach",
"volumes_begin_detaching": "volumes.begin_detaching",
"volumes_completion_cache": "volumes.completion_cache",
"volumes_create": "volumes.create",
"volumes_delete": "volumes.delete",
"volumes_delete_metadata": "volumes.delete_metadata",
@ -645,7 +737,6 @@
"volumes_update": "volumes.update",
"volumes_update_all_metadata": "volumes.update_all_metadata",
"volumes_update_readonly_flag": "volumes.update_readonly_flag",
"volumes_upload_to_image": "volumes.upload_to_image",
"volumes_write_to_completion_cache": "volumes.write_to_completion_cache"
"volumes_upload_to_image": "volumes.upload_to_image"
}
}