misty 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/misty/client.rb +0 -1
- data/lib/misty/http/request.rb +2 -0
- data/lib/misty/openstack/aodh/aodh_v2.rb +6 -1
- data/lib/misty/openstack/ceilometer/ceilometer_v2.rb +6 -1
- data/lib/misty/openstack/cinder/cinder_v1.rb +4 -0
- data/lib/misty/openstack/cinder/cinder_v2.rb +65 -54
- data/lib/misty/openstack/cinder/cinder_v3.rb +61 -8
- data/lib/misty/openstack/cinder/v2.rb +2 -1
- data/lib/misty/openstack/designate/designate_v2.rb +4 -0
- data/lib/misty/openstack/freezer/freezer_v1.rb +4 -0
- data/lib/misty/openstack/glance/glance_v1.rb +4 -0
- data/lib/misty/openstack/glance/glance_v2.rb +7 -0
- data/lib/misty/openstack/heat/heat_v1.rb +5 -0
- data/lib/misty/openstack/ironic/ironic_v1.rb +26 -3
- data/lib/misty/openstack/karbor/karbor_v1.rb +8 -1
- data/lib/misty/openstack/keystone/keystone_v2_0.rb +4 -0
- data/lib/misty/openstack/keystone/keystone_v2_0_ext.rb +5 -19
- data/lib/misty/openstack/keystone/keystone_v3.rb +12 -0
- data/lib/misty/openstack/keystone/keystone_v3_ext.rb +6 -2
- data/lib/misty/openstack/magnum/magnum_v1.rb +4 -0
- data/lib/misty/openstack/manila/manila_v2.rb +65 -26
- data/lib/misty/openstack/murano/murano_v1.rb +4 -0
- data/lib/misty/openstack/neutron/neutron_v2_0.rb +28 -9
- data/lib/misty/openstack/nova/nova_v2_1.rb +17 -6
- data/lib/misty/openstack/octavia/octavia_v2_0.rb +12 -2
- data/lib/misty/openstack/sahara/sahara_v1_1.rb +4 -0
- data/lib/misty/openstack/searchlight/searchlight_v1.rb +4 -0
- data/lib/misty/openstack/senlin/senlin_v1.rb +6 -1
- data/lib/misty/openstack/swift/swift_v1.rb +4 -0
- data/lib/misty/openstack/tacker/tacker_v1_0.rb +4 -0
- data/lib/misty/openstack/trove/trove_v1_0.rb +4 -0
- data/lib/misty/openstack/zaqar/zaqar_v2.rb +9 -6
- data/lib/misty/version.rb +1 -1
- data/test/integration/compute_test.rb +14 -3
- data/test/integration/network_test.rb +14 -2
- data/test/integration/orchestration_test.rb +12 -0
- data/test/integration/test_helper.rb +0 -11
- data/test/integration/vcr/compute_using_nova_v2_1.yml +255 -921
- data/test/integration/vcr/network_using_neutron_v2_0.yml +164 -875
- data/test/unit/client_test.rb +2 -2
- data/test/unit/openstack/APIs_test.rb +2 -3
- metadata +3 -3
@@ -1,4 +1,8 @@
|
|
1
1
|
module Misty::Openstack::GlanceV2
|
2
|
+
def tag
|
3
|
+
'Image Service API Reference 16.0.0'
|
4
|
+
end
|
5
|
+
|
2
6
|
def api
|
3
7
|
{"/v2/images"=>{:POST=>[:create_an_image], :GET=>[:show_images]},
|
4
8
|
"/v2/images/{image_id}"=>
|
@@ -21,6 +25,9 @@ module Misty::Openstack::GlanceV2
|
|
21
25
|
"/v2/schemas/member"=>{:GET=>[:show_image_member_schema]},
|
22
26
|
"/v2/images/{image_id}/file"=>
|
23
27
|
{:PUT=>[:upload_binary_image_data], :GET=>[:download_binary_image_data]},
|
28
|
+
"/v2/images/{image_id}/stage"=>{:PUT=>[:stage_binary_image_data]},
|
29
|
+
"/v2/images/{image_id}/import"=>{:POST=>[:import_an_image]},
|
30
|
+
"/v2/info/import"=>{:GET=>[:import_methods_and_values_discovery]},
|
24
31
|
"/v2/tasks"=>{:POST=>[:create_task], :GET=>[:list_tasks]},
|
25
32
|
"/v2/tasks/{task_id}"=>{:GET=>[:show_task_details]},
|
26
33
|
"/v2/schemas/tasks"=>{:GET=>[:show_tasks_schema]},
|
@@ -1,4 +1,8 @@
|
|
1
1
|
module Misty::Openstack::HeatV1
|
2
|
+
def tag
|
3
|
+
'Orchestration API Reference 10.0.0'
|
4
|
+
end
|
5
|
+
|
2
6
|
def api
|
3
7
|
{"/v1/{tenant_id}/build_info"=>{:GET=>[:show_build_information]},
|
4
8
|
"/"=>{:GET=>[:list_versions]},
|
@@ -51,6 +55,7 @@ module Misty::Openstack::HeatV1
|
|
51
55
|
[:suspend_stack,
|
52
56
|
:resume_stack,
|
53
57
|
:cancel_stack_update,
|
58
|
+
:cancel_stack_create_update_without_rollback,
|
54
59
|
:check_stack_resources]},
|
55
60
|
"/v1/{tenant_id}/stacks/{stack_name}/{stack_id}/events"=>
|
56
61
|
{:GET=>[:list_stack_events]},
|
@@ -1,4 +1,8 @@
|
|
1
1
|
module Misty::Openstack::IronicV1
|
2
|
+
def tag
|
3
|
+
'Ironic API Reference 9.2.1'
|
4
|
+
end
|
5
|
+
|
2
6
|
def api
|
3
7
|
{"/"=>{:GET=>[:list_api_versions]},
|
4
8
|
"/v1/"=>{:GET=>[:show_v1_api]},
|
@@ -33,7 +37,7 @@ module Misty::Openstack::IronicV1
|
|
33
37
|
{:DELETE=>[:detach_vif_from_a_node]},
|
34
38
|
"/v1/portgroups"=>{:GET=>[:list_portgroups], :POST=>[:create_portgroup]},
|
35
39
|
"/v1/portgroups/detail"=>{:GET=>[:list_detailed_portgroups]},
|
36
|
-
"/v1/portgroups/{
|
40
|
+
"/v1/portgroups/{portgroup_ident}"=>
|
37
41
|
{:GET=>[:show_portgroup_details],
|
38
42
|
:PATCH=>[:update_a_portgroup],
|
39
43
|
:DELETE=>[:delete_portgroup]},
|
@@ -51,14 +55,33 @@ module Misty::Openstack::IronicV1
|
|
51
55
|
"/v1/portgroups/{portgroup_ident}/ports"=>{:GET=>[:list_ports_by_portgroup]},
|
52
56
|
"/v1/portgroups/{portgroup_ident}/ports/detail"=>
|
53
57
|
{:GET=>[:list_detailed_ports_by_portgroup]},
|
58
|
+
"/v1/volume"=>{:GET=>[:list_links_of_volume_resources]},
|
59
|
+
"/v1/volume/connectors"=>
|
60
|
+
{:GET=>[:list_volume_connectors], :POST=>[:create_volume_connector]},
|
61
|
+
"/v1/volume/connectors/{volume_connector_id}"=>
|
62
|
+
{:GET=>[:show_volume_connector_details],
|
63
|
+
:PATCH=>[:update_a_volume_connector]},
|
64
|
+
"/v1/volume/connector/{volume_connector_id}"=>
|
65
|
+
{:DELETE=>[:delete_volume_connector]},
|
66
|
+
"/v1/volume/targets"=>
|
67
|
+
{:GET=>[:list_volume_targets], :POST=>[:create_volume_target]},
|
68
|
+
"/v1/volume/targets/{volume_target_id}"=>
|
69
|
+
{:GET=>[:show_volume_target_details], :PATCH=>[:update_a_volume_target]},
|
70
|
+
"/v1/volume/target/{volume_target_id}"=>{:DELETE=>[:delete_volume_target]},
|
71
|
+
"/v1/nodes/{node_ident}/volume"=>
|
72
|
+
{:GET=>[:list_links_of_volume_resources_by_node]},
|
73
|
+
"/v1/nodes/{node_ident}/volume/connectors"=>
|
74
|
+
{:GET=>[:list_volume_connectors_by_node]},
|
75
|
+
"/v1/nodes/{node_ident}/volume/targets"=>
|
76
|
+
{:GET=>[:list_volume_targets_by_node]},
|
54
77
|
"/v1/drivers"=>{:GET=>[:list_drivers]},
|
55
78
|
"/v1/drivers/{driver_name}"=>{:GET=>[:show_driver_details]},
|
56
79
|
"/v1/drivers/{driver_name}/properties"=>{:GET=>[:show_driver_properties]},
|
57
80
|
"/v1/drivers/{driver_name}/raid/logical_disk_properties"=>
|
58
81
|
{:GET=>[:show_driver_logical_disk_properties]},
|
59
|
-
"/v1/drivers/{driver_name}/vendor_passthru/methods"=>{:GET=>[:
|
82
|
+
"/v1/drivers/{driver_name}/vendor_passthru/methods"=>{:GET=>[:list_driver_methods]},
|
60
83
|
"/v1/drivers/{driver_name}/vendor_passthru?method={method_name}"=>
|
61
|
-
{:GET=>[:
|
84
|
+
{:GET=>[:call_driver_method]},
|
62
85
|
"/v1/chassis/detail"=>{:GET=>[:list_chassis_with_details]},
|
63
86
|
"/v1/chassis/{chassis_id}"=>
|
64
87
|
{:GET=>[:show_chassis_details],
|
@@ -1,4 +1,8 @@
|
|
1
1
|
module Misty::Openstack::KarborV1
|
2
|
+
def tag
|
3
|
+
'Data Protection API Reference 0.5.1'
|
4
|
+
end
|
5
|
+
|
2
6
|
def api
|
3
7
|
{"/v1/{tenant_id}/protectables"=>{:GET=>[:list_protectable_types]},
|
4
8
|
"/v1/{tenant_id}/protectables/{protectable_type}"=>
|
@@ -27,6 +31,9 @@ module Misty::Openstack::KarborV1
|
|
27
31
|
{:GET=>[:show_checkpoint], :DELETE=>[:delete_checkpoint]},
|
28
32
|
"/v1/{tenant_id}/restores"=>
|
29
33
|
{:GET=>[:list_restores], :POST=>[:create_restore]},
|
30
|
-
"/v1/{tenant_id}/restores/{restore_id}"=>{:GET=>[:show_restore]}
|
34
|
+
"/v1/{tenant_id}/restores/{restore_id}"=>{:GET=>[:show_restore]},
|
35
|
+
"/v1/{tenant_id}/operation_logs"=>{:GET=>[:list_operation_logs]},
|
36
|
+
"/v1/{tenant_id}/operation_logs/{operation_log_id}"=>
|
37
|
+
{:GET=>[:show_operation_log]}}
|
31
38
|
end
|
32
39
|
end
|
@@ -1,24 +1,10 @@
|
|
1
1
|
module Misty::Openstack::KeystoneV2_0_ext
|
2
|
+
def tag
|
3
|
+
'Identity API Reference v3.8'
|
4
|
+
end
|
5
|
+
|
2
6
|
def api_ext
|
3
|
-
{"/v2.0/users/{
|
4
|
-
"/v2.0/users/{user_id}/OS-KSADM/password"=>{:PUT=>[:set_user_password]},
|
5
|
-
"/v2.0/users/{user_id}/OS-KSADM/tenant"=>{:PUT=>[:update_user_tenant]},
|
6
|
-
"/v2.0/OS-KSADM/services"=>
|
7
|
-
{:POST=>[:create_service_admin_extension],
|
8
|
-
:GET=>[:list_services_admin_extension]},
|
9
|
-
"/v2.0/OS-KSADM/services/{service_id}"=>
|
10
|
-
{:GET=>[:shows_service_information_by_id],
|
11
|
-
:DELETE=>[:delete_service_admin_extension]},
|
12
|
-
"/v2.0/OS-KSADM/services/{serviceName}"=>
|
13
|
-
{:GET=>[:show_service_information_by_name]},
|
14
|
-
"/v2.0/OS-KSADM/roles"=>{:POST=>[:create_a_role], :GET=>[:list_all_roles]},
|
15
|
-
"/v2.0/OS-KSADM/roles/{role_id}"=>
|
16
|
-
{:GET=>[:show_a_role], :DELETE=>[:delete_a_role]},
|
17
|
-
"/v2.0/OS-KSADM/roles/{role_name}"=>{:GET=>[:show_role_information_by_name]},
|
18
|
-
"/v2.0/tenants/{tenant_id}/users/{user_id}/roles/OS-KSADM/{role_id}"=>
|
19
|
-
{:PUT=>[:grant_roles_to_user_on_tenant],
|
20
|
-
:DELETE=>[:revoke_role_from_user_on_tenant]},
|
21
|
-
"/v2.0/users/{userId}/OS-KSADM/credentials"=>
|
7
|
+
{"/v2.0/users/{userId}/OS-KSADM/credentials"=>
|
22
8
|
{:POST=>[:grant_credential_to_user],
|
23
9
|
:GET=>[:list_credentials_ec2_extension]},
|
24
10
|
"/v2.0/users/{userId}/OS-KSADM/credentials/OS-KSEC2:ec2Credentials"=>
|
@@ -1,4 +1,8 @@
|
|
1
1
|
module Misty::Openstack::KeystoneV3
|
2
|
+
def tag
|
3
|
+
'Identity API Reference v3.8'
|
4
|
+
end
|
5
|
+
|
2
6
|
def api
|
3
7
|
{"/v3/auth/tokens"=>
|
4
8
|
{:POST=>
|
@@ -84,6 +88,14 @@ module Misty::Openstack::KeystoneV3
|
|
84
88
|
{:GET=>[:show_project_details],
|
85
89
|
:PATCH=>[:update_project],
|
86
90
|
:DELETE=>[:delete_project]},
|
91
|
+
"/v3/projects/{project_id}/tags"=>
|
92
|
+
{:GET=>[:list_tags_for_a_project],
|
93
|
+
:PUT=>[:modify_tag_list_for_a_project],
|
94
|
+
:DELETE=>[:remove_all_tags_from_a_project]},
|
95
|
+
"/v3/projects/{project_id}/tags/{tag}"=>
|
96
|
+
{:GET=>[:check_if_project_contains_tag],
|
97
|
+
:PUT=>[:add_single_tag_to_a_project],
|
98
|
+
:DELETE=>[:delete_single_tag_from_project]},
|
87
99
|
"/v3/regions/{region_id}"=>
|
88
100
|
{:GET=>[:show_region_details],
|
89
101
|
:PATCH=>[:update_region],
|
@@ -1,4 +1,8 @@
|
|
1
1
|
module Misty::Openstack::KeystoneV3_ext
|
2
|
+
def tag
|
3
|
+
'Identity API Reference v3.8'
|
4
|
+
end
|
5
|
+
|
2
6
|
def api_ext
|
3
7
|
{"/v3/policies/{policy_id}/OS-ENDPOINT-POLICY/endpoints/{endpoint_id}"=>
|
4
8
|
{:PUT=>[:associate_policy_and_endpoint],
|
@@ -97,13 +101,13 @@ module Misty::Openstack::KeystoneV3_ext
|
|
97
101
|
:GET=>[:get_a_mapping],
|
98
102
|
:PATCH=>[:update_a_mapping],
|
99
103
|
:DELETE=>[:delete_a_mapping]},
|
100
|
-
"/v3/OS-FEDERATION/mappings"=>{:GET=>[:
|
104
|
+
"/v3/OS-FEDERATION/mappings"=>{:GET=>[:list_mappings]},
|
101
105
|
"/v3/OS-FEDERATION/service_providers/{id}"=>
|
102
106
|
{:PUT=>[:register_a_service_provider],
|
103
107
|
:GET=>[:get_service_provider],
|
104
108
|
:DELETE=>[:delete_service_provider],
|
105
109
|
:PATCH=>[:update_service_provider]},
|
106
|
-
"/v3/OS-FEDERATION/service_providers"=>{:GET=>[:
|
110
|
+
"/v3/OS-FEDERATION/service_providers"=>{:GET=>[:list_service_providers]},
|
107
111
|
"/v3/OS-FEDERATION/projects"=>
|
108
112
|
{:GET=>[:list_projects_a_federated_user_can_access]},
|
109
113
|
"/v3/OS-FEDERATION/domains"=>
|
@@ -1,4 +1,8 @@
|
|
1
1
|
module Misty::Openstack::ManilaV2
|
2
|
+
def tag
|
3
|
+
'Shared File Systems API Reference 6.0.0'
|
4
|
+
end
|
5
|
+
|
2
6
|
def api
|
3
7
|
{"/"=>{:GET=>[:list_all_major_versions]},
|
4
8
|
"/{api_version}"=>{:GET=>[:show_details_of_specific_api_version]},
|
@@ -49,6 +53,14 @@ module Misty::Openstack::ManilaV2
|
|
49
53
|
[:unmanage_share_snapshot,
|
50
54
|
:reset_share_snapshot_state,
|
51
55
|
:force_delete_share_snapshot]},
|
56
|
+
"/v2/{tenant_id}/snapshot-instances"=>
|
57
|
+
{:GET=>[:list_share_snapshot_instances]},
|
58
|
+
"/v2/{tenant_id}/snapshot-instances/detail"=>
|
59
|
+
{:GET=>[:list_share_snapshot_instances_with_details]},
|
60
|
+
"/v2/{tenant_id}/snapshot-instances/{snapshot_instance_id}"=>
|
61
|
+
{:GET=>[:show_share_snapshot_instance_details]},
|
62
|
+
"/v2/{tenant_id}/snapshot-instances/{snapshot_instance_id}/action"=>
|
63
|
+
{:POST=>[:reset_share_snapshot_instance_state]},
|
52
64
|
"/v2/{tenant_id}/share-networks"=>
|
53
65
|
{:GET=>[:list_share_networks], :POST=>[:create_share_network]},
|
54
66
|
"/v2/{tenant_id}/share-networks/detail"=>
|
@@ -104,8 +116,8 @@ module Misty::Openstack::ManilaV2
|
|
104
116
|
"/v2/{tenant_id}/services/enable"=>{:PUT=>[:enable_service]},
|
105
117
|
"/v2/{tenant_id}/services/disable"=>{:PUT=>[:disable_service]},
|
106
118
|
"/v2/{tenant_id}/availability-zones"=>{:GET=>[:list_availability_zones]},
|
107
|
-
"/v2/{tenant_id}/os-share-manage"=>{:POST=>[:manage_share]
|
108
|
-
"/v2/{tenant_id}/os-share-unmanage/{share_id}/unmanage"=>{:POST=> [:unmanage_share]
|
119
|
+
"/v2/{tenant_id}/os-share-manage"=>{:POST=>[:manage_share]},
|
120
|
+
"/v2/{tenant_id}/os-share-unmanage/{share_id}/unmanage"=>{:POST=> [:unmanage_share]},
|
109
121
|
"/v2/{tenant_id}/quota-sets/{tenant_id}/defaults"=>
|
110
122
|
{:GET=>[:show_default_quota_set]},
|
111
123
|
"/v2/{tenant_id}/quota-sets/{tenant_id}?user_id={user_id}"=>
|
@@ -114,30 +126,57 @@ module Misty::Openstack::ManilaV2
|
|
114
126
|
:DELETE=>[:delete_quota_set]},
|
115
127
|
"/v2/{tenant_id}/quota-sets/{tenant_id}/detail?user_id={user_id}"=>
|
116
128
|
{:GET=>[:show_quota_set_in_detail]},
|
117
|
-
"/v2/{tenant_id}/
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
"/v2/{tenant_id}/
|
122
|
-
{:GET=>[:show_consistency_group_details],
|
123
|
-
:PUT=>[:update_consistency_group],
|
124
|
-
:DELETE=>[:delete_consistency_group]},
|
125
|
-
"/v2/{tenant_id}/consistency-groups/{consistency_group_id}/action"=>
|
126
|
-
{:POST=>[:reset_consistency_group_state, :force_delete_consistency_group]},
|
127
|
-
"/v2/{tenant_id}/cgsnapshots"=>
|
128
|
-
{:GET=>[:list_consistency_group_snapshots],
|
129
|
-
:POST=>[:create_consistency_group_snapshot]},
|
130
|
-
"/v2/{tenant_id}/cgsnapshots/detail"=>
|
131
|
-
{:GET=>[:list_consistency_group_snapshots_with_details]},
|
132
|
-
"/v2/{tenant_id}/cgsnapshots/{cgsnapshot_id}"=>
|
133
|
-
{:GET=>[:show_consistency_group_snapshot_details],
|
134
|
-
:PUT=>[:update_consistency_group_snapshot],
|
135
|
-
:DELETE=>[:delete_consistency_group_snapshot]},
|
136
|
-
"/v2/{tenant_id}/cgsnapshots/{cgsnapshot_id}/members"=>
|
137
|
-
{:GET=>[:list_consistency_group_snapshot_members]},
|
138
|
-
"/v2/{tenant_id}/cgsnapshots/{cgsnapshot_id}/action"=>
|
129
|
+
"/v2/{tenant_id}/messages"=>{:GET=>[:list_user_messages]},
|
130
|
+
"/v2/{tenant_id}/messages/{message_id}"=>
|
131
|
+
{:GET=>[:show_user_message_details], :DELETE=>[:delete_message]},
|
132
|
+
"/v2/{tenant_id}/share-replicas"=>{:POST=>[:create_share_replica]},
|
133
|
+
"/v2/{tenant_id}/share-replicas/{share_replica_id}/action"=>
|
139
134
|
{:POST=>
|
140
|
-
[:
|
141
|
-
:
|
135
|
+
[:promote_share_replica,
|
136
|
+
:resync_share_replica,
|
137
|
+
:reset_status_of_the_share_replica,
|
138
|
+
:reset_replica_state_of_the_share_replica,
|
139
|
+
:force_delete_share_replica]},
|
140
|
+
"/v2/{tenant_id}/share-replicas?share_id={share_id}"=>
|
141
|
+
{:GET=>[:list_share_replicas]},
|
142
|
+
"/v2/{tenant_id}/share-replicas/detail?share_id={share_id}"=>
|
143
|
+
{:GET=>[:list_share_replicas_with_details]},
|
144
|
+
"/v2/{tenant_id}/share-replicas/{share_replica_id}"=>
|
145
|
+
{:GET=>[:show_share_replica], :DELETE=>[:delete_share_replica]},
|
146
|
+
"/v2/{tenant_id}/share_groups"=>
|
147
|
+
{:GET=>[:list_share_groups], :POST=>[:create_share_group]},
|
148
|
+
"/v2/{tenant_id}/share_groups/{share_group_id}"=>
|
149
|
+
{:GET=>[:show_share_group_details]},
|
150
|
+
"/v2/{tenant_id}/share-groups/{share_group_id}/action"=>
|
151
|
+
{:POST=>[:reset_share_group_state]},
|
152
|
+
"/v2/{tenant_id}/share-groups/{share_group_id}"=>
|
153
|
+
{:PUT=>[:update_share_group], :DELETE=>[:delete_share_group]},
|
154
|
+
"/v2/{tenant_id}/share-group-types"=>
|
155
|
+
{:GET=>[:list_share_group_types], :POST=>[:create_share_group_type]},
|
156
|
+
"/v2/{tenant_id}/share-group-types/default"=>
|
157
|
+
{:GET=>[:list_default_share_group_types]},
|
158
|
+
"/v2/{tenant_id}/share-group-types/{share_group_type_id}/group_specs"=>
|
159
|
+
{:GET=>[:list_share_group_types_extra_specs],
|
160
|
+
:POST=>[:set_extra_spec_for_share_group_type]},
|
161
|
+
"/v2/{tenant_id}/share-group-types/{share_group_type_id}/share_type_access"=>
|
162
|
+
{:GET=>[:show_share_group_type_access_details]},
|
163
|
+
"/v2/{tenant_id}/share-group-types/{share_group_type_id}/group-specs/{group_spec_key}"=>
|
164
|
+
{:DELETE=>[:unset_an_group_spec]},
|
165
|
+
"/v2/{tenant_id}/share-group-types/{share_group_type_id}/action"=>
|
166
|
+
{:POST=>[:add_share_group_type_access, :remove_share_group_type_access]},
|
167
|
+
"/v2/{tenant_id}/share-group-types/{share_group_type_id}"=>
|
168
|
+
{:DELETE=>[:delete_share_group_type]},
|
169
|
+
"/v2/{tenant_id}/share-group-snapshots"=>
|
170
|
+
{:GET=>[:list_share_group_snapshots], :POST=>[:create_share_group_snapshot]},
|
171
|
+
"/v2/{tenant_id}/share-group-snapshots/detail"=>
|
172
|
+
{:GET=>[:list_share_group_snapshots_with_details]},
|
173
|
+
"/v2/{tenant_id}/share-group-snapshots/{group_snapshot_id}/members"=>
|
174
|
+
{:GET=>[:list_share_group_snapshots_members]},
|
175
|
+
"/v2/{tenant_id}/share-group-snapshots/{group_snapshot_id}"=>
|
176
|
+
{:GET=>[:show_share_group_snapshot_details],
|
177
|
+
:PUT=>[:update_share_group_snapshot],
|
178
|
+
:DELETE=>[:delete_share_group_snapshot]},
|
179
|
+
"/v2/{tenant_id}/share-group-snapshots/{group_snapshot_id}/action"=>
|
180
|
+
{:POST=>[:reset_share_group_snapshot_state]}}
|
142
181
|
end
|
143
182
|
end
|
@@ -1,4 +1,8 @@
|
|
1
1
|
module Misty::Openstack::NeutronV2_0
|
2
|
+
def tag
|
3
|
+
'Networking API Reference 1.10.1'
|
4
|
+
end
|
5
|
+
|
2
6
|
def api
|
3
7
|
{"/"=>{:GET=>[:list_api_versions]},
|
4
8
|
"/v2.0/"=>{:GET=>[:show_api_v2_details]},
|
@@ -8,8 +12,17 @@ module Misty::Openstack::NeutronV2_0
|
|
8
12
|
{:GET=>[:show_network_details],
|
9
13
|
:PUT=>[:update_network],
|
10
14
|
:DELETE=>[:delete_network]},
|
15
|
+
"/v2.0/networks/{network_id}/dhcp-agents"=>
|
16
|
+
{:GET=>[:list_network_dhcp_agents]},
|
11
17
|
"/v2.0/networks"=>
|
12
18
|
{:GET=>[:list_networks], :POST=>[:create_network, :bulk_create_networks]},
|
19
|
+
"/v2.0/agents"=>{:GET=>[:list_agents]},
|
20
|
+
"/v2.0/agents/{agent_id}"=>{:GET=>[:show_agent]},
|
21
|
+
"/v2.0/agents/{agent_id}/dhcp-networks"=>
|
22
|
+
{:GET=>[:list_agent_dhcp_networks],
|
23
|
+
:POST=>[:create_agent_dhcp_network]},
|
24
|
+
"/v2.0/agents/{agent_id}/dhcp-networks/{network_id}"=>
|
25
|
+
{:DELETE=>[:delete_agent_dhcp_network]},
|
13
26
|
"/v2.0/ports/{port_id}"=>
|
14
27
|
{:GET=>[:show_port_details, :show_trunk_details],
|
15
28
|
:PUT=>[:update_port],
|
@@ -156,6 +169,8 @@ module Misty::Openstack::NeutronV2_0
|
|
156
169
|
:DELETE=>[:reset_quota_for_a_project]},
|
157
170
|
"/v2.0/quotas/{project_id}/default"=>
|
158
171
|
{:GET=>[:list_default_quotas_for_a_project]},
|
172
|
+
"/v2.0/quotas/{project_id}/details.json"=>
|
173
|
+
{:GET=>[:show_quota_details_for_a_tenant]},
|
159
174
|
"/v2.0/service-providers"=>{:GET=>[:list_service_providers]},
|
160
175
|
"/v2.0/{resource_type}/{resource_id}/tags"=>
|
161
176
|
{:PUT=>[:replace_all_tags],
|
@@ -164,6 +179,7 @@ module Misty::Openstack::NeutronV2_0
|
|
164
179
|
"/v2.0/{resource_type}/{resource_id}/tags/{tag}"=>
|
165
180
|
{:GET=>[:confirm_a_tag], :PUT=>[:add_a_tag], :DELETE=>[:remove_a_tag]},
|
166
181
|
"/v2.0/qos/rule-types"=>{:GET=>[:list_qos_rule_types]},
|
182
|
+
"/v2.0/qos/rule-types/{rule_type}"=>{:GET=>[:show_qos_rule_type_details]},
|
167
183
|
"/v2.0/qos/policies"=>
|
168
184
|
{:GET=>[:list_qos_policies], :POST=>[:create_qos_policy]},
|
169
185
|
"/v2.0/qos/policies/{policy_id}"=>
|
@@ -184,6 +200,13 @@ module Misty::Openstack::NeutronV2_0
|
|
184
200
|
{:GET=>[:show_dscp_marking_rule_details],
|
185
201
|
:PUT=>[:update_dscp_marking_rule],
|
186
202
|
:DELETE=>[:delete_dscp_marking_rule]},
|
203
|
+
"/v2.0/qos/policies/{policy_id}/minimum_bandwidth_rules"=>
|
204
|
+
{:GET=>[:list_minimum_bandwidth_rules_for_qos_policy],
|
205
|
+
:POST=>[:create_minimum_bandwidth_rule]},
|
206
|
+
"/v2.0/qos/policies/{policy_id}/minimum_bandwidth_rules/{rule_id}"=>
|
207
|
+
{:GET=>[:show_minimum_bandwidth_rule_details],
|
208
|
+
:PUT=>[:update_minimum_bandwidth_rule],
|
209
|
+
:DELETE=>[:delete_minimum_bandwidth_rule]},
|
187
210
|
"/v2.0/lbaas/loadbalancers"=>
|
188
211
|
{:GET=>[:list_load_balancers], :POST=>[:create_a_load_balancer]},
|
189
212
|
"/v2.0/lbaas/loadbalancers/{loadbalancer_id}"=>
|
@@ -197,22 +220,18 @@ module Misty::Openstack::NeutronV2_0
|
|
197
220
|
{:GET=>[:show_listener_details],
|
198
221
|
:PUT=>[:update_listener],
|
199
222
|
:DELETE=>[:remove_listener]},
|
200
|
-
"/v2.0/lbaas/pools"=>
|
201
|
-
{:GET=>[:list_pools],
|
202
|
-
:POST=>[:create_pool]},
|
223
|
+
"/v2.0/lbaas/pools"=>{:GET=>[:list_pools], :POST=>[:create_pool]},
|
203
224
|
"/v2.0/lbaas/pools/{pool_id}"=>
|
204
|
-
{:GET=>[:show_pool_details],
|
205
|
-
:PUT=>[:update_pool],
|
206
|
-
:DELETE=>[:remove_pool]},
|
225
|
+
{:GET=>[:show_pool_details], :PUT=>[:update_pool], :DELETE=>[:remove_pool]},
|
207
226
|
"/v2.0/lbaas/pools/{pool_id}/members"=>
|
208
227
|
{:GET=>[:list_pool_members], :POST=>[:add_member_to_pool]},
|
209
228
|
"/v2.0/lbaas/pools/{pool_id}/members/{member_id}"=>
|
210
229
|
{:GET=>[:show_pool_member_details],
|
211
230
|
:PUT=>[:update_pool_member],
|
212
231
|
:DELETE=>[:remove_member_from_pool]},
|
213
|
-
"/v2.0/lbaas/healthmonitors"=>
|
214
|
-
|
215
|
-
"/v2.0/lbaas/
|
232
|
+
"/v2.0/lbaas/healthmonitors"=>
|
233
|
+
{:GET=>[:list_health_monitors], :POST=>[:create_health_monitor]},
|
234
|
+
"/v2.0/lbaas/healthmonitors/{healthmonitor_id}"=>
|
216
235
|
{:GET=>[:show_health_monitor_details],
|
217
236
|
:PUT=>[:update_health_monitor],
|
218
237
|
:DELETE=>[:remove_health_monitor]},
|
@@ -1,4 +1,8 @@
|
|
1
1
|
module Misty::Openstack::NovaV2_1
|
2
|
+
def tag
|
3
|
+
'Compute API Reference 17.0.0'
|
4
|
+
end
|
5
|
+
|
2
6
|
def api
|
3
7
|
{"/"=>{:GET=>[:list_all_major_versions]},
|
4
8
|
"/{api_version}"=>{:GET=>[:show_details_of_specific_api_version]},
|
@@ -79,14 +83,17 @@ module Misty::Openstack::NovaV2_1
|
|
79
83
|
"/servers/{server_id}/os-volume_attachments"=>
|
80
84
|
{:GET=>[:list_volume_attachments_for_an_instance],
|
81
85
|
:POST=>[:attach_a_volume_to_an_instance]},
|
82
|
-
"/servers/{server_id}/os-volume_attachments/{
|
86
|
+
"/servers/{server_id}/os-volume_attachments/{volume_id}"=>
|
83
87
|
{:GET=>[:show_a_detail_of_a_volume_attachment],
|
84
|
-
:PUT=>[:update_a_volume_attachment],
|
85
88
|
:DELETE=>[:detach_a_volume_from_an_instance]},
|
89
|
+
"/servers/{server_id}/os-volume_attachments/{attachment_id}"=>
|
90
|
+
{:PUT=>[:update_a_volume_attachment]},
|
86
91
|
"/flavors"=>{:GET=>[:list_flavors], :POST=>[:create_flavor]},
|
87
92
|
"/flavors/detail"=>{:GET=>[:list_flavors_with_details]},
|
88
93
|
"/flavors/{flavor_id}"=>
|
89
|
-
{:GET=>[:show_flavor_details],
|
94
|
+
{:GET=>[:show_flavor_details],
|
95
|
+
:PUT=>[:update_flavor_description],
|
96
|
+
:DELETE=>[:delete_flavor]},
|
90
97
|
"/flavors/{flavor_id}/os-flavor-access"=>
|
91
98
|
{:GET=>[:list_flavor_access_information_for_given_flavor]},
|
92
99
|
"/flavors/{flavor_id}/action"=>
|
@@ -145,7 +152,7 @@ module Misty::Openstack::NovaV2_1
|
|
145
152
|
"/os-instance_usage_audit_log"=>{:GET=>[:list_server_usage_audits]},
|
146
153
|
"/os-instance_usage_audit_log/{before_timestamp}"=>
|
147
154
|
{:GET=>[:list_usage_audits_before_specified_time]},
|
148
|
-
"/os-migrations"=>{:GET=>[:
|
155
|
+
"/os-migrations"=>{:GET=>[:old_list_migrations]},
|
149
156
|
"/servers/{server_id}/migrations"=>{:GET=>[:list_migrations]},
|
150
157
|
"/servers/{server_id}/migrations/{migration_id}"=>
|
151
158
|
{:GET=>[:show_migration_details], :DELETE=>[:delete_abort_migration]},
|
@@ -158,6 +165,9 @@ module Misty::Openstack::NovaV2_1
|
|
158
165
|
"/os-quota-sets/{tenant_id}/defaults"=>
|
159
166
|
{:GET=>[:list_default_quotas_for_tenant]},
|
160
167
|
"/os-quota-sets/{tenant_id}/detail"=>{:GET=>[:show_the_detail_of_quota]},
|
168
|
+
"/os-quota-class-sets/{id}"=>
|
169
|
+
{:GET=>[:show_the_quota_for_quota_class],
|
170
|
+
:PUT=>[:create_or_update_quotas_for_quota_class]},
|
161
171
|
"/os-server-groups"=>
|
162
172
|
{:GET=>[:list_server_groups], :POST=>[:create_server_group]},
|
163
173
|
"/os-server-groups/{server_group_id}"=>
|
@@ -171,10 +181,11 @@ module Misty::Openstack::NovaV2_1
|
|
171
181
|
"/os-services"=>{:GET=>[:list_compute_services]},
|
172
182
|
"/os-services/disable"=>{:PUT=>[:disable_scheduling_for_a_compute_service]},
|
173
183
|
"/os-services/disable-log-reason"=>
|
174
|
-
{:PUT=>[:
|
184
|
+
{:PUT=>[:disable_scheduling_for_a_compute_service_and_log_disabled_reason]},
|
175
185
|
"/os-services/enable"=>{:PUT=>[:enable_scheduling_for_a_compute_service]},
|
176
186
|
"/os-services/force-down"=>{:PUT=>[:update_forced_down]},
|
177
|
-
"/os-services/{service_id}"=>
|
187
|
+
"/os-services/{service_id}"=>
|
188
|
+
{:PUT=>[:update_compute_service], :DELETE=>[:delete_compute_service]},
|
178
189
|
"/os-simple-tenant-usage"=>
|
179
190
|
{:GET=>[:list_tenant_usage_statistics_for_all_tenants]},
|
180
191
|
"/os-simple-tenant-usage/{tenant_id}"=>
|