ovirt-engine-sdk 4.4.0 → 4.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.adoc +5 -0
- data/lib/ovirtsdk4/readers.rb +306 -4
- data/lib/ovirtsdk4/services.rb +967 -25
- data/lib/ovirtsdk4/types.rb +1201 -192
- data/lib/ovirtsdk4/version.rb +1 -1
- data/lib/ovirtsdk4/writers.rb +94 -1
- metadata +2 -2
data/lib/ovirtsdk4/types.rb
CHANGED
@@ -431,6 +431,9 @@ module OvirtSDK4
|
|
431
431
|
class User < Identified
|
432
432
|
end
|
433
433
|
|
434
|
+
class UserOption < Identified
|
435
|
+
end
|
436
|
+
|
434
437
|
class Value < Struct
|
435
438
|
end
|
436
439
|
|
@@ -512,6 +515,9 @@ module OvirtSDK4
|
|
512
515
|
class Certificate < Identified
|
513
516
|
end
|
514
517
|
|
518
|
+
class Checkpoint < Identified
|
519
|
+
end
|
520
|
+
|
515
521
|
class Cluster < Identified
|
516
522
|
end
|
517
523
|
|
@@ -5696,21 +5702,21 @@ module OvirtSDK4
|
|
5696
5702
|
end
|
5697
5703
|
|
5698
5704
|
#
|
5699
|
-
# Returns the value of the `
|
5705
|
+
# Returns the value of the `shallow` attribute.
|
5700
5706
|
#
|
5701
|
-
# @return [
|
5707
|
+
# @return [Boolean]
|
5702
5708
|
#
|
5703
|
-
def
|
5704
|
-
@
|
5709
|
+
def shallow
|
5710
|
+
@shallow
|
5705
5711
|
end
|
5706
5712
|
|
5707
5713
|
#
|
5708
|
-
# Sets the value of the `
|
5714
|
+
# Sets the value of the `shallow` attribute.
|
5709
5715
|
#
|
5710
|
-
# @param value [
|
5716
|
+
# @param value [Boolean]
|
5711
5717
|
#
|
5712
|
-
def
|
5713
|
-
@
|
5718
|
+
def shallow=(value)
|
5719
|
+
@shallow = value
|
5714
5720
|
end
|
5715
5721
|
|
5716
5722
|
#
|
@@ -5738,6 +5744,24 @@ module OvirtSDK4
|
|
5738
5744
|
@snapshot = value
|
5739
5745
|
end
|
5740
5746
|
|
5747
|
+
#
|
5748
|
+
# Returns the value of the `timeout_policy` attribute.
|
5749
|
+
#
|
5750
|
+
# @return [ImageTransferTimeoutPolicy]
|
5751
|
+
#
|
5752
|
+
def timeout_policy
|
5753
|
+
@timeout_policy
|
5754
|
+
end
|
5755
|
+
|
5756
|
+
#
|
5757
|
+
# Sets the value of the `timeout_policy` attribute.
|
5758
|
+
#
|
5759
|
+
# @param value [ImageTransferTimeoutPolicy]
|
5760
|
+
#
|
5761
|
+
def timeout_policy=(value)
|
5762
|
+
@timeout_policy = value
|
5763
|
+
end
|
5764
|
+
|
5741
5765
|
#
|
5742
5766
|
# Returns the value of the `transfer_url` attribute.
|
5743
5767
|
#
|
@@ -5809,10 +5833,12 @@ module OvirtSDK4
|
|
5809
5833
|
#
|
5810
5834
|
# @option opts [String] :proxy_url The value of attribute `proxy_url`.
|
5811
5835
|
#
|
5812
|
-
# @option opts [
|
5836
|
+
# @option opts [Boolean] :shallow The value of attribute `shallow`.
|
5813
5837
|
#
|
5814
5838
|
# @option opts [DiskSnapshot, Hash] :snapshot The value of attribute `snapshot`.
|
5815
5839
|
#
|
5840
|
+
# @option opts [ImageTransferTimeoutPolicy] :timeout_policy The value of attribute `timeout_policy`.
|
5841
|
+
#
|
5816
5842
|
# @option opts [String] :transfer_url The value of attribute `transfer_url`.
|
5817
5843
|
#
|
5818
5844
|
# @option opts [Integer] :transferred The value of attribute `transferred`.
|
@@ -5830,8 +5856,9 @@ module OvirtSDK4
|
|
5830
5856
|
self.inactivity_timeout = opts[:inactivity_timeout]
|
5831
5857
|
self.phase = opts[:phase]
|
5832
5858
|
self.proxy_url = opts[:proxy_url]
|
5833
|
-
self.
|
5859
|
+
self.shallow = opts[:shallow]
|
5834
5860
|
self.snapshot = opts[:snapshot]
|
5861
|
+
self.timeout_policy = opts[:timeout_policy]
|
5835
5862
|
self.transfer_url = opts[:transfer_url]
|
5836
5863
|
self.transferred = opts[:transferred]
|
5837
5864
|
end
|
@@ -5851,8 +5878,9 @@ module OvirtSDK4
|
|
5851
5878
|
@inactivity_timeout == other.inactivity_timeout &&
|
5852
5879
|
@phase == other.phase &&
|
5853
5880
|
@proxy_url == other.proxy_url &&
|
5854
|
-
@
|
5881
|
+
@shallow == other.shallow &&
|
5855
5882
|
@snapshot == other.snapshot &&
|
5883
|
+
@timeout_policy == other.timeout_policy &&
|
5856
5884
|
@transfer_url == other.transfer_url &&
|
5857
5885
|
@transferred == other.transferred
|
5858
5886
|
end
|
@@ -5872,8 +5900,9 @@ module OvirtSDK4
|
|
5872
5900
|
@inactivity_timeout.hash +
|
5873
5901
|
@phase.hash +
|
5874
5902
|
@proxy_url.hash +
|
5875
|
-
@
|
5903
|
+
@shallow.hash +
|
5876
5904
|
@snapshot.hash +
|
5905
|
+
@timeout_policy.hash +
|
5877
5906
|
@transfer_url.hash +
|
5878
5907
|
@transferred.hash
|
5879
5908
|
end
|
@@ -9042,6 +9071,32 @@ module OvirtSDK4
|
|
9042
9071
|
@name = value
|
9043
9072
|
end
|
9044
9073
|
|
9074
|
+
#
|
9075
|
+
# Returns the value of the `permissions` attribute.
|
9076
|
+
#
|
9077
|
+
# @return [Array<Permission>]
|
9078
|
+
#
|
9079
|
+
def permissions
|
9080
|
+
@permissions
|
9081
|
+
end
|
9082
|
+
|
9083
|
+
#
|
9084
|
+
# Sets the value of the `permissions` attribute.
|
9085
|
+
#
|
9086
|
+
# @param list [Array<Permission>]
|
9087
|
+
#
|
9088
|
+
def permissions=(list)
|
9089
|
+
if list.class == Array
|
9090
|
+
list = List.new(list)
|
9091
|
+
list.each_with_index do |value, index|
|
9092
|
+
if value.is_a?(Hash)
|
9093
|
+
list[index] = Permission.new(value)
|
9094
|
+
end
|
9095
|
+
end
|
9096
|
+
end
|
9097
|
+
@permissions = list
|
9098
|
+
end
|
9099
|
+
|
9045
9100
|
#
|
9046
9101
|
# Returns the value of the `ranges` attribute.
|
9047
9102
|
#
|
@@ -9087,6 +9142,8 @@ module OvirtSDK4
|
|
9087
9142
|
#
|
9088
9143
|
# @option opts [String] :name The value of attribute `name`.
|
9089
9144
|
#
|
9145
|
+
# @option opts [Array<Permission>, Array<Hash>] :permissions The values of attribute `permissions`.
|
9146
|
+
#
|
9090
9147
|
# @option opts [Array<Range>, Array<Hash>] :ranges The values of attribute `ranges`.
|
9091
9148
|
#
|
9092
9149
|
#
|
@@ -9094,6 +9151,7 @@ module OvirtSDK4
|
|
9094
9151
|
super(opts)
|
9095
9152
|
self.allow_duplicates = opts[:allow_duplicates]
|
9096
9153
|
self.default_pool = opts[:default_pool]
|
9154
|
+
self.permissions = opts[:permissions]
|
9097
9155
|
self.ranges = opts[:ranges]
|
9098
9156
|
end
|
9099
9157
|
|
@@ -9104,6 +9162,7 @@ module OvirtSDK4
|
|
9104
9162
|
super &&
|
9105
9163
|
@allow_duplicates == other.allow_duplicates &&
|
9106
9164
|
@default_pool == other.default_pool &&
|
9165
|
+
@permissions == other.permissions &&
|
9107
9166
|
@ranges == other.ranges
|
9108
9167
|
end
|
9109
9168
|
|
@@ -9114,6 +9173,7 @@ module OvirtSDK4
|
|
9114
9173
|
super +
|
9115
9174
|
@allow_duplicates.hash +
|
9116
9175
|
@default_pool.hash +
|
9176
|
+
@permissions.hash +
|
9117
9177
|
@ranges.hash
|
9118
9178
|
end
|
9119
9179
|
|
@@ -10027,6 +10087,24 @@ module OvirtSDK4
|
|
10027
10087
|
@permissions = list
|
10028
10088
|
end
|
10029
10089
|
|
10090
|
+
#
|
10091
|
+
# Returns the value of the `port_isolation` attribute.
|
10092
|
+
#
|
10093
|
+
# @return [Boolean]
|
10094
|
+
#
|
10095
|
+
def port_isolation
|
10096
|
+
@port_isolation
|
10097
|
+
end
|
10098
|
+
|
10099
|
+
#
|
10100
|
+
# Sets the value of the `port_isolation` attribute.
|
10101
|
+
#
|
10102
|
+
# @param value [Boolean]
|
10103
|
+
#
|
10104
|
+
def port_isolation=(value)
|
10105
|
+
@port_isolation = value
|
10106
|
+
end
|
10107
|
+
|
10030
10108
|
#
|
10031
10109
|
# Returns the value of the `profile_required` attribute.
|
10032
10110
|
#
|
@@ -10246,6 +10324,8 @@ module OvirtSDK4
|
|
10246
10324
|
#
|
10247
10325
|
# @option opts [Array<Permission>, Array<Hash>] :permissions The values of attribute `permissions`.
|
10248
10326
|
#
|
10327
|
+
# @option opts [Boolean] :port_isolation The value of attribute `port_isolation`.
|
10328
|
+
#
|
10249
10329
|
# @option opts [Boolean] :profile_required The value of attribute `profile_required`.
|
10250
10330
|
#
|
10251
10331
|
# @option opts [Qos, Hash] :qos The value of attribute `qos`.
|
@@ -10277,6 +10357,7 @@ module OvirtSDK4
|
|
10277
10357
|
self.mtu = opts[:mtu]
|
10278
10358
|
self.network_labels = opts[:network_labels]
|
10279
10359
|
self.permissions = opts[:permissions]
|
10360
|
+
self.port_isolation = opts[:port_isolation]
|
10280
10361
|
self.profile_required = opts[:profile_required]
|
10281
10362
|
self.qos = opts[:qos]
|
10282
10363
|
self.required = opts[:required]
|
@@ -10303,6 +10384,7 @@ module OvirtSDK4
|
|
10303
10384
|
@mtu == other.mtu &&
|
10304
10385
|
@network_labels == other.network_labels &&
|
10305
10386
|
@permissions == other.permissions &&
|
10387
|
+
@port_isolation == other.port_isolation &&
|
10306
10388
|
@profile_required == other.profile_required &&
|
10307
10389
|
@qos == other.qos &&
|
10308
10390
|
@required == other.required &&
|
@@ -10329,6 +10411,7 @@ module OvirtSDK4
|
|
10329
10411
|
@mtu.hash +
|
10330
10412
|
@network_labels.hash +
|
10331
10413
|
@permissions.hash +
|
10414
|
+
@port_isolation.hash +
|
10332
10415
|
@profile_required.hash +
|
10333
10416
|
@qos.hash +
|
10334
10417
|
@required.hash +
|
@@ -14593,6 +14676,24 @@ module OvirtSDK4
|
|
14593
14676
|
|
14594
14677
|
class ProductInfo < Struct
|
14595
14678
|
|
14679
|
+
#
|
14680
|
+
# Returns the value of the `instance_id` attribute.
|
14681
|
+
#
|
14682
|
+
# @return [String]
|
14683
|
+
#
|
14684
|
+
def instance_id
|
14685
|
+
@instance_id
|
14686
|
+
end
|
14687
|
+
|
14688
|
+
#
|
14689
|
+
# Sets the value of the `instance_id` attribute.
|
14690
|
+
#
|
14691
|
+
# @param value [String]
|
14692
|
+
#
|
14693
|
+
def instance_id=(value)
|
14694
|
+
@instance_id = value
|
14695
|
+
end
|
14696
|
+
|
14596
14697
|
#
|
14597
14698
|
# Returns the value of the `name` attribute.
|
14598
14699
|
#
|
@@ -14661,6 +14762,8 @@ module OvirtSDK4
|
|
14661
14762
|
# should be symbols corresponding to the names of the attributes. The values of the hash
|
14662
14763
|
# should be the values of the attributes.
|
14663
14764
|
#
|
14765
|
+
# @option opts [String] :instance_id The value of attribute `instance_id`.
|
14766
|
+
#
|
14664
14767
|
# @option opts [String] :name The value of attribute `name`.
|
14665
14768
|
#
|
14666
14769
|
# @option opts [String] :vendor The value of attribute `vendor`.
|
@@ -14670,6 +14773,7 @@ module OvirtSDK4
|
|
14670
14773
|
#
|
14671
14774
|
def initialize(opts = {})
|
14672
14775
|
super(opts)
|
14776
|
+
self.instance_id = opts[:instance_id]
|
14673
14777
|
self.name = opts[:name]
|
14674
14778
|
self.vendor = opts[:vendor]
|
14675
14779
|
self.version = opts[:version]
|
@@ -14680,6 +14784,7 @@ module OvirtSDK4
|
|
14680
14784
|
#
|
14681
14785
|
def ==(other)
|
14682
14786
|
super &&
|
14787
|
+
@instance_id == other.instance_id &&
|
14683
14788
|
@name == other.name &&
|
14684
14789
|
@vendor == other.vendor &&
|
14685
14790
|
@version == other.version
|
@@ -14690,6 +14795,7 @@ module OvirtSDK4
|
|
14690
14795
|
#
|
14691
14796
|
def hash
|
14692
14797
|
super +
|
14798
|
+
@instance_id.hash +
|
14693
14799
|
@name.hash +
|
14694
14800
|
@vendor.hash +
|
14695
14801
|
@version.hash
|
@@ -19385,6 +19491,24 @@ module OvirtSDK4
|
|
19385
19491
|
@port = value
|
19386
19492
|
end
|
19387
19493
|
|
19494
|
+
#
|
19495
|
+
# Returns the value of the `public_key` attribute.
|
19496
|
+
#
|
19497
|
+
# @return [String]
|
19498
|
+
#
|
19499
|
+
def public_key
|
19500
|
+
@public_key
|
19501
|
+
end
|
19502
|
+
|
19503
|
+
#
|
19504
|
+
# Sets the value of the `public_key` attribute.
|
19505
|
+
#
|
19506
|
+
# @param value [String]
|
19507
|
+
#
|
19508
|
+
def public_key=(value)
|
19509
|
+
@public_key = value
|
19510
|
+
end
|
19511
|
+
|
19388
19512
|
#
|
19389
19513
|
# Returns the value of the `user` attribute.
|
19390
19514
|
#
|
@@ -19431,6 +19555,8 @@ module OvirtSDK4
|
|
19431
19555
|
#
|
19432
19556
|
# @option opts [Integer] :port The value of attribute `port`.
|
19433
19557
|
#
|
19558
|
+
# @option opts [String] :public_key The value of attribute `public_key`.
|
19559
|
+
#
|
19434
19560
|
# @option opts [User, Hash] :user The value of attribute `user`.
|
19435
19561
|
#
|
19436
19562
|
#
|
@@ -19439,6 +19565,7 @@ module OvirtSDK4
|
|
19439
19565
|
self.authentication_method = opts[:authentication_method]
|
19440
19566
|
self.fingerprint = opts[:fingerprint]
|
19441
19567
|
self.port = opts[:port]
|
19568
|
+
self.public_key = opts[:public_key]
|
19442
19569
|
self.user = opts[:user]
|
19443
19570
|
end
|
19444
19571
|
|
@@ -19450,6 +19577,7 @@ module OvirtSDK4
|
|
19450
19577
|
@authentication_method == other.authentication_method &&
|
19451
19578
|
@fingerprint == other.fingerprint &&
|
19452
19579
|
@port == other.port &&
|
19580
|
+
@public_key == other.public_key &&
|
19453
19581
|
@user == other.user
|
19454
19582
|
end
|
19455
19583
|
|
@@ -19461,6 +19589,7 @@ module OvirtSDK4
|
|
19461
19589
|
@authentication_method.hash +
|
19462
19590
|
@fingerprint.hash +
|
19463
19591
|
@port.hash +
|
19592
|
+
@public_key.hash +
|
19464
19593
|
@user.hash
|
19465
19594
|
end
|
19466
19595
|
|
@@ -23521,6 +23650,32 @@ module OvirtSDK4
|
|
23521
23650
|
@namespace = value
|
23522
23651
|
end
|
23523
23652
|
|
23653
|
+
#
|
23654
|
+
# Returns the value of the `options` attribute.
|
23655
|
+
#
|
23656
|
+
# @return [Array<UserOption>]
|
23657
|
+
#
|
23658
|
+
def options
|
23659
|
+
@options
|
23660
|
+
end
|
23661
|
+
|
23662
|
+
#
|
23663
|
+
# Sets the value of the `options` attribute.
|
23664
|
+
#
|
23665
|
+
# @param list [Array<UserOption>]
|
23666
|
+
#
|
23667
|
+
def options=(list)
|
23668
|
+
if list.class == Array
|
23669
|
+
list = List.new(list)
|
23670
|
+
list.each_with_index do |value, index|
|
23671
|
+
if value.is_a?(Hash)
|
23672
|
+
list[index] = UserOption.new(value)
|
23673
|
+
end
|
23674
|
+
end
|
23675
|
+
end
|
23676
|
+
@options = list
|
23677
|
+
end
|
23678
|
+
|
23524
23679
|
#
|
23525
23680
|
# Returns the value of the `password` attribute.
|
23526
23681
|
#
|
@@ -23736,6 +23891,8 @@ module OvirtSDK4
|
|
23736
23891
|
#
|
23737
23892
|
# @option opts [String] :namespace The value of attribute `namespace`.
|
23738
23893
|
#
|
23894
|
+
# @option opts [Array<UserOption>, Array<Hash>] :options The values of attribute `options`.
|
23895
|
+
#
|
23739
23896
|
# @option opts [String] :password The value of attribute `password`.
|
23740
23897
|
#
|
23741
23898
|
# @option opts [Array<Permission>, Array<Hash>] :permissions The values of attribute `permissions`.
|
@@ -23763,6 +23920,7 @@ module OvirtSDK4
|
|
23763
23920
|
self.last_name = opts[:last_name]
|
23764
23921
|
self.logged_in = opts[:logged_in]
|
23765
23922
|
self.namespace = opts[:namespace]
|
23923
|
+
self.options = opts[:options]
|
23766
23924
|
self.password = opts[:password]
|
23767
23925
|
self.permissions = opts[:permissions]
|
23768
23926
|
self.principal = opts[:principal]
|
@@ -23786,6 +23944,7 @@ module OvirtSDK4
|
|
23786
23944
|
@last_name == other.last_name &&
|
23787
23945
|
@logged_in == other.logged_in &&
|
23788
23946
|
@namespace == other.namespace &&
|
23947
|
+
@options == other.options &&
|
23789
23948
|
@password == other.password &&
|
23790
23949
|
@permissions == other.permissions &&
|
23791
23950
|
@principal == other.principal &&
|
@@ -23809,6 +23968,7 @@ module OvirtSDK4
|
|
23809
23968
|
@last_name.hash +
|
23810
23969
|
@logged_in.hash +
|
23811
23970
|
@namespace.hash +
|
23971
|
+
@options.hash +
|
23812
23972
|
@password.hash +
|
23813
23973
|
@permissions.hash +
|
23814
23974
|
@principal.hash +
|
@@ -23821,176 +23981,339 @@ module OvirtSDK4
|
|
23821
23981
|
|
23822
23982
|
end
|
23823
23983
|
|
23824
|
-
class
|
23825
|
-
|
23826
|
-
#
|
23827
|
-
# Returns the value of the `datum` attribute.
|
23828
|
-
#
|
23829
|
-
# @return [Float]
|
23830
|
-
#
|
23831
|
-
def datum
|
23832
|
-
@datum
|
23833
|
-
end
|
23984
|
+
class UserOption < Identified
|
23834
23985
|
|
23835
23986
|
#
|
23836
|
-
#
|
23837
|
-
#
|
23838
|
-
# @param value [Float]
|
23839
|
-
#
|
23840
|
-
def datum=(value)
|
23841
|
-
@datum = value
|
23842
|
-
end
|
23843
|
-
|
23844
|
-
#
|
23845
|
-
# Returns the value of the `detail` attribute.
|
23846
|
-
#
|
23847
|
-
# @return [String]
|
23848
|
-
#
|
23849
|
-
def detail
|
23850
|
-
@detail
|
23851
|
-
end
|
23852
|
-
|
23853
|
-
#
|
23854
|
-
# Sets the value of the `detail` attribute.
|
23855
|
-
#
|
23856
|
-
# @param value [String]
|
23857
|
-
#
|
23858
|
-
def detail=(value)
|
23859
|
-
@detail = value
|
23860
|
-
end
|
23861
|
-
|
23862
|
-
#
|
23863
|
-
# Creates a new instance of the {Value} class.
|
23864
|
-
#
|
23865
|
-
# @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
|
23866
|
-
# should be symbols corresponding to the names of the attributes. The values of the hash
|
23867
|
-
# should be the values of the attributes.
|
23868
|
-
#
|
23869
|
-
# @option opts [Float] :datum The value of attribute `datum`.
|
23870
|
-
#
|
23871
|
-
# @option opts [String] :detail The value of attribute `detail`.
|
23872
|
-
#
|
23873
|
-
#
|
23874
|
-
def initialize(opts = {})
|
23875
|
-
super(opts)
|
23876
|
-
self.datum = opts[:datum]
|
23877
|
-
self.detail = opts[:detail]
|
23878
|
-
end
|
23879
|
-
|
23880
|
-
#
|
23881
|
-
# Returns `true` if `self` and `other` have the same attributes and values.
|
23882
|
-
#
|
23883
|
-
def ==(other)
|
23884
|
-
super &&
|
23885
|
-
@datum == other.datum &&
|
23886
|
-
@detail == other.detail
|
23887
|
-
end
|
23888
|
-
|
23889
|
-
#
|
23890
|
-
# Generates a hash value for this object.
|
23891
|
-
#
|
23892
|
-
def hash
|
23893
|
-
super +
|
23894
|
-
@datum.hash +
|
23895
|
-
@detail.hash
|
23896
|
-
end
|
23897
|
-
|
23898
|
-
end
|
23899
|
-
|
23900
|
-
class VcpuPin < Struct
|
23901
|
-
|
23902
|
-
#
|
23903
|
-
# Returns the value of the `cpu_set` attribute.
|
23987
|
+
# Returns the value of the `comment` attribute.
|
23904
23988
|
#
|
23905
23989
|
# @return [String]
|
23906
23990
|
#
|
23907
|
-
def
|
23908
|
-
@
|
23991
|
+
def comment
|
23992
|
+
@comment
|
23909
23993
|
end
|
23910
23994
|
|
23911
23995
|
#
|
23912
|
-
# Sets the value of the `
|
23996
|
+
# Sets the value of the `comment` attribute.
|
23913
23997
|
#
|
23914
23998
|
# @param value [String]
|
23915
23999
|
#
|
23916
|
-
def
|
23917
|
-
@
|
23918
|
-
end
|
23919
|
-
|
23920
|
-
#
|
23921
|
-
# Returns the value of the `vcpu` attribute.
|
23922
|
-
#
|
23923
|
-
# @return [Integer]
|
23924
|
-
#
|
23925
|
-
def vcpu
|
23926
|
-
@vcpu
|
23927
|
-
end
|
23928
|
-
|
23929
|
-
#
|
23930
|
-
# Sets the value of the `vcpu` attribute.
|
23931
|
-
#
|
23932
|
-
# @param value [Integer]
|
23933
|
-
#
|
23934
|
-
def vcpu=(value)
|
23935
|
-
@vcpu = value
|
23936
|
-
end
|
23937
|
-
|
23938
|
-
#
|
23939
|
-
# Creates a new instance of the {VcpuPin} class.
|
23940
|
-
#
|
23941
|
-
# @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
|
23942
|
-
# should be symbols corresponding to the names of the attributes. The values of the hash
|
23943
|
-
# should be the values of the attributes.
|
23944
|
-
#
|
23945
|
-
# @option opts [String] :cpu_set The value of attribute `cpu_set`.
|
23946
|
-
#
|
23947
|
-
# @option opts [Integer] :vcpu The value of attribute `vcpu`.
|
23948
|
-
#
|
23949
|
-
#
|
23950
|
-
def initialize(opts = {})
|
23951
|
-
super(opts)
|
23952
|
-
self.cpu_set = opts[:cpu_set]
|
23953
|
-
self.vcpu = opts[:vcpu]
|
23954
|
-
end
|
23955
|
-
|
23956
|
-
#
|
23957
|
-
# Returns `true` if `self` and `other` have the same attributes and values.
|
23958
|
-
#
|
23959
|
-
def ==(other)
|
23960
|
-
super &&
|
23961
|
-
@cpu_set == other.cpu_set &&
|
23962
|
-
@vcpu == other.vcpu
|
23963
|
-
end
|
23964
|
-
|
23965
|
-
#
|
23966
|
-
# Generates a hash value for this object.
|
23967
|
-
#
|
23968
|
-
def hash
|
23969
|
-
super +
|
23970
|
-
@cpu_set.hash +
|
23971
|
-
@vcpu.hash
|
24000
|
+
def comment=(value)
|
24001
|
+
@comment = value
|
23972
24002
|
end
|
23973
24003
|
|
23974
|
-
end
|
23975
|
-
|
23976
|
-
class Vendor < Identified
|
23977
|
-
|
23978
24004
|
#
|
23979
|
-
# Returns the value of the `
|
24005
|
+
# Returns the value of the `content` attribute.
|
23980
24006
|
#
|
23981
24007
|
# @return [String]
|
23982
24008
|
#
|
23983
|
-
def
|
23984
|
-
@
|
24009
|
+
def content
|
24010
|
+
@content
|
23985
24011
|
end
|
23986
24012
|
|
23987
24013
|
#
|
23988
|
-
# Sets the value of the `
|
24014
|
+
# Sets the value of the `content` attribute.
|
23989
24015
|
#
|
23990
24016
|
# @param value [String]
|
23991
24017
|
#
|
23992
|
-
def
|
23993
|
-
@
|
24018
|
+
def content=(value)
|
24019
|
+
@content = value
|
24020
|
+
end
|
24021
|
+
|
24022
|
+
#
|
24023
|
+
# Returns the value of the `description` attribute.
|
24024
|
+
#
|
24025
|
+
# @return [String]
|
24026
|
+
#
|
24027
|
+
def description
|
24028
|
+
@description
|
24029
|
+
end
|
24030
|
+
|
24031
|
+
#
|
24032
|
+
# Sets the value of the `description` attribute.
|
24033
|
+
#
|
24034
|
+
# @param value [String]
|
24035
|
+
#
|
24036
|
+
def description=(value)
|
24037
|
+
@description = value
|
24038
|
+
end
|
24039
|
+
|
24040
|
+
#
|
24041
|
+
# Returns the value of the `id` attribute.
|
24042
|
+
#
|
24043
|
+
# @return [String]
|
24044
|
+
#
|
24045
|
+
def id
|
24046
|
+
@id
|
24047
|
+
end
|
24048
|
+
|
24049
|
+
#
|
24050
|
+
# Sets the value of the `id` attribute.
|
24051
|
+
#
|
24052
|
+
# @param value [String]
|
24053
|
+
#
|
24054
|
+
def id=(value)
|
24055
|
+
@id = value
|
24056
|
+
end
|
24057
|
+
|
24058
|
+
#
|
24059
|
+
# Returns the value of the `name` attribute.
|
24060
|
+
#
|
24061
|
+
# @return [String]
|
24062
|
+
#
|
24063
|
+
def name
|
24064
|
+
@name
|
24065
|
+
end
|
24066
|
+
|
24067
|
+
#
|
24068
|
+
# Sets the value of the `name` attribute.
|
24069
|
+
#
|
24070
|
+
# @param value [String]
|
24071
|
+
#
|
24072
|
+
def name=(value)
|
24073
|
+
@name = value
|
24074
|
+
end
|
24075
|
+
|
24076
|
+
#
|
24077
|
+
# Returns the value of the `user` attribute.
|
24078
|
+
#
|
24079
|
+
# @return [User]
|
24080
|
+
#
|
24081
|
+
def user
|
24082
|
+
@user
|
24083
|
+
end
|
24084
|
+
|
24085
|
+
#
|
24086
|
+
# Sets the value of the `user` attribute.
|
24087
|
+
#
|
24088
|
+
# @param value [User, Hash]
|
24089
|
+
#
|
24090
|
+
# The `value` parameter can be an instance of {OvirtSDK4::User} or a hash.
|
24091
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
24092
|
+
# `opts` parameter to the constructor.
|
24093
|
+
#
|
24094
|
+
def user=(value)
|
24095
|
+
if value.is_a?(Hash)
|
24096
|
+
value = User.new(value)
|
24097
|
+
end
|
24098
|
+
@user = value
|
24099
|
+
end
|
24100
|
+
|
24101
|
+
#
|
24102
|
+
# Creates a new instance of the {UserOption} class.
|
24103
|
+
#
|
24104
|
+
# @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
|
24105
|
+
# should be symbols corresponding to the names of the attributes. The values of the hash
|
24106
|
+
# should be the values of the attributes.
|
24107
|
+
#
|
24108
|
+
# @option opts [String] :comment The value of attribute `comment`.
|
24109
|
+
#
|
24110
|
+
# @option opts [String] :content The value of attribute `content`.
|
24111
|
+
#
|
24112
|
+
# @option opts [String] :description The value of attribute `description`.
|
24113
|
+
#
|
24114
|
+
# @option opts [String] :id The value of attribute `id`.
|
24115
|
+
#
|
24116
|
+
# @option opts [String] :name The value of attribute `name`.
|
24117
|
+
#
|
24118
|
+
# @option opts [User, Hash] :user The value of attribute `user`.
|
24119
|
+
#
|
24120
|
+
#
|
24121
|
+
def initialize(opts = {})
|
24122
|
+
super(opts)
|
24123
|
+
self.content = opts[:content]
|
24124
|
+
self.user = opts[:user]
|
24125
|
+
end
|
24126
|
+
|
24127
|
+
#
|
24128
|
+
# Returns `true` if `self` and `other` have the same attributes and values.
|
24129
|
+
#
|
24130
|
+
def ==(other)
|
24131
|
+
super &&
|
24132
|
+
@content == other.content &&
|
24133
|
+
@user == other.user
|
24134
|
+
end
|
24135
|
+
|
24136
|
+
#
|
24137
|
+
# Generates a hash value for this object.
|
24138
|
+
#
|
24139
|
+
def hash
|
24140
|
+
super +
|
24141
|
+
@content.hash +
|
24142
|
+
@user.hash
|
24143
|
+
end
|
24144
|
+
|
24145
|
+
end
|
24146
|
+
|
24147
|
+
class Value < Struct
|
24148
|
+
|
24149
|
+
#
|
24150
|
+
# Returns the value of the `datum` attribute.
|
24151
|
+
#
|
24152
|
+
# @return [Float]
|
24153
|
+
#
|
24154
|
+
def datum
|
24155
|
+
@datum
|
24156
|
+
end
|
24157
|
+
|
24158
|
+
#
|
24159
|
+
# Sets the value of the `datum` attribute.
|
24160
|
+
#
|
24161
|
+
# @param value [Float]
|
24162
|
+
#
|
24163
|
+
def datum=(value)
|
24164
|
+
@datum = value
|
24165
|
+
end
|
24166
|
+
|
24167
|
+
#
|
24168
|
+
# Returns the value of the `detail` attribute.
|
24169
|
+
#
|
24170
|
+
# @return [String]
|
24171
|
+
#
|
24172
|
+
def detail
|
24173
|
+
@detail
|
24174
|
+
end
|
24175
|
+
|
24176
|
+
#
|
24177
|
+
# Sets the value of the `detail` attribute.
|
24178
|
+
#
|
24179
|
+
# @param value [String]
|
24180
|
+
#
|
24181
|
+
def detail=(value)
|
24182
|
+
@detail = value
|
24183
|
+
end
|
24184
|
+
|
24185
|
+
#
|
24186
|
+
# Creates a new instance of the {Value} class.
|
24187
|
+
#
|
24188
|
+
# @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
|
24189
|
+
# should be symbols corresponding to the names of the attributes. The values of the hash
|
24190
|
+
# should be the values of the attributes.
|
24191
|
+
#
|
24192
|
+
# @option opts [Float] :datum The value of attribute `datum`.
|
24193
|
+
#
|
24194
|
+
# @option opts [String] :detail The value of attribute `detail`.
|
24195
|
+
#
|
24196
|
+
#
|
24197
|
+
def initialize(opts = {})
|
24198
|
+
super(opts)
|
24199
|
+
self.datum = opts[:datum]
|
24200
|
+
self.detail = opts[:detail]
|
24201
|
+
end
|
24202
|
+
|
24203
|
+
#
|
24204
|
+
# Returns `true` if `self` and `other` have the same attributes and values.
|
24205
|
+
#
|
24206
|
+
def ==(other)
|
24207
|
+
super &&
|
24208
|
+
@datum == other.datum &&
|
24209
|
+
@detail == other.detail
|
24210
|
+
end
|
24211
|
+
|
24212
|
+
#
|
24213
|
+
# Generates a hash value for this object.
|
24214
|
+
#
|
24215
|
+
def hash
|
24216
|
+
super +
|
24217
|
+
@datum.hash +
|
24218
|
+
@detail.hash
|
24219
|
+
end
|
24220
|
+
|
24221
|
+
end
|
24222
|
+
|
24223
|
+
class VcpuPin < Struct
|
24224
|
+
|
24225
|
+
#
|
24226
|
+
# Returns the value of the `cpu_set` attribute.
|
24227
|
+
#
|
24228
|
+
# @return [String]
|
24229
|
+
#
|
24230
|
+
def cpu_set
|
24231
|
+
@cpu_set
|
24232
|
+
end
|
24233
|
+
|
24234
|
+
#
|
24235
|
+
# Sets the value of the `cpu_set` attribute.
|
24236
|
+
#
|
24237
|
+
# @param value [String]
|
24238
|
+
#
|
24239
|
+
def cpu_set=(value)
|
24240
|
+
@cpu_set = value
|
24241
|
+
end
|
24242
|
+
|
24243
|
+
#
|
24244
|
+
# Returns the value of the `vcpu` attribute.
|
24245
|
+
#
|
24246
|
+
# @return [Integer]
|
24247
|
+
#
|
24248
|
+
def vcpu
|
24249
|
+
@vcpu
|
24250
|
+
end
|
24251
|
+
|
24252
|
+
#
|
24253
|
+
# Sets the value of the `vcpu` attribute.
|
24254
|
+
#
|
24255
|
+
# @param value [Integer]
|
24256
|
+
#
|
24257
|
+
def vcpu=(value)
|
24258
|
+
@vcpu = value
|
24259
|
+
end
|
24260
|
+
|
24261
|
+
#
|
24262
|
+
# Creates a new instance of the {VcpuPin} class.
|
24263
|
+
#
|
24264
|
+
# @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
|
24265
|
+
# should be symbols corresponding to the names of the attributes. The values of the hash
|
24266
|
+
# should be the values of the attributes.
|
24267
|
+
#
|
24268
|
+
# @option opts [String] :cpu_set The value of attribute `cpu_set`.
|
24269
|
+
#
|
24270
|
+
# @option opts [Integer] :vcpu The value of attribute `vcpu`.
|
24271
|
+
#
|
24272
|
+
#
|
24273
|
+
def initialize(opts = {})
|
24274
|
+
super(opts)
|
24275
|
+
self.cpu_set = opts[:cpu_set]
|
24276
|
+
self.vcpu = opts[:vcpu]
|
24277
|
+
end
|
24278
|
+
|
24279
|
+
#
|
24280
|
+
# Returns `true` if `self` and `other` have the same attributes and values.
|
24281
|
+
#
|
24282
|
+
def ==(other)
|
24283
|
+
super &&
|
24284
|
+
@cpu_set == other.cpu_set &&
|
24285
|
+
@vcpu == other.vcpu
|
24286
|
+
end
|
24287
|
+
|
24288
|
+
#
|
24289
|
+
# Generates a hash value for this object.
|
24290
|
+
#
|
24291
|
+
def hash
|
24292
|
+
super +
|
24293
|
+
@cpu_set.hash +
|
24294
|
+
@vcpu.hash
|
24295
|
+
end
|
24296
|
+
|
24297
|
+
end
|
24298
|
+
|
24299
|
+
class Vendor < Identified
|
24300
|
+
|
24301
|
+
#
|
24302
|
+
# Returns the value of the `comment` attribute.
|
24303
|
+
#
|
24304
|
+
# @return [String]
|
24305
|
+
#
|
24306
|
+
def comment
|
24307
|
+
@comment
|
24308
|
+
end
|
24309
|
+
|
24310
|
+
#
|
24311
|
+
# Sets the value of the `comment` attribute.
|
24312
|
+
#
|
24313
|
+
# @param value [String]
|
24314
|
+
#
|
24315
|
+
def comment=(value)
|
24316
|
+
@comment = value
|
23994
24317
|
end
|
23995
24318
|
|
23996
24319
|
#
|
@@ -24551,6 +24874,24 @@ module OvirtSDK4
|
|
24551
24874
|
@numa_node_pins = list
|
24552
24875
|
end
|
24553
24876
|
|
24877
|
+
#
|
24878
|
+
# Returns the value of the `numa_tune_mode` attribute.
|
24879
|
+
#
|
24880
|
+
# @return [NumaTuneMode]
|
24881
|
+
#
|
24882
|
+
def numa_tune_mode
|
24883
|
+
@numa_tune_mode
|
24884
|
+
end
|
24885
|
+
|
24886
|
+
#
|
24887
|
+
# Sets the value of the `numa_tune_mode` attribute.
|
24888
|
+
#
|
24889
|
+
# @param value [NumaTuneMode]
|
24890
|
+
#
|
24891
|
+
def numa_tune_mode=(value)
|
24892
|
+
@numa_tune_mode = value
|
24893
|
+
end
|
24894
|
+
|
24554
24895
|
#
|
24555
24896
|
# Returns the value of the `statistics` attribute.
|
24556
24897
|
#
|
@@ -24629,6 +24970,8 @@ module OvirtSDK4
|
|
24629
24970
|
#
|
24630
24971
|
# @option opts [Array<NumaNodePin>, Array<Hash>] :numa_node_pins The values of attribute `numa_node_pins`.
|
24631
24972
|
#
|
24973
|
+
# @option opts [NumaTuneMode] :numa_tune_mode The value of attribute `numa_tune_mode`.
|
24974
|
+
#
|
24632
24975
|
# @option opts [Array<Statistic>, Array<Hash>] :statistics The values of attribute `statistics`.
|
24633
24976
|
#
|
24634
24977
|
# @option opts [Vm, Hash] :vm The value of attribute `vm`.
|
@@ -24637,6 +24980,7 @@ module OvirtSDK4
|
|
24637
24980
|
def initialize(opts = {})
|
24638
24981
|
super(opts)
|
24639
24982
|
self.numa_node_pins = opts[:numa_node_pins]
|
24983
|
+
self.numa_tune_mode = opts[:numa_tune_mode]
|
24640
24984
|
self.vm = opts[:vm]
|
24641
24985
|
end
|
24642
24986
|
|
@@ -24646,6 +24990,7 @@ module OvirtSDK4
|
|
24646
24990
|
def ==(other)
|
24647
24991
|
super &&
|
24648
24992
|
@numa_node_pins == other.numa_node_pins &&
|
24993
|
+
@numa_tune_mode == other.numa_tune_mode &&
|
24649
24994
|
@vm == other.vm
|
24650
24995
|
end
|
24651
24996
|
|
@@ -24655,6 +25000,7 @@ module OvirtSDK4
|
|
24655
25000
|
def hash
|
24656
25001
|
super +
|
24657
25002
|
@numa_node_pins.hash +
|
25003
|
+
@numa_tune_mode.hash +
|
24658
25004
|
@vm.hash
|
24659
25005
|
end
|
24660
25006
|
|
@@ -25733,6 +26079,24 @@ module OvirtSDK4
|
|
25733
26079
|
@virtio_scsi = value
|
25734
26080
|
end
|
25735
26081
|
|
26082
|
+
#
|
26083
|
+
# Returns the value of the `virtio_scsi_multi_queues_enabled` attribute.
|
26084
|
+
#
|
26085
|
+
# @return [Boolean]
|
26086
|
+
#
|
26087
|
+
def virtio_scsi_multi_queues_enabled
|
26088
|
+
@virtio_scsi_multi_queues_enabled
|
26089
|
+
end
|
26090
|
+
|
26091
|
+
#
|
26092
|
+
# Sets the value of the `virtio_scsi_multi_queues_enabled` attribute.
|
26093
|
+
#
|
26094
|
+
# @param value [Boolean]
|
26095
|
+
#
|
26096
|
+
def virtio_scsi_multi_queues_enabled=(value)
|
26097
|
+
@virtio_scsi_multi_queues_enabled = value
|
26098
|
+
end
|
26099
|
+
|
25736
26100
|
#
|
25737
26101
|
# Creates a new instance of the {VmBase} class.
|
25738
26102
|
#
|
@@ -25832,6 +26196,8 @@ module OvirtSDK4
|
|
25832
26196
|
#
|
25833
26197
|
# @option opts [VirtioScsi, Hash] :virtio_scsi The value of attribute `virtio_scsi`.
|
25834
26198
|
#
|
26199
|
+
# @option opts [Boolean] :virtio_scsi_multi_queues_enabled The value of attribute `virtio_scsi_multi_queues_enabled`.
|
26200
|
+
#
|
25835
26201
|
#
|
25836
26202
|
def initialize(opts = {})
|
25837
26203
|
super(opts)
|
@@ -25877,6 +26243,7 @@ module OvirtSDK4
|
|
25877
26243
|
self.type = opts[:type]
|
25878
26244
|
self.usb = opts[:usb]
|
25879
26245
|
self.virtio_scsi = opts[:virtio_scsi]
|
26246
|
+
self.virtio_scsi_multi_queues_enabled = opts[:virtio_scsi_multi_queues_enabled]
|
25880
26247
|
end
|
25881
26248
|
|
25882
26249
|
#
|
@@ -25925,7 +26292,8 @@ module OvirtSDK4
|
|
25925
26292
|
@tunnel_migration == other.tunnel_migration &&
|
25926
26293
|
@type == other.type &&
|
25927
26294
|
@usb == other.usb &&
|
25928
|
-
@virtio_scsi == other.virtio_scsi
|
26295
|
+
@virtio_scsi == other.virtio_scsi &&
|
26296
|
+
@virtio_scsi_multi_queues_enabled == other.virtio_scsi_multi_queues_enabled
|
25929
26297
|
end
|
25930
26298
|
|
25931
26299
|
#
|
@@ -25974,7 +26342,8 @@ module OvirtSDK4
|
|
25974
26342
|
@tunnel_migration.hash +
|
25975
26343
|
@type.hash +
|
25976
26344
|
@usb.hash +
|
25977
|
-
@virtio_scsi.hash
|
26345
|
+
@virtio_scsi.hash +
|
26346
|
+
@virtio_scsi_multi_queues_enabled.hash
|
25978
26347
|
end
|
25979
26348
|
|
25980
26349
|
end
|
@@ -27570,6 +27939,24 @@ module OvirtSDK4
|
|
27570
27939
|
@authorized_key = value
|
27571
27940
|
end
|
27572
27941
|
|
27942
|
+
#
|
27943
|
+
# Returns the value of the `auto_pinning_policy` attribute.
|
27944
|
+
#
|
27945
|
+
# @return [AutoPinningPolicy]
|
27946
|
+
#
|
27947
|
+
def auto_pinning_policy
|
27948
|
+
@auto_pinning_policy
|
27949
|
+
end
|
27950
|
+
|
27951
|
+
#
|
27952
|
+
# Sets the value of the `auto_pinning_policy` attribute.
|
27953
|
+
#
|
27954
|
+
# @param value [AutoPinningPolicy]
|
27955
|
+
#
|
27956
|
+
def auto_pinning_policy=(value)
|
27957
|
+
@auto_pinning_policy = value
|
27958
|
+
end
|
27959
|
+
|
27573
27960
|
#
|
27574
27961
|
# Returns the value of the `bricks` attribute.
|
27575
27962
|
#
|
@@ -28571,6 +28958,24 @@ module OvirtSDK4
|
|
28571
28958
|
@name = value
|
28572
28959
|
end
|
28573
28960
|
|
28961
|
+
#
|
28962
|
+
# Returns the value of the `optimize_cpu_settings` attribute.
|
28963
|
+
#
|
28964
|
+
# @return [Boolean]
|
28965
|
+
#
|
28966
|
+
def optimize_cpu_settings
|
28967
|
+
@optimize_cpu_settings
|
28968
|
+
end
|
28969
|
+
|
28970
|
+
#
|
28971
|
+
# Sets the value of the `optimize_cpu_settings` attribute.
|
28972
|
+
#
|
28973
|
+
# @param value [Boolean]
|
28974
|
+
#
|
28975
|
+
def optimize_cpu_settings=(value)
|
28976
|
+
@optimize_cpu_settings = value
|
28977
|
+
end
|
28978
|
+
|
28574
28979
|
#
|
28575
28980
|
# Returns the value of the `option` attribute.
|
28576
28981
|
#
|
@@ -29454,6 +29859,8 @@ module OvirtSDK4
|
|
29454
29859
|
#
|
29455
29860
|
# @option opts [AuthorizedKey, Hash] :authorized_key The value of attribute `authorized_key`.
|
29456
29861
|
#
|
29862
|
+
# @option opts [AutoPinningPolicy] :auto_pinning_policy The value of attribute `auto_pinning_policy`.
|
29863
|
+
#
|
29457
29864
|
# @option opts [Array<GlusterBrick>, Array<Hash>] :bricks The values of attribute `bricks`.
|
29458
29865
|
#
|
29459
29866
|
# @option opts [Array<Certificate>, Array<Hash>] :certificates The values of attribute `certificates`.
|
@@ -29548,6 +29955,8 @@ module OvirtSDK4
|
|
29548
29955
|
#
|
29549
29956
|
# @option opts [String] :name The value of attribute `name`.
|
29550
29957
|
#
|
29958
|
+
# @option opts [Boolean] :optimize_cpu_settings The value of attribute `optimize_cpu_settings`.
|
29959
|
+
#
|
29551
29960
|
# @option opts [Option, Hash] :option The value of attribute `option`.
|
29552
29961
|
#
|
29553
29962
|
# @option opts [Boolean] :pause The value of attribute `pause`.
|
@@ -29636,6 +30045,7 @@ module OvirtSDK4
|
|
29636
30045
|
self.async = opts[:async]
|
29637
30046
|
self.attachment = opts[:attachment]
|
29638
30047
|
self.authorized_key = opts[:authorized_key]
|
30048
|
+
self.auto_pinning_policy = opts[:auto_pinning_policy]
|
29639
30049
|
self.bricks = opts[:bricks]
|
29640
30050
|
self.certificates = opts[:certificates]
|
29641
30051
|
self.check_connectivity = opts[:check_connectivity]
|
@@ -29679,6 +30089,7 @@ module OvirtSDK4
|
|
29679
30089
|
self.modified_bonds = opts[:modified_bonds]
|
29680
30090
|
self.modified_labels = opts[:modified_labels]
|
29681
30091
|
self.modified_network_attachments = opts[:modified_network_attachments]
|
30092
|
+
self.optimize_cpu_settings = opts[:optimize_cpu_settings]
|
29682
30093
|
self.option = opts[:option]
|
29683
30094
|
self.pause = opts[:pause]
|
29684
30095
|
self.permission = opts[:permission]
|
@@ -29731,6 +30142,7 @@ module OvirtSDK4
|
|
29731
30142
|
@async == other.async &&
|
29732
30143
|
@attachment == other.attachment &&
|
29733
30144
|
@authorized_key == other.authorized_key &&
|
30145
|
+
@auto_pinning_policy == other.auto_pinning_policy &&
|
29734
30146
|
@bricks == other.bricks &&
|
29735
30147
|
@certificates == other.certificates &&
|
29736
30148
|
@check_connectivity == other.check_connectivity &&
|
@@ -29774,6 +30186,7 @@ module OvirtSDK4
|
|
29774
30186
|
@modified_bonds == other.modified_bonds &&
|
29775
30187
|
@modified_labels == other.modified_labels &&
|
29776
30188
|
@modified_network_attachments == other.modified_network_attachments &&
|
30189
|
+
@optimize_cpu_settings == other.optimize_cpu_settings &&
|
29777
30190
|
@option == other.option &&
|
29778
30191
|
@pause == other.pause &&
|
29779
30192
|
@permission == other.permission &&
|
@@ -29826,6 +30239,7 @@ module OvirtSDK4
|
|
29826
30239
|
@async.hash +
|
29827
30240
|
@attachment.hash +
|
29828
30241
|
@authorized_key.hash +
|
30242
|
+
@auto_pinning_policy.hash +
|
29829
30243
|
@bricks.hash +
|
29830
30244
|
@certificates.hash +
|
29831
30245
|
@check_connectivity.hash +
|
@@ -29869,6 +30283,7 @@ module OvirtSDK4
|
|
29869
30283
|
@modified_bonds.hash +
|
29870
30284
|
@modified_labels.hash +
|
29871
30285
|
@modified_network_attachments.hash +
|
30286
|
+
@optimize_cpu_settings.hash +
|
29872
30287
|
@option.hash +
|
29873
30288
|
@pause.hash +
|
29874
30289
|
@permission.hash +
|
@@ -31282,6 +31697,31 @@ module OvirtSDK4
|
|
31282
31697
|
@from_checkpoint_id = value
|
31283
31698
|
end
|
31284
31699
|
|
31700
|
+
#
|
31701
|
+
# Returns the value of the `host` attribute.
|
31702
|
+
#
|
31703
|
+
# @return [Host]
|
31704
|
+
#
|
31705
|
+
def host
|
31706
|
+
@host
|
31707
|
+
end
|
31708
|
+
|
31709
|
+
#
|
31710
|
+
# Sets the value of the `host` attribute.
|
31711
|
+
#
|
31712
|
+
# @param value [Host, Hash]
|
31713
|
+
#
|
31714
|
+
# The `value` parameter can be an instance of {OvirtSDK4::Host} or a hash.
|
31715
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
31716
|
+
# `opts` parameter to the constructor.
|
31717
|
+
#
|
31718
|
+
def host=(value)
|
31719
|
+
if value.is_a?(Hash)
|
31720
|
+
value = Host.new(value)
|
31721
|
+
end
|
31722
|
+
@host = value
|
31723
|
+
end
|
31724
|
+
|
31285
31725
|
#
|
31286
31726
|
# Returns the value of the `id` attribute.
|
31287
31727
|
#
|
@@ -31396,6 +31836,8 @@ module OvirtSDK4
|
|
31396
31836
|
#
|
31397
31837
|
# @option opts [String] :from_checkpoint_id The value of attribute `from_checkpoint_id`.
|
31398
31838
|
#
|
31839
|
+
# @option opts [Host, Hash] :host The value of attribute `host`.
|
31840
|
+
#
|
31399
31841
|
# @option opts [String] :id The value of attribute `id`.
|
31400
31842
|
#
|
31401
31843
|
# @option opts [String] :name The value of attribute `name`.
|
@@ -31412,6 +31854,7 @@ module OvirtSDK4
|
|
31412
31854
|
self.creation_date = opts[:creation_date]
|
31413
31855
|
self.disks = opts[:disks]
|
31414
31856
|
self.from_checkpoint_id = opts[:from_checkpoint_id]
|
31857
|
+
self.host = opts[:host]
|
31415
31858
|
self.phase = opts[:phase]
|
31416
31859
|
self.to_checkpoint_id = opts[:to_checkpoint_id]
|
31417
31860
|
self.vm = opts[:vm]
|
@@ -31425,6 +31868,7 @@ module OvirtSDK4
|
|
31425
31868
|
@creation_date == other.creation_date &&
|
31426
31869
|
@disks == other.disks &&
|
31427
31870
|
@from_checkpoint_id == other.from_checkpoint_id &&
|
31871
|
+
@host == other.host &&
|
31428
31872
|
@phase == other.phase &&
|
31429
31873
|
@to_checkpoint_id == other.to_checkpoint_id &&
|
31430
31874
|
@vm == other.vm
|
@@ -31438,6 +31882,7 @@ module OvirtSDK4
|
|
31438
31882
|
@creation_date.hash +
|
31439
31883
|
@disks.hash +
|
31440
31884
|
@from_checkpoint_id.hash +
|
31885
|
+
@host.hash +
|
31441
31886
|
@phase.hash +
|
31442
31887
|
@to_checkpoint_id.hash +
|
31443
31888
|
@vm.hash
|
@@ -31929,43 +32374,255 @@ module OvirtSDK4
|
|
31929
32374
|
end
|
31930
32375
|
|
31931
32376
|
#
|
31932
|
-
# Returns the value of the `organization` attribute.
|
32377
|
+
# Returns the value of the `organization` attribute.
|
32378
|
+
#
|
32379
|
+
# @return [String]
|
32380
|
+
#
|
32381
|
+
def organization
|
32382
|
+
@organization
|
32383
|
+
end
|
32384
|
+
|
32385
|
+
#
|
32386
|
+
# Sets the value of the `organization` attribute.
|
32387
|
+
#
|
32388
|
+
# @param value [String]
|
32389
|
+
#
|
32390
|
+
def organization=(value)
|
32391
|
+
@organization = value
|
32392
|
+
end
|
32393
|
+
|
32394
|
+
#
|
32395
|
+
# Returns the value of the `subject` attribute.
|
32396
|
+
#
|
32397
|
+
# @return [String]
|
32398
|
+
#
|
32399
|
+
def subject
|
32400
|
+
@subject
|
32401
|
+
end
|
32402
|
+
|
32403
|
+
#
|
32404
|
+
# Sets the value of the `subject` attribute.
|
32405
|
+
#
|
32406
|
+
# @param value [String]
|
32407
|
+
#
|
32408
|
+
def subject=(value)
|
32409
|
+
@subject = value
|
32410
|
+
end
|
32411
|
+
|
32412
|
+
#
|
32413
|
+
# Creates a new instance of the {Certificate} class.
|
32414
|
+
#
|
32415
|
+
# @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
|
32416
|
+
# should be symbols corresponding to the names of the attributes. The values of the hash
|
32417
|
+
# should be the values of the attributes.
|
32418
|
+
#
|
32419
|
+
# @option opts [String] :comment The value of attribute `comment`.
|
32420
|
+
#
|
32421
|
+
# @option opts [String] :content The value of attribute `content`.
|
32422
|
+
#
|
32423
|
+
# @option opts [String] :description The value of attribute `description`.
|
32424
|
+
#
|
32425
|
+
# @option opts [String] :id The value of attribute `id`.
|
32426
|
+
#
|
32427
|
+
# @option opts [String] :name The value of attribute `name`.
|
32428
|
+
#
|
32429
|
+
# @option opts [String] :organization The value of attribute `organization`.
|
32430
|
+
#
|
32431
|
+
# @option opts [String] :subject The value of attribute `subject`.
|
32432
|
+
#
|
32433
|
+
#
|
32434
|
+
def initialize(opts = {})
|
32435
|
+
super(opts)
|
32436
|
+
self.content = opts[:content]
|
32437
|
+
self.organization = opts[:organization]
|
32438
|
+
self.subject = opts[:subject]
|
32439
|
+
end
|
32440
|
+
|
32441
|
+
#
|
32442
|
+
# Returns `true` if `self` and `other` have the same attributes and values.
|
32443
|
+
#
|
32444
|
+
def ==(other)
|
32445
|
+
super &&
|
32446
|
+
@content == other.content &&
|
32447
|
+
@organization == other.organization &&
|
32448
|
+
@subject == other.subject
|
32449
|
+
end
|
32450
|
+
|
32451
|
+
#
|
32452
|
+
# Generates a hash value for this object.
|
32453
|
+
#
|
32454
|
+
def hash
|
32455
|
+
super +
|
32456
|
+
@content.hash +
|
32457
|
+
@organization.hash +
|
32458
|
+
@subject.hash
|
32459
|
+
end
|
32460
|
+
|
32461
|
+
end
|
32462
|
+
|
32463
|
+
class Checkpoint < Identified
|
32464
|
+
|
32465
|
+
#
|
32466
|
+
# Returns the value of the `comment` attribute.
|
32467
|
+
#
|
32468
|
+
# @return [String]
|
32469
|
+
#
|
32470
|
+
def comment
|
32471
|
+
@comment
|
32472
|
+
end
|
32473
|
+
|
32474
|
+
#
|
32475
|
+
# Sets the value of the `comment` attribute.
|
32476
|
+
#
|
32477
|
+
# @param value [String]
|
32478
|
+
#
|
32479
|
+
def comment=(value)
|
32480
|
+
@comment = value
|
32481
|
+
end
|
32482
|
+
|
32483
|
+
#
|
32484
|
+
# Returns the value of the `creation_date` attribute.
|
32485
|
+
#
|
32486
|
+
# @return [DateTime]
|
32487
|
+
#
|
32488
|
+
def creation_date
|
32489
|
+
@creation_date
|
32490
|
+
end
|
32491
|
+
|
32492
|
+
#
|
32493
|
+
# Sets the value of the `creation_date` attribute.
|
32494
|
+
#
|
32495
|
+
# @param value [DateTime]
|
32496
|
+
#
|
32497
|
+
def creation_date=(value)
|
32498
|
+
@creation_date = value
|
32499
|
+
end
|
32500
|
+
|
32501
|
+
#
|
32502
|
+
# Returns the value of the `description` attribute.
|
32503
|
+
#
|
32504
|
+
# @return [String]
|
32505
|
+
#
|
32506
|
+
def description
|
32507
|
+
@description
|
32508
|
+
end
|
32509
|
+
|
32510
|
+
#
|
32511
|
+
# Sets the value of the `description` attribute.
|
32512
|
+
#
|
32513
|
+
# @param value [String]
|
32514
|
+
#
|
32515
|
+
def description=(value)
|
32516
|
+
@description = value
|
32517
|
+
end
|
32518
|
+
|
32519
|
+
#
|
32520
|
+
# Returns the value of the `disks` attribute.
|
32521
|
+
#
|
32522
|
+
# @return [Array<Disk>]
|
32523
|
+
#
|
32524
|
+
def disks
|
32525
|
+
@disks
|
32526
|
+
end
|
32527
|
+
|
32528
|
+
#
|
32529
|
+
# Sets the value of the `disks` attribute.
|
32530
|
+
#
|
32531
|
+
# @param list [Array<Disk>]
|
32532
|
+
#
|
32533
|
+
def disks=(list)
|
32534
|
+
if list.class == Array
|
32535
|
+
list = List.new(list)
|
32536
|
+
list.each_with_index do |value, index|
|
32537
|
+
if value.is_a?(Hash)
|
32538
|
+
list[index] = Disk.new(value)
|
32539
|
+
end
|
32540
|
+
end
|
32541
|
+
end
|
32542
|
+
@disks = list
|
32543
|
+
end
|
32544
|
+
|
32545
|
+
#
|
32546
|
+
# Returns the value of the `id` attribute.
|
32547
|
+
#
|
32548
|
+
# @return [String]
|
32549
|
+
#
|
32550
|
+
def id
|
32551
|
+
@id
|
32552
|
+
end
|
32553
|
+
|
32554
|
+
#
|
32555
|
+
# Sets the value of the `id` attribute.
|
32556
|
+
#
|
32557
|
+
# @param value [String]
|
32558
|
+
#
|
32559
|
+
def id=(value)
|
32560
|
+
@id = value
|
32561
|
+
end
|
32562
|
+
|
32563
|
+
#
|
32564
|
+
# Returns the value of the `name` attribute.
|
32565
|
+
#
|
32566
|
+
# @return [String]
|
32567
|
+
#
|
32568
|
+
def name
|
32569
|
+
@name
|
32570
|
+
end
|
32571
|
+
|
32572
|
+
#
|
32573
|
+
# Sets the value of the `name` attribute.
|
32574
|
+
#
|
32575
|
+
# @param value [String]
|
32576
|
+
#
|
32577
|
+
def name=(value)
|
32578
|
+
@name = value
|
32579
|
+
end
|
32580
|
+
|
32581
|
+
#
|
32582
|
+
# Returns the value of the `parent_id` attribute.
|
31933
32583
|
#
|
31934
32584
|
# @return [String]
|
31935
32585
|
#
|
31936
|
-
def
|
31937
|
-
@
|
32586
|
+
def parent_id
|
32587
|
+
@parent_id
|
31938
32588
|
end
|
31939
32589
|
|
31940
32590
|
#
|
31941
|
-
# Sets the value of the `
|
32591
|
+
# Sets the value of the `parent_id` attribute.
|
31942
32592
|
#
|
31943
32593
|
# @param value [String]
|
31944
32594
|
#
|
31945
|
-
def
|
31946
|
-
@
|
32595
|
+
def parent_id=(value)
|
32596
|
+
@parent_id = value
|
31947
32597
|
end
|
31948
32598
|
|
31949
32599
|
#
|
31950
|
-
# Returns the value of the `
|
32600
|
+
# Returns the value of the `vm` attribute.
|
31951
32601
|
#
|
31952
|
-
# @return [
|
32602
|
+
# @return [Vm]
|
31953
32603
|
#
|
31954
|
-
def
|
31955
|
-
@
|
32604
|
+
def vm
|
32605
|
+
@vm
|
31956
32606
|
end
|
31957
32607
|
|
31958
32608
|
#
|
31959
|
-
# Sets the value of the `
|
32609
|
+
# Sets the value of the `vm` attribute.
|
31960
32610
|
#
|
31961
|
-
# @param value [
|
32611
|
+
# @param value [Vm, Hash]
|
31962
32612
|
#
|
31963
|
-
|
31964
|
-
|
32613
|
+
# The `value` parameter can be an instance of {OvirtSDK4::Vm} or a hash.
|
32614
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
32615
|
+
# `opts` parameter to the constructor.
|
32616
|
+
#
|
32617
|
+
def vm=(value)
|
32618
|
+
if value.is_a?(Hash)
|
32619
|
+
value = Vm.new(value)
|
32620
|
+
end
|
32621
|
+
@vm = value
|
31965
32622
|
end
|
31966
32623
|
|
31967
32624
|
#
|
31968
|
-
# Creates a new instance of the {
|
32625
|
+
# Creates a new instance of the {Checkpoint} class.
|
31969
32626
|
#
|
31970
32627
|
# @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
|
31971
32628
|
# should be symbols corresponding to the names of the attributes. The values of the hash
|
@@ -31973,24 +32630,27 @@ module OvirtSDK4
|
|
31973
32630
|
#
|
31974
32631
|
# @option opts [String] :comment The value of attribute `comment`.
|
31975
32632
|
#
|
31976
|
-
# @option opts [
|
32633
|
+
# @option opts [DateTime] :creation_date The value of attribute `creation_date`.
|
31977
32634
|
#
|
31978
32635
|
# @option opts [String] :description The value of attribute `description`.
|
31979
32636
|
#
|
32637
|
+
# @option opts [Array<Disk>, Array<Hash>] :disks The values of attribute `disks`.
|
32638
|
+
#
|
31980
32639
|
# @option opts [String] :id The value of attribute `id`.
|
31981
32640
|
#
|
31982
32641
|
# @option opts [String] :name The value of attribute `name`.
|
31983
32642
|
#
|
31984
|
-
# @option opts [String] :
|
32643
|
+
# @option opts [String] :parent_id The value of attribute `parent_id`.
|
31985
32644
|
#
|
31986
|
-
# @option opts [
|
32645
|
+
# @option opts [Vm, Hash] :vm The value of attribute `vm`.
|
31987
32646
|
#
|
31988
32647
|
#
|
31989
32648
|
def initialize(opts = {})
|
31990
32649
|
super(opts)
|
31991
|
-
self.
|
31992
|
-
self.
|
31993
|
-
self.
|
32650
|
+
self.creation_date = opts[:creation_date]
|
32651
|
+
self.disks = opts[:disks]
|
32652
|
+
self.parent_id = opts[:parent_id]
|
32653
|
+
self.vm = opts[:vm]
|
31994
32654
|
end
|
31995
32655
|
|
31996
32656
|
#
|
@@ -31998,9 +32658,10 @@ module OvirtSDK4
|
|
31998
32658
|
#
|
31999
32659
|
def ==(other)
|
32000
32660
|
super &&
|
32001
|
-
@
|
32002
|
-
@
|
32003
|
-
@
|
32661
|
+
@creation_date == other.creation_date &&
|
32662
|
+
@disks == other.disks &&
|
32663
|
+
@parent_id == other.parent_id &&
|
32664
|
+
@vm == other.vm
|
32004
32665
|
end
|
32005
32666
|
|
32006
32667
|
#
|
@@ -32008,9 +32669,10 @@ module OvirtSDK4
|
|
32008
32669
|
#
|
32009
32670
|
def hash
|
32010
32671
|
super +
|
32011
|
-
@
|
32012
|
-
@
|
32013
|
-
@
|
32672
|
+
@creation_date.hash +
|
32673
|
+
@disks.hash +
|
32674
|
+
@parent_id.hash +
|
32675
|
+
@vm.hash
|
32014
32676
|
end
|
32015
32677
|
|
32016
32678
|
end
|
@@ -32344,6 +33006,24 @@ module OvirtSDK4
|
|
32344
33006
|
@fencing_policy = value
|
32345
33007
|
end
|
32346
33008
|
|
33009
|
+
#
|
33010
|
+
# Returns the value of the `fips_mode` attribute.
|
33011
|
+
#
|
33012
|
+
# @return [FipsMode]
|
33013
|
+
#
|
33014
|
+
def fips_mode
|
33015
|
+
@fips_mode
|
33016
|
+
end
|
33017
|
+
|
33018
|
+
#
|
33019
|
+
# Sets the value of the `fips_mode` attribute.
|
33020
|
+
#
|
33021
|
+
# @param value [FipsMode]
|
33022
|
+
#
|
33023
|
+
def fips_mode=(value)
|
33024
|
+
@fips_mode = value
|
33025
|
+
end
|
33026
|
+
|
32347
33027
|
#
|
32348
33028
|
# Returns the value of the `firewall_type` attribute.
|
32349
33029
|
#
|
@@ -32988,6 +33668,24 @@ module OvirtSDK4
|
|
32988
33668
|
@virt_service = value
|
32989
33669
|
end
|
32990
33670
|
|
33671
|
+
#
|
33672
|
+
# Returns the value of the `vnc_encryption` attribute.
|
33673
|
+
#
|
33674
|
+
# @return [Boolean]
|
33675
|
+
#
|
33676
|
+
def vnc_encryption
|
33677
|
+
@vnc_encryption
|
33678
|
+
end
|
33679
|
+
|
33680
|
+
#
|
33681
|
+
# Sets the value of the `vnc_encryption` attribute.
|
33682
|
+
#
|
33683
|
+
# @param value [Boolean]
|
33684
|
+
#
|
33685
|
+
def vnc_encryption=(value)
|
33686
|
+
@vnc_encryption = value
|
33687
|
+
end
|
33688
|
+
|
32991
33689
|
#
|
32992
33690
|
# Creates a new instance of the {Cluster} class.
|
32993
33691
|
#
|
@@ -33023,6 +33721,8 @@ module OvirtSDK4
|
|
33023
33721
|
#
|
33024
33722
|
# @option opts [FencingPolicy, Hash] :fencing_policy The value of attribute `fencing_policy`.
|
33025
33723
|
#
|
33724
|
+
# @option opts [FipsMode] :fips_mode The value of attribute `fips_mode`.
|
33725
|
+
#
|
33026
33726
|
# @option opts [FirewallType] :firewall_type The value of attribute `firewall_type`.
|
33027
33727
|
#
|
33028
33728
|
# @option opts [Array<GlusterHook>, Array<Hash>] :gluster_hooks The values of attribute `gluster_hooks`.
|
@@ -33083,6 +33783,8 @@ module OvirtSDK4
|
|
33083
33783
|
#
|
33084
33784
|
# @option opts [Boolean] :virt_service The value of attribute `virt_service`.
|
33085
33785
|
#
|
33786
|
+
# @option opts [Boolean] :vnc_encryption The value of attribute `vnc_encryption`.
|
33787
|
+
#
|
33086
33788
|
#
|
33087
33789
|
def initialize(opts = {})
|
33088
33790
|
super(opts)
|
@@ -33098,6 +33800,7 @@ module OvirtSDK4
|
|
33098
33800
|
self.error_handling = opts[:error_handling]
|
33099
33801
|
self.external_network_providers = opts[:external_network_providers]
|
33100
33802
|
self.fencing_policy = opts[:fencing_policy]
|
33803
|
+
self.fips_mode = opts[:fips_mode]
|
33101
33804
|
self.firewall_type = opts[:firewall_type]
|
33102
33805
|
self.gluster_hooks = opts[:gluster_hooks]
|
33103
33806
|
self.gluster_service = opts[:gluster_service]
|
@@ -33126,6 +33829,7 @@ module OvirtSDK4
|
|
33126
33829
|
self.tunnel_migration = opts[:tunnel_migration]
|
33127
33830
|
self.version = opts[:version]
|
33128
33831
|
self.virt_service = opts[:virt_service]
|
33832
|
+
self.vnc_encryption = opts[:vnc_encryption]
|
33129
33833
|
end
|
33130
33834
|
|
33131
33835
|
#
|
@@ -33145,6 +33849,7 @@ module OvirtSDK4
|
|
33145
33849
|
@error_handling == other.error_handling &&
|
33146
33850
|
@external_network_providers == other.external_network_providers &&
|
33147
33851
|
@fencing_policy == other.fencing_policy &&
|
33852
|
+
@fips_mode == other.fips_mode &&
|
33148
33853
|
@firewall_type == other.firewall_type &&
|
33149
33854
|
@gluster_hooks == other.gluster_hooks &&
|
33150
33855
|
@gluster_service == other.gluster_service &&
|
@@ -33172,7 +33877,8 @@ module OvirtSDK4
|
|
33172
33877
|
@trusted_service == other.trusted_service &&
|
33173
33878
|
@tunnel_migration == other.tunnel_migration &&
|
33174
33879
|
@version == other.version &&
|
33175
|
-
@virt_service == other.virt_service
|
33880
|
+
@virt_service == other.virt_service &&
|
33881
|
+
@vnc_encryption == other.vnc_encryption
|
33176
33882
|
end
|
33177
33883
|
|
33178
33884
|
#
|
@@ -33192,6 +33898,7 @@ module OvirtSDK4
|
|
33192
33898
|
@error_handling.hash +
|
33193
33899
|
@external_network_providers.hash +
|
33194
33900
|
@fencing_policy.hash +
|
33901
|
+
@fips_mode.hash +
|
33195
33902
|
@firewall_type.hash +
|
33196
33903
|
@gluster_hooks.hash +
|
33197
33904
|
@gluster_service.hash +
|
@@ -33219,7 +33926,8 @@ module OvirtSDK4
|
|
33219
33926
|
@trusted_service.hash +
|
33220
33927
|
@tunnel_migration.hash +
|
33221
33928
|
@version.hash +
|
33222
|
-
@virt_service.hash
|
33929
|
+
@virt_service.hash +
|
33930
|
+
@vnc_encryption.hash
|
33223
33931
|
end
|
33224
33932
|
|
33225
33933
|
end
|
@@ -34583,6 +35291,24 @@ module OvirtSDK4
|
|
34583
35291
|
@backup = value
|
34584
35292
|
end
|
34585
35293
|
|
35294
|
+
#
|
35295
|
+
# Returns the value of the `backup_mode` attribute.
|
35296
|
+
#
|
35297
|
+
# @return [DiskBackupMode]
|
35298
|
+
#
|
35299
|
+
def backup_mode
|
35300
|
+
@backup_mode
|
35301
|
+
end
|
35302
|
+
|
35303
|
+
#
|
35304
|
+
# Sets the value of the `backup_mode` attribute.
|
35305
|
+
#
|
35306
|
+
# @param value [DiskBackupMode]
|
35307
|
+
#
|
35308
|
+
def backup_mode=(value)
|
35309
|
+
@backup_mode = value
|
35310
|
+
end
|
35311
|
+
|
34586
35312
|
#
|
34587
35313
|
# Returns the value of the `bootable` attribute.
|
34588
35314
|
#
|
@@ -34680,6 +35406,50 @@ module OvirtSDK4
|
|
34680
35406
|
@disk_profile = value
|
34681
35407
|
end
|
34682
35408
|
|
35409
|
+
#
|
35410
|
+
# Returns the value of the `disk_snapshots` attribute.
|
35411
|
+
#
|
35412
|
+
# @return [Array<DiskSnapshot>]
|
35413
|
+
#
|
35414
|
+
def disk_snapshots
|
35415
|
+
@disk_snapshots
|
35416
|
+
end
|
35417
|
+
|
35418
|
+
#
|
35419
|
+
# Sets the value of the `disk_snapshots` attribute.
|
35420
|
+
#
|
35421
|
+
# @param list [Array<DiskSnapshot>]
|
35422
|
+
#
|
35423
|
+
def disk_snapshots=(list)
|
35424
|
+
if list.class == Array
|
35425
|
+
list = List.new(list)
|
35426
|
+
list.each_with_index do |value, index|
|
35427
|
+
if value.is_a?(Hash)
|
35428
|
+
list[index] = DiskSnapshot.new(value)
|
35429
|
+
end
|
35430
|
+
end
|
35431
|
+
end
|
35432
|
+
@disk_snapshots = list
|
35433
|
+
end
|
35434
|
+
|
35435
|
+
#
|
35436
|
+
# Returns the value of the `external_disk` attribute.
|
35437
|
+
#
|
35438
|
+
# @return [String]
|
35439
|
+
#
|
35440
|
+
def external_disk
|
35441
|
+
@external_disk
|
35442
|
+
end
|
35443
|
+
|
35444
|
+
#
|
35445
|
+
# Sets the value of the `external_disk` attribute.
|
35446
|
+
#
|
35447
|
+
# @param value [String]
|
35448
|
+
#
|
35449
|
+
def external_disk=(value)
|
35450
|
+
@external_disk = value
|
35451
|
+
end
|
35452
|
+
|
34683
35453
|
#
|
34684
35454
|
# Returns the value of the `format` attribute.
|
34685
35455
|
#
|
@@ -35341,6 +36111,8 @@ module OvirtSDK4
|
|
35341
36111
|
#
|
35342
36112
|
# @option opts [DiskBackup] :backup The value of attribute `backup`.
|
35343
36113
|
#
|
36114
|
+
# @option opts [DiskBackupMode] :backup_mode The value of attribute `backup_mode`.
|
36115
|
+
#
|
35344
36116
|
# @option opts [Boolean] :bootable The value of attribute `bootable`.
|
35345
36117
|
#
|
35346
36118
|
# @option opts [String] :comment The value of attribute `comment`.
|
@@ -35351,6 +36123,10 @@ module OvirtSDK4
|
|
35351
36123
|
#
|
35352
36124
|
# @option opts [DiskProfile, Hash] :disk_profile The value of attribute `disk_profile`.
|
35353
36125
|
#
|
36126
|
+
# @option opts [Array<DiskSnapshot>, Array<Hash>] :disk_snapshots The values of attribute `disk_snapshots`.
|
36127
|
+
#
|
36128
|
+
# @option opts [String] :external_disk The value of attribute `external_disk`.
|
36129
|
+
#
|
35354
36130
|
# @option opts [DiskFormat] :format The value of attribute `format`.
|
35355
36131
|
#
|
35356
36132
|
# @option opts [String] :id The value of attribute `id`.
|
@@ -35420,9 +36196,12 @@ module OvirtSDK4
|
|
35420
36196
|
self.actual_size = opts[:actual_size]
|
35421
36197
|
self.alias_ = opts[:alias_]
|
35422
36198
|
self.backup = opts[:backup]
|
36199
|
+
self.backup_mode = opts[:backup_mode]
|
35423
36200
|
self.bootable = opts[:bootable]
|
35424
36201
|
self.content_type = opts[:content_type]
|
35425
36202
|
self.disk_profile = opts[:disk_profile]
|
36203
|
+
self.disk_snapshots = opts[:disk_snapshots]
|
36204
|
+
self.external_disk = opts[:external_disk]
|
35426
36205
|
self.format = opts[:format]
|
35427
36206
|
self.image_id = opts[:image_id]
|
35428
36207
|
self.initial_size = opts[:initial_size]
|
@@ -35459,9 +36238,12 @@ module OvirtSDK4
|
|
35459
36238
|
@actual_size == other.actual_size &&
|
35460
36239
|
@alias_ == other.alias_ &&
|
35461
36240
|
@backup == other.backup &&
|
36241
|
+
@backup_mode == other.backup_mode &&
|
35462
36242
|
@bootable == other.bootable &&
|
35463
36243
|
@content_type == other.content_type &&
|
35464
36244
|
@disk_profile == other.disk_profile &&
|
36245
|
+
@disk_snapshots == other.disk_snapshots &&
|
36246
|
+
@external_disk == other.external_disk &&
|
35465
36247
|
@format == other.format &&
|
35466
36248
|
@image_id == other.image_id &&
|
35467
36249
|
@initial_size == other.initial_size &&
|
@@ -35498,9 +36280,12 @@ module OvirtSDK4
|
|
35498
36280
|
@actual_size.hash +
|
35499
36281
|
@alias_.hash +
|
35500
36282
|
@backup.hash +
|
36283
|
+
@backup_mode.hash +
|
35501
36284
|
@bootable.hash +
|
35502
36285
|
@content_type.hash +
|
35503
36286
|
@disk_profile.hash +
|
36287
|
+
@disk_snapshots.hash +
|
36288
|
+
@external_disk.hash +
|
35504
36289
|
@format.hash +
|
35505
36290
|
@image_id.hash +
|
35506
36291
|
@initial_size.hash +
|
@@ -36166,6 +36951,24 @@ module OvirtSDK4
|
|
36166
36951
|
@backup = value
|
36167
36952
|
end
|
36168
36953
|
|
36954
|
+
#
|
36955
|
+
# Returns the value of the `backup_mode` attribute.
|
36956
|
+
#
|
36957
|
+
# @return [DiskBackupMode]
|
36958
|
+
#
|
36959
|
+
def backup_mode
|
36960
|
+
@backup_mode
|
36961
|
+
end
|
36962
|
+
|
36963
|
+
#
|
36964
|
+
# Sets the value of the `backup_mode` attribute.
|
36965
|
+
#
|
36966
|
+
# @param value [DiskBackupMode]
|
36967
|
+
#
|
36968
|
+
def backup_mode=(value)
|
36969
|
+
@backup_mode = value
|
36970
|
+
end
|
36971
|
+
|
36169
36972
|
#
|
36170
36973
|
# Returns the value of the `bootable` attribute.
|
36171
36974
|
#
|
@@ -36288,6 +37091,50 @@ module OvirtSDK4
|
|
36288
37091
|
@disk_profile = value
|
36289
37092
|
end
|
36290
37093
|
|
37094
|
+
#
|
37095
|
+
# Returns the value of the `disk_snapshots` attribute.
|
37096
|
+
#
|
37097
|
+
# @return [Array<DiskSnapshot>]
|
37098
|
+
#
|
37099
|
+
def disk_snapshots
|
37100
|
+
@disk_snapshots
|
37101
|
+
end
|
37102
|
+
|
37103
|
+
#
|
37104
|
+
# Sets the value of the `disk_snapshots` attribute.
|
37105
|
+
#
|
37106
|
+
# @param list [Array<DiskSnapshot>]
|
37107
|
+
#
|
37108
|
+
def disk_snapshots=(list)
|
37109
|
+
if list.class == Array
|
37110
|
+
list = List.new(list)
|
37111
|
+
list.each_with_index do |value, index|
|
37112
|
+
if value.is_a?(Hash)
|
37113
|
+
list[index] = DiskSnapshot.new(value)
|
37114
|
+
end
|
37115
|
+
end
|
37116
|
+
end
|
37117
|
+
@disk_snapshots = list
|
37118
|
+
end
|
37119
|
+
|
37120
|
+
#
|
37121
|
+
# Returns the value of the `external_disk` attribute.
|
37122
|
+
#
|
37123
|
+
# @return [String]
|
37124
|
+
#
|
37125
|
+
def external_disk
|
37126
|
+
@external_disk
|
37127
|
+
end
|
37128
|
+
|
37129
|
+
#
|
37130
|
+
# Sets the value of the `external_disk` attribute.
|
37131
|
+
#
|
37132
|
+
# @param value [String]
|
37133
|
+
#
|
37134
|
+
def external_disk=(value)
|
37135
|
+
@external_disk = value
|
37136
|
+
end
|
37137
|
+
|
36291
37138
|
#
|
36292
37139
|
# Returns the value of the `format` attribute.
|
36293
37140
|
#
|
@@ -36489,6 +37336,31 @@ module OvirtSDK4
|
|
36489
37336
|
@openstack_volume_type = value
|
36490
37337
|
end
|
36491
37338
|
|
37339
|
+
#
|
37340
|
+
# Returns the value of the `parent` attribute.
|
37341
|
+
#
|
37342
|
+
# @return [DiskSnapshot]
|
37343
|
+
#
|
37344
|
+
def parent
|
37345
|
+
@parent
|
37346
|
+
end
|
37347
|
+
|
37348
|
+
#
|
37349
|
+
# Sets the value of the `parent` attribute.
|
37350
|
+
#
|
37351
|
+
# @param value [DiskSnapshot, Hash]
|
37352
|
+
#
|
37353
|
+
# The `value` parameter can be an instance of {OvirtSDK4::DiskSnapshot} or a hash.
|
37354
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
37355
|
+
# `opts` parameter to the constructor.
|
37356
|
+
#
|
37357
|
+
def parent=(value)
|
37358
|
+
if value.is_a?(Hash)
|
37359
|
+
value = DiskSnapshot.new(value)
|
37360
|
+
end
|
37361
|
+
@parent = value
|
37362
|
+
end
|
37363
|
+
|
36492
37364
|
#
|
36493
37365
|
# Returns the value of the `permissions` attribute.
|
36494
37366
|
#
|
@@ -36949,6 +37821,8 @@ module OvirtSDK4
|
|
36949
37821
|
#
|
36950
37822
|
# @option opts [DiskBackup] :backup The value of attribute `backup`.
|
36951
37823
|
#
|
37824
|
+
# @option opts [DiskBackupMode] :backup_mode The value of attribute `backup_mode`.
|
37825
|
+
#
|
36952
37826
|
# @option opts [Boolean] :bootable The value of attribute `bootable`.
|
36953
37827
|
#
|
36954
37828
|
# @option opts [String] :comment The value of attribute `comment`.
|
@@ -36961,6 +37835,10 @@ module OvirtSDK4
|
|
36961
37835
|
#
|
36962
37836
|
# @option opts [DiskProfile, Hash] :disk_profile The value of attribute `disk_profile`.
|
36963
37837
|
#
|
37838
|
+
# @option opts [Array<DiskSnapshot>, Array<Hash>] :disk_snapshots The values of attribute `disk_snapshots`.
|
37839
|
+
#
|
37840
|
+
# @option opts [String] :external_disk The value of attribute `external_disk`.
|
37841
|
+
#
|
36964
37842
|
# @option opts [DiskFormat] :format The value of attribute `format`.
|
36965
37843
|
#
|
36966
37844
|
# @option opts [String] :id The value of attribute `id`.
|
@@ -36981,6 +37859,8 @@ module OvirtSDK4
|
|
36981
37859
|
#
|
36982
37860
|
# @option opts [OpenStackVolumeType, Hash] :openstack_volume_type The value of attribute `openstack_volume_type`.
|
36983
37861
|
#
|
37862
|
+
# @option opts [DiskSnapshot, Hash] :parent The value of attribute `parent`.
|
37863
|
+
#
|
36984
37864
|
# @option opts [Array<Permission>, Array<Hash>] :permissions The values of attribute `permissions`.
|
36985
37865
|
#
|
36986
37866
|
# @option opts [Boolean] :propagate_errors The value of attribute `propagate_errors`.
|
@@ -37027,6 +37907,7 @@ module OvirtSDK4
|
|
37027
37907
|
def initialize(opts = {})
|
37028
37908
|
super(opts)
|
37029
37909
|
self.disk = opts[:disk]
|
37910
|
+
self.parent = opts[:parent]
|
37030
37911
|
end
|
37031
37912
|
|
37032
37913
|
#
|
@@ -37034,7 +37915,8 @@ module OvirtSDK4
|
|
37034
37915
|
#
|
37035
37916
|
def ==(other)
|
37036
37917
|
super &&
|
37037
|
-
@disk == other.disk
|
37918
|
+
@disk == other.disk &&
|
37919
|
+
@parent == other.parent
|
37038
37920
|
end
|
37039
37921
|
|
37040
37922
|
#
|
@@ -37042,7 +37924,8 @@ module OvirtSDK4
|
|
37042
37924
|
#
|
37043
37925
|
def hash
|
37044
37926
|
super +
|
37045
|
-
@disk.hash
|
37927
|
+
@disk.hash +
|
37928
|
+
@parent.hash
|
37046
37929
|
end
|
37047
37930
|
|
37048
37931
|
end
|
@@ -43302,6 +44185,24 @@ module OvirtSDK4
|
|
43302
44185
|
@protocol = value
|
43303
44186
|
end
|
43304
44187
|
|
44188
|
+
#
|
44189
|
+
# Returns the value of the `reinstallation_required` attribute.
|
44190
|
+
#
|
44191
|
+
# @return [Boolean]
|
44192
|
+
#
|
44193
|
+
def reinstallation_required
|
44194
|
+
@reinstallation_required
|
44195
|
+
end
|
44196
|
+
|
44197
|
+
#
|
44198
|
+
# Sets the value of the `reinstallation_required` attribute.
|
44199
|
+
#
|
44200
|
+
# @param value [Boolean]
|
44201
|
+
#
|
44202
|
+
def reinstallation_required=(value)
|
44203
|
+
@reinstallation_required = value
|
44204
|
+
end
|
44205
|
+
|
43305
44206
|
#
|
43306
44207
|
# Returns the value of the `root_password` attribute.
|
43307
44208
|
#
|
@@ -43773,6 +44674,8 @@ module OvirtSDK4
|
|
43773
44674
|
#
|
43774
44675
|
# @option opts [HostProtocol] :protocol The value of attribute `protocol`.
|
43775
44676
|
#
|
44677
|
+
# @option opts [Boolean] :reinstallation_required The value of attribute `reinstallation_required`.
|
44678
|
+
#
|
43776
44679
|
# @option opts [String] :root_password The value of attribute `root_password`.
|
43777
44680
|
#
|
43778
44681
|
# @option opts [SeLinux, Hash] :se_linux The value of attribute `se_linux`.
|
@@ -43844,6 +44747,7 @@ module OvirtSDK4
|
|
43844
44747
|
self.port = opts[:port]
|
43845
44748
|
self.power_management = opts[:power_management]
|
43846
44749
|
self.protocol = opts[:protocol]
|
44750
|
+
self.reinstallation_required = opts[:reinstallation_required]
|
43847
44751
|
self.root_password = opts[:root_password]
|
43848
44752
|
self.se_linux = opts[:se_linux]
|
43849
44753
|
self.spm = opts[:spm]
|
@@ -43902,6 +44806,7 @@ module OvirtSDK4
|
|
43902
44806
|
@port == other.port &&
|
43903
44807
|
@power_management == other.power_management &&
|
43904
44808
|
@protocol == other.protocol &&
|
44809
|
+
@reinstallation_required == other.reinstallation_required &&
|
43905
44810
|
@root_password == other.root_password &&
|
43906
44811
|
@se_linux == other.se_linux &&
|
43907
44812
|
@spm == other.spm &&
|
@@ -43960,6 +44865,7 @@ module OvirtSDK4
|
|
43960
44865
|
@port.hash +
|
43961
44866
|
@power_management.hash +
|
43962
44867
|
@protocol.hash +
|
44868
|
+
@reinstallation_required.hash +
|
43963
44869
|
@root_password.hash +
|
43964
44870
|
@se_linux.hash +
|
43965
44871
|
@spm.hash +
|
@@ -48416,6 +49322,24 @@ module OvirtSDK4
|
|
48416
49322
|
@virtio_scsi = value
|
48417
49323
|
end
|
48418
49324
|
|
49325
|
+
#
|
49326
|
+
# Returns the value of the `virtio_scsi_multi_queues_enabled` attribute.
|
49327
|
+
#
|
49328
|
+
# @return [Boolean]
|
49329
|
+
#
|
49330
|
+
def virtio_scsi_multi_queues_enabled
|
49331
|
+
@virtio_scsi_multi_queues_enabled
|
49332
|
+
end
|
49333
|
+
|
49334
|
+
#
|
49335
|
+
# Sets the value of the `virtio_scsi_multi_queues_enabled` attribute.
|
49336
|
+
#
|
49337
|
+
# @param value [Boolean]
|
49338
|
+
#
|
49339
|
+
def virtio_scsi_multi_queues_enabled=(value)
|
49340
|
+
@virtio_scsi_multi_queues_enabled = value
|
49341
|
+
end
|
49342
|
+
|
48419
49343
|
#
|
48420
49344
|
# Returns the value of the `vm` attribute.
|
48421
49345
|
#
|
@@ -48582,6 +49506,8 @@ module OvirtSDK4
|
|
48582
49506
|
#
|
48583
49507
|
# @option opts [VirtioScsi, Hash] :virtio_scsi The value of attribute `virtio_scsi`.
|
48584
49508
|
#
|
49509
|
+
# @option opts [Boolean] :virtio_scsi_multi_queues_enabled The value of attribute `virtio_scsi_multi_queues_enabled`.
|
49510
|
+
#
|
48585
49511
|
# @option opts [Vm, Hash] :vm The value of attribute `vm`.
|
48586
49512
|
#
|
48587
49513
|
# @option opts [Array<Watchdog>, Array<Hash>] :watchdogs The values of attribute `watchdogs`.
|
@@ -50472,6 +51398,24 @@ module OvirtSDK4
|
|
50472
51398
|
@virtio_scsi = value
|
50473
51399
|
end
|
50474
51400
|
|
51401
|
+
#
|
51402
|
+
# Returns the value of the `virtio_scsi_multi_queues_enabled` attribute.
|
51403
|
+
#
|
51404
|
+
# @return [Boolean]
|
51405
|
+
#
|
51406
|
+
def virtio_scsi_multi_queues_enabled
|
51407
|
+
@virtio_scsi_multi_queues_enabled
|
51408
|
+
end
|
51409
|
+
|
51410
|
+
#
|
51411
|
+
# Sets the value of the `virtio_scsi_multi_queues_enabled` attribute.
|
51412
|
+
#
|
51413
|
+
# @param value [Boolean]
|
51414
|
+
#
|
51415
|
+
def virtio_scsi_multi_queues_enabled=(value)
|
51416
|
+
@virtio_scsi_multi_queues_enabled = value
|
51417
|
+
end
|
51418
|
+
|
50475
51419
|
#
|
50476
51420
|
# Returns the value of the `vm_pool` attribute.
|
50477
51421
|
#
|
@@ -50692,6 +51636,8 @@ module OvirtSDK4
|
|
50692
51636
|
#
|
50693
51637
|
# @option opts [VirtioScsi, Hash] :virtio_scsi The value of attribute `virtio_scsi`.
|
50694
51638
|
#
|
51639
|
+
# @option opts [Boolean] :virtio_scsi_multi_queues_enabled The value of attribute `virtio_scsi_multi_queues_enabled`.
|
51640
|
+
#
|
50695
51641
|
# @option opts [VmPool, Hash] :vm_pool The value of attribute `vm_pool`.
|
50696
51642
|
#
|
50697
51643
|
# @option opts [Array<Watchdog>, Array<Hash>] :watchdogs The values of attribute `watchdogs`.
|
@@ -53459,6 +54405,24 @@ module OvirtSDK4
|
|
53459
54405
|
@virtio_scsi = value
|
53460
54406
|
end
|
53461
54407
|
|
54408
|
+
#
|
54409
|
+
# Returns the value of the `virtio_scsi_multi_queues_enabled` attribute.
|
54410
|
+
#
|
54411
|
+
# @return [Boolean]
|
54412
|
+
#
|
54413
|
+
def virtio_scsi_multi_queues_enabled
|
54414
|
+
@virtio_scsi_multi_queues_enabled
|
54415
|
+
end
|
54416
|
+
|
54417
|
+
#
|
54418
|
+
# Sets the value of the `virtio_scsi_multi_queues_enabled` attribute.
|
54419
|
+
#
|
54420
|
+
# @param value [Boolean]
|
54421
|
+
#
|
54422
|
+
def virtio_scsi_multi_queues_enabled=(value)
|
54423
|
+
@virtio_scsi_multi_queues_enabled = value
|
54424
|
+
end
|
54425
|
+
|
53462
54426
|
#
|
53463
54427
|
# Returns the value of the `vm` attribute.
|
53464
54428
|
#
|
@@ -53625,6 +54589,8 @@ module OvirtSDK4
|
|
53625
54589
|
#
|
53626
54590
|
# @option opts [VirtioScsi, Hash] :virtio_scsi The value of attribute `virtio_scsi`.
|
53627
54591
|
#
|
54592
|
+
# @option opts [Boolean] :virtio_scsi_multi_queues_enabled The value of attribute `virtio_scsi_multi_queues_enabled`.
|
54593
|
+
#
|
53628
54594
|
# @option opts [Vm, Hash] :vm The value of attribute `vm`.
|
53629
54595
|
#
|
53630
54596
|
# @option opts [Array<Watchdog>, Array<Hash>] :watchdogs The values of attribute `watchdogs`.
|
@@ -56477,6 +57443,24 @@ module OvirtSDK4
|
|
56477
57443
|
@virtio_scsi = value
|
56478
57444
|
end
|
56479
57445
|
|
57446
|
+
#
|
57447
|
+
# Returns the value of the `virtio_scsi_multi_queues_enabled` attribute.
|
57448
|
+
#
|
57449
|
+
# @return [Boolean]
|
57450
|
+
#
|
57451
|
+
def virtio_scsi_multi_queues_enabled
|
57452
|
+
@virtio_scsi_multi_queues_enabled
|
57453
|
+
end
|
57454
|
+
|
57455
|
+
#
|
57456
|
+
# Sets the value of the `virtio_scsi_multi_queues_enabled` attribute.
|
57457
|
+
#
|
57458
|
+
# @param value [Boolean]
|
57459
|
+
#
|
57460
|
+
def virtio_scsi_multi_queues_enabled=(value)
|
57461
|
+
@virtio_scsi_multi_queues_enabled = value
|
57462
|
+
end
|
57463
|
+
|
56480
57464
|
#
|
56481
57465
|
# Returns the value of the `vm` attribute.
|
56482
57466
|
#
|
@@ -56732,6 +57716,8 @@ module OvirtSDK4
|
|
56732
57716
|
#
|
56733
57717
|
# @option opts [VirtioScsi, Hash] :virtio_scsi The value of attribute `virtio_scsi`.
|
56734
57718
|
#
|
57719
|
+
# @option opts [Boolean] :virtio_scsi_multi_queues_enabled The value of attribute `virtio_scsi_multi_queues_enabled`.
|
57720
|
+
#
|
56735
57721
|
# @option opts [Vm, Hash] :vm The value of attribute `vm`.
|
56736
57722
|
#
|
56737
57723
|
# @option opts [VmPool, Hash] :vm_pool The value of attribute `vm_pool`.
|
@@ -56796,6 +57782,12 @@ module OvirtSDK4
|
|
56796
57782
|
UNKNOWN = 'unknown'.freeze
|
56797
57783
|
end
|
56798
57784
|
|
57785
|
+
module AutoPinningPolicy
|
57786
|
+
ADJUST = 'adjust'.freeze
|
57787
|
+
DISABLED = 'disabled'.freeze
|
57788
|
+
EXISTING = 'existing'.freeze
|
57789
|
+
end
|
57790
|
+
|
56799
57791
|
module BackupPhase
|
56800
57792
|
FINALIZING = 'finalizing'.freeze
|
56801
57793
|
INITIALIZING = 'initializing'.freeze
|
@@ -56867,6 +57859,11 @@ module OvirtSDK4
|
|
56867
57859
|
NONE = 'none'.freeze
|
56868
57860
|
end
|
56869
57861
|
|
57862
|
+
module DiskBackupMode
|
57863
|
+
FULL = 'full'.freeze
|
57864
|
+
INCREMENTAL = 'incremental'.freeze
|
57865
|
+
end
|
57866
|
+
|
56870
57867
|
module DiskContentType
|
56871
57868
|
DATA = 'data'.freeze
|
56872
57869
|
HOSTED_ENGINE = 'hosted_engine'.freeze
|
@@ -56950,6 +57947,12 @@ module OvirtSDK4
|
|
56950
57947
|
STOP = 'stop'.freeze
|
56951
57948
|
end
|
56952
57949
|
|
57950
|
+
module FipsMode
|
57951
|
+
DISABLED = 'disabled'.freeze
|
57952
|
+
ENABLED = 'enabled'.freeze
|
57953
|
+
UNDEFINED = 'undefined'.freeze
|
57954
|
+
end
|
57955
|
+
|
56953
57956
|
module FirewallType
|
56954
57957
|
FIREWALLD = 'firewalld'.freeze
|
56955
57958
|
IPTABLES = 'iptables'.freeze
|
@@ -57071,6 +58074,12 @@ module OvirtSDK4
|
|
57071
58074
|
UNKNOWN = 'unknown'.freeze
|
57072
58075
|
end
|
57073
58076
|
|
58077
|
+
module ImageTransferTimeoutPolicy
|
58078
|
+
CANCEL = 'cancel'.freeze
|
58079
|
+
LEGACY = 'legacy'.freeze
|
58080
|
+
PAUSE = 'pause'.freeze
|
58081
|
+
end
|
58082
|
+
|
57074
58083
|
module InheritableBoolean
|
57075
58084
|
FALSE = 'false'.freeze
|
57076
58085
|
INHERIT = 'inherit'.freeze
|