ovirt-engine-sdk 4.6.0 → 4.6.1
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 +4 -4
- data/CHANGES.adoc +11 -0
- data/ext/ovirtsdk4c/ov_http_client.c +24 -22
- data/ext/ovirtsdk4c/ov_http_request.c +4 -4
- data/ext/ovirtsdk4c/ov_http_response.c +4 -4
- data/ext/ovirtsdk4c/ov_http_transfer.c +4 -4
- data/ext/ovirtsdk4c/ov_xml_reader.c +1 -1
- data/ext/ovirtsdk4c/ov_xml_writer.c +2 -2
- data/lib/ovirtsdk4/readers.rb +102 -0
- data/lib/ovirtsdk4/services.rb +1832 -2392
- data/lib/ovirtsdk4/types.rb +302 -2
- data/lib/ovirtsdk4/version.rb +1 -1
- data/lib/ovirtsdk4/writers.rb +38 -0
- metadata +9 -6
data/lib/ovirtsdk4/types.rb
CHANGED
|
@@ -89,6 +89,9 @@ module OvirtSDK4
|
|
|
89
89
|
class DynamicCpu < Struct
|
|
90
90
|
end
|
|
91
91
|
|
|
92
|
+
class EngineBackupInfo < Struct
|
|
93
|
+
end
|
|
94
|
+
|
|
92
95
|
class EntityProfileDetail < Struct
|
|
93
96
|
end
|
|
94
97
|
|
|
@@ -996,6 +999,31 @@ module OvirtSDK4
|
|
|
996
999
|
@effective_user = value
|
|
997
1000
|
end
|
|
998
1001
|
|
|
1002
|
+
#
|
|
1003
|
+
# Returns the value of the `engine_backup` attribute.
|
|
1004
|
+
#
|
|
1005
|
+
# @return [EngineBackupInfo]
|
|
1006
|
+
#
|
|
1007
|
+
def engine_backup
|
|
1008
|
+
@engine_backup
|
|
1009
|
+
end
|
|
1010
|
+
|
|
1011
|
+
#
|
|
1012
|
+
# Sets the value of the `engine_backup` attribute.
|
|
1013
|
+
#
|
|
1014
|
+
# @param value [EngineBackupInfo, Hash]
|
|
1015
|
+
#
|
|
1016
|
+
# The `value` parameter can be an instance of {OvirtSDK4::EngineBackupInfo} or a hash.
|
|
1017
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
|
1018
|
+
# `opts` parameter to the constructor.
|
|
1019
|
+
#
|
|
1020
|
+
def engine_backup=(value)
|
|
1021
|
+
if value.is_a?(Hash)
|
|
1022
|
+
value = EngineBackupInfo.new(value)
|
|
1023
|
+
end
|
|
1024
|
+
@engine_backup = value
|
|
1025
|
+
end
|
|
1026
|
+
|
|
999
1027
|
#
|
|
1000
1028
|
# Returns the value of the `product_info` attribute.
|
|
1001
1029
|
#
|
|
@@ -1100,6 +1128,8 @@ module OvirtSDK4
|
|
|
1100
1128
|
#
|
|
1101
1129
|
# @option opts [User, Hash] :effective_user The value of attribute `effective_user`.
|
|
1102
1130
|
#
|
|
1131
|
+
# @option opts [EngineBackupInfo, Hash] :engine_backup The value of attribute `engine_backup`.
|
|
1132
|
+
#
|
|
1103
1133
|
# @option opts [ProductInfo, Hash] :product_info The value of attribute `product_info`.
|
|
1104
1134
|
#
|
|
1105
1135
|
# @option opts [SpecialObjects, Hash] :special_objects The value of attribute `special_objects`.
|
|
@@ -1113,6 +1143,7 @@ module OvirtSDK4
|
|
|
1113
1143
|
super(opts)
|
|
1114
1144
|
self.authenticated_user = opts[:authenticated_user]
|
|
1115
1145
|
self.effective_user = opts[:effective_user]
|
|
1146
|
+
self.engine_backup = opts[:engine_backup]
|
|
1116
1147
|
self.product_info = opts[:product_info]
|
|
1117
1148
|
self.special_objects = opts[:special_objects]
|
|
1118
1149
|
self.summary = opts[:summary]
|
|
@@ -1126,6 +1157,7 @@ module OvirtSDK4
|
|
|
1126
1157
|
super &&
|
|
1127
1158
|
@authenticated_user == other.authenticated_user &&
|
|
1128
1159
|
@effective_user == other.effective_user &&
|
|
1160
|
+
@engine_backup == other.engine_backup &&
|
|
1129
1161
|
@product_info == other.product_info &&
|
|
1130
1162
|
@special_objects == other.special_objects &&
|
|
1131
1163
|
@summary == other.summary &&
|
|
@@ -1139,6 +1171,7 @@ module OvirtSDK4
|
|
|
1139
1171
|
super +
|
|
1140
1172
|
@authenticated_user.hash +
|
|
1141
1173
|
@effective_user.hash +
|
|
1174
|
+
@engine_backup.hash +
|
|
1142
1175
|
@product_info.hash +
|
|
1143
1176
|
@special_objects.hash +
|
|
1144
1177
|
@summary.hash +
|
|
@@ -3105,6 +3138,24 @@ module OvirtSDK4
|
|
|
3105
3138
|
@type = value
|
|
3106
3139
|
end
|
|
3107
3140
|
|
|
3141
|
+
#
|
|
3142
|
+
# Returns the value of the `video_type` attribute.
|
|
3143
|
+
#
|
|
3144
|
+
# @return [VideoType]
|
|
3145
|
+
#
|
|
3146
|
+
def video_type
|
|
3147
|
+
@video_type
|
|
3148
|
+
end
|
|
3149
|
+
|
|
3150
|
+
#
|
|
3151
|
+
# Sets the value of the `video_type` attribute.
|
|
3152
|
+
#
|
|
3153
|
+
# @param value [VideoType]
|
|
3154
|
+
#
|
|
3155
|
+
def video_type=(value)
|
|
3156
|
+
@video_type = value
|
|
3157
|
+
end
|
|
3158
|
+
|
|
3108
3159
|
#
|
|
3109
3160
|
# Creates a new instance of the {Display} class.
|
|
3110
3161
|
#
|
|
@@ -3142,6 +3193,8 @@ module OvirtSDK4
|
|
|
3142
3193
|
#
|
|
3143
3194
|
# @option opts [DisplayType] :type The value of attribute `type`.
|
|
3144
3195
|
#
|
|
3196
|
+
# @option opts [VideoType] :video_type The value of attribute `video_type`.
|
|
3197
|
+
#
|
|
3145
3198
|
#
|
|
3146
3199
|
def initialize(opts = {})
|
|
3147
3200
|
super(opts)
|
|
@@ -3160,6 +3213,7 @@ module OvirtSDK4
|
|
|
3160
3213
|
self.single_qxl_pci = opts[:single_qxl_pci]
|
|
3161
3214
|
self.smartcard_enabled = opts[:smartcard_enabled]
|
|
3162
3215
|
self.type = opts[:type]
|
|
3216
|
+
self.video_type = opts[:video_type]
|
|
3163
3217
|
end
|
|
3164
3218
|
|
|
3165
3219
|
#
|
|
@@ -3181,7 +3235,8 @@ module OvirtSDK4
|
|
|
3181
3235
|
@secure_port == other.secure_port &&
|
|
3182
3236
|
@single_qxl_pci == other.single_qxl_pci &&
|
|
3183
3237
|
@smartcard_enabled == other.smartcard_enabled &&
|
|
3184
|
-
@type == other.type
|
|
3238
|
+
@type == other.type &&
|
|
3239
|
+
@video_type == other.video_type
|
|
3185
3240
|
end
|
|
3186
3241
|
|
|
3187
3242
|
#
|
|
@@ -3203,7 +3258,8 @@ module OvirtSDK4
|
|
|
3203
3258
|
@secure_port.hash +
|
|
3204
3259
|
@single_qxl_pci.hash +
|
|
3205
3260
|
@smartcard_enabled.hash +
|
|
3206
|
-
@type.hash
|
|
3261
|
+
@type.hash +
|
|
3262
|
+
@video_type.hash
|
|
3207
3263
|
end
|
|
3208
3264
|
|
|
3209
3265
|
end
|
|
@@ -3443,6 +3499,174 @@ module OvirtSDK4
|
|
|
3443
3499
|
|
|
3444
3500
|
end
|
|
3445
3501
|
|
|
3502
|
+
class EngineBackupInfo < Struct
|
|
3503
|
+
|
|
3504
|
+
#
|
|
3505
|
+
# Returns the value of the `last_cinder_backup` attribute.
|
|
3506
|
+
#
|
|
3507
|
+
# @return [DateTime]
|
|
3508
|
+
#
|
|
3509
|
+
def last_cinder_backup
|
|
3510
|
+
@last_cinder_backup
|
|
3511
|
+
end
|
|
3512
|
+
|
|
3513
|
+
#
|
|
3514
|
+
# Sets the value of the `last_cinder_backup` attribute.
|
|
3515
|
+
#
|
|
3516
|
+
# @param value [DateTime]
|
|
3517
|
+
#
|
|
3518
|
+
def last_cinder_backup=(value)
|
|
3519
|
+
@last_cinder_backup = value
|
|
3520
|
+
end
|
|
3521
|
+
|
|
3522
|
+
#
|
|
3523
|
+
# Returns the value of the `last_db_backup` attribute.
|
|
3524
|
+
#
|
|
3525
|
+
# @return [DateTime]
|
|
3526
|
+
#
|
|
3527
|
+
def last_db_backup
|
|
3528
|
+
@last_db_backup
|
|
3529
|
+
end
|
|
3530
|
+
|
|
3531
|
+
#
|
|
3532
|
+
# Sets the value of the `last_db_backup` attribute.
|
|
3533
|
+
#
|
|
3534
|
+
# @param value [DateTime]
|
|
3535
|
+
#
|
|
3536
|
+
def last_db_backup=(value)
|
|
3537
|
+
@last_db_backup = value
|
|
3538
|
+
end
|
|
3539
|
+
|
|
3540
|
+
#
|
|
3541
|
+
# Returns the value of the `last_dwh_backup` attribute.
|
|
3542
|
+
#
|
|
3543
|
+
# @return [DateTime]
|
|
3544
|
+
#
|
|
3545
|
+
def last_dwh_backup
|
|
3546
|
+
@last_dwh_backup
|
|
3547
|
+
end
|
|
3548
|
+
|
|
3549
|
+
#
|
|
3550
|
+
# Sets the value of the `last_dwh_backup` attribute.
|
|
3551
|
+
#
|
|
3552
|
+
# @param value [DateTime]
|
|
3553
|
+
#
|
|
3554
|
+
def last_dwh_backup=(value)
|
|
3555
|
+
@last_dwh_backup = value
|
|
3556
|
+
end
|
|
3557
|
+
|
|
3558
|
+
#
|
|
3559
|
+
# Returns the value of the `last_engine_backup` attribute.
|
|
3560
|
+
#
|
|
3561
|
+
# @return [DateTime]
|
|
3562
|
+
#
|
|
3563
|
+
def last_engine_backup
|
|
3564
|
+
@last_engine_backup
|
|
3565
|
+
end
|
|
3566
|
+
|
|
3567
|
+
#
|
|
3568
|
+
# Sets the value of the `last_engine_backup` attribute.
|
|
3569
|
+
#
|
|
3570
|
+
# @param value [DateTime]
|
|
3571
|
+
#
|
|
3572
|
+
def last_engine_backup=(value)
|
|
3573
|
+
@last_engine_backup = value
|
|
3574
|
+
end
|
|
3575
|
+
|
|
3576
|
+
#
|
|
3577
|
+
# Returns the value of the `last_grafana_backup` attribute.
|
|
3578
|
+
#
|
|
3579
|
+
# @return [DateTime]
|
|
3580
|
+
#
|
|
3581
|
+
def last_grafana_backup
|
|
3582
|
+
@last_grafana_backup
|
|
3583
|
+
end
|
|
3584
|
+
|
|
3585
|
+
#
|
|
3586
|
+
# Sets the value of the `last_grafana_backup` attribute.
|
|
3587
|
+
#
|
|
3588
|
+
# @param value [DateTime]
|
|
3589
|
+
#
|
|
3590
|
+
def last_grafana_backup=(value)
|
|
3591
|
+
@last_grafana_backup = value
|
|
3592
|
+
end
|
|
3593
|
+
|
|
3594
|
+
#
|
|
3595
|
+
# Returns the value of the `last_keycloak_backup` attribute.
|
|
3596
|
+
#
|
|
3597
|
+
# @return [DateTime]
|
|
3598
|
+
#
|
|
3599
|
+
def last_keycloak_backup
|
|
3600
|
+
@last_keycloak_backup
|
|
3601
|
+
end
|
|
3602
|
+
|
|
3603
|
+
#
|
|
3604
|
+
# Sets the value of the `last_keycloak_backup` attribute.
|
|
3605
|
+
#
|
|
3606
|
+
# @param value [DateTime]
|
|
3607
|
+
#
|
|
3608
|
+
def last_keycloak_backup=(value)
|
|
3609
|
+
@last_keycloak_backup = value
|
|
3610
|
+
end
|
|
3611
|
+
|
|
3612
|
+
#
|
|
3613
|
+
# Creates a new instance of the {EngineBackupInfo} class.
|
|
3614
|
+
#
|
|
3615
|
+
# @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
|
|
3616
|
+
# should be symbols corresponding to the names of the attributes. The values of the hash
|
|
3617
|
+
# should be the values of the attributes.
|
|
3618
|
+
#
|
|
3619
|
+
# @option opts [DateTime] :last_cinder_backup The value of attribute `last_cinder_backup`.
|
|
3620
|
+
#
|
|
3621
|
+
# @option opts [DateTime] :last_db_backup The value of attribute `last_db_backup`.
|
|
3622
|
+
#
|
|
3623
|
+
# @option opts [DateTime] :last_dwh_backup The value of attribute `last_dwh_backup`.
|
|
3624
|
+
#
|
|
3625
|
+
# @option opts [DateTime] :last_engine_backup The value of attribute `last_engine_backup`.
|
|
3626
|
+
#
|
|
3627
|
+
# @option opts [DateTime] :last_grafana_backup The value of attribute `last_grafana_backup`.
|
|
3628
|
+
#
|
|
3629
|
+
# @option opts [DateTime] :last_keycloak_backup The value of attribute `last_keycloak_backup`.
|
|
3630
|
+
#
|
|
3631
|
+
#
|
|
3632
|
+
def initialize(opts = {})
|
|
3633
|
+
super(opts)
|
|
3634
|
+
self.last_cinder_backup = opts[:last_cinder_backup]
|
|
3635
|
+
self.last_db_backup = opts[:last_db_backup]
|
|
3636
|
+
self.last_dwh_backup = opts[:last_dwh_backup]
|
|
3637
|
+
self.last_engine_backup = opts[:last_engine_backup]
|
|
3638
|
+
self.last_grafana_backup = opts[:last_grafana_backup]
|
|
3639
|
+
self.last_keycloak_backup = opts[:last_keycloak_backup]
|
|
3640
|
+
end
|
|
3641
|
+
|
|
3642
|
+
#
|
|
3643
|
+
# Returns `true` if `self` and `other` have the same attributes and values.
|
|
3644
|
+
#
|
|
3645
|
+
def ==(other)
|
|
3646
|
+
super &&
|
|
3647
|
+
@last_cinder_backup == other.last_cinder_backup &&
|
|
3648
|
+
@last_db_backup == other.last_db_backup &&
|
|
3649
|
+
@last_dwh_backup == other.last_dwh_backup &&
|
|
3650
|
+
@last_engine_backup == other.last_engine_backup &&
|
|
3651
|
+
@last_grafana_backup == other.last_grafana_backup &&
|
|
3652
|
+
@last_keycloak_backup == other.last_keycloak_backup
|
|
3653
|
+
end
|
|
3654
|
+
|
|
3655
|
+
#
|
|
3656
|
+
# Generates a hash value for this object.
|
|
3657
|
+
#
|
|
3658
|
+
def hash
|
|
3659
|
+
super +
|
|
3660
|
+
@last_cinder_backup.hash +
|
|
3661
|
+
@last_db_backup.hash +
|
|
3662
|
+
@last_dwh_backup.hash +
|
|
3663
|
+
@last_engine_backup.hash +
|
|
3664
|
+
@last_grafana_backup.hash +
|
|
3665
|
+
@last_keycloak_backup.hash
|
|
3666
|
+
end
|
|
3667
|
+
|
|
3668
|
+
end
|
|
3669
|
+
|
|
3446
3670
|
class EntityProfileDetail < Struct
|
|
3447
3671
|
|
|
3448
3672
|
#
|
|
@@ -8725,6 +8949,24 @@ module OvirtSDK4
|
|
|
8725
8949
|
|
|
8726
8950
|
class LogicalUnit < Struct
|
|
8727
8951
|
|
|
8952
|
+
#
|
|
8953
|
+
# Returns the value of the `active_paths` attribute.
|
|
8954
|
+
#
|
|
8955
|
+
# @return [Integer]
|
|
8956
|
+
#
|
|
8957
|
+
def active_paths
|
|
8958
|
+
@active_paths
|
|
8959
|
+
end
|
|
8960
|
+
|
|
8961
|
+
#
|
|
8962
|
+
# Sets the value of the `active_paths` attribute.
|
|
8963
|
+
#
|
|
8964
|
+
# @param value [Integer]
|
|
8965
|
+
#
|
|
8966
|
+
def active_paths=(value)
|
|
8967
|
+
@active_paths = value
|
|
8968
|
+
end
|
|
8969
|
+
|
|
8728
8970
|
#
|
|
8729
8971
|
# Returns the value of the `address` attribute.
|
|
8730
8972
|
#
|
|
@@ -9074,6 +9316,8 @@ module OvirtSDK4
|
|
|
9074
9316
|
# should be symbols corresponding to the names of the attributes. The values of the hash
|
|
9075
9317
|
# should be the values of the attributes.
|
|
9076
9318
|
#
|
|
9319
|
+
# @option opts [Integer] :active_paths The value of attribute `active_paths`.
|
|
9320
|
+
#
|
|
9077
9321
|
# @option opts [String] :address The value of attribute `address`.
|
|
9078
9322
|
#
|
|
9079
9323
|
# @option opts [Integer] :discard_max_size The value of attribute `discard_max_size`.
|
|
@@ -9115,6 +9359,7 @@ module OvirtSDK4
|
|
|
9115
9359
|
#
|
|
9116
9360
|
def initialize(opts = {})
|
|
9117
9361
|
super(opts)
|
|
9362
|
+
self.active_paths = opts[:active_paths]
|
|
9118
9363
|
self.address = opts[:address]
|
|
9119
9364
|
self.discard_max_size = opts[:discard_max_size]
|
|
9120
9365
|
self.discard_zeroes_data = opts[:discard_zeroes_data]
|
|
@@ -9141,6 +9386,7 @@ module OvirtSDK4
|
|
|
9141
9386
|
#
|
|
9142
9387
|
def ==(other)
|
|
9143
9388
|
super &&
|
|
9389
|
+
@active_paths == other.active_paths &&
|
|
9144
9390
|
@address == other.address &&
|
|
9145
9391
|
@discard_max_size == other.discard_max_size &&
|
|
9146
9392
|
@discard_zeroes_data == other.discard_zeroes_data &&
|
|
@@ -9167,6 +9413,7 @@ module OvirtSDK4
|
|
|
9167
9413
|
#
|
|
9168
9414
|
def hash
|
|
9169
9415
|
super +
|
|
9416
|
+
@active_paths.hash +
|
|
9170
9417
|
@address.hash +
|
|
9171
9418
|
@discard_max_size.hash +
|
|
9172
9419
|
@discard_zeroes_data.hash +
|
|
@@ -13432,6 +13679,24 @@ module OvirtSDK4
|
|
|
13432
13679
|
@custom_kernel_cmdline = value
|
|
13433
13680
|
end
|
|
13434
13681
|
|
|
13682
|
+
#
|
|
13683
|
+
# Returns the value of the `description` attribute.
|
|
13684
|
+
#
|
|
13685
|
+
# @return [String]
|
|
13686
|
+
#
|
|
13687
|
+
def description
|
|
13688
|
+
@description
|
|
13689
|
+
end
|
|
13690
|
+
|
|
13691
|
+
#
|
|
13692
|
+
# Sets the value of the `description` attribute.
|
|
13693
|
+
#
|
|
13694
|
+
# @param value [String]
|
|
13695
|
+
#
|
|
13696
|
+
def description=(value)
|
|
13697
|
+
@description = value
|
|
13698
|
+
end
|
|
13699
|
+
|
|
13435
13700
|
#
|
|
13436
13701
|
# Returns the value of the `initrd` attribute.
|
|
13437
13702
|
#
|
|
@@ -13542,6 +13807,8 @@ module OvirtSDK4
|
|
|
13542
13807
|
#
|
|
13543
13808
|
# @option opts [String] :custom_kernel_cmdline The value of attribute `custom_kernel_cmdline`.
|
|
13544
13809
|
#
|
|
13810
|
+
# @option opts [String] :description The value of attribute `description`.
|
|
13811
|
+
#
|
|
13545
13812
|
# @option opts [String] :initrd The value of attribute `initrd`.
|
|
13546
13813
|
#
|
|
13547
13814
|
# @option opts [String] :kernel The value of attribute `kernel`.
|
|
@@ -13558,6 +13825,7 @@ module OvirtSDK4
|
|
|
13558
13825
|
self.boot = opts[:boot]
|
|
13559
13826
|
self.cmdline = opts[:cmdline]
|
|
13560
13827
|
self.custom_kernel_cmdline = opts[:custom_kernel_cmdline]
|
|
13828
|
+
self.description = opts[:description]
|
|
13561
13829
|
self.initrd = opts[:initrd]
|
|
13562
13830
|
self.kernel = opts[:kernel]
|
|
13563
13831
|
self.reported_kernel_cmdline = opts[:reported_kernel_cmdline]
|
|
@@ -13573,6 +13841,7 @@ module OvirtSDK4
|
|
|
13573
13841
|
@boot == other.boot &&
|
|
13574
13842
|
@cmdline == other.cmdline &&
|
|
13575
13843
|
@custom_kernel_cmdline == other.custom_kernel_cmdline &&
|
|
13844
|
+
@description == other.description &&
|
|
13576
13845
|
@initrd == other.initrd &&
|
|
13577
13846
|
@kernel == other.kernel &&
|
|
13578
13847
|
@reported_kernel_cmdline == other.reported_kernel_cmdline &&
|
|
@@ -13588,6 +13857,7 @@ module OvirtSDK4
|
|
|
13588
13857
|
@boot.hash +
|
|
13589
13858
|
@cmdline.hash +
|
|
13590
13859
|
@custom_kernel_cmdline.hash +
|
|
13860
|
+
@description.hash +
|
|
13591
13861
|
@initrd.hash +
|
|
13592
13862
|
@kernel.hash +
|
|
13593
13863
|
@reported_kernel_cmdline.hash +
|
|
@@ -28507,6 +28777,24 @@ module OvirtSDK4
|
|
|
28507
28777
|
@async = value
|
|
28508
28778
|
end
|
|
28509
28779
|
|
|
28780
|
+
#
|
|
28781
|
+
# Returns the value of the `attach_wgt` attribute.
|
|
28782
|
+
#
|
|
28783
|
+
# @return [Boolean]
|
|
28784
|
+
#
|
|
28785
|
+
def attach_wgt
|
|
28786
|
+
@attach_wgt
|
|
28787
|
+
end
|
|
28788
|
+
|
|
28789
|
+
#
|
|
28790
|
+
# Sets the value of the `attach_wgt` attribute.
|
|
28791
|
+
#
|
|
28792
|
+
# @param value [Boolean]
|
|
28793
|
+
#
|
|
28794
|
+
def attach_wgt=(value)
|
|
28795
|
+
@attach_wgt = value
|
|
28796
|
+
end
|
|
28797
|
+
|
|
28510
28798
|
#
|
|
28511
28799
|
# Returns the value of the `attachment` attribute.
|
|
28512
28800
|
#
|
|
@@ -30527,6 +30815,8 @@ module OvirtSDK4
|
|
|
30527
30815
|
#
|
|
30528
30816
|
# @option opts [Boolean] :async The value of attribute `async`.
|
|
30529
30817
|
#
|
|
30818
|
+
# @option opts [Boolean] :attach_wgt The value of attribute `attach_wgt`.
|
|
30819
|
+
#
|
|
30530
30820
|
# @option opts [DiskAttachment, Hash] :attachment The value of attribute `attachment`.
|
|
30531
30821
|
#
|
|
30532
30822
|
# @option opts [AuthorizedKey, Hash] :authorized_key The value of attribute `authorized_key`.
|
|
@@ -30721,6 +31011,7 @@ module OvirtSDK4
|
|
|
30721
31011
|
self.activate = opts[:activate]
|
|
30722
31012
|
self.allow_partial_import = opts[:allow_partial_import]
|
|
30723
31013
|
self.async = opts[:async]
|
|
31014
|
+
self.attach_wgt = opts[:attach_wgt]
|
|
30724
31015
|
self.attachment = opts[:attachment]
|
|
30725
31016
|
self.authorized_key = opts[:authorized_key]
|
|
30726
31017
|
self.auto_pinning_policy = opts[:auto_pinning_policy]
|
|
@@ -30821,6 +31112,7 @@ module OvirtSDK4
|
|
|
30821
31112
|
@activate == other.activate &&
|
|
30822
31113
|
@allow_partial_import == other.allow_partial_import &&
|
|
30823
31114
|
@async == other.async &&
|
|
31115
|
+
@attach_wgt == other.attach_wgt &&
|
|
30824
31116
|
@attachment == other.attachment &&
|
|
30825
31117
|
@authorized_key == other.authorized_key &&
|
|
30826
31118
|
@auto_pinning_policy == other.auto_pinning_policy &&
|
|
@@ -30921,6 +31213,7 @@ module OvirtSDK4
|
|
|
30921
31213
|
@activate.hash +
|
|
30922
31214
|
@allow_partial_import.hash +
|
|
30923
31215
|
@async.hash +
|
|
31216
|
+
@attach_wgt.hash +
|
|
30924
31217
|
@attachment.hash +
|
|
30925
31218
|
@authorized_key.hash +
|
|
30926
31219
|
@auto_pinning_policy.hash +
|
|
@@ -60545,6 +60838,13 @@ module OvirtSDK4
|
|
|
60545
60838
|
SEPARATED = 'separated'.freeze
|
|
60546
60839
|
end
|
|
60547
60840
|
|
|
60841
|
+
module VideoType
|
|
60842
|
+
BOCHS = 'bochs'.freeze
|
|
60843
|
+
CIRRUS = 'cirrus'.freeze
|
|
60844
|
+
QXL = 'qxl'.freeze
|
|
60845
|
+
VGA = 'vga'.freeze
|
|
60846
|
+
end
|
|
60847
|
+
|
|
60548
60848
|
module VmAffinity
|
|
60549
60849
|
MIGRATABLE = 'migratable'.freeze
|
|
60550
60850
|
PINNED = 'pinned'.freeze
|
data/lib/ovirtsdk4/version.rb
CHANGED
data/lib/ovirtsdk4/writers.rb
CHANGED
|
@@ -28,6 +28,7 @@ module OvirtSDK4
|
|
|
28
28
|
Writer.write_boolean(writer, 'activate', object.activate) unless object.activate.nil?
|
|
29
29
|
Writer.write_boolean(writer, 'allow_partial_import', object.allow_partial_import) unless object.allow_partial_import.nil?
|
|
30
30
|
Writer.write_boolean(writer, 'async', object.async) unless object.async.nil?
|
|
31
|
+
Writer.write_boolean(writer, 'attach_wgt', object.attach_wgt) unless object.attach_wgt.nil?
|
|
31
32
|
DiskAttachmentWriter.write_one(object.attachment, writer, 'attachment') unless object.attachment.nil?
|
|
32
33
|
AuthorizedKeyWriter.write_one(object.authorized_key, writer, 'authorized_key') unless object.authorized_key.nil?
|
|
33
34
|
Writer.write_string(writer, 'auto_pinning_policy', object.auto_pinning_policy) unless object.auto_pinning_policy.nil?
|
|
@@ -329,6 +330,7 @@ module OvirtSDK4
|
|
|
329
330
|
writer.write_start(singular)
|
|
330
331
|
href = object.href
|
|
331
332
|
writer.write_attribute('href', href) unless href.nil?
|
|
333
|
+
EngineBackupInfoWriter.write_one(object.engine_backup, writer, 'engine_backup') unless object.engine_backup.nil?
|
|
332
334
|
ProductInfoWriter.write_one(object.product_info, writer, 'product_info') unless object.product_info.nil?
|
|
333
335
|
SpecialObjectsWriter.write_one(object.special_objects, writer, 'special_objects') unless object.special_objects.nil?
|
|
334
336
|
ApiSummaryWriter.write_one(object.summary, writer, 'summary') unless object.summary.nil?
|
|
@@ -1609,6 +1611,7 @@ module OvirtSDK4
|
|
|
1609
1611
|
Writer.write_boolean(writer, 'single_qxl_pci', object.single_qxl_pci) unless object.single_qxl_pci.nil?
|
|
1610
1612
|
Writer.write_boolean(writer, 'smartcard_enabled', object.smartcard_enabled) unless object.smartcard_enabled.nil?
|
|
1611
1613
|
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
|
1614
|
+
Writer.write_string(writer, 'video_type', object.video_type) unless object.video_type.nil?
|
|
1612
1615
|
writer.write_end
|
|
1613
1616
|
end
|
|
1614
1617
|
|
|
@@ -1750,6 +1753,38 @@ module OvirtSDK4
|
|
|
1750
1753
|
|
|
1751
1754
|
end
|
|
1752
1755
|
|
|
1756
|
+
class EngineBackupInfoWriter < Writer
|
|
1757
|
+
|
|
1758
|
+
def self.write_one(object, writer, singular = nil)
|
|
1759
|
+
singular ||= 'engine_backup_info'
|
|
1760
|
+
writer.write_start(singular)
|
|
1761
|
+
href = object.href
|
|
1762
|
+
writer.write_attribute('href', href) unless href.nil?
|
|
1763
|
+
Writer.write_date(writer, 'last_cinder_backup', object.last_cinder_backup) unless object.last_cinder_backup.nil?
|
|
1764
|
+
Writer.write_date(writer, 'last_db_backup', object.last_db_backup) unless object.last_db_backup.nil?
|
|
1765
|
+
Writer.write_date(writer, 'last_dwh_backup', object.last_dwh_backup) unless object.last_dwh_backup.nil?
|
|
1766
|
+
Writer.write_date(writer, 'last_engine_backup', object.last_engine_backup) unless object.last_engine_backup.nil?
|
|
1767
|
+
Writer.write_date(writer, 'last_grafana_backup', object.last_grafana_backup) unless object.last_grafana_backup.nil?
|
|
1768
|
+
Writer.write_date(writer, 'last_keycloak_backup', object.last_keycloak_backup) unless object.last_keycloak_backup.nil?
|
|
1769
|
+
writer.write_end
|
|
1770
|
+
end
|
|
1771
|
+
|
|
1772
|
+
def self.write_many(list, writer, singular = nil, plural = nil)
|
|
1773
|
+
singular ||= 'engine_backup_info'
|
|
1774
|
+
plural ||= 'engine_backup_infos'
|
|
1775
|
+
writer.write_start(plural)
|
|
1776
|
+
if list.is_a?(List)
|
|
1777
|
+
href = list.href
|
|
1778
|
+
writer.write_attribute('href', href) unless href.nil?
|
|
1779
|
+
end
|
|
1780
|
+
list.each do |item|
|
|
1781
|
+
write_one(item, writer, singular)
|
|
1782
|
+
end
|
|
1783
|
+
writer.write_end
|
|
1784
|
+
end
|
|
1785
|
+
|
|
1786
|
+
end
|
|
1787
|
+
|
|
1753
1788
|
class EntityProfileDetailWriter < Writer
|
|
1754
1789
|
|
|
1755
1790
|
def self.write_one(object, writer, singular = nil)
|
|
@@ -3919,6 +3954,7 @@ module OvirtSDK4
|
|
|
3919
3954
|
href = object.href
|
|
3920
3955
|
writer.write_attribute('href', href) unless href.nil?
|
|
3921
3956
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
|
3957
|
+
Writer.write_integer(writer, 'active_paths', object.active_paths) unless object.active_paths.nil?
|
|
3922
3958
|
Writer.write_string(writer, 'address', object.address) unless object.address.nil?
|
|
3923
3959
|
Writer.write_integer(writer, 'discard_max_size', object.discard_max_size) unless object.discard_max_size.nil?
|
|
3924
3960
|
Writer.write_boolean(writer, 'discard_zeroes_data', object.discard_zeroes_data) unless object.discard_zeroes_data.nil?
|
|
@@ -4963,6 +4999,7 @@ module OvirtSDK4
|
|
|
4963
4999
|
BootWriter.write_one(object.boot, writer, 'boot') unless object.boot.nil?
|
|
4964
5000
|
Writer.write_string(writer, 'cmdline', object.cmdline) unless object.cmdline.nil?
|
|
4965
5001
|
Writer.write_string(writer, 'custom_kernel_cmdline', object.custom_kernel_cmdline) unless object.custom_kernel_cmdline.nil?
|
|
5002
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
|
4966
5003
|
Writer.write_string(writer, 'initrd', object.initrd) unless object.initrd.nil?
|
|
4967
5004
|
Writer.write_string(writer, 'kernel', object.kernel) unless object.kernel.nil?
|
|
4968
5005
|
Writer.write_string(writer, 'reported_kernel_cmdline', object.reported_kernel_cmdline) unless object.reported_kernel_cmdline.nil?
|
|
@@ -7942,6 +7979,7 @@ module OvirtSDK4
|
|
|
7942
7979
|
Writer.register(DnsResolverConfiguration, DnsResolverConfigurationWriter.method(:write_one))
|
|
7943
7980
|
Writer.register(Domain, DomainWriter.method(:write_one))
|
|
7944
7981
|
Writer.register(DynamicCpu, DynamicCpuWriter.method(:write_one))
|
|
7982
|
+
Writer.register(EngineBackupInfo, EngineBackupInfoWriter.method(:write_one))
|
|
7945
7983
|
Writer.register(EntityProfileDetail, EntityProfileDetailWriter.method(:write_one))
|
|
7946
7984
|
Writer.register(ErrorHandling, ErrorHandlingWriter.method(:write_one))
|
|
7947
7985
|
Writer.register(Event, EventWriter.method(:write_one))
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ovirt-engine-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.6.
|
|
4
|
+
version: 4.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- oVirt Developers
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2025-10-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -122,7 +122,7 @@ dependencies:
|
|
|
122
122
|
version: '3'
|
|
123
123
|
description: Ruby SDK for the oVirt Engine API.
|
|
124
124
|
email:
|
|
125
|
-
-
|
|
125
|
+
- devel@ovirt.org
|
|
126
126
|
executables: []
|
|
127
127
|
extensions:
|
|
128
128
|
- ext/ovirtsdk4c/extconf.rb
|
|
@@ -168,7 +168,10 @@ files:
|
|
|
168
168
|
homepage: http://ovirt.org
|
|
169
169
|
licenses:
|
|
170
170
|
- Apache-2.0
|
|
171
|
-
metadata:
|
|
171
|
+
metadata:
|
|
172
|
+
changelog_uri: https://github.com/oVirt/ovirt-engine-sdk-ruby/blob/master/sdk/CHANGES.adoc
|
|
173
|
+
source_code_uri: https://github.com/oVirt/ovirt-engine-sdk-ruby/
|
|
174
|
+
bug_tracker_uri: https://github.com/oVirt/ovirt-engine-sdk-ruby/issues
|
|
172
175
|
post_install_message:
|
|
173
176
|
rdoc_options: []
|
|
174
177
|
require_paths:
|
|
@@ -184,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
184
187
|
- !ruby/object:Gem::Version
|
|
185
188
|
version: '0'
|
|
186
189
|
requirements: []
|
|
187
|
-
rubygems_version: 3.
|
|
190
|
+
rubygems_version: 3.2.33
|
|
188
191
|
signing_key:
|
|
189
192
|
specification_version: 4
|
|
190
193
|
summary: oVirt SDK
|