ibm_cloud_power 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +68 -0
- data/LICENSE.txt +202 -0
- data/README.md +56 -10
- data/docs/CloudConnection.md +41 -0
- data/docs/CloudConnectionCreate.md +23 -0
- data/docs/CloudConnectionEndpointClassic.md +19 -0
- data/docs/CloudConnectionEndpointGRE.md +19 -0
- data/docs/CloudConnectionEndpointVPC.md +19 -0
- data/docs/CloudConnectionGRETunnel.md +21 -0
- data/docs/CloudConnectionSpeed.md +16 -0
- data/docs/CloudConnectionUpdate.md +27 -0
- data/docs/CloudConnectionVPC.md +19 -0
- data/docs/CloudConnectionVirtualPrivateClouds.md +17 -0
- data/docs/CloudConnectionVirtualPrivateCloudsVirtualPrivateClouds.md +23 -0
- data/docs/CloudConnections.md +17 -0
- data/docs/CreateDataVolume.md +6 -6
- data/docs/CreateImage.md +3 -3
- data/docs/Image.md +2 -0
- data/docs/ImageReference.md +2 -0
- data/docs/MaximumStorageAllocation.md +21 -0
- data/docs/MultiVolumesCreate.md +6 -4
- data/docs/Network.md +1 -1
- data/docs/NetworkPort.md +2 -0
- data/docs/NetworkReference.md +1 -1
- data/docs/PCloudCloudConnectionsApi.md +394 -0
- data/docs/PCloudEventsApi.md +2 -2
- data/docs/PCloudImagesApi.md +104 -6
- data/docs/PCloudPVMInstancesApi.md +60 -5
- data/docs/PCloudPlacementGroupsApi.md +298 -0
- data/docs/PCloudStorageCapacityApi.md +196 -0
- data/docs/PCloudVolumesApi.md +344 -0
- data/docs/PVMInstance.md +3 -1
- data/docs/PVMInstanceCreate.md +5 -3
- data/docs/PlacementGroup.md +23 -0
- data/docs/PlacementGroupCreate.md +19 -0
- data/docs/PlacementGroupServer.md +17 -0
- data/docs/PlacementGroups.md +17 -0
- data/docs/SAPCreate.md +1 -1
- data/docs/StoragePoolCapacity.md +23 -0
- data/docs/StoragePoolsCapacity.md +19 -0
- data/docs/StorageTypeCapacity.md +21 -0
- data/docs/StorageTypesCapacity.md +19 -0
- data/docs/Volume.md +2 -0
- data/docs/VolumeReference.md +2 -0
- data/docs/VolumesCloneAsyncRequest.md +1 -1
- data/docs/VolumesCloneCancel.md +1 -1
- data/docs/VolumesCloneDetail.md +1 -1
- data/docs/VolumesCloneExecute.md +1 -1
- data/lib/ibm_cloud_power.rb +24 -0
- data/lib/ibm_cloud_power/api/p_cloud_cloud_connections_api.rb +560 -0
- data/lib/ibm_cloud_power/api/p_cloud_events_api.rb +2 -2
- data/lib/ibm_cloud_power/api/p_cloud_images_api.rb +133 -4
- data/lib/ibm_cloud_power/api/p_cloud_placement_groups_api.rb +430 -0
- data/lib/ibm_cloud_power/api/p_cloud_pvm_instances_api.rb +82 -5
- data/lib/ibm_cloud_power/api/p_cloud_storage_capacity_api.rb +274 -0
- data/lib/ibm_cloud_power/api/p_cloud_volumes_api.rb +477 -0
- data/lib/ibm_cloud_power/models/cloud_connection.rb +379 -0
- data/lib/ibm_cloud_power/models/cloud_connection_create.rb +249 -0
- data/lib/ibm_cloud_power/models/cloud_connection_endpoint_classic.rb +218 -0
- data/lib/ibm_cloud_power/models/cloud_connection_endpoint_gre.rb +221 -0
- data/lib/ibm_cloud_power/models/cloud_connection_endpoint_vpc.rb +221 -0
- data/lib/ibm_cloud_power/models/cloud_connection_gre_tunnel.rb +239 -0
- data/lib/ibm_cloud_power/models/cloud_connection_speed.rb +42 -0
- data/lib/ibm_cloud_power/models/cloud_connection_update.rb +257 -0
- data/lib/ibm_cloud_power/models/cloud_connection_virtual_private_clouds.rb +216 -0
- data/lib/ibm_cloud_power/models/cloud_connection_virtual_private_clouds_virtual_private_clouds.rb +259 -0
- data/lib/ibm_cloud_power/models/cloud_connection_vpc.rb +224 -0
- data/lib/ibm_cloud_power/models/cloud_connections.rb +216 -0
- data/lib/ibm_cloud_power/models/create_data_volume.rb +17 -17
- data/lib/ibm_cloud_power/models/create_image.rb +3 -3
- data/lib/ibm_cloud_power/models/image.rb +16 -1
- data/lib/ibm_cloud_power/models/image_reference.rb +16 -1
- data/lib/ibm_cloud_power/models/maximum_storage_allocation.rb +245 -0
- data/lib/ibm_cloud_power/models/multi_volumes_create.rb +17 -7
- data/lib/ibm_cloud_power/models/network.rb +1 -1
- data/lib/ibm_cloud_power/models/network_port.rb +11 -1
- data/lib/ibm_cloud_power/models/network_reference.rb +1 -1
- data/lib/ibm_cloud_power/models/placement_group.rb +295 -0
- data/lib/ibm_cloud_power/models/placement_group_create.rb +263 -0
- data/lib/ibm_cloud_power/models/placement_group_server.rb +214 -0
- data/lib/ibm_cloud_power/models/placement_groups.rb +216 -0
- data/lib/ibm_cloud_power/models/pvm_instance.rb +17 -5
- data/lib/ibm_cloud_power/models/pvm_instance_create.rb +16 -6
- data/lib/ibm_cloud_power/models/pvm_instance_reference.rb +2 -2
- data/lib/ibm_cloud_power/models/sap_create.rb +1 -1
- data/lib/ibm_cloud_power/models/storage_pool_capacity.rb +245 -0
- data/lib/ibm_cloud_power/models/storage_pools_capacity.rb +220 -0
- data/lib/ibm_cloud_power/models/storage_type_capacity.rb +231 -0
- data/lib/ibm_cloud_power/models/storage_types_capacity.rb +220 -0
- data/lib/ibm_cloud_power/models/volume.rb +11 -1
- data/lib/ibm_cloud_power/models/volume_reference.rb +11 -1
- data/lib/ibm_cloud_power/models/volumes_clone_async_request.rb +1 -1
- data/lib/ibm_cloud_power/models/volumes_clone_cancel.rb +1 -1
- data/lib/ibm_cloud_power/models/volumes_clone_detail.rb +1 -1
- data/lib/ibm_cloud_power/models/volumes_clone_execute.rb +1 -1
- data/lib/ibm_cloud_power/version.rb +1 -1
- data/spec/api/p_cloud_cloud_connections_api_spec.rb +132 -0
- data/spec/api/p_cloud_placement_groups_api_spec.rb +108 -0
- data/spec/api/p_cloud_storage_capacity_api_spec.rb +81 -0
- data/spec/models/cloud_connection_create_spec.rb +59 -0
- data/spec/models/cloud_connection_endpoint_classic_spec.rb +47 -0
- data/spec/models/cloud_connection_endpoint_gre_spec.rb +47 -0
- data/spec/models/cloud_connection_endpoint_vpc_spec.rb +47 -0
- data/spec/models/cloud_connection_gre_tunnel_spec.rb +53 -0
- data/spec/models/cloud_connection_spec.rb +113 -0
- data/spec/models/cloud_connection_speed_spec.rb +35 -0
- data/spec/models/cloud_connection_update_spec.rb +71 -0
- data/spec/models/cloud_connection_virtual_private_clouds_spec.rb +41 -0
- data/spec/models/cloud_connection_virtual_private_clouds_virtual_private_clouds_spec.rb +59 -0
- data/spec/models/cloud_connection_vpc_spec.rb +47 -0
- data/spec/models/cloud_connections_spec.rb +41 -0
- data/spec/models/maximum_storage_allocation_spec.rb +53 -0
- data/spec/models/placement_group_create_spec.rb +51 -0
- data/spec/models/placement_group_server_spec.rb +41 -0
- data/spec/models/placement_group_spec.rb +63 -0
- data/spec/models/placement_groups_spec.rb +41 -0
- data/spec/models/storage_pool_capacity_spec.rb +59 -0
- data/spec/models/storage_pools_capacity_spec.rb +47 -0
- data/spec/models/storage_type_capacity_spec.rb +53 -0
- data/spec/models/storage_types_capacity_spec.rb +47 -0
- metadata +130 -32
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#Power Cloud API
|
3
|
+
|
4
|
+
#IBM Power Cloud API for Power Hardware / Infrastructure
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: kylej@us.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0-beta2
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for IbmCloudPower::CloudConnectionCreate
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'CloudConnectionCreate' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = IbmCloudPower::CloudConnectionCreate.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of CloudConnectionCreate' do
|
31
|
+
it 'should create an instance of CloudConnectionCreate' do
|
32
|
+
expect(@instance).to be_instance_of(IbmCloudPower::CloudConnectionCreate)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "name"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "speed"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "global_routing"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "metered"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Power Cloud API
|
3
|
+
|
4
|
+
#IBM Power Cloud API for Power Hardware / Infrastructure
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: kylej@us.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0-beta2
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for IbmCloudPower::CloudConnectionEndpointClassic
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'CloudConnectionEndpointClassic' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = IbmCloudPower::CloudConnectionEndpointClassic.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of CloudConnectionEndpointClassic' do
|
31
|
+
it 'should create an instance of CloudConnectionEndpointClassic' do
|
32
|
+
expect(@instance).to be_instance_of(IbmCloudPower::CloudConnectionEndpointClassic)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "enabled"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "gre"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Power Cloud API
|
3
|
+
|
4
|
+
#IBM Power Cloud API for Power Hardware / Infrastructure
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: kylej@us.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0-beta2
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for IbmCloudPower::CloudConnectionEndpointGRE
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'CloudConnectionEndpointGRE' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = IbmCloudPower::CloudConnectionEndpointGRE.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of CloudConnectionEndpointGRE' do
|
31
|
+
it 'should create an instance of CloudConnectionEndpointGRE' do
|
32
|
+
expect(@instance).to be_instance_of(IbmCloudPower::CloudConnectionEndpointGRE)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "enabled"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "tunnels"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Power Cloud API
|
3
|
+
|
4
|
+
#IBM Power Cloud API for Power Hardware / Infrastructure
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: kylej@us.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0-beta2
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for IbmCloudPower::CloudConnectionEndpointVPC
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'CloudConnectionEndpointVPC' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = IbmCloudPower::CloudConnectionEndpointVPC.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of CloudConnectionEndpointVPC' do
|
31
|
+
it 'should create an instance of CloudConnectionEndpointVPC' do
|
32
|
+
expect(@instance).to be_instance_of(IbmCloudPower::CloudConnectionEndpointVPC)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "enabled"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "vpcs"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#Power Cloud API
|
3
|
+
|
4
|
+
#IBM Power Cloud API for Power Hardware / Infrastructure
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: kylej@us.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0-beta2
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for IbmCloudPower::CloudConnectionGRETunnel
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'CloudConnectionGRETunnel' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = IbmCloudPower::CloudConnectionGRETunnel.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of CloudConnectionGRETunnel' do
|
31
|
+
it 'should create an instance of CloudConnectionGRETunnel' do
|
32
|
+
expect(@instance).to be_instance_of(IbmCloudPower::CloudConnectionGRETunnel)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "source_ip_address"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "dest_ip_address"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "cidr"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -0,0 +1,113 @@
|
|
1
|
+
=begin
|
2
|
+
#Power Cloud API
|
3
|
+
|
4
|
+
#IBM Power Cloud API for Power Hardware / Infrastructure
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: kylej@us.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0-beta2
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for IbmCloudPower::CloudConnection
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'CloudConnection' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = IbmCloudPower::CloudConnection.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of CloudConnection' do
|
31
|
+
it 'should create an instance of CloudConnection' do
|
32
|
+
expect(@instance).to be_instance_of(IbmCloudPower::CloudConnection)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "cloud_connection_id"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "name"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "speed"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "global_routing"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "classic"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "vpc"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "creation_date"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
describe 'test attribute "user_ip_address"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "ibm_ip_address"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
describe 'test attribute "port"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
describe 'test attribute "link_status"' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
describe 'test attribute "metered"' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
describe 'test attribute "networks"' do
|
108
|
+
it 'should work' do
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
=begin
|
2
|
+
#Power Cloud API
|
3
|
+
|
4
|
+
#IBM Power Cloud API for Power Hardware / Infrastructure
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: kylej@us.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0-beta2
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for IbmCloudPower::CloudConnectionSpeed
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'CloudConnectionSpeed' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = IbmCloudPower::CloudConnectionSpeed.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of CloudConnectionSpeed' do
|
31
|
+
it 'should create an instance of CloudConnectionSpeed' do
|
32
|
+
expect(@instance).to be_instance_of(IbmCloudPower::CloudConnectionSpeed)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
=begin
|
2
|
+
#Power Cloud API
|
3
|
+
|
4
|
+
#IBM Power Cloud API for Power Hardware / Infrastructure
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: kylej@us.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0-beta2
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for IbmCloudPower::CloudConnectionUpdate
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'CloudConnectionUpdate' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = IbmCloudPower::CloudConnectionUpdate.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of CloudConnectionUpdate' do
|
31
|
+
it 'should create an instance of CloudConnectionUpdate' do
|
32
|
+
expect(@instance).to be_instance_of(IbmCloudPower::CloudConnectionUpdate)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "name"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "speed"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "global_routing"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "metered"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "classic"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "vpc"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
end
|