ovirt-engine-sdk 4.3.1 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGES.adoc +11 -30
- data/lib/ovirtsdk4/connection.rb +21 -18
- data/lib/ovirtsdk4/probe.rb +5 -5
- data/lib/ovirtsdk4/reader.rb +10 -5
- data/lib/ovirtsdk4/readers.rb +193 -1
- data/lib/ovirtsdk4/service.rb +13 -0
- data/lib/ovirtsdk4/services.rb +815 -161
- data/lib/ovirtsdk4/types.rb +715 -6
- data/lib/ovirtsdk4/version.rb +1 -1
- data/lib/ovirtsdk4/writers.rb +75 -1
- metadata +38 -38
data/lib/ovirtsdk4/types.rb
CHANGED
@@ -176,6 +176,9 @@ module OvirtSDK4
|
|
176
176
|
class LogicalUnit < Struct
|
177
177
|
end
|
178
178
|
|
179
|
+
class MDevType < Struct
|
180
|
+
end
|
181
|
+
|
179
182
|
class Mac < Struct
|
180
183
|
end
|
181
184
|
|
@@ -545,6 +548,9 @@ module OvirtSDK4
|
|
545
548
|
class Event < Identified
|
546
549
|
end
|
547
550
|
|
551
|
+
class EventSubscription < Identified
|
552
|
+
end
|
553
|
+
|
548
554
|
class ExternalComputeResource < Identified
|
549
555
|
end
|
550
556
|
|
@@ -8774,6 +8780,105 @@ module OvirtSDK4
|
|
8774
8780
|
|
8775
8781
|
end
|
8776
8782
|
|
8783
|
+
class MDevType < Struct
|
8784
|
+
|
8785
|
+
#
|
8786
|
+
# Returns the value of the `available_instances` attribute.
|
8787
|
+
#
|
8788
|
+
# @return [Integer]
|
8789
|
+
#
|
8790
|
+
def available_instances
|
8791
|
+
@available_instances
|
8792
|
+
end
|
8793
|
+
|
8794
|
+
#
|
8795
|
+
# Sets the value of the `available_instances` attribute.
|
8796
|
+
#
|
8797
|
+
# @param value [Integer]
|
8798
|
+
#
|
8799
|
+
def available_instances=(value)
|
8800
|
+
@available_instances = value
|
8801
|
+
end
|
8802
|
+
|
8803
|
+
#
|
8804
|
+
# Returns the value of the `description` attribute.
|
8805
|
+
#
|
8806
|
+
# @return [String]
|
8807
|
+
#
|
8808
|
+
def description
|
8809
|
+
@description
|
8810
|
+
end
|
8811
|
+
|
8812
|
+
#
|
8813
|
+
# Sets the value of the `description` attribute.
|
8814
|
+
#
|
8815
|
+
# @param value [String]
|
8816
|
+
#
|
8817
|
+
def description=(value)
|
8818
|
+
@description = value
|
8819
|
+
end
|
8820
|
+
|
8821
|
+
#
|
8822
|
+
# Returns the value of the `name` attribute.
|
8823
|
+
#
|
8824
|
+
# @return [String]
|
8825
|
+
#
|
8826
|
+
def name
|
8827
|
+
@name
|
8828
|
+
end
|
8829
|
+
|
8830
|
+
#
|
8831
|
+
# Sets the value of the `name` attribute.
|
8832
|
+
#
|
8833
|
+
# @param value [String]
|
8834
|
+
#
|
8835
|
+
def name=(value)
|
8836
|
+
@name = value
|
8837
|
+
end
|
8838
|
+
|
8839
|
+
#
|
8840
|
+
# Creates a new instance of the {MDevType} class.
|
8841
|
+
#
|
8842
|
+
# @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
|
8843
|
+
# should be symbols corresponding to the names of the attributes. The values of the hash
|
8844
|
+
# should be the values of the attributes.
|
8845
|
+
#
|
8846
|
+
# @option opts [Integer] :available_instances The value of attribute `available_instances`.
|
8847
|
+
#
|
8848
|
+
# @option opts [String] :description The value of attribute `description`.
|
8849
|
+
#
|
8850
|
+
# @option opts [String] :name The value of attribute `name`.
|
8851
|
+
#
|
8852
|
+
#
|
8853
|
+
def initialize(opts = {})
|
8854
|
+
super(opts)
|
8855
|
+
self.available_instances = opts[:available_instances]
|
8856
|
+
self.description = opts[:description]
|
8857
|
+
self.name = opts[:name]
|
8858
|
+
end
|
8859
|
+
|
8860
|
+
#
|
8861
|
+
# Returns `true` if `self` and `other` have the same attributes and values.
|
8862
|
+
#
|
8863
|
+
def ==(other)
|
8864
|
+
super &&
|
8865
|
+
@available_instances == other.available_instances &&
|
8866
|
+
@description == other.description &&
|
8867
|
+
@name == other.name
|
8868
|
+
end
|
8869
|
+
|
8870
|
+
#
|
8871
|
+
# Generates a hash value for this object.
|
8872
|
+
#
|
8873
|
+
def hash
|
8874
|
+
super +
|
8875
|
+
@available_instances.hash +
|
8876
|
+
@description.hash +
|
8877
|
+
@name.hash
|
8878
|
+
end
|
8879
|
+
|
8880
|
+
end
|
8881
|
+
|
8777
8882
|
class Mac < Struct
|
8778
8883
|
|
8779
8884
|
#
|
@@ -9418,6 +9523,24 @@ module OvirtSDK4
|
|
9418
9523
|
@compressed = value
|
9419
9524
|
end
|
9420
9525
|
|
9526
|
+
#
|
9527
|
+
# Returns the value of the `encrypted` attribute.
|
9528
|
+
#
|
9529
|
+
# @return [InheritableBoolean]
|
9530
|
+
#
|
9531
|
+
def encrypted
|
9532
|
+
@encrypted
|
9533
|
+
end
|
9534
|
+
|
9535
|
+
#
|
9536
|
+
# Sets the value of the `encrypted` attribute.
|
9537
|
+
#
|
9538
|
+
# @param value [InheritableBoolean]
|
9539
|
+
#
|
9540
|
+
def encrypted=(value)
|
9541
|
+
@encrypted = value
|
9542
|
+
end
|
9543
|
+
|
9421
9544
|
#
|
9422
9545
|
# Returns the value of the `policy` attribute.
|
9423
9546
|
#
|
@@ -9456,6 +9579,8 @@ module OvirtSDK4
|
|
9456
9579
|
#
|
9457
9580
|
# @option opts [InheritableBoolean] :compressed The value of attribute `compressed`.
|
9458
9581
|
#
|
9582
|
+
# @option opts [InheritableBoolean] :encrypted The value of attribute `encrypted`.
|
9583
|
+
#
|
9459
9584
|
# @option opts [MigrationPolicy, Hash] :policy The value of attribute `policy`.
|
9460
9585
|
#
|
9461
9586
|
#
|
@@ -9464,6 +9589,7 @@ module OvirtSDK4
|
|
9464
9589
|
self.auto_converge = opts[:auto_converge]
|
9465
9590
|
self.bandwidth = opts[:bandwidth]
|
9466
9591
|
self.compressed = opts[:compressed]
|
9592
|
+
self.encrypted = opts[:encrypted]
|
9467
9593
|
self.policy = opts[:policy]
|
9468
9594
|
end
|
9469
9595
|
|
@@ -9475,6 +9601,7 @@ module OvirtSDK4
|
|
9475
9601
|
@auto_converge == other.auto_converge &&
|
9476
9602
|
@bandwidth == other.bandwidth &&
|
9477
9603
|
@compressed == other.compressed &&
|
9604
|
+
@encrypted == other.encrypted &&
|
9478
9605
|
@policy == other.policy
|
9479
9606
|
end
|
9480
9607
|
|
@@ -9486,6 +9613,7 @@ module OvirtSDK4
|
|
9486
9613
|
@auto_converge.hash +
|
9487
9614
|
@bandwidth.hash +
|
9488
9615
|
@compressed.hash +
|
9616
|
+
@encrypted.hash +
|
9489
9617
|
@policy.hash
|
9490
9618
|
end
|
9491
9619
|
|
@@ -10014,6 +10142,24 @@ module OvirtSDK4
|
|
10014
10142
|
@usages = list
|
10015
10143
|
end
|
10016
10144
|
|
10145
|
+
#
|
10146
|
+
# Returns the value of the `vdsm_name` attribute.
|
10147
|
+
#
|
10148
|
+
# @return [String]
|
10149
|
+
#
|
10150
|
+
def vdsm_name
|
10151
|
+
@vdsm_name
|
10152
|
+
end
|
10153
|
+
|
10154
|
+
#
|
10155
|
+
# Sets the value of the `vdsm_name` attribute.
|
10156
|
+
#
|
10157
|
+
# @param value [String]
|
10158
|
+
#
|
10159
|
+
def vdsm_name=(value)
|
10160
|
+
@vdsm_name = value
|
10161
|
+
end
|
10162
|
+
|
10017
10163
|
#
|
10018
10164
|
# Returns the value of the `vlan` attribute.
|
10019
10165
|
#
|
@@ -10112,6 +10258,8 @@ module OvirtSDK4
|
|
10112
10258
|
#
|
10113
10259
|
# @option opts [Array<NetworkUsage>, Array<Hash>] :usages The values of attribute `usages`.
|
10114
10260
|
#
|
10261
|
+
# @option opts [String] :vdsm_name The value of attribute `vdsm_name`.
|
10262
|
+
#
|
10115
10263
|
# @option opts [Vlan, Hash] :vlan The value of attribute `vlan`.
|
10116
10264
|
#
|
10117
10265
|
# @option opts [Array<VnicProfile>, Array<Hash>] :vnic_profiles The values of attribute `vnic_profiles`.
|
@@ -10135,6 +10283,7 @@ module OvirtSDK4
|
|
10135
10283
|
self.status = opts[:status]
|
10136
10284
|
self.stp = opts[:stp]
|
10137
10285
|
self.usages = opts[:usages]
|
10286
|
+
self.vdsm_name = opts[:vdsm_name]
|
10138
10287
|
self.vlan = opts[:vlan]
|
10139
10288
|
self.vnic_profiles = opts[:vnic_profiles]
|
10140
10289
|
end
|
@@ -10160,6 +10309,7 @@ module OvirtSDK4
|
|
10160
10309
|
@status == other.status &&
|
10161
10310
|
@stp == other.stp &&
|
10162
10311
|
@usages == other.usages &&
|
10312
|
+
@vdsm_name == other.vdsm_name &&
|
10163
10313
|
@vlan == other.vlan &&
|
10164
10314
|
@vnic_profiles == other.vnic_profiles
|
10165
10315
|
end
|
@@ -10185,6 +10335,7 @@ module OvirtSDK4
|
|
10185
10335
|
@status.hash +
|
10186
10336
|
@stp.hash +
|
10187
10337
|
@usages.hash +
|
10338
|
+
@vdsm_name.hash +
|
10188
10339
|
@vlan.hash +
|
10189
10340
|
@vnic_profiles.hash
|
10190
10341
|
end
|
@@ -23528,6 +23679,32 @@ module OvirtSDK4
|
|
23528
23679
|
@user_name = value
|
23529
23680
|
end
|
23530
23681
|
|
23682
|
+
#
|
23683
|
+
# Returns the value of the `user_options` attribute.
|
23684
|
+
#
|
23685
|
+
# @return [Array<Property>]
|
23686
|
+
#
|
23687
|
+
def user_options
|
23688
|
+
@user_options
|
23689
|
+
end
|
23690
|
+
|
23691
|
+
#
|
23692
|
+
# Sets the value of the `user_options` attribute.
|
23693
|
+
#
|
23694
|
+
# @param list [Array<Property>]
|
23695
|
+
#
|
23696
|
+
def user_options=(list)
|
23697
|
+
if list.class == Array
|
23698
|
+
list = List.new(list)
|
23699
|
+
list.each_with_index do |value, index|
|
23700
|
+
if value.is_a?(Hash)
|
23701
|
+
list[index] = Property.new(value)
|
23702
|
+
end
|
23703
|
+
end
|
23704
|
+
end
|
23705
|
+
@user_options = list
|
23706
|
+
end
|
23707
|
+
|
23531
23708
|
#
|
23532
23709
|
# Creates a new instance of the {User} class.
|
23533
23710
|
#
|
@@ -23573,6 +23750,8 @@ module OvirtSDK4
|
|
23573
23750
|
#
|
23574
23751
|
# @option opts [String] :user_name The value of attribute `user_name`.
|
23575
23752
|
#
|
23753
|
+
# @option opts [Array<Property>, Array<Hash>] :user_options The values of attribute `user_options`.
|
23754
|
+
#
|
23576
23755
|
#
|
23577
23756
|
def initialize(opts = {})
|
23578
23757
|
super(opts)
|
@@ -23591,6 +23770,7 @@ module OvirtSDK4
|
|
23591
23770
|
self.ssh_public_keys = opts[:ssh_public_keys]
|
23592
23771
|
self.tags = opts[:tags]
|
23593
23772
|
self.user_name = opts[:user_name]
|
23773
|
+
self.user_options = opts[:user_options]
|
23594
23774
|
end
|
23595
23775
|
|
23596
23776
|
#
|
@@ -23612,7 +23792,8 @@ module OvirtSDK4
|
|
23612
23792
|
@roles == other.roles &&
|
23613
23793
|
@ssh_public_keys == other.ssh_public_keys &&
|
23614
23794
|
@tags == other.tags &&
|
23615
|
-
@user_name == other.user_name
|
23795
|
+
@user_name == other.user_name &&
|
23796
|
+
@user_options == other.user_options
|
23616
23797
|
end
|
23617
23798
|
|
23618
23799
|
#
|
@@ -23634,7 +23815,8 @@ module OvirtSDK4
|
|
23634
23815
|
@roles.hash +
|
23635
23816
|
@ssh_public_keys.hash +
|
23636
23817
|
@tags.hash +
|
23637
|
-
@user_name.hash
|
23818
|
+
@user_name.hash +
|
23819
|
+
@user_options.hash
|
23638
23820
|
end
|
23639
23821
|
|
23640
23822
|
end
|
@@ -28239,6 +28421,24 @@ module OvirtSDK4
|
|
28239
28421
|
@logical_units = list
|
28240
28422
|
end
|
28241
28423
|
|
28424
|
+
#
|
28425
|
+
# Returns the value of the `maintenance_after_restart` attribute.
|
28426
|
+
#
|
28427
|
+
# @return [Boolean]
|
28428
|
+
#
|
28429
|
+
def maintenance_after_restart
|
28430
|
+
@maintenance_after_restart
|
28431
|
+
end
|
28432
|
+
|
28433
|
+
#
|
28434
|
+
# Sets the value of the `maintenance_after_restart` attribute.
|
28435
|
+
#
|
28436
|
+
# @param value [Boolean]
|
28437
|
+
#
|
28438
|
+
def maintenance_after_restart=(value)
|
28439
|
+
@maintenance_after_restart = value
|
28440
|
+
end
|
28441
|
+
|
28242
28442
|
#
|
28243
28443
|
# Returns the value of the `maintenance_enabled` attribute.
|
28244
28444
|
#
|
@@ -28786,6 +28986,31 @@ module OvirtSDK4
|
|
28786
28986
|
@snapshot = value
|
28787
28987
|
end
|
28788
28988
|
|
28989
|
+
#
|
28990
|
+
# Returns the value of the `source_host` attribute.
|
28991
|
+
#
|
28992
|
+
# @return [Host]
|
28993
|
+
#
|
28994
|
+
def source_host
|
28995
|
+
@source_host
|
28996
|
+
end
|
28997
|
+
|
28998
|
+
#
|
28999
|
+
# Sets the value of the `source_host` attribute.
|
29000
|
+
#
|
29001
|
+
# @param value [Host, Hash]
|
29002
|
+
#
|
29003
|
+
# The `value` parameter can be an instance of {OvirtSDK4::Host} or a hash.
|
29004
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
29005
|
+
# `opts` parameter to the constructor.
|
29006
|
+
#
|
29007
|
+
def source_host=(value)
|
29008
|
+
if value.is_a?(Hash)
|
29009
|
+
value = Host.new(value)
|
29010
|
+
end
|
29011
|
+
@source_host = value
|
29012
|
+
end
|
29013
|
+
|
28789
29014
|
#
|
28790
29015
|
# Returns the value of the `ssh` attribute.
|
28791
29016
|
#
|
@@ -29064,6 +29289,24 @@ module OvirtSDK4
|
|
29064
29289
|
@use_cloud_init = value
|
29065
29290
|
end
|
29066
29291
|
|
29292
|
+
#
|
29293
|
+
# Returns the value of the `use_ignition` attribute.
|
29294
|
+
#
|
29295
|
+
# @return [Boolean]
|
29296
|
+
#
|
29297
|
+
def use_ignition
|
29298
|
+
@use_ignition
|
29299
|
+
end
|
29300
|
+
|
29301
|
+
#
|
29302
|
+
# Sets the value of the `use_ignition` attribute.
|
29303
|
+
#
|
29304
|
+
# @param value [Boolean]
|
29305
|
+
#
|
29306
|
+
def use_ignition=(value)
|
29307
|
+
@use_ignition = value
|
29308
|
+
end
|
29309
|
+
|
29067
29310
|
#
|
29068
29311
|
# Returns the value of the `use_initialization` attribute.
|
29069
29312
|
#
|
@@ -29291,6 +29534,8 @@ module OvirtSDK4
|
|
29291
29534
|
#
|
29292
29535
|
# @option opts [Array<LogicalUnit>, Array<Hash>] :logical_units The values of attribute `logical_units`.
|
29293
29536
|
#
|
29537
|
+
# @option opts [Boolean] :maintenance_after_restart The value of attribute `maintenance_after_restart`.
|
29538
|
+
#
|
29294
29539
|
# @option opts [Boolean] :maintenance_enabled The value of attribute `maintenance_enabled`.
|
29295
29540
|
#
|
29296
29541
|
# @option opts [Boolean] :migrate_vms_in_affinity_closure The value of attribute `migrate_vms_in_affinity_closure`.
|
@@ -29341,6 +29586,8 @@ module OvirtSDK4
|
|
29341
29586
|
#
|
29342
29587
|
# @option opts [Snapshot, Hash] :snapshot The value of attribute `snapshot`.
|
29343
29588
|
#
|
29589
|
+
# @option opts [Host, Hash] :source_host The value of attribute `source_host`.
|
29590
|
+
#
|
29344
29591
|
# @option opts [Ssh, Hash] :ssh The value of attribute `ssh`.
|
29345
29592
|
#
|
29346
29593
|
# @option opts [String] :status The value of attribute `status`.
|
@@ -29367,6 +29614,8 @@ module OvirtSDK4
|
|
29367
29614
|
#
|
29368
29615
|
# @option opts [Boolean] :use_cloud_init The value of attribute `use_cloud_init`.
|
29369
29616
|
#
|
29617
|
+
# @option opts [Boolean] :use_ignition The value of attribute `use_ignition`.
|
29618
|
+
#
|
29370
29619
|
# @option opts [Boolean] :use_initialization The value of attribute `use_initialization`.
|
29371
29620
|
#
|
29372
29621
|
# @option opts [Boolean] :use_sysprep The value of attribute `use_sysprep`.
|
@@ -29424,6 +29673,7 @@ module OvirtSDK4
|
|
29424
29673
|
self.job = opts[:job]
|
29425
29674
|
self.lease = opts[:lease]
|
29426
29675
|
self.logical_units = opts[:logical_units]
|
29676
|
+
self.maintenance_after_restart = opts[:maintenance_after_restart]
|
29427
29677
|
self.maintenance_enabled = opts[:maintenance_enabled]
|
29428
29678
|
self.migrate_vms_in_affinity_closure = opts[:migrate_vms_in_affinity_closure]
|
29429
29679
|
self.modified_bonds = opts[:modified_bonds]
|
@@ -29448,6 +29698,7 @@ module OvirtSDK4
|
|
29448
29698
|
self.root_password = opts[:root_password]
|
29449
29699
|
self.seal = opts[:seal]
|
29450
29700
|
self.snapshot = opts[:snapshot]
|
29701
|
+
self.source_host = opts[:source_host]
|
29451
29702
|
self.ssh = opts[:ssh]
|
29452
29703
|
self.status = opts[:status]
|
29453
29704
|
self.stop_gluster_service = opts[:stop_gluster_service]
|
@@ -29461,6 +29712,7 @@ module OvirtSDK4
|
|
29461
29712
|
self.undeploy_hosted_engine = opts[:undeploy_hosted_engine]
|
29462
29713
|
self.upgrade_action = opts[:upgrade_action]
|
29463
29714
|
self.use_cloud_init = opts[:use_cloud_init]
|
29715
|
+
self.use_ignition = opts[:use_ignition]
|
29464
29716
|
self.use_initialization = opts[:use_initialization]
|
29465
29717
|
self.use_sysprep = opts[:use_sysprep]
|
29466
29718
|
self.virtual_functions_configuration = opts[:virtual_functions_configuration]
|
@@ -29516,6 +29768,7 @@ module OvirtSDK4
|
|
29516
29768
|
@job == other.job &&
|
29517
29769
|
@lease == other.lease &&
|
29518
29770
|
@logical_units == other.logical_units &&
|
29771
|
+
@maintenance_after_restart == other.maintenance_after_restart &&
|
29519
29772
|
@maintenance_enabled == other.maintenance_enabled &&
|
29520
29773
|
@migrate_vms_in_affinity_closure == other.migrate_vms_in_affinity_closure &&
|
29521
29774
|
@modified_bonds == other.modified_bonds &&
|
@@ -29540,6 +29793,7 @@ module OvirtSDK4
|
|
29540
29793
|
@root_password == other.root_password &&
|
29541
29794
|
@seal == other.seal &&
|
29542
29795
|
@snapshot == other.snapshot &&
|
29796
|
+
@source_host == other.source_host &&
|
29543
29797
|
@ssh == other.ssh &&
|
29544
29798
|
@status == other.status &&
|
29545
29799
|
@stop_gluster_service == other.stop_gluster_service &&
|
@@ -29553,6 +29807,7 @@ module OvirtSDK4
|
|
29553
29807
|
@undeploy_hosted_engine == other.undeploy_hosted_engine &&
|
29554
29808
|
@upgrade_action == other.upgrade_action &&
|
29555
29809
|
@use_cloud_init == other.use_cloud_init &&
|
29810
|
+
@use_ignition == other.use_ignition &&
|
29556
29811
|
@use_initialization == other.use_initialization &&
|
29557
29812
|
@use_sysprep == other.use_sysprep &&
|
29558
29813
|
@virtual_functions_configuration == other.virtual_functions_configuration &&
|
@@ -29608,6 +29863,7 @@ module OvirtSDK4
|
|
29608
29863
|
@job.hash +
|
29609
29864
|
@lease.hash +
|
29610
29865
|
@logical_units.hash +
|
29866
|
+
@maintenance_after_restart.hash +
|
29611
29867
|
@maintenance_enabled.hash +
|
29612
29868
|
@migrate_vms_in_affinity_closure.hash +
|
29613
29869
|
@modified_bonds.hash +
|
@@ -29632,6 +29888,7 @@ module OvirtSDK4
|
|
29632
29888
|
@root_password.hash +
|
29633
29889
|
@seal.hash +
|
29634
29890
|
@snapshot.hash +
|
29891
|
+
@source_host.hash +
|
29635
29892
|
@ssh.hash +
|
29636
29893
|
@status.hash +
|
29637
29894
|
@stop_gluster_service.hash +
|
@@ -29645,6 +29902,7 @@ module OvirtSDK4
|
|
29645
29902
|
@undeploy_hosted_engine.hash +
|
29646
29903
|
@upgrade_action.hash +
|
29647
29904
|
@use_cloud_init.hash +
|
29905
|
+
@use_ignition.hash +
|
29648
29906
|
@use_initialization.hash +
|
29649
29907
|
@use_sysprep.hash +
|
29650
29908
|
@virtual_functions_configuration.hash +
|
@@ -31803,6 +32061,24 @@ module OvirtSDK4
|
|
31803
32061
|
@ballooning_enabled = value
|
31804
32062
|
end
|
31805
32063
|
|
32064
|
+
#
|
32065
|
+
# Returns the value of the `bios_type` attribute.
|
32066
|
+
#
|
32067
|
+
# @return [BiosType]
|
32068
|
+
#
|
32069
|
+
def bios_type
|
32070
|
+
@bios_type
|
32071
|
+
end
|
32072
|
+
|
32073
|
+
#
|
32074
|
+
# Sets the value of the `bios_type` attribute.
|
32075
|
+
#
|
32076
|
+
# @param value [BiosType]
|
32077
|
+
#
|
32078
|
+
def bios_type=(value)
|
32079
|
+
@bios_type = value
|
32080
|
+
end
|
32081
|
+
|
31806
32082
|
#
|
31807
32083
|
# Returns the value of the `comment` attribute.
|
31808
32084
|
#
|
@@ -32723,6 +32999,8 @@ module OvirtSDK4
|
|
32723
32999
|
#
|
32724
33000
|
# @option opts [Boolean] :ballooning_enabled The value of attribute `ballooning_enabled`.
|
32725
33001
|
#
|
33002
|
+
# @option opts [BiosType] :bios_type The value of attribute `bios_type`.
|
33003
|
+
#
|
32726
33004
|
# @option opts [String] :comment The value of attribute `comment`.
|
32727
33005
|
#
|
32728
33006
|
# @option opts [Cpu, Hash] :cpu The value of attribute `cpu`.
|
@@ -32810,6 +33088,7 @@ module OvirtSDK4
|
|
32810
33088
|
super(opts)
|
32811
33089
|
self.affinity_groups = opts[:affinity_groups]
|
32812
33090
|
self.ballooning_enabled = opts[:ballooning_enabled]
|
33091
|
+
self.bios_type = opts[:bios_type]
|
32813
33092
|
self.cpu = opts[:cpu]
|
32814
33093
|
self.cpu_profiles = opts[:cpu_profiles]
|
32815
33094
|
self.custom_scheduling_policy_properties = opts[:custom_scheduling_policy_properties]
|
@@ -32856,6 +33135,7 @@ module OvirtSDK4
|
|
32856
33135
|
super &&
|
32857
33136
|
@affinity_groups == other.affinity_groups &&
|
32858
33137
|
@ballooning_enabled == other.ballooning_enabled &&
|
33138
|
+
@bios_type == other.bios_type &&
|
32859
33139
|
@cpu == other.cpu &&
|
32860
33140
|
@cpu_profiles == other.cpu_profiles &&
|
32861
33141
|
@custom_scheduling_policy_properties == other.custom_scheduling_policy_properties &&
|
@@ -32902,6 +33182,7 @@ module OvirtSDK4
|
|
32902
33182
|
super +
|
32903
33183
|
@affinity_groups.hash +
|
32904
33184
|
@ballooning_enabled.hash +
|
33185
|
+
@bios_type.hash +
|
32905
33186
|
@cpu.hash +
|
32906
33187
|
@cpu_profiles.hash +
|
32907
33188
|
@custom_scheduling_policy_properties.hash +
|
@@ -37207,6 +37488,24 @@ module OvirtSDK4
|
|
37207
37488
|
@index = value
|
37208
37489
|
end
|
37209
37490
|
|
37491
|
+
#
|
37492
|
+
# Returns the value of the `log_on_host` attribute.
|
37493
|
+
#
|
37494
|
+
# @return [Boolean]
|
37495
|
+
#
|
37496
|
+
def log_on_host
|
37497
|
+
@log_on_host
|
37498
|
+
end
|
37499
|
+
|
37500
|
+
#
|
37501
|
+
# Sets the value of the `log_on_host` attribute.
|
37502
|
+
#
|
37503
|
+
# @param value [Boolean]
|
37504
|
+
#
|
37505
|
+
def log_on_host=(value)
|
37506
|
+
@log_on_host = value
|
37507
|
+
end
|
37508
|
+
|
37210
37509
|
#
|
37211
37510
|
# Returns the value of the `name` attribute.
|
37212
37511
|
#
|
@@ -37410,6 +37709,8 @@ module OvirtSDK4
|
|
37410
37709
|
#
|
37411
37710
|
# @option opts [Integer] :index The value of attribute `index`.
|
37412
37711
|
#
|
37712
|
+
# @option opts [Boolean] :log_on_host The value of attribute `log_on_host`.
|
37713
|
+
#
|
37413
37714
|
# @option opts [String] :name The value of attribute `name`.
|
37414
37715
|
#
|
37415
37716
|
# @option opts [String] :origin The value of attribute `origin`.
|
@@ -37438,6 +37739,7 @@ module OvirtSDK4
|
|
37438
37739
|
self.flood_rate = opts[:flood_rate]
|
37439
37740
|
self.host = opts[:host]
|
37440
37741
|
self.index = opts[:index]
|
37742
|
+
self.log_on_host = opts[:log_on_host]
|
37441
37743
|
self.origin = opts[:origin]
|
37442
37744
|
self.severity = opts[:severity]
|
37443
37745
|
self.storage_domain = opts[:storage_domain]
|
@@ -37461,6 +37763,7 @@ module OvirtSDK4
|
|
37461
37763
|
@flood_rate == other.flood_rate &&
|
37462
37764
|
@host == other.host &&
|
37463
37765
|
@index == other.index &&
|
37766
|
+
@log_on_host == other.log_on_host &&
|
37464
37767
|
@origin == other.origin &&
|
37465
37768
|
@severity == other.severity &&
|
37466
37769
|
@storage_domain == other.storage_domain &&
|
@@ -37484,6 +37787,7 @@ module OvirtSDK4
|
|
37484
37787
|
@flood_rate.hash +
|
37485
37788
|
@host.hash +
|
37486
37789
|
@index.hash +
|
37790
|
+
@log_on_host.hash +
|
37487
37791
|
@origin.hash +
|
37488
37792
|
@severity.hash +
|
37489
37793
|
@storage_domain.hash +
|
@@ -37495,6 +37799,215 @@ module OvirtSDK4
|
|
37495
37799
|
|
37496
37800
|
end
|
37497
37801
|
|
37802
|
+
class EventSubscription < Identified
|
37803
|
+
|
37804
|
+
#
|
37805
|
+
# Returns the value of the `address` attribute.
|
37806
|
+
#
|
37807
|
+
# @return [String]
|
37808
|
+
#
|
37809
|
+
def address
|
37810
|
+
@address
|
37811
|
+
end
|
37812
|
+
|
37813
|
+
#
|
37814
|
+
# Sets the value of the `address` attribute.
|
37815
|
+
#
|
37816
|
+
# @param value [String]
|
37817
|
+
#
|
37818
|
+
def address=(value)
|
37819
|
+
@address = value
|
37820
|
+
end
|
37821
|
+
|
37822
|
+
#
|
37823
|
+
# Returns the value of the `comment` attribute.
|
37824
|
+
#
|
37825
|
+
# @return [String]
|
37826
|
+
#
|
37827
|
+
def comment
|
37828
|
+
@comment
|
37829
|
+
end
|
37830
|
+
|
37831
|
+
#
|
37832
|
+
# Sets the value of the `comment` attribute.
|
37833
|
+
#
|
37834
|
+
# @param value [String]
|
37835
|
+
#
|
37836
|
+
def comment=(value)
|
37837
|
+
@comment = value
|
37838
|
+
end
|
37839
|
+
|
37840
|
+
#
|
37841
|
+
# Returns the value of the `description` attribute.
|
37842
|
+
#
|
37843
|
+
# @return [String]
|
37844
|
+
#
|
37845
|
+
def description
|
37846
|
+
@description
|
37847
|
+
end
|
37848
|
+
|
37849
|
+
#
|
37850
|
+
# Sets the value of the `description` attribute.
|
37851
|
+
#
|
37852
|
+
# @param value [String]
|
37853
|
+
#
|
37854
|
+
def description=(value)
|
37855
|
+
@description = value
|
37856
|
+
end
|
37857
|
+
|
37858
|
+
#
|
37859
|
+
# Returns the value of the `event` attribute.
|
37860
|
+
#
|
37861
|
+
# @return [NotifiableEvent]
|
37862
|
+
#
|
37863
|
+
def event
|
37864
|
+
@event
|
37865
|
+
end
|
37866
|
+
|
37867
|
+
#
|
37868
|
+
# Sets the value of the `event` attribute.
|
37869
|
+
#
|
37870
|
+
# @param value [NotifiableEvent]
|
37871
|
+
#
|
37872
|
+
def event=(value)
|
37873
|
+
@event = value
|
37874
|
+
end
|
37875
|
+
|
37876
|
+
#
|
37877
|
+
# Returns the value of the `id` attribute.
|
37878
|
+
#
|
37879
|
+
# @return [String]
|
37880
|
+
#
|
37881
|
+
def id
|
37882
|
+
@id
|
37883
|
+
end
|
37884
|
+
|
37885
|
+
#
|
37886
|
+
# Sets the value of the `id` attribute.
|
37887
|
+
#
|
37888
|
+
# @param value [String]
|
37889
|
+
#
|
37890
|
+
def id=(value)
|
37891
|
+
@id = value
|
37892
|
+
end
|
37893
|
+
|
37894
|
+
#
|
37895
|
+
# Returns the value of the `name` attribute.
|
37896
|
+
#
|
37897
|
+
# @return [String]
|
37898
|
+
#
|
37899
|
+
def name
|
37900
|
+
@name
|
37901
|
+
end
|
37902
|
+
|
37903
|
+
#
|
37904
|
+
# Sets the value of the `name` attribute.
|
37905
|
+
#
|
37906
|
+
# @param value [String]
|
37907
|
+
#
|
37908
|
+
def name=(value)
|
37909
|
+
@name = value
|
37910
|
+
end
|
37911
|
+
|
37912
|
+
#
|
37913
|
+
# Returns the value of the `notification_method` attribute.
|
37914
|
+
#
|
37915
|
+
# @return [NotificationMethod]
|
37916
|
+
#
|
37917
|
+
def notification_method
|
37918
|
+
@notification_method
|
37919
|
+
end
|
37920
|
+
|
37921
|
+
#
|
37922
|
+
# Sets the value of the `notification_method` attribute.
|
37923
|
+
#
|
37924
|
+
# @param value [NotificationMethod]
|
37925
|
+
#
|
37926
|
+
def notification_method=(value)
|
37927
|
+
@notification_method = value
|
37928
|
+
end
|
37929
|
+
|
37930
|
+
#
|
37931
|
+
# Returns the value of the `user` attribute.
|
37932
|
+
#
|
37933
|
+
# @return [User]
|
37934
|
+
#
|
37935
|
+
def user
|
37936
|
+
@user
|
37937
|
+
end
|
37938
|
+
|
37939
|
+
#
|
37940
|
+
# Sets the value of the `user` attribute.
|
37941
|
+
#
|
37942
|
+
# @param value [User, Hash]
|
37943
|
+
#
|
37944
|
+
# The `value` parameter can be an instance of {OvirtSDK4::User} or a hash.
|
37945
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
37946
|
+
# `opts` parameter to the constructor.
|
37947
|
+
#
|
37948
|
+
def user=(value)
|
37949
|
+
if value.is_a?(Hash)
|
37950
|
+
value = User.new(value)
|
37951
|
+
end
|
37952
|
+
@user = value
|
37953
|
+
end
|
37954
|
+
|
37955
|
+
#
|
37956
|
+
# Creates a new instance of the {EventSubscription} class.
|
37957
|
+
#
|
37958
|
+
# @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
|
37959
|
+
# should be symbols corresponding to the names of the attributes. The values of the hash
|
37960
|
+
# should be the values of the attributes.
|
37961
|
+
#
|
37962
|
+
# @option opts [String] :address The value of attribute `address`.
|
37963
|
+
#
|
37964
|
+
# @option opts [String] :comment The value of attribute `comment`.
|
37965
|
+
#
|
37966
|
+
# @option opts [String] :description The value of attribute `description`.
|
37967
|
+
#
|
37968
|
+
# @option opts [NotifiableEvent] :event The value of attribute `event`.
|
37969
|
+
#
|
37970
|
+
# @option opts [String] :id The value of attribute `id`.
|
37971
|
+
#
|
37972
|
+
# @option opts [String] :name The value of attribute `name`.
|
37973
|
+
#
|
37974
|
+
# @option opts [NotificationMethod] :notification_method The value of attribute `notification_method`.
|
37975
|
+
#
|
37976
|
+
# @option opts [User, Hash] :user The value of attribute `user`.
|
37977
|
+
#
|
37978
|
+
#
|
37979
|
+
def initialize(opts = {})
|
37980
|
+
super(opts)
|
37981
|
+
self.address = opts[:address]
|
37982
|
+
self.event = opts[:event]
|
37983
|
+
self.notification_method = opts[:notification_method]
|
37984
|
+
self.user = opts[:user]
|
37985
|
+
end
|
37986
|
+
|
37987
|
+
#
|
37988
|
+
# Returns `true` if `self` and `other` have the same attributes and values.
|
37989
|
+
#
|
37990
|
+
def ==(other)
|
37991
|
+
super &&
|
37992
|
+
@address == other.address &&
|
37993
|
+
@event == other.event &&
|
37994
|
+
@notification_method == other.notification_method &&
|
37995
|
+
@user == other.user
|
37996
|
+
end
|
37997
|
+
|
37998
|
+
#
|
37999
|
+
# Generates a hash value for this object.
|
38000
|
+
#
|
38001
|
+
def hash
|
38002
|
+
super +
|
38003
|
+
@address.hash +
|
38004
|
+
@event.hash +
|
38005
|
+
@notification_method.hash +
|
38006
|
+
@user.hash
|
38007
|
+
end
|
38008
|
+
|
38009
|
+
end
|
38010
|
+
|
37498
38011
|
class ExternalComputeResource < Identified
|
37499
38012
|
|
37500
38013
|
#
|
@@ -42161,7 +42674,7 @@ module OvirtSDK4
|
|
42161
42674
|
#
|
42162
42675
|
# Returns the value of the `devices` attribute.
|
42163
42676
|
#
|
42164
|
-
# @return [Array<
|
42677
|
+
# @return [Array<HostDevice>]
|
42165
42678
|
#
|
42166
42679
|
def devices
|
42167
42680
|
@devices
|
@@ -42170,14 +42683,14 @@ module OvirtSDK4
|
|
42170
42683
|
#
|
42171
42684
|
# Sets the value of the `devices` attribute.
|
42172
42685
|
#
|
42173
|
-
# @param list [Array<
|
42686
|
+
# @param list [Array<HostDevice>]
|
42174
42687
|
#
|
42175
42688
|
def devices=(list)
|
42176
42689
|
if list.class == Array
|
42177
42690
|
list = List.new(list)
|
42178
42691
|
list.each_with_index do |value, index|
|
42179
42692
|
if value.is_a?(Hash)
|
42180
|
-
list[index] =
|
42693
|
+
list[index] = HostDevice.new(value)
|
42181
42694
|
end
|
42182
42695
|
end
|
42183
42696
|
end
|
@@ -43204,7 +43717,7 @@ module OvirtSDK4
|
|
43204
43717
|
#
|
43205
43718
|
# @option opts [HostDevicePassthrough, Hash] :device_passthrough The value of attribute `device_passthrough`.
|
43206
43719
|
#
|
43207
|
-
# @option opts [Array<
|
43720
|
+
# @option opts [Array<HostDevice>, Array<Hash>] :devices The values of attribute `devices`.
|
43208
43721
|
#
|
43209
43722
|
# @option opts [Display, Hash] :display The value of attribute `display`.
|
43210
43723
|
#
|
@@ -43603,6 +44116,32 @@ module OvirtSDK4
|
|
43603
44116
|
@iommu_group = value
|
43604
44117
|
end
|
43605
44118
|
|
44119
|
+
#
|
44120
|
+
# Returns the value of the `m_dev_types` attribute.
|
44121
|
+
#
|
44122
|
+
# @return [Array<MDevType>]
|
44123
|
+
#
|
44124
|
+
def m_dev_types
|
44125
|
+
@m_dev_types
|
44126
|
+
end
|
44127
|
+
|
44128
|
+
#
|
44129
|
+
# Sets the value of the `m_dev_types` attribute.
|
44130
|
+
#
|
44131
|
+
# @param list [Array<MDevType>]
|
44132
|
+
#
|
44133
|
+
def m_dev_types=(list)
|
44134
|
+
if list.class == Array
|
44135
|
+
list = List.new(list)
|
44136
|
+
list.each_with_index do |value, index|
|
44137
|
+
if value.is_a?(Hash)
|
44138
|
+
list[index] = MDevType.new(value)
|
44139
|
+
end
|
44140
|
+
end
|
44141
|
+
end
|
44142
|
+
@m_dev_types = list
|
44143
|
+
end
|
44144
|
+
|
43606
44145
|
#
|
43607
44146
|
# Returns the value of the `name` attribute.
|
43608
44147
|
#
|
@@ -43803,6 +44342,8 @@ module OvirtSDK4
|
|
43803
44342
|
#
|
43804
44343
|
# @option opts [Integer] :iommu_group The value of attribute `iommu_group`.
|
43805
44344
|
#
|
44345
|
+
# @option opts [Array<MDevType>, Array<Hash>] :m_dev_types The values of attribute `m_dev_types`.
|
44346
|
+
#
|
43806
44347
|
# @option opts [String] :name The value of attribute `name`.
|
43807
44348
|
#
|
43808
44349
|
# @option opts [HostDevice, Hash] :parent_device The value of attribute `parent_device`.
|
@@ -43826,6 +44367,7 @@ module OvirtSDK4
|
|
43826
44367
|
self.driver = opts[:driver]
|
43827
44368
|
self.host = opts[:host]
|
43828
44369
|
self.iommu_group = opts[:iommu_group]
|
44370
|
+
self.m_dev_types = opts[:m_dev_types]
|
43829
44371
|
self.parent_device = opts[:parent_device]
|
43830
44372
|
self.physical_function = opts[:physical_function]
|
43831
44373
|
self.placeholder = opts[:placeholder]
|
@@ -43844,6 +44386,7 @@ module OvirtSDK4
|
|
43844
44386
|
@driver == other.driver &&
|
43845
44387
|
@host == other.host &&
|
43846
44388
|
@iommu_group == other.iommu_group &&
|
44389
|
+
@m_dev_types == other.m_dev_types &&
|
43847
44390
|
@parent_device == other.parent_device &&
|
43848
44391
|
@physical_function == other.physical_function &&
|
43849
44392
|
@placeholder == other.placeholder &&
|
@@ -43862,6 +44405,7 @@ module OvirtSDK4
|
|
43862
44405
|
@driver.hash +
|
43863
44406
|
@host.hash +
|
43864
44407
|
@iommu_group.hash +
|
44408
|
+
@m_dev_types.hash +
|
43865
44409
|
@parent_device.hash +
|
43866
44410
|
@physical_function.hash +
|
43867
44411
|
@placeholder.hash +
|
@@ -56260,6 +56804,7 @@ module OvirtSDK4
|
|
56260
56804
|
end
|
56261
56805
|
|
56262
56806
|
module BiosType
|
56807
|
+
CLUSTER_DEFAULT = 'cluster_default'.freeze
|
56263
56808
|
I440FX_SEA_BIOS = 'i440fx_sea_bios'.freeze
|
56264
56809
|
Q35_OVMF = 'q35_ovmf'.freeze
|
56265
56810
|
Q35_SEA_BIOS = 'q35_sea_bios'.freeze
|
@@ -56627,6 +57172,169 @@ module OvirtSDK4
|
|
56627
57172
|
UP = 'up'.freeze
|
56628
57173
|
end
|
56629
57174
|
|
57175
|
+
module NotifiableEvent
|
57176
|
+
CLUSTER_ALERT_HA_RESERVATION = 'cluster_alert_ha_reservation'.freeze
|
57177
|
+
CLUSTER_ALERT_HA_RESERVATION_DOWN = 'cluster_alert_ha_reservation_down'.freeze
|
57178
|
+
DWH_ERROR = 'dwh_error'.freeze
|
57179
|
+
DWH_STOPPED = 'dwh_stopped'.freeze
|
57180
|
+
ENGINE_BACKUP_COMPLETED = 'engine_backup_completed'.freeze
|
57181
|
+
ENGINE_BACKUP_FAILED = 'engine_backup_failed'.freeze
|
57182
|
+
ENGINE_BACKUP_STARTED = 'engine_backup_started'.freeze
|
57183
|
+
ENGINE_CA_CERTIFICATION_HAS_EXPIRED = 'engine_ca_certification_has_expired'.freeze
|
57184
|
+
ENGINE_CA_CERTIFICATION_IS_ABOUT_TO_EXPIRE = 'engine_ca_certification_is_about_to_expire'.freeze
|
57185
|
+
ENGINE_CERTIFICATION_HAS_EXPIRED = 'engine_certification_has_expired'.freeze
|
57186
|
+
ENGINE_CERTIFICATION_IS_ABOUT_TO_EXPIRE = 'engine_certification_is_about_to_expire'.freeze
|
57187
|
+
ENGINE_STOP = 'engine_stop'.freeze
|
57188
|
+
GLUSTER_BRICK_STATUS_CHANGED = 'gluster_brick_status_changed'.freeze
|
57189
|
+
GLUSTER_HOOK_ADD_FAILED = 'gluster_hook_add_failed'.freeze
|
57190
|
+
GLUSTER_HOOK_ADDED = 'gluster_hook_added'.freeze
|
57191
|
+
GLUSTER_HOOK_CONFLICT_DETECTED = 'gluster_hook_conflict_detected'.freeze
|
57192
|
+
GLUSTER_HOOK_DETECTED_DELETE = 'gluster_hook_detected_delete'.freeze
|
57193
|
+
GLUSTER_HOOK_DETECTED_NEW = 'gluster_hook_detected_new'.freeze
|
57194
|
+
GLUSTER_HOOK_DISABLE = 'gluster_hook_disable'.freeze
|
57195
|
+
GLUSTER_HOOK_DISABLE_FAILED = 'gluster_hook_disable_failed'.freeze
|
57196
|
+
GLUSTER_HOOK_ENABLE = 'gluster_hook_enable'.freeze
|
57197
|
+
GLUSTER_HOOK_ENABLE_FAILED = 'gluster_hook_enable_failed'.freeze
|
57198
|
+
GLUSTER_HOOK_REMOVE_FAILED = 'gluster_hook_remove_failed'.freeze
|
57199
|
+
GLUSTER_HOOK_REMOVED = 'gluster_hook_removed'.freeze
|
57200
|
+
GLUSTER_SERVER_ADD_FAILED = 'gluster_server_add_failed'.freeze
|
57201
|
+
GLUSTER_SERVER_REMOVE = 'gluster_server_remove'.freeze
|
57202
|
+
GLUSTER_SERVER_REMOVE_FAILED = 'gluster_server_remove_failed'.freeze
|
57203
|
+
GLUSTER_SERVICE_RESTART_FAILED = 'gluster_service_restart_failed'.freeze
|
57204
|
+
GLUSTER_SERVICE_RESTARTED = 'gluster_service_restarted'.freeze
|
57205
|
+
GLUSTER_SERVICE_START_FAILED = 'gluster_service_start_failed'.freeze
|
57206
|
+
GLUSTER_SERVICE_STARTED = 'gluster_service_started'.freeze
|
57207
|
+
GLUSTER_SERVICE_STOP_FAILED = 'gluster_service_stop_failed'.freeze
|
57208
|
+
GLUSTER_SERVICE_STOPPED = 'gluster_service_stopped'.freeze
|
57209
|
+
GLUSTER_VOLUME_ADD_BRICK = 'gluster_volume_add_brick'.freeze
|
57210
|
+
GLUSTER_VOLUME_ADD_BRICK_FAILED = 'gluster_volume_add_brick_failed'.freeze
|
57211
|
+
GLUSTER_VOLUME_ALL_SNAPSHOTS_DELETE_FAILED = 'gluster_volume_all_snapshots_delete_failed'.freeze
|
57212
|
+
GLUSTER_VOLUME_ALL_SNAPSHOTS_DELETED = 'gluster_volume_all_snapshots_deleted'.freeze
|
57213
|
+
GLUSTER_VOLUME_BRICK_REPLACED = 'gluster_volume_brick_replaced'.freeze
|
57214
|
+
GLUSTER_VOLUME_CONFIRMED_SPACE_LOW = 'gluster_volume_confirmed_space_low'.freeze
|
57215
|
+
GLUSTER_VOLUME_CREATE = 'gluster_volume_create'.freeze
|
57216
|
+
GLUSTER_VOLUME_CREATE_FAILED = 'gluster_volume_create_failed'.freeze
|
57217
|
+
GLUSTER_VOLUME_DELETE = 'gluster_volume_delete'.freeze
|
57218
|
+
GLUSTER_VOLUME_DELETE_FAILED = 'gluster_volume_delete_failed'.freeze
|
57219
|
+
GLUSTER_VOLUME_MIGRATE_BRICK_DATA_FINISHED = 'gluster_volume_migrate_brick_data_finished'.freeze
|
57220
|
+
GLUSTER_VOLUME_OPTION_ADDED = 'gluster_volume_option_added'.freeze
|
57221
|
+
GLUSTER_VOLUME_OPTION_MODIFIED = 'gluster_volume_option_modified'.freeze
|
57222
|
+
GLUSTER_VOLUME_OPTION_SET_FAILED = 'gluster_volume_option_set_failed'.freeze
|
57223
|
+
GLUSTER_VOLUME_OPTIONS_RESET = 'gluster_volume_options_reset'.freeze
|
57224
|
+
GLUSTER_VOLUME_OPTIONS_RESET_ALL = 'gluster_volume_options_reset_all'.freeze
|
57225
|
+
GLUSTER_VOLUME_OPTIONS_RESET_FAILED = 'gluster_volume_options_reset_failed'.freeze
|
57226
|
+
GLUSTER_VOLUME_PROFILE_START = 'gluster_volume_profile_start'.freeze
|
57227
|
+
GLUSTER_VOLUME_PROFILE_START_FAILED = 'gluster_volume_profile_start_failed'.freeze
|
57228
|
+
GLUSTER_VOLUME_PROFILE_STOP = 'gluster_volume_profile_stop'.freeze
|
57229
|
+
GLUSTER_VOLUME_PROFILE_STOP_FAILED = 'gluster_volume_profile_stop_failed'.freeze
|
57230
|
+
GLUSTER_VOLUME_REBALANCE_FINISHED = 'gluster_volume_rebalance_finished'.freeze
|
57231
|
+
GLUSTER_VOLUME_REBALANCE_NOT_FOUND_FROM_CLI = 'gluster_volume_rebalance_not_found_from_cli'.freeze
|
57232
|
+
GLUSTER_VOLUME_REBALANCE_START = 'gluster_volume_rebalance_start'.freeze
|
57233
|
+
GLUSTER_VOLUME_REBALANCE_START_DETECTED_FROM_CLI = 'gluster_volume_rebalance_start_detected_from_cli'.freeze
|
57234
|
+
GLUSTER_VOLUME_REBALANCE_START_FAILED = 'gluster_volume_rebalance_start_failed'.freeze
|
57235
|
+
GLUSTER_VOLUME_REBALANCE_STOP = 'gluster_volume_rebalance_stop'.freeze
|
57236
|
+
GLUSTER_VOLUME_REBALANCE_STOP_FAILED = 'gluster_volume_rebalance_stop_failed'.freeze
|
57237
|
+
GLUSTER_VOLUME_REMOVE_BRICKS = 'gluster_volume_remove_bricks'.freeze
|
57238
|
+
GLUSTER_VOLUME_REMOVE_BRICKS_FAILED = 'gluster_volume_remove_bricks_failed'.freeze
|
57239
|
+
GLUSTER_VOLUME_REMOVE_BRICKS_STOP = 'gluster_volume_remove_bricks_stop'.freeze
|
57240
|
+
GLUSTER_VOLUME_REMOVE_BRICKS_STOP_FAILED = 'gluster_volume_remove_bricks_stop_failed'.freeze
|
57241
|
+
GLUSTER_VOLUME_REPLACE_BRICK_FAILED = 'gluster_volume_replace_brick_failed'.freeze
|
57242
|
+
GLUSTER_VOLUME_REPLACE_BRICK_START = 'gluster_volume_replace_brick_start'.freeze
|
57243
|
+
GLUSTER_VOLUME_REPLACE_BRICK_START_FAILED = 'gluster_volume_replace_brick_start_failed'.freeze
|
57244
|
+
GLUSTER_VOLUME_SNAPSHOT_ACTIVATE_FAILED = 'gluster_volume_snapshot_activate_failed'.freeze
|
57245
|
+
GLUSTER_VOLUME_SNAPSHOT_ACTIVATED = 'gluster_volume_snapshot_activated'.freeze
|
57246
|
+
GLUSTER_VOLUME_SNAPSHOT_CREATE_FAILED = 'gluster_volume_snapshot_create_failed'.freeze
|
57247
|
+
GLUSTER_VOLUME_SNAPSHOT_CREATED = 'gluster_volume_snapshot_created'.freeze
|
57248
|
+
GLUSTER_VOLUME_SNAPSHOT_DEACTIVATE_FAILED = 'gluster_volume_snapshot_deactivate_failed'.freeze
|
57249
|
+
GLUSTER_VOLUME_SNAPSHOT_DEACTIVATED = 'gluster_volume_snapshot_deactivated'.freeze
|
57250
|
+
GLUSTER_VOLUME_SNAPSHOT_DELETE_FAILED = 'gluster_volume_snapshot_delete_failed'.freeze
|
57251
|
+
GLUSTER_VOLUME_SNAPSHOT_DELETED = 'gluster_volume_snapshot_deleted'.freeze
|
57252
|
+
GLUSTER_VOLUME_SNAPSHOT_RESTORE_FAILED = 'gluster_volume_snapshot_restore_failed'.freeze
|
57253
|
+
GLUSTER_VOLUME_SNAPSHOT_RESTORED = 'gluster_volume_snapshot_restored'.freeze
|
57254
|
+
GLUSTER_VOLUME_START = 'gluster_volume_start'.freeze
|
57255
|
+
GLUSTER_VOLUME_START_FAILED = 'gluster_volume_start_failed'.freeze
|
57256
|
+
GLUSTER_VOLUME_STOP = 'gluster_volume_stop'.freeze
|
57257
|
+
GLUSTER_VOLUME_STOP_FAILED = 'gluster_volume_stop_failed'.freeze
|
57258
|
+
HA_VM_FAILED = 'ha_vm_failed'.freeze
|
57259
|
+
HA_VM_RESTART_FAILED = 'ha_vm_restart_failed'.freeze
|
57260
|
+
HOST_ACTIVATE_FAILED = 'host_activate_failed'.freeze
|
57261
|
+
HOST_ACTIVATE_MANUAL_HA = 'host_activate_manual_ha'.freeze
|
57262
|
+
HOST_APPROVE_FAILED = 'host_approve_failed'.freeze
|
57263
|
+
HOST_BOND_SLAVE_STATE_DOWN = 'host_bond_slave_state_down'.freeze
|
57264
|
+
HOST_CERTIFICATE_HAS_INVALID_SAN = 'host_certificate_has_invalid_san'.freeze
|
57265
|
+
HOST_CERTIFICATION_HAS_EXPIRED = 'host_certification_has_expired'.freeze
|
57266
|
+
HOST_CERTIFICATION_IS_ABOUT_TO_EXPIRE = 'host_certification_is_about_to_expire'.freeze
|
57267
|
+
HOST_FAILURE = 'host_failure'.freeze
|
57268
|
+
HOST_HIGH_CPU_USE = 'host_high_cpu_use'.freeze
|
57269
|
+
HOST_HIGH_MEM_USE = 'host_high_mem_use'.freeze
|
57270
|
+
HOST_HIGH_SWAP_USE = 'host_high_swap_use'.freeze
|
57271
|
+
HOST_INITIATED_RUN_VM_FAILED = 'host_initiated_run_vm_failed'.freeze
|
57272
|
+
HOST_INSTALL_FAILED = 'host_install_failed'.freeze
|
57273
|
+
HOST_INTERFACE_HIGH_NETWORK_USE = 'host_interface_high_network_use'.freeze
|
57274
|
+
HOST_INTERFACE_STATE_DOWN = 'host_interface_state_down'.freeze
|
57275
|
+
HOST_LOW_MEM = 'host_low_mem'.freeze
|
57276
|
+
HOST_LOW_SWAP = 'host_low_swap'.freeze
|
57277
|
+
HOST_RECOVER_FAILED = 'host_recover_failed'.freeze
|
57278
|
+
HOST_SET_NONOPERATIONAL = 'host_set_nonoperational'.freeze
|
57279
|
+
HOST_SET_NONOPERATIONAL_DOMAIN = 'host_set_nonoperational_domain'.freeze
|
57280
|
+
HOST_SET_NONOPERATIONAL_IFACE_DOWN = 'host_set_nonoperational_iface_down'.freeze
|
57281
|
+
HOST_SLOW_STORAGE_RESPONSE_TIME = 'host_slow_storage_response_time'.freeze
|
57282
|
+
HOST_TIME_DRIFT_ALERT = 'host_time_drift_alert'.freeze
|
57283
|
+
HOST_UNTRUSTED = 'host_untrusted'.freeze
|
57284
|
+
HOST_UPDATES_ARE_AVAILABLE = 'host_updates_are_available'.freeze
|
57285
|
+
HOST_UPDATES_ARE_AVAILABLE_WITH_PACKAGES = 'host_updates_are_available_with_packages'.freeze
|
57286
|
+
IMPORTEXPORT_IMPORT_TEMPLATE_FROM_TRUSTED_TO_UNTRUSTED = 'importexport_import_template_from_trusted_to_untrusted'.freeze
|
57287
|
+
IMPORTEXPORT_IMPORT_TEMPLATE_FROM_UNTRUSTED_TO_TRUSTED = 'importexport_import_template_from_untrusted_to_trusted'.freeze
|
57288
|
+
IMPORTEXPORT_IMPORT_VM_FROM_TRUSTED_TO_UNTRUSTED = 'importexport_import_vm_from_trusted_to_untrusted'.freeze
|
57289
|
+
IMPORTEXPORT_IMPORT_VM_FROM_UNTRUSTED_TO_TRUSTED = 'importexport_import_vm_from_untrusted_to_trusted'.freeze
|
57290
|
+
IRS_CONFIRMED_DISK_SPACE_LOW = 'irs_confirmed_disk_space_low'.freeze
|
57291
|
+
IRS_DISK_SPACE_LOW = 'irs_disk_space_low'.freeze
|
57292
|
+
IRS_DISK_SPACE_LOW_ERROR = 'irs_disk_space_low_error'.freeze
|
57293
|
+
IRS_FAILURE = 'irs_failure'.freeze
|
57294
|
+
MAC_ADDRESS_IS_EXTERNAL = 'mac_address_is_external'.freeze
|
57295
|
+
NETWORK_UPDATE_DISPLAY_FOR_CLUSTER_WITH_ACTIVE_VM = 'network_update_display_for_cluster_with_active_vm'.freeze
|
57296
|
+
NETWORK_UPDATE_DISPLAY_FOR_HOST_WITH_ACTIVE_VM = 'network_update_display_for_host_with_active_vm'.freeze
|
57297
|
+
NUMBER_OF_LVS_ON_STORAGE_DOMAIN_EXCEEDED_THRESHOLD = 'number_of_lvs_on_storage_domain_exceeded_threshold'.freeze
|
57298
|
+
REMOVE_GLUSTER_VOLUME_BRICKS_NOT_FOUND_FROM_CLI = 'remove_gluster_volume_bricks_not_found_from_cli'.freeze
|
57299
|
+
START_REMOVING_GLUSTER_VOLUME_BRICKS = 'start_removing_gluster_volume_bricks'.freeze
|
57300
|
+
START_REMOVING_GLUSTER_VOLUME_BRICKS_DETECTED_FROM_CLI = 'start_removing_gluster_volume_bricks_detected_from_cli'.freeze
|
57301
|
+
START_REMOVING_GLUSTER_VOLUME_BRICKS_FAILED = 'start_removing_gluster_volume_bricks_failed'.freeze
|
57302
|
+
SYSTEM_CHANGE_STORAGE_POOL_STATUS_NO_HOST_FOR_SPM = 'system_change_storage_pool_status_no_host_for_spm'.freeze
|
57303
|
+
SYSTEM_DEACTIVATED_STORAGE_DOMAIN = 'system_deactivated_storage_domain'.freeze
|
57304
|
+
USER_ADD_VM_FROM_TRUSTED_TO_UNTRUSTED = 'user_add_vm_from_trusted_to_untrusted'.freeze
|
57305
|
+
USER_ADD_VM_FROM_UNTRUSTED_TO_TRUSTED = 'user_add_vm_from_untrusted_to_trusted'.freeze
|
57306
|
+
USER_ADD_VM_TEMPLATE_FROM_TRUSTED_TO_UNTRUSTED = 'user_add_vm_template_from_trusted_to_untrusted'.freeze
|
57307
|
+
USER_ADD_VM_TEMPLATE_FROM_UNTRUSTED_TO_TRUSTED = 'user_add_vm_template_from_untrusted_to_trusted'.freeze
|
57308
|
+
USER_HOST_MAINTENANCE = 'user_host_maintenance'.freeze
|
57309
|
+
USER_HOST_MAINTENANCE_MANUAL_HA = 'user_host_maintenance_manual_ha'.freeze
|
57310
|
+
USER_HOST_MAINTENANCE_MIGRATION_FAILED = 'user_host_maintenance_migration_failed'.freeze
|
57311
|
+
USER_UPDATE_VM_FROM_TRUSTED_TO_UNTRUSTED = 'user_update_vm_from_trusted_to_untrusted'.freeze
|
57312
|
+
USER_UPDATE_VM_FROM_UNTRUSTED_TO_TRUSTED = 'user_update_vm_from_untrusted_to_trusted'.freeze
|
57313
|
+
USER_UPDATE_VM_TEMPLATE_FROM_TRUSTED_TO_UNTRUSTED = 'user_update_vm_template_from_trusted_to_untrusted'.freeze
|
57314
|
+
USER_UPDATE_VM_TEMPLATE_FROM_UNTRUSTED_TO_TRUSTED = 'user_update_vm_template_from_untrusted_to_trusted'.freeze
|
57315
|
+
VM_CONSOLE_CONNECTED = 'vm_console_connected'.freeze
|
57316
|
+
VM_CONSOLE_DISCONNECTED = 'vm_console_disconnected'.freeze
|
57317
|
+
VM_DOWN_ERROR = 'vm_down_error'.freeze
|
57318
|
+
VM_FAILURE = 'vm_failure'.freeze
|
57319
|
+
VM_MIGRATION_FAILED = 'vm_migration_failed'.freeze
|
57320
|
+
VM_MIGRATION_START = 'vm_migration_start'.freeze
|
57321
|
+
VM_MIGRATION_TO_SERVER_FAILED = 'vm_migration_to_server_failed'.freeze
|
57322
|
+
VM_NOT_RESPONDING = 'vm_not_responding'.freeze
|
57323
|
+
VM_PAUSED = 'vm_paused'.freeze
|
57324
|
+
VM_PAUSED_EIO = 'vm_paused_eio'.freeze
|
57325
|
+
VM_PAUSED_ENOSPC = 'vm_paused_enospc'.freeze
|
57326
|
+
VM_PAUSED_EPERM = 'vm_paused_eperm'.freeze
|
57327
|
+
VM_PAUSED_ERROR = 'vm_paused_error'.freeze
|
57328
|
+
VM_RECOVERED_FROM_PAUSE_ERROR = 'vm_recovered_from_pause_error'.freeze
|
57329
|
+
VM_SET_TICKET = 'vm_set_ticket'.freeze
|
57330
|
+
VM_STATUS_RESTORED = 'vm_status_restored'.freeze
|
57331
|
+
end
|
57332
|
+
|
57333
|
+
module NotificationMethod
|
57334
|
+
SMTP = 'smtp'.freeze
|
57335
|
+
SNMP = 'snmp'.freeze
|
57336
|
+
end
|
57337
|
+
|
56630
57338
|
module NumaTuneMode
|
56631
57339
|
INTERLEAVE = 'interleave'.freeze
|
56632
57340
|
PREFERRED = 'preferred'.freeze
|
@@ -56743,6 +57451,7 @@ module OvirtSDK4
|
|
56743
57451
|
module SerialNumberPolicy
|
56744
57452
|
CUSTOM = 'custom'.freeze
|
56745
57453
|
HOST = 'host'.freeze
|
57454
|
+
NONE = 'none'.freeze
|
56746
57455
|
VM = 'vm'.freeze
|
56747
57456
|
end
|
56748
57457
|
|