Module: Misty::Openstack::API::ManilaV2

Included in:
Misty::Openstack::API::Manila::V2
Defined in:
lib/misty/openstack/api/manila/manila_v2.rb

Instance Method Summary collapse

Instance Method Details

#apiObject



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
# File 'lib/misty/openstack/api/manila/manila_v2.rb', line 6

def api
{"/"=>{:GET=>[:list_all_major_versions]},
 "/{api_version}/"=>{:GET=>[:show_details_of_specific_api_version]},
 "/v2/{tenant_id}/extensions"=>{:GET=>[:list_extensions]},
 "/v2/{tenant_id}/limits"=>{:GET=>[:list_share_limits]},
 "/v2/{tenant_id}/shares"=>{:GET=>[:list_shares], :POST=>[:create_share]},
 "/v2/{tenant_id}/shares/detail"=>{:GET=>[:list_shares_with_details]},
 "/v2/{tenant_id}/shares/{share_id}"=>
{:GET=>[:show_share_details],
 :PUT=>[:update_share],
 :DELETE=>[:delete_share]},
 "/v2/{tenant_id}/shares/manage"=>{:GET=>[:manage_share]},
 "/v2/{tenant_id}/shares/{share_id}/export_locations"=>
{:GET=>[:list_export_locations]},
 "/v2/{tenant_id}/shares/{share_id}/export_locations/​{export_location_id}​"=>
{:GET=>[:show_single_export_location]},
 "/v2/{tenant_id}/shares/{share_id}/metadata"=>
{:GET=>[:show_share_metadata],
 :POST=>[:set_share_metadata],
 :PUT=>[:update_share_metadata]},
 "/v2/{tenant_id}/shares/{share_id}/metadata/{key}"=>
{:DELETE=>[:unset_share_metadata]},
 "/v2/{tenant_id}/shares/{share_id}/action"=>
{:POST=>
  [:grant_access,
   :revoke_access,
   :list_access_rules,
   :reset_share_state,
   :force_delete_share,
   :extend_share,
   :shrink_share,
   :unmanage_share,
   :revert_share_to_snapshot,
   :migrate_share_versions_2_5_to_2_14,
   :start_migration_since_version_2_15,
   :complete_migration_since_version_2_15]},
 "/v2/{tenant_id}/snapshots"=>
{:GET=>[:list_share_snapshots], :POST=>[:create_share_snapshot]},
 "/v2/{tenant_id}/snapshots/detail"=>
{:GET=>[:list_share_snapshots_with_details]},
 "/v2/{tenant_id}/snapshots/{snapshot_id}"=>
{:GET=>[:show_share_snapshot_details],
 :PUT=>[:update_share_snapshot],
 :DELETE=>[:delete_share_snapshot]},
 "/v2/{tenant_id}/snapshots/manage"=>{:POST=>[:manage_share_snapshot]},
 "/v2/{tenant_id}/snapshots/{snapshot_id}/action"=>
{:POST=>
  [:unmanage_share_snapshot,
   :reset_share_snapshot_state,
   :force_delete_share_snapshot]},
 "/v2/{tenant_id}/snapshot-instances"=>
{:GET=>[:list_share_snapshot_instances]},
 "/v2/{tenant_id}/snapshot-instances/detail"=>
{:GET=>[:list_share_snapshot_instances_with_details]},
 "/v2/{tenant_id}/snapshot-instances/{snapshot_instance_id}"=>
{:GET=>[:show_share_snapshot_instance_details]},
 "/v2/{tenant_id}/snapshot-instances/{snapshot_instance_id}/action"=>
{:POST=>[:reset_share_snapshot_instance_state]},
 "/v2/{tenant_id}/share-networks"=>
{:GET=>[:list_share_networks], :POST=>[:create_share_network]},
 "/v2/{tenant_id}/share-networks/detail"=>
{:GET=>[:list_share_networks_with_details]},
 "/v2/{tenant_id}/share-networks/{share_network_id}"=>
{:GET=>[:show_share_network_details],
 :PUT=>[:update_share_network],
 :DELETE=>[:delete_share_network]},
 "/v2/{tenant_id}/share-networks/{share_network_id}/action"=>
{:POST=>
  [:add_security_service_to_share_network,
   :remove_security_service_from_share_network]},
 "/v2/{tenant_id}/security-services"=>
{:GET=>[:list_security_services], :POST=>[:create_security_service]},
 "/v2/{tenant_id}/security-services/detail"=>
{:GET=>[:list_security_services_with_details]},
 "/v2/{tenant_id}/security-services/{security_service_id}"=>
{:GET=>[:show_security_service_details],
 :PUT=>[:update_security_service],
 :DELETE=>[:delete_security_service]},
 "/v2/{tenant_id}/share-servers"=>{:GET=>[:list_share_servers]},
 "/v2/{tenant_id}/share-servers/{share_server_id}/detail"=>
{:GET=>[:show_share_server_details]},
 "/v2/{tenant_id}/share-servers/{share_server_id}"=>
{:DELETE=>[:delete_share_server]},
 "/v2/{tenant_id}/share_instances"=>{:GET=>[:list_share_instances]},
 "/v2/{tenant_id}/share_instances/{share_instance_id}"=>
{:GET=>[:show_share_instance_details]},
 "/v2/{tenant_id}/share_instances/{share_instance_id}/action"=>
{:POST=>[:reset_share_instance_state, :force_delete_share_instance]},
 "/v2/{tenant_id}/share_instances/{share_instance_id}/export_locations"=>
{:GET=>[:list_export_locations_by_share_instance]},
 "/v2/{tenant_id}/share_instances/{share_instance_id}/export_locations/{export_location_id}"=>
{:GET=>[:show_single_export_location_by_share_instance]},
 "/v2/{tenant_id}/types"=>
{:GET=>[:list_share_types], :POST=>[:create_share_type]},
 "/v2/{tenant_id}/types/default"=>{:GET=>[:list_default_share_types]},
 "/v2/{tenant_id}/types/{share_type_id}"=>
{:GET=>[:show_share_type_detail], :DELETE=>[:delete_share_type]},
 "/v2/{tenant_id}/types/{share_type_id}/extra_specs"=>
{:GET=>[:list_extra_specs], :POST=>[:set_extra_spec_for_share_type]},
 "/v2/{tenant_id}/types/{share_type_id}/share_type_access"=>
{:GET=>[:show_share_type_access_details]},
 "/v2/{tenant_id}/types/{share_type_id}/extra_specs/{extra-spec-key}"=>
{:DELETE=>[:unset_an_extra_spec]},
 "/v2/{tenant_id}/types/{share_type_id}/action"=>
{:POST=>[:add_share_type_access, :remove_share_type_access]},
 "/v2/{tenant_id}/scheduler-stats/pools?pool={pool_name}&host={host_name}&backend={backend_name}&capabilities={capabilities}&share_type={share_type}"=>
{:GET=>[:list_back_end_storage_pools]},
 "/v2/{tenant_id}/scheduler-stats/pools/detail?pool={pool_name}&host={host_name}&backend={backend_name}&capabilities={capabilities}&share_type={share_type}"=>
{:GET=>[:list_back_end_storage_pools_with_details]},
 "/v2/{tenant_id}/services?host={host}&binary={binary}&zone={zone}&state={state}&status={status}"=>
{:GET=>[:list_services]},
 "/v2/{tenant_id}/services/enable"=>{:PUT=>[:enable_service]},
 "/v2/{tenant_id}/services/disable"=>{:PUT=>[:disable_service]},
 "/v2/{tenant_id}/availability-zones"=>{:GET=>[:list_availability_zones]},
 "/v2/{tenant_id}/os-share-manage"=>{:POST=>[:manage_share]},
 "/v2/{tenant_id}/os-share-unmanage/{share_id}/unmanage"=>{:POST=> [:unmanage_share]},
 "/v2/{tenant_id}/quota-sets/{tenant_id}/defaults"=>
{:GET=>[:show_default_quota_set]},
 "/v2/{tenant_id}/quota-sets/{tenant_id}?user_id={user_id}"=>
{:GET=>[:show_quota_set],
 :PUT=>[:update_quota_set],
 :DELETE=>[:delete_quota_set]},
 "/v2/{tenant_id}/quota-sets/{tenant_id}/detail?user_id={user_id}"=>
{:GET=>[:show_quota_set_in_detail]},
 "/v2/{tenant_id}/quota-class-sets/{quota_class_name}"=>
{:GET=>[:show_quota_classes_for_a_project],
 :PUT=>[:update_quota_classes_for_a_project]},
 "/v2/{tenant_id}/messages"=>{:GET=>[:list_user_messages]},
 "/v2/{tenant_id}/messages/{message_id}"=>
{:GET=>[:show_user_message_details], :DELETE=>[:delete_message]},
 "/v2/{tenant_id}/share-replicas"=>{:POST=>[:create_share_replica]},
 "/v2/{tenant_id}/share-replicas/{share_replica_id}/action"=>
{:POST=>
  [:promote_share_replica,
   :resync_share_replica,
   :reset_status_of_the_share_replica,
   :reset_replica_state_of_the_share_replica,
   :force_delete_share_replica]},
 "/v2/{tenant_id}/share-replicas?share_id={share_id}"=>
{:GET=>[:list_share_replicas]},
 "/v2/{tenant_id}/share-replicas/detail?share_id={share_id}"=>
{:GET=>[:list_share_replicas_with_details]},
 "/v2/{tenant_id}/share-replicas/{share_replica_id}"=>
{:GET=>[:show_share_replica], :DELETE=>[:delete_share_replica]},
 "/v2/{tenant_id}/share_groups"=>
{:GET=>[:list_share_groups], :POST=>[:create_share_group]},
 "/v2/{tenant_id}/share_groups/{share_group_id}"=>
{:GET=>[:show_share_group_details]},
 "/v2/{tenant_id}/share-groups/{share_group_id}/action"=>
{:POST=>[:reset_share_group_state]},
 "/v2/{tenant_id}/share-groups/{share_group_id}"=>
{:PUT=>[:update_share_group], :DELETE=>[:delete_share_group]},
 "/v2/{tenant_id}/share-group-types"=>
{:GET=>[:list_share_group_types], :POST=>[:create_share_group_type]},
 "/v2/{tenant_id}/share-group-types/default"=>
{:GET=>[:list_default_share_group_types]},
 "/v2/{tenant_id}/share-group-types/{share_group_type_id}/group_specs"=>
{:GET=>[:list_share_group_types_extra_specs],
 :POST=>[:set_extra_spec_for_share_group_type]},
 "/v2/{tenant_id}/share-group-types/{share_group_type_id}/share_type_access"=>
{:GET=>[:show_share_group_type_access_details]},
 "/v2/{tenant_id}/share-group-types/{share_group_type_id}/group-specs/{group_spec_key}"=>
{:DELETE=>[:unset_an_group_spec]},
 "/v2/{tenant_id}/share-group-types/{share_group_type_id}/action"=>
{:POST=>[:add_share_group_type_access, :remove_share_group_type_access]},
 "/v2/{tenant_id}/share-group-types/{share_group_type_id}"=>
{:DELETE=>[:delete_share_group_type]},
 "/v2/{tenant_id}/share-group-snapshots"=>
{:GET=>[:list_share_group_snapshots], :POST=>[:create_share_group_snapshot]},
 "/v2/{tenant_id}/share-group-snapshots/detail"=>
{:GET=>[:list_share_group_snapshots_with_details]},
 "/v2/{tenant_id}/share-group-snapshots/{group_snapshot_id}/members"=>
{:GET=>[:list_share_group_snapshots_members]},
 "/v2/{tenant_id}/share-group-snapshots/{group_snapshot_id}"=>
{:GET=>[:show_share_group_snapshot_details],
 :PUT=>[:update_share_group_snapshot],
 :DELETE=>[:delete_share_group_snapshot]},
 "/v2/{tenant_id}/share-group-snapshots/{group_snapshot_id}/action"=>
{:POST=>[:reset_share_group_snapshot_state]}}
end

#tagObject



2
3
4
# File 'lib/misty/openstack/api/manila/manila_v2.rb', line 2

def tag
  'Shared File Systems API Reference 6.0.0'
end