autosde_openapi_client 1.0.47 → 1.0.51
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -0
- data/docs/HostCluster.md +3 -1
- data/docs/HostClusterCreate.md +3 -1
- data/docs/HostClusterMembership.md +24 -0
- data/docs/HostClusterMembershipApi.md +276 -0
- data/docs/HostClusterVolumeMapping.md +26 -0
- data/docs/HostClusterVolumeMappingApi.md +276 -0
- data/docs/HostClusterVolumeMappingCreate.md +24 -0
- data/docs/HostClusterVolumeMappingResponse.md +26 -0
- data/docs/VolumeCreate.md +2 -0
- data/lib/autosde_openapi_client/api/host_cluster_membership_api.rb +254 -0
- data/lib/autosde_openapi_client/api/host_cluster_volume_mapping_api.rb +254 -0
- data/lib/autosde_openapi_client/models/host_cluster.rb +13 -4
- data/lib/autosde_openapi_client/models/host_cluster_create.rb +13 -4
- data/lib/autosde_openapi_client/models/host_cluster_membership.rb +287 -0
- data/lib/autosde_openapi_client/models/host_cluster_volume_mapping.rb +299 -0
- data/lib/autosde_openapi_client/models/host_cluster_volume_mapping_create.rb +291 -0
- data/lib/autosde_openapi_client/models/host_cluster_volume_mapping_response.rb +301 -0
- data/lib/autosde_openapi_client/models/storage_system.rb +0 -15
- data/lib/autosde_openapi_client/models/storage_system_create.rb +0 -15
- data/lib/autosde_openapi_client/models/volume_create.rb +13 -1
- data/lib/autosde_openapi_client/version.rb +2 -2
- data/lib/autosde_openapi_client.rb +6 -0
- data/spec/api/host_cluster_membership_api_spec.rb +74 -0
- data/spec/api/host_cluster_volume_mapping_api_spec.rb +74 -0
- data/spec/models/host_cluster_create_spec.rb +6 -0
- data/spec/models/host_cluster_membership_spec.rb +56 -0
- data/spec/models/host_cluster_spec.rb +6 -0
- data/spec/models/host_cluster_volume_mapping_create_spec.rb +56 -0
- data/spec/models/host_cluster_volume_mapping_response_spec.rb +62 -0
- data/spec/models/host_cluster_volume_mapping_spec.rb +62 -0
- data/spec/models/volume_create_spec.rb +6 -0
- metadata +26 -2
@@ -22,6 +22,9 @@ module AutosdeOpenapiClient
|
|
22
22
|
# component_state
|
23
23
|
attr_accessor :component_state
|
24
24
|
|
25
|
+
# count
|
26
|
+
attr_accessor :count
|
27
|
+
|
25
28
|
# name
|
26
29
|
attr_accessor :name
|
27
30
|
|
@@ -67,6 +70,7 @@ module AutosdeOpenapiClient
|
|
67
70
|
{
|
68
71
|
:'compliant' => :'compliant',
|
69
72
|
:'component_state' => :'component_state',
|
73
|
+
:'count' => :'count',
|
70
74
|
:'name' => :'name',
|
71
75
|
:'service' => :'service',
|
72
76
|
:'size' => :'size',
|
@@ -86,6 +90,7 @@ module AutosdeOpenapiClient
|
|
86
90
|
{
|
87
91
|
:'compliant' => :'Boolean',
|
88
92
|
:'component_state' => :'String',
|
93
|
+
:'count' => :'Integer',
|
89
94
|
:'name' => :'String',
|
90
95
|
:'service' => :'String',
|
91
96
|
:'size' => :'Integer',
|
@@ -126,6 +131,12 @@ module AutosdeOpenapiClient
|
|
126
131
|
self.component_state = attributes[:'component_state']
|
127
132
|
end
|
128
133
|
|
134
|
+
if attributes.key?(:'count')
|
135
|
+
self.count = attributes[:'count']
|
136
|
+
else
|
137
|
+
self.count = 1
|
138
|
+
end
|
139
|
+
|
129
140
|
if attributes.key?(:'name')
|
130
141
|
self.name = attributes[:'name']
|
131
142
|
end
|
@@ -188,6 +199,7 @@ module AutosdeOpenapiClient
|
|
188
199
|
self.class == o.class &&
|
189
200
|
compliant == o.compliant &&
|
190
201
|
component_state == o.component_state &&
|
202
|
+
count == o.count &&
|
191
203
|
name == o.name &&
|
192
204
|
service == o.service &&
|
193
205
|
size == o.size &&
|
@@ -205,7 +217,7 @@ module AutosdeOpenapiClient
|
|
205
217
|
# Calculates hash code according to all attributes.
|
206
218
|
# @return [Integer] Hash code
|
207
219
|
def hash
|
208
|
-
[compliant, component_state, name, service, size, status, unmapped_since, uuid].hash
|
220
|
+
[compliant, component_state, count, name, service, size, status, unmapped_since, uuid].hash
|
209
221
|
end
|
210
222
|
|
211
223
|
# Builds the object from hash
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Site Manager API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.51
|
7
7
|
Contact: autosde@il.ibm.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.0
|
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.0.0
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module AutosdeOpenapiClient
|
14
|
-
VERSION = '1.0.
|
14
|
+
VERSION = '1.0.51'
|
15
15
|
end
|
@@ -32,6 +32,10 @@ require 'autosde_openapi_client/models/capability_translation_create'
|
|
32
32
|
require 'autosde_openapi_client/models/host'
|
33
33
|
require 'autosde_openapi_client/models/host_cluster'
|
34
34
|
require 'autosde_openapi_client/models/host_cluster_create'
|
35
|
+
require 'autosde_openapi_client/models/host_cluster_membership'
|
36
|
+
require 'autosde_openapi_client/models/host_cluster_volume_mapping'
|
37
|
+
require 'autosde_openapi_client/models/host_cluster_volume_mapping_create'
|
38
|
+
require 'autosde_openapi_client/models/host_cluster_volume_mapping_response'
|
35
39
|
require 'autosde_openapi_client/models/host_create'
|
36
40
|
require 'autosde_openapi_client/models/host_volume_connection'
|
37
41
|
require 'autosde_openapi_client/models/host_volume_connection_create'
|
@@ -79,6 +83,8 @@ require 'autosde_openapi_client/api/auto_sde_role_api'
|
|
79
83
|
require 'autosde_openapi_client/api/capability_translation_api'
|
80
84
|
require 'autosde_openapi_client/api/host_api'
|
81
85
|
require 'autosde_openapi_client/api/host_cluster_api'
|
86
|
+
require 'autosde_openapi_client/api/host_cluster_membership_api'
|
87
|
+
require 'autosde_openapi_client/api/host_cluster_volume_mapping_api'
|
82
88
|
require 'autosde_openapi_client/api/host_volume_connection_api'
|
83
89
|
require 'autosde_openapi_client/api/job_api'
|
84
90
|
require 'autosde_openapi_client/api/native_capability_api'
|
@@ -0,0 +1,74 @@
|
|
1
|
+
=begin
|
2
|
+
#Site Manager API
|
3
|
+
|
4
|
+
#Site Manager API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: autosde@il.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for AutosdeOpenapiClient::HostClusterMembershipApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'HostClusterMembershipApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = AutosdeOpenapiClient::HostClusterMembershipApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of HostClusterMembershipApi' do
|
30
|
+
it 'should create an instance of HostClusterMembershipApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(AutosdeOpenapiClient::HostClusterMembershipApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for host_cluster_membership_get
|
36
|
+
# @param [Hash] opts the optional parameters
|
37
|
+
# @return [Array<HostClusterMembership>]
|
38
|
+
describe 'host_cluster_membership_get test' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# unit tests for host_cluster_membership_pk_delete
|
45
|
+
# @param pk
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [Array<HostClusterMembership>]
|
48
|
+
describe 'host_cluster_membership_pk_delete test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# unit tests for host_cluster_membership_pk_get
|
55
|
+
# @param pk
|
56
|
+
# @param [Hash] opts the optional parameters
|
57
|
+
# @return [Array<HostClusterMembership>]
|
58
|
+
describe 'host_cluster_membership_pk_get test' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
# unit tests for host_cluster_membership_post
|
65
|
+
# @param host_cluster_membership
|
66
|
+
# @param [Hash] opts the optional parameters
|
67
|
+
# @return [HostClusterMembership]
|
68
|
+
describe 'host_cluster_membership_post test' do
|
69
|
+
it 'should work' do
|
70
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
end
|
@@ -0,0 +1,74 @@
|
|
1
|
+
=begin
|
2
|
+
#Site Manager API
|
3
|
+
|
4
|
+
#Site Manager API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: autosde@il.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for AutosdeOpenapiClient::HostClusterVolumeMappingApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'HostClusterVolumeMappingApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = AutosdeOpenapiClient::HostClusterVolumeMappingApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of HostClusterVolumeMappingApi' do
|
30
|
+
it 'should create an instance of HostClusterVolumeMappingApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(AutosdeOpenapiClient::HostClusterVolumeMappingApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for host_clusters_mapping_get
|
36
|
+
# @param [Hash] opts the optional parameters
|
37
|
+
# @return [Array<HostClusterVolumeMappingResponse>]
|
38
|
+
describe 'host_clusters_mapping_get test' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# unit tests for host_clusters_mapping_pk_delete
|
45
|
+
# @param pk
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [Array<HostClusterVolumeMappingResponse>]
|
48
|
+
describe 'host_clusters_mapping_pk_delete test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# unit tests for host_clusters_mapping_pk_get
|
55
|
+
# @param pk
|
56
|
+
# @param [Hash] opts the optional parameters
|
57
|
+
# @return [Array<HostClusterVolumeMappingResponse>]
|
58
|
+
describe 'host_clusters_mapping_pk_get test' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
# unit tests for host_clusters_mapping_post
|
65
|
+
# @param host_cluster_volume_mapping_create
|
66
|
+
# @param [Hash] opts the optional parameters
|
67
|
+
# @return [HostClusterVolumeMapping]
|
68
|
+
describe 'host_clusters_mapping_post test' do
|
69
|
+
it 'should work' do
|
70
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
end
|
@@ -61,4 +61,10 @@ describe AutosdeOpenapiClient::HostClusterCreate do
|
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
64
|
+
describe 'test attribute "volumes"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
64
70
|
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
=begin
|
2
|
+
#Site Manager API
|
3
|
+
|
4
|
+
#Site Manager API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: autosde@il.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for AutosdeOpenapiClient::HostClusterMembership
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe AutosdeOpenapiClient::HostClusterMembership do
|
21
|
+
let(:instance) { AutosdeOpenapiClient::HostClusterMembership.new }
|
22
|
+
|
23
|
+
describe 'test an instance of HostClusterMembership' do
|
24
|
+
it 'should create an instance of HostClusterMembership' do
|
25
|
+
expect(instance).to be_instance_of(AutosdeOpenapiClient::HostClusterMembership)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "cluster"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "component_state"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
38
|
+
# validator.allowable_values.each do |value|
|
39
|
+
# expect { instance.component_state = value }.not_to raise_error
|
40
|
+
# end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
describe 'test attribute "host"' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
describe 'test attribute "uuid"' do
|
51
|
+
it 'should work' do
|
52
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
=begin
|
2
|
+
#Site Manager API
|
3
|
+
|
4
|
+
#Site Manager API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: autosde@il.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for AutosdeOpenapiClient::HostClusterVolumeMappingCreate
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe AutosdeOpenapiClient::HostClusterVolumeMappingCreate do
|
21
|
+
let(:instance) { AutosdeOpenapiClient::HostClusterVolumeMappingCreate.new }
|
22
|
+
|
23
|
+
describe 'test an instance of HostClusterVolumeMappingCreate' do
|
24
|
+
it 'should create an instance of HostClusterVolumeMappingCreate' do
|
25
|
+
expect(instance).to be_instance_of(AutosdeOpenapiClient::HostClusterVolumeMappingCreate)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "cluster"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "component_state"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
38
|
+
# validator.allowable_values.each do |value|
|
39
|
+
# expect { instance.component_state = value }.not_to raise_error
|
40
|
+
# end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
describe 'test attribute "lun"' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
describe 'test attribute "volume"' do
|
51
|
+
it 'should work' do
|
52
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
=begin
|
2
|
+
#Site Manager API
|
3
|
+
|
4
|
+
#Site Manager API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: autosde@il.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for AutosdeOpenapiClient::HostClusterVolumeMappingResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe AutosdeOpenapiClient::HostClusterVolumeMappingResponse do
|
21
|
+
let(:instance) { AutosdeOpenapiClient::HostClusterVolumeMappingResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of HostClusterVolumeMappingResponse' do
|
24
|
+
it 'should create an instance of HostClusterVolumeMappingResponse' do
|
25
|
+
expect(instance).to be_instance_of(AutosdeOpenapiClient::HostClusterVolumeMappingResponse)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "cluster"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "component_state"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
38
|
+
# validator.allowable_values.each do |value|
|
39
|
+
# expect { instance.component_state = value }.not_to raise_error
|
40
|
+
# end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
describe 'test attribute "lun"' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
describe 'test attribute "uuid"' do
|
51
|
+
it 'should work' do
|
52
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
describe 'test attribute "volume"' do
|
57
|
+
it 'should work' do
|
58
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
=begin
|
2
|
+
#Site Manager API
|
3
|
+
|
4
|
+
#Site Manager API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: autosde@il.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for AutosdeOpenapiClient::HostClusterVolumeMapping
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe AutosdeOpenapiClient::HostClusterVolumeMapping do
|
21
|
+
let(:instance) { AutosdeOpenapiClient::HostClusterVolumeMapping.new }
|
22
|
+
|
23
|
+
describe 'test an instance of HostClusterVolumeMapping' do
|
24
|
+
it 'should create an instance of HostClusterVolumeMapping' do
|
25
|
+
expect(instance).to be_instance_of(AutosdeOpenapiClient::HostClusterVolumeMapping)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "cluster"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "component_state"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
38
|
+
# validator.allowable_values.each do |value|
|
39
|
+
# expect { instance.component_state = value }.not_to raise_error
|
40
|
+
# end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
describe 'test attribute "lun"' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
describe 'test attribute "uuid"' do
|
51
|
+
it 'should work' do
|
52
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
describe 'test attribute "volume"' do
|
57
|
+
it 'should work' do
|
58
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
end
|
@@ -41,6 +41,12 @@ describe AutosdeOpenapiClient::VolumeCreate do
|
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
44
|
+
describe 'test attribute "count"' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
44
50
|
describe 'test attribute "name"' do
|
45
51
|
it 'should work' do
|
46
52
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autosde_openapi_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.51
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -85,6 +85,12 @@ files:
|
|
85
85
|
- docs/HostCluster.md
|
86
86
|
- docs/HostClusterApi.md
|
87
87
|
- docs/HostClusterCreate.md
|
88
|
+
- docs/HostClusterMembership.md
|
89
|
+
- docs/HostClusterMembershipApi.md
|
90
|
+
- docs/HostClusterVolumeMapping.md
|
91
|
+
- docs/HostClusterVolumeMappingApi.md
|
92
|
+
- docs/HostClusterVolumeMappingCreate.md
|
93
|
+
- docs/HostClusterVolumeMappingResponse.md
|
88
94
|
- docs/HostCreate.md
|
89
95
|
- docs/HostVolumeConnection.md
|
90
96
|
- docs/HostVolumeConnectionApi.md
|
@@ -148,6 +154,8 @@ files:
|
|
148
154
|
- lib/autosde_openapi_client/api/capability_translation_api.rb
|
149
155
|
- lib/autosde_openapi_client/api/host_api.rb
|
150
156
|
- lib/autosde_openapi_client/api/host_cluster_api.rb
|
157
|
+
- lib/autosde_openapi_client/api/host_cluster_membership_api.rb
|
158
|
+
- lib/autosde_openapi_client/api/host_cluster_volume_mapping_api.rb
|
151
159
|
- lib/autosde_openapi_client/api/host_volume_connection_api.rb
|
152
160
|
- lib/autosde_openapi_client/api/job_api.rb
|
153
161
|
- lib/autosde_openapi_client/api/native_capability_api.rb
|
@@ -182,6 +190,10 @@ files:
|
|
182
190
|
- lib/autosde_openapi_client/models/host.rb
|
183
191
|
- lib/autosde_openapi_client/models/host_cluster.rb
|
184
192
|
- lib/autosde_openapi_client/models/host_cluster_create.rb
|
193
|
+
- lib/autosde_openapi_client/models/host_cluster_membership.rb
|
194
|
+
- lib/autosde_openapi_client/models/host_cluster_volume_mapping.rb
|
195
|
+
- lib/autosde_openapi_client/models/host_cluster_volume_mapping_create.rb
|
196
|
+
- lib/autosde_openapi_client/models/host_cluster_volume_mapping_response.rb
|
185
197
|
- lib/autosde_openapi_client/models/host_create.rb
|
186
198
|
- lib/autosde_openapi_client/models/host_volume_connection.rb
|
187
199
|
- lib/autosde_openapi_client/models/host_volume_connection_create.rb
|
@@ -228,6 +240,8 @@ files:
|
|
228
240
|
- spec/api/capability_translation_api_spec.rb
|
229
241
|
- spec/api/host_api_spec.rb
|
230
242
|
- spec/api/host_cluster_api_spec.rb
|
243
|
+
- spec/api/host_cluster_membership_api_spec.rb
|
244
|
+
- spec/api/host_cluster_volume_mapping_api_spec.rb
|
231
245
|
- spec/api/host_volume_connection_api_spec.rb
|
232
246
|
- spec/api/job_api_spec.rb
|
233
247
|
- spec/api/native_capability_api_spec.rb
|
@@ -259,7 +273,11 @@ files:
|
|
259
273
|
- spec/models/capability_translation_create_spec.rb
|
260
274
|
- spec/models/capability_translation_spec.rb
|
261
275
|
- spec/models/host_cluster_create_spec.rb
|
276
|
+
- spec/models/host_cluster_membership_spec.rb
|
262
277
|
- spec/models/host_cluster_spec.rb
|
278
|
+
- spec/models/host_cluster_volume_mapping_create_spec.rb
|
279
|
+
- spec/models/host_cluster_volume_mapping_response_spec.rb
|
280
|
+
- spec/models/host_cluster_volume_mapping_spec.rb
|
263
281
|
- spec/models/host_create_spec.rb
|
264
282
|
- spec/models/host_spec.rb
|
265
283
|
- spec/models/host_volume_connection_create_spec.rb
|
@@ -329,6 +347,7 @@ test_files:
|
|
329
347
|
- spec/api/storage_host_api_spec.rb
|
330
348
|
- spec/api/host_cluster_api_spec.rb
|
331
349
|
- spec/api/volume_safe_delete_api_spec.rb
|
350
|
+
- spec/api/host_cluster_membership_api_spec.rb
|
332
351
|
- spec/api/authentication_api_spec.rb
|
333
352
|
- spec/api/account_api_spec.rb
|
334
353
|
- spec/api/system_type_api_spec.rb
|
@@ -345,6 +364,7 @@ test_files:
|
|
345
364
|
- spec/api/auto_sde_project_api_spec.rb
|
346
365
|
- spec/api/host_volume_connection_api_spec.rb
|
347
366
|
- spec/api/profile_api_spec.rb
|
367
|
+
- spec/api/host_cluster_volume_mapping_api_spec.rb
|
348
368
|
- spec/api/service_resource_attachment_api_spec.rb
|
349
369
|
- spec/api/volume_api_spec.rb
|
350
370
|
- spec/api_client_spec.rb
|
@@ -357,6 +377,7 @@ test_files:
|
|
357
377
|
- spec/models/address_create_spec.rb
|
358
378
|
- spec/models/storage_resource_response_spec.rb
|
359
379
|
- spec/models/snapshot_spec.rb
|
380
|
+
- spec/models/host_cluster_volume_mapping_create_spec.rb
|
360
381
|
- spec/models/native_capability_spec.rb
|
361
382
|
- spec/models/authentication_spec.rb
|
362
383
|
- spec/models/system_type_create_spec.rb
|
@@ -366,6 +387,7 @@ test_files:
|
|
366
387
|
- spec/models/account_post_request_spec.rb
|
367
388
|
- spec/models/volume_spec.rb
|
368
389
|
- spec/models/account_spec.rb
|
390
|
+
- spec/models/host_cluster_volume_mapping_spec.rb
|
369
391
|
- spec/models/storage_host_volume_mapping_create_spec.rb
|
370
392
|
- spec/models/service_create_spec.rb
|
371
393
|
- spec/models/capability_translation_spec.rb
|
@@ -385,6 +407,7 @@ test_files:
|
|
385
407
|
- spec/models/storage_host_spec.rb
|
386
408
|
- spec/models/storage_host_create_spec.rb
|
387
409
|
- spec/models/host_spec.rb
|
410
|
+
- spec/models/host_cluster_membership_spec.rb
|
388
411
|
- spec/models/abstract_capability_spec.rb
|
389
412
|
- spec/models/volume_safe_delete_create_spec.rb
|
390
413
|
- spec/models/service_spec.rb
|
@@ -393,6 +416,7 @@ test_files:
|
|
393
416
|
- spec/models/storage_host_volume_mapping_response_spec.rb
|
394
417
|
- spec/models/account_post_response_spec.rb
|
395
418
|
- spec/models/volume_update_spec.rb
|
419
|
+
- spec/models/host_cluster_volume_mapping_response_spec.rb
|
396
420
|
- spec/models/auto_sde_role_spec.rb
|
397
421
|
- spec/models/capability_translation_create_spec.rb
|
398
422
|
- spec/models/storage_host_volume_mapping_spec.rb
|