ovirt-engine-sdk 4.2.0.alpha5 → 4.2.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
@@ -5380,6 +5380,24 @@ module OvirtSDK4
5380
5380
 
5381
5381
  class ImageTransfer < Identified
5382
5382
 
5383
+ #
5384
+ # Returns the value of the `active` attribute.
5385
+ #
5386
+ # @return [Boolean]
5387
+ #
5388
+ def active
5389
+ @active
5390
+ end
5391
+
5392
+ #
5393
+ # Sets the value of the `active` attribute.
5394
+ #
5395
+ # @param value [Boolean]
5396
+ #
5397
+ def active=(value)
5398
+ @active = value
5399
+ end
5400
+
5383
5401
  #
5384
5402
  # Returns the value of the `comment` attribute.
5385
5403
  #
@@ -5624,6 +5642,42 @@ module OvirtSDK4
5624
5642
  @snapshot = value
5625
5643
  end
5626
5644
 
5645
+ #
5646
+ # Returns the value of the `transfer_url` attribute.
5647
+ #
5648
+ # @return [String]
5649
+ #
5650
+ def transfer_url
5651
+ @transfer_url
5652
+ end
5653
+
5654
+ #
5655
+ # Sets the value of the `transfer_url` attribute.
5656
+ #
5657
+ # @param value [String]
5658
+ #
5659
+ def transfer_url=(value)
5660
+ @transfer_url = value
5661
+ end
5662
+
5663
+ #
5664
+ # Returns the value of the `transferred` attribute.
5665
+ #
5666
+ # @return [Integer]
5667
+ #
5668
+ def transferred
5669
+ @transferred
5670
+ end
5671
+
5672
+ #
5673
+ # Sets the value of the `transferred` attribute.
5674
+ #
5675
+ # @param value [Integer]
5676
+ #
5677
+ def transferred=(value)
5678
+ @transferred = value
5679
+ end
5680
+
5627
5681
  #
5628
5682
  # Creates a new instance of the {ImageTransfer} class.
5629
5683
  #
@@ -5631,6 +5685,8 @@ module OvirtSDK4
5631
5685
  # should be symbols corresponding to the names of the attributes. The values of the hash
5632
5686
  # should be the values of the attributes.
5633
5687
  #
5688
+ # @option opts [Boolean] :active The value of attribute `active`.
5689
+ #
5634
5690
  # @option opts [String] :comment The value of attribute `comment`.
5635
5691
  #
5636
5692
  # @option opts [String] :description The value of attribute `description`.
@@ -5655,9 +5711,14 @@ module OvirtSDK4
5655
5711
  #
5656
5712
  # @option opts [DiskSnapshot, Hash] :snapshot The value of attribute `snapshot`.
5657
5713
  #
5714
+ # @option opts [String] :transfer_url The value of attribute `transfer_url`.
5715
+ #
5716
+ # @option opts [Integer] :transferred The value of attribute `transferred`.
5717
+ #
5658
5718
  #
5659
5719
  def initialize(opts = {})
5660
5720
  super(opts)
5721
+ self.active = opts[:active]
5661
5722
  self.direction = opts[:direction]
5662
5723
  self.disk = opts[:disk]
5663
5724
  self.host = opts[:host]
@@ -5666,6 +5727,8 @@ module OvirtSDK4
5666
5727
  self.proxy_url = opts[:proxy_url]
5667
5728
  self.signed_ticket = opts[:signed_ticket]
5668
5729
  self.snapshot = opts[:snapshot]
5730
+ self.transfer_url = opts[:transfer_url]
5731
+ self.transferred = opts[:transferred]
5669
5732
  end
5670
5733
 
5671
5734
  #
@@ -5673,6 +5736,7 @@ module OvirtSDK4
5673
5736
  #
5674
5737
  def ==(other)
5675
5738
  super &&
5739
+ @active == other.active &&
5676
5740
  @direction == other.direction &&
5677
5741
  @disk == other.disk &&
5678
5742
  @host == other.host &&
@@ -5680,7 +5744,9 @@ module OvirtSDK4
5680
5744
  @phase == other.phase &&
5681
5745
  @proxy_url == other.proxy_url &&
5682
5746
  @signed_ticket == other.signed_ticket &&
5683
- @snapshot == other.snapshot
5747
+ @snapshot == other.snapshot &&
5748
+ @transfer_url == other.transfer_url &&
5749
+ @transferred == other.transferred
5684
5750
  end
5685
5751
 
5686
5752
  #
@@ -5688,6 +5754,7 @@ module OvirtSDK4
5688
5754
  #
5689
5755
  def hash
5690
5756
  super +
5757
+ @active.hash +
5691
5758
  @direction.hash +
5692
5759
  @disk.hash +
5693
5760
  @host.hash +
@@ -5695,7 +5762,9 @@ module OvirtSDK4
5695
5762
  @phase.hash +
5696
5763
  @proxy_url.hash +
5697
5764
  @signed_ticket.hash +
5698
- @snapshot.hash
5765
+ @snapshot.hash +
5766
+ @transfer_url.hash +
5767
+ @transferred.hash
5699
5768
  end
5700
5769
 
5701
5770
  end
@@ -9521,6 +9590,56 @@ module OvirtSDK4
9521
9590
  @dns_resolver_configuration = value
9522
9591
  end
9523
9592
 
9593
+ #
9594
+ # Returns the value of the `external_provider` attribute.
9595
+ #
9596
+ # @return [OpenStackNetworkProvider]
9597
+ #
9598
+ def external_provider
9599
+ @external_provider
9600
+ end
9601
+
9602
+ #
9603
+ # Sets the value of the `external_provider` attribute.
9604
+ #
9605
+ # @param value [OpenStackNetworkProvider, Hash]
9606
+ #
9607
+ # The `value` parameter can be an instance of {OvirtSDK4::OpenStackNetworkProvider} or a hash.
9608
+ # If it is a hash then a new instance will be created passing the hash as the
9609
+ # `opts` parameter to the constructor.
9610
+ #
9611
+ def external_provider=(value)
9612
+ if value.is_a?(Hash)
9613
+ value = OpenStackNetworkProvider.new(value)
9614
+ end
9615
+ @external_provider = value
9616
+ end
9617
+
9618
+ #
9619
+ # Returns the value of the `external_provider_physical_network` attribute.
9620
+ #
9621
+ # @return [Network]
9622
+ #
9623
+ def external_provider_physical_network
9624
+ @external_provider_physical_network
9625
+ end
9626
+
9627
+ #
9628
+ # Sets the value of the `external_provider_physical_network` attribute.
9629
+ #
9630
+ # @param value [Network, Hash]
9631
+ #
9632
+ # The `value` parameter can be an instance of {OvirtSDK4::Network} or a hash.
9633
+ # If it is a hash then a new instance will be created passing the hash as the
9634
+ # `opts` parameter to the constructor.
9635
+ #
9636
+ def external_provider_physical_network=(value)
9637
+ if value.is_a?(Hash)
9638
+ value = Network.new(value)
9639
+ end
9640
+ @external_provider_physical_network = value
9641
+ end
9642
+
9524
9643
  #
9525
9644
  # Returns the value of the `id` attribute.
9526
9645
  #
@@ -9837,6 +9956,10 @@ module OvirtSDK4
9837
9956
  #
9838
9957
  # @option opts [DnsResolverConfiguration, Hash] :dns_resolver_configuration The value of attribute `dns_resolver_configuration`.
9839
9958
  #
9959
+ # @option opts [OpenStackNetworkProvider, Hash] :external_provider The value of attribute `external_provider`.
9960
+ #
9961
+ # @option opts [Network, Hash] :external_provider_physical_network The value of attribute `external_provider_physical_network`.
9962
+ #
9840
9963
  # @option opts [String] :id The value of attribute `id`.
9841
9964
  #
9842
9965
  # @option opts [Ip, Hash] :ip The value of attribute `ip`.
@@ -9872,6 +9995,8 @@ module OvirtSDK4
9872
9995
  self.data_center = opts[:data_center]
9873
9996
  self.display = opts[:display]
9874
9997
  self.dns_resolver_configuration = opts[:dns_resolver_configuration]
9998
+ self.external_provider = opts[:external_provider]
9999
+ self.external_provider_physical_network = opts[:external_provider_physical_network]
9875
10000
  self.ip = opts[:ip]
9876
10001
  self.mtu = opts[:mtu]
9877
10002
  self.network_labels = opts[:network_labels]
@@ -9895,6 +10020,8 @@ module OvirtSDK4
9895
10020
  @data_center == other.data_center &&
9896
10021
  @display == other.display &&
9897
10022
  @dns_resolver_configuration == other.dns_resolver_configuration &&
10023
+ @external_provider == other.external_provider &&
10024
+ @external_provider_physical_network == other.external_provider_physical_network &&
9898
10025
  @ip == other.ip &&
9899
10026
  @mtu == other.mtu &&
9900
10027
  @network_labels == other.network_labels &&
@@ -9918,6 +10045,8 @@ module OvirtSDK4
9918
10045
  @data_center.hash +
9919
10046
  @display.hash +
9920
10047
  @dns_resolver_configuration.hash +
10048
+ @external_provider.hash +
10049
+ @external_provider_physical_network.hash +
9921
10050
  @ip.hash +
9922
10051
  @mtu.hash +
9923
10052
  @network_labels.hash +
@@ -27159,6 +27288,24 @@ module OvirtSDK4
27159
27288
  @details = value
27160
27289
  end
27161
27290
 
27291
+ #
27292
+ # Returns the value of the `directory` attribute.
27293
+ #
27294
+ # @return [String]
27295
+ #
27296
+ def directory
27297
+ @directory
27298
+ end
27299
+
27300
+ #
27301
+ # Sets the value of the `directory` attribute.
27302
+ #
27303
+ # @param value [String]
27304
+ #
27305
+ def directory=(value)
27306
+ @directory = value
27307
+ end
27308
+
27162
27309
  #
27163
27310
  # Returns the value of the `discard_snapshots` attribute.
27164
27311
  #
@@ -27314,6 +27461,24 @@ module OvirtSDK4
27314
27461
  @fence_type = value
27315
27462
  end
27316
27463
 
27464
+ #
27465
+ # Returns the value of the `filename` attribute.
27466
+ #
27467
+ # @return [String]
27468
+ #
27469
+ def filename
27470
+ @filename
27471
+ end
27472
+
27473
+ #
27474
+ # Sets the value of the `filename` attribute.
27475
+ #
27476
+ # @param value [String]
27477
+ #
27478
+ def filename=(value)
27479
+ @filename = value
27480
+ end
27481
+
27317
27482
  #
27318
27483
  # Returns the value of the `filter` attribute.
27319
27484
  #
@@ -28517,6 +28682,8 @@ module OvirtSDK4
28517
28682
  #
28518
28683
  # @option opts [GlusterVolumeProfileDetails, Hash] :details The value of attribute `details`.
28519
28684
  #
28685
+ # @option opts [String] :directory The value of attribute `directory`.
28686
+ #
28520
28687
  # @option opts [Boolean] :discard_snapshots The value of attribute `discard_snapshots`.
28521
28688
  #
28522
28689
  # @option opts [Disk, Hash] :disk The value of attribute `disk`.
@@ -28531,6 +28698,8 @@ module OvirtSDK4
28531
28698
  #
28532
28699
  # @option opts [String] :fence_type The value of attribute `fence_type`.
28533
28700
  #
28701
+ # @option opts [String] :filename The value of attribute `filename`.
28702
+ #
28534
28703
  # @option opts [Boolean] :filter The value of attribute `filter`.
28535
28704
  #
28536
28705
  # @option opts [Boolean] :fix_layout The value of attribute `fix_layout`.
@@ -28656,6 +28825,7 @@ module OvirtSDK4
28656
28825
  self.data_center = opts[:data_center]
28657
28826
  self.deploy_hosted_engine = opts[:deploy_hosted_engine]
28658
28827
  self.details = opts[:details]
28828
+ self.directory = opts[:directory]
28659
28829
  self.discard_snapshots = opts[:discard_snapshots]
28660
28830
  self.disk = opts[:disk]
28661
28831
  self.disk_profile = opts[:disk_profile]
@@ -28663,6 +28833,7 @@ module OvirtSDK4
28663
28833
  self.exclusive = opts[:exclusive]
28664
28834
  self.fault = opts[:fault]
28665
28835
  self.fence_type = opts[:fence_type]
28836
+ self.filename = opts[:filename]
28666
28837
  self.filter = opts[:filter]
28667
28838
  self.fix_layout = opts[:fix_layout]
28668
28839
  self.force = opts[:force]
@@ -28737,6 +28908,7 @@ module OvirtSDK4
28737
28908
  @data_center == other.data_center &&
28738
28909
  @deploy_hosted_engine == other.deploy_hosted_engine &&
28739
28910
  @details == other.details &&
28911
+ @directory == other.directory &&
28740
28912
  @discard_snapshots == other.discard_snapshots &&
28741
28913
  @disk == other.disk &&
28742
28914
  @disk_profile == other.disk_profile &&
@@ -28744,6 +28916,7 @@ module OvirtSDK4
28744
28916
  @exclusive == other.exclusive &&
28745
28917
  @fault == other.fault &&
28746
28918
  @fence_type == other.fence_type &&
28919
+ @filename == other.filename &&
28747
28920
  @filter == other.filter &&
28748
28921
  @fix_layout == other.fix_layout &&
28749
28922
  @force == other.force &&
@@ -28818,6 +28991,7 @@ module OvirtSDK4
28818
28991
  @data_center.hash +
28819
28992
  @deploy_hosted_engine.hash +
28820
28993
  @details.hash +
28994
+ @directory.hash +
28821
28995
  @discard_snapshots.hash +
28822
28996
  @disk.hash +
28823
28997
  @disk_profile.hash +
@@ -28825,6 +28999,7 @@ module OvirtSDK4
28825
28999
  @exclusive.hash +
28826
29000
  @fault.hash +
28827
29001
  @fence_type.hash +
29002
+ @filename.hash +
28828
29003
  @filter.hash +
28829
29004
  @fix_layout.hash +
28830
29005
  @force.hash +
@@ -51960,6 +52135,24 @@ module OvirtSDK4
51960
52135
  @authentication_url = value
51961
52136
  end
51962
52137
 
52138
+ #
52139
+ # Returns the value of the `auto_sync` attribute.
52140
+ #
52141
+ # @return [Boolean]
52142
+ #
52143
+ def auto_sync
52144
+ @auto_sync
52145
+ end
52146
+
52147
+ #
52148
+ # Sets the value of the `auto_sync` attribute.
52149
+ #
52150
+ # @param value [Boolean]
52151
+ #
52152
+ def auto_sync=(value)
52153
+ @auto_sync = value
52154
+ end
52155
+
51963
52156
  #
51964
52157
  # Returns the value of the `certificates` attribute.
51965
52158
  #
@@ -52309,6 +52502,8 @@ module OvirtSDK4
52309
52502
  #
52310
52503
  # @option opts [String] :authentication_url The value of attribute `authentication_url`.
52311
52504
  #
52505
+ # @option opts [Boolean] :auto_sync The value of attribute `auto_sync`.
52506
+ #
52312
52507
  # @option opts [Array<Certificate>, Array<Hash>] :certificates The values of attribute `certificates`.
52313
52508
  #
52314
52509
  # @option opts [String] :comment The value of attribute `comment`.
@@ -52347,6 +52542,7 @@ module OvirtSDK4
52347
52542
  def initialize(opts = {})
52348
52543
  super(opts)
52349
52544
  self.agent_configuration = opts[:agent_configuration]
52545
+ self.auto_sync = opts[:auto_sync]
52350
52546
  self.certificates = opts[:certificates]
52351
52547
  self.external_plugin_type = opts[:external_plugin_type]
52352
52548
  self.networks = opts[:networks]
@@ -52362,6 +52558,7 @@ module OvirtSDK4
52362
52558
  def ==(other)
52363
52559
  super &&
52364
52560
  @agent_configuration == other.agent_configuration &&
52561
+ @auto_sync == other.auto_sync &&
52365
52562
  @certificates == other.certificates &&
52366
52563
  @external_plugin_type == other.external_plugin_type &&
52367
52564
  @networks == other.networks &&
@@ -52377,6 +52574,7 @@ module OvirtSDK4
52377
52574
  def hash
52378
52575
  super +
52379
52576
  @agent_configuration.hash +
52577
+ @auto_sync.hash +
52380
52578
  @certificates.hash +
52381
52579
  @external_plugin_type.hash +
52382
52580
  @networks.hash +
@@ -54578,6 +54776,7 @@ module OvirtSDK4
54578
54776
 
54579
54777
  module Architecture
54580
54778
  PPC64 = 'ppc64'.freeze
54779
+ S390X = 's390x'.freeze
54581
54780
  UNDEFINED = 'undefined'.freeze
54582
54781
  X86_64 = 'x86_64'.freeze
54583
54782
  end
@@ -54602,6 +54801,7 @@ module OvirtSDK4
54602
54801
  end
54603
54802
 
54604
54803
  module ConfigurationType
54804
+ OVA = 'ova'.freeze
54605
54805
  OVF = 'ovf'.freeze
54606
54806
  end
54607
54807
 
@@ -55212,6 +55412,7 @@ module OvirtSDK4
55212
55412
  end
55213
55413
 
55214
55414
  module WatchdogModel
55415
+ DIAG288 = 'diag288'.freeze
55215
55416
  I6300ESB = 'i6300esb'.freeze
55216
55417
  end
55217
55418
 
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module OvirtSDK4
19
- VERSION = '4.2.0.alpha5'.freeze
19
+ VERSION = '4.2.0.beta1'.freeze
20
20
  end
@@ -43,6 +43,7 @@ module OvirtSDK4
43
43
  Writer.write_boolean(writer, 'deploy_hosted_engine', object.deploy_hosted_engine) unless object.deploy_hosted_engine.nil?
44
44
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
45
45
  GlusterVolumeProfileDetailsWriter.write_one(object.details, writer, 'details') unless object.details.nil?
46
+ Writer.write_string(writer, 'directory', object.directory) unless object.directory.nil?
46
47
  Writer.write_boolean(writer, 'discard_snapshots', object.discard_snapshots) unless object.discard_snapshots.nil?
47
48
  DiskWriter.write_one(object.disk, writer, 'disk') unless object.disk.nil?
48
49
  DiskProfileWriter.write_one(object.disk_profile, writer, 'disk_profile') unless object.disk_profile.nil?
@@ -50,6 +51,7 @@ module OvirtSDK4
50
51
  Writer.write_boolean(writer, 'exclusive', object.exclusive) unless object.exclusive.nil?
51
52
  FaultWriter.write_one(object.fault, writer, 'fault') unless object.fault.nil?
52
53
  Writer.write_string(writer, 'fence_type', object.fence_type) unless object.fence_type.nil?
54
+ Writer.write_string(writer, 'filename', object.filename) unless object.filename.nil?
53
55
  Writer.write_boolean(writer, 'filter', object.filter) unless object.filter.nil?
54
56
  Writer.write_boolean(writer, 'fix_layout', object.fix_layout) unless object.fix_layout.nil?
55
57
  Writer.write_boolean(writer, 'force', object.force) unless object.force.nil?
@@ -3152,6 +3154,7 @@ module OvirtSDK4
3152
3154
  href = object.href
3153
3155
  writer.write_attribute('href', href) unless href.nil?
3154
3156
  writer.write_attribute('id', object.id) unless object.id.nil?
3157
+ Writer.write_boolean(writer, 'active', object.active) unless object.active.nil?
3155
3158
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
3156
3159
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
3157
3160
  Writer.write_string(writer, 'direction', object.direction) unless object.direction.nil?
@@ -3159,6 +3162,8 @@ module OvirtSDK4
3159
3162
  Writer.write_string(writer, 'phase', object.phase) unless object.phase.nil?
3160
3163
  Writer.write_string(writer, 'proxy_url', object.proxy_url) unless object.proxy_url.nil?
3161
3164
  Writer.write_string(writer, 'signed_ticket', object.signed_ticket) unless object.signed_ticket.nil?
3165
+ Writer.write_string(writer, 'transfer_url', object.transfer_url) unless object.transfer_url.nil?
3166
+ Writer.write_integer(writer, 'transferred', object.transferred) unless object.transferred.nil?
3162
3167
  DiskWriter.write_one(object.disk, writer, 'disk') unless object.disk.nil?
3163
3168
  HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
3164
3169
  ImageWriter.write_one(object.image, writer, 'image') unless object.image.nil?
@@ -3943,6 +3948,8 @@ module OvirtSDK4
3943
3948
  VlanWriter.write_one(object.vlan, writer, 'vlan') unless object.vlan.nil?
3944
3949
  ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
3945
3950
  DataCenterWriter.write_one(object.data_center, writer, 'data_center') unless object.data_center.nil?
3951
+ OpenStackNetworkProviderWriter.write_one(object.external_provider, writer, 'external_provider') unless object.external_provider.nil?
3952
+ NetworkWriter.write_one(object.external_provider_physical_network, writer, 'external_provider_physical_network') unless object.external_provider_physical_network.nil?
3946
3953
  NetworkLabelWriter.write_many(object.network_labels, writer, 'network_label', 'network_labels') unless object.network_labels.nil?
3947
3954
  PermissionWriter.write_many(object.permissions, writer, 'permission', 'permissions') unless object.permissions.nil?
3948
3955
  QosWriter.write_one(object.qos, writer, 'qos') unless object.qos.nil?
@@ -4413,6 +4420,7 @@ module OvirtSDK4
4413
4420
  writer.write_attribute('id', object.id) unless object.id.nil?
4414
4421
  AgentConfigurationWriter.write_one(object.agent_configuration, writer, 'agent_configuration') unless object.agent_configuration.nil?
4415
4422
  Writer.write_string(writer, 'authentication_url', object.authentication_url) unless object.authentication_url.nil?
4423
+ Writer.write_boolean(writer, 'auto_sync', object.auto_sync) unless object.auto_sync.nil?
4416
4424
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
4417
4425
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
4418
4426
  Writer.write_string(writer, 'external_plugin_type', object.external_plugin_type) unless object.external_plugin_type.nil?