ovirt-engine-sdk 4.0.0.alpha8 → 4.0.0.alpha9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 630da6cf088788dfb228c6b08bae124822855a23
4
- data.tar.gz: 10d6a9c0bd7d5c6e1e22f53cf9a5606f0cc67a57
3
+ metadata.gz: 8988bb59256b44694b2d1576bef0d01818a8c52b
4
+ data.tar.gz: f98166829da7aafb52cb3025533e52a149c4f9b2
5
5
  SHA512:
6
- metadata.gz: 0c302855b32e9f44713f3174a9630911a5ee39fab110592f4cba0b418cdf00336746ba47286f8f4ea80c6bdcf1a506dde5ab0f166fdd88fc3ff8e5a22f7a3644
7
- data.tar.gz: d3b7a6ff7308421c3223b684425ef513ccdd76d621bdcf24b360899f7ef8d8f7380935dd9371adda357429b76af9032c23c70874f8f8253c0491e043ed582b30
6
+ metadata.gz: 0c02b51b2bcee4c70971cdbe49b4ce4a5a7bf5d50a03d110656fffc4084855e57be39d7d30f7db6b14243e8d4d40ec8e34e2fa8d85543434f837d182db01d3d2
7
+ data.tar.gz: 4c857a4eaac0e3cad2fd402878eef41232c15c0efba3ab74a5a0cf4e8f1e668298c8ea7f1b9de61254d0107bb298f2ec41796d445473b6e411db7a85ba672b95
@@ -261,6 +261,24 @@ module OvirtSDK4
261
261
  return response
262
262
  end
263
263
 
264
+ ##
265
+ # Tests the connectivity with the server. If connectivity works correctly it returns `true`. If there is any
266
+ # connectivity problem it will either return `false` or raise an exception if the `raise_exception` parameter is
267
+ # `true`.
268
+ #
269
+ # @param raise_exception [Boolean]
270
+ # @return [Boolean]
271
+ #
272
+ def test(raise_exception = false)
273
+ begin
274
+ system_service.get
275
+ return true
276
+ rescue Exception
277
+ raise if raise_exception
278
+ return false
279
+ end
280
+ end
281
+
264
282
  ##
265
283
  # Releases the resources used by this connection.
266
284
  #
@@ -15,11 +15,11 @@
15
15
  #++
16
16
 
17
17
 
18
- ##
19
- # These forward declarations are required in order to avoid circular dependencies.
20
- #
21
18
  module OvirtSDK4
22
19
 
20
+ ##
21
+ # These forward declarations are required in order to avoid circular dependencies.
22
+ #
23
23
  class Action < Struct
24
24
  end
25
25
 
@@ -38508,5 +38508,510 @@ module OvirtSDK4
38508
38508
 
38509
38509
  end
38510
38510
 
38511
+ module AccessProtocol
38512
+ CIFS = 'cifs'
38513
+ GLUSTER = 'gluster'
38514
+ NFS = 'nfs'
38515
+ end
38516
+
38517
+ module Architecture
38518
+ PPC64 = 'ppc64'
38519
+ UNDEFINED = 'undefined'
38520
+ X86_64 = 'x86_64'
38521
+ end
38522
+
38523
+ module AutoNumaStatus
38524
+ DISABLE = 'disable'
38525
+ ENABLE = 'enable'
38526
+ UNKNOWN = 'unknown'
38527
+ end
38528
+
38529
+ module BootDevice
38530
+ CDROM = 'cdrom'
38531
+ HD = 'hd'
38532
+ NETWORK = 'network'
38533
+ end
38534
+
38535
+ module BootProtocol
38536
+ DHCP = 'dhcp'
38537
+ NONE = 'none'
38538
+ STATIC = 'static'
38539
+ end
38540
+
38541
+ module ConfigurationType
38542
+ OVF = 'ovf'
38543
+ end
38544
+
38545
+ module CpuMode
38546
+ CUSTOM = 'custom'
38547
+ HOST_MODEL = 'host_model'
38548
+ HOST_PASSTHROUGH = 'host_passthrough'
38549
+ end
38550
+
38551
+ module CreationStatus
38552
+ COMPLETE = 'complete'
38553
+ FAILED = 'failed'
38554
+ IN_PROGRESS = 'in_progress'
38555
+ PENDING = 'pending'
38556
+ end
38557
+
38558
+ module DataCenterStatus
38559
+ CONTEND = 'contend'
38560
+ MAINTENANCE = 'maintenance'
38561
+ NOT_OPERATIONAL = 'not_operational'
38562
+ PROBLEMATIC = 'problematic'
38563
+ UNINITIALIZED = 'uninitialized'
38564
+ UP = 'up'
38565
+ end
38566
+
38567
+ module DiskFormat
38568
+ COW = 'cow'
38569
+ RAW = 'raw'
38570
+ end
38571
+
38572
+ module DiskInterface
38573
+ IDE = 'ide'
38574
+ SPAPR_VSCSI = 'spapr_vscsi'
38575
+ VIRTIO = 'virtio'
38576
+ VIRTIO_SCSI = 'virtio_scsi'
38577
+ end
38578
+
38579
+ module DiskStatus
38580
+ ILLEGAL = 'illegal'
38581
+ LOCKED = 'locked'
38582
+ OK = 'ok'
38583
+ end
38584
+
38585
+ module DiskStorageType
38586
+ CINDER = 'cinder'
38587
+ IMAGE = 'image'
38588
+ LUN = 'lun'
38589
+ end
38590
+
38591
+ module DisplayType
38592
+ SPICE = 'spice'
38593
+ VNC = 'vnc'
38594
+ end
38595
+
38596
+ module EntityExternalStatus
38597
+ ERROR = 'error'
38598
+ FAILURE = 'failure'
38599
+ INFO = 'info'
38600
+ OK = 'ok'
38601
+ WARNING = 'warning'
38602
+ end
38603
+
38604
+ module ExternalSystemType
38605
+ GLUSTER = 'gluster'
38606
+ VDSM = 'vdsm'
38607
+ end
38608
+
38609
+ module FenceType
38610
+ MANUAL = 'manual'
38611
+ RESTART = 'restart'
38612
+ START = 'start'
38613
+ STATUS = 'status'
38614
+ STOP = 'stop'
38615
+ end
38616
+
38617
+ module GlusterState
38618
+ DOWN = 'down'
38619
+ UNKNOWN = 'unknown'
38620
+ UP = 'up'
38621
+ end
38622
+
38623
+ module GlusterVolumeType
38624
+ DISPERSE = 'disperse'
38625
+ DISTRIBUTE = 'distribute'
38626
+ DISTRIBUTED_DISPERSE = 'distributed_disperse'
38627
+ DISTRIBUTED_REPLICATE = 'distributed_replicate'
38628
+ DISTRIBUTED_STRIPE = 'distributed_stripe'
38629
+ DISTRIBUTED_STRIPED_REPLICATE = 'distributed_striped_replicate'
38630
+ REPLICATE = 'replicate'
38631
+ STRIPE = 'stripe'
38632
+ STRIPED_REPLICATE = 'striped_replicate'
38633
+ end
38634
+
38635
+ module GraphicsType
38636
+ SPICE = 'spice'
38637
+ VNC = 'vnc'
38638
+ end
38639
+
38640
+ module HookContentType
38641
+ BINARY = 'binary'
38642
+ TEXT = 'text'
38643
+ end
38644
+
38645
+ module HookStage
38646
+ POST = 'post'
38647
+ PRE = 'pre'
38648
+ end
38649
+
38650
+ module HookStatus
38651
+ DISABLED = 'disabled'
38652
+ ENABLED = 'enabled'
38653
+ MISSING = 'missing'
38654
+ end
38655
+
38656
+ module HostProtocol
38657
+ STOMP = 'stomp'
38658
+ XML = 'xml'
38659
+ end
38660
+
38661
+ module HostStatus
38662
+ CONNECTING = 'connecting'
38663
+ DOWN = 'down'
38664
+ ERROR = 'error'
38665
+ INITIALIZING = 'initializing'
38666
+ INSTALL_FAILED = 'install_failed'
38667
+ INSTALLING = 'installing'
38668
+ INSTALLING_OS = 'installing_os'
38669
+ KDUMPING = 'kdumping'
38670
+ MAINTENANCE = 'maintenance'
38671
+ NON_OPERATIONAL = 'non_operational'
38672
+ NON_RESPONSIVE = 'non_responsive'
38673
+ PENDING_APPROVAL = 'pending_approval'
38674
+ PREPARING_FOR_MAINTENANCE = 'preparing_for_maintenance'
38675
+ REBOOT = 'reboot'
38676
+ UNASSIGNED = 'unassigned'
38677
+ UP = 'up'
38678
+ end
38679
+
38680
+ module InheritableBoolean
38681
+ FALSE = 'false_'
38682
+ INHERIT = 'inherit'
38683
+ TRUE = 'true_'
38684
+ end
38685
+
38686
+ module KdumpStatus
38687
+ DISABLED = 'disabled'
38688
+ ENABLED = 'enabled'
38689
+ UNKNOWN = 'unknown'
38690
+ end
38691
+
38692
+ module LogSeverity
38693
+ ALERT = 'alert'
38694
+ ERROR = 'error'
38695
+ NORMAL = 'normal'
38696
+ WARNING = 'warning'
38697
+ end
38698
+
38699
+ module LunStatus
38700
+ FREE = 'free'
38701
+ UNUSABLE = 'unusable'
38702
+ USED = 'used'
38703
+ end
38704
+
38705
+ module MessageBrokerType
38706
+ QPID = 'qpid'
38707
+ RABBIT_MQ = 'rabbit_mq'
38708
+ end
38709
+
38710
+ module MigrateOnError
38711
+ DO_NOT_MIGRATE = 'do_not_migrate'
38712
+ MIGRATE = 'migrate'
38713
+ MIGRATE_HIGHLY_AVAILABLE = 'migrate_highly_available'
38714
+ end
38715
+
38716
+ module NetworkPluginType
38717
+ OPEN_VSWITCH = 'open_vswitch'
38718
+ end
38719
+
38720
+ module NetworkStatus
38721
+ NON_OPERATIONAL = 'non_operational'
38722
+ OPERATIONAL = 'operational'
38723
+ end
38724
+
38725
+ module NfsVersion
38726
+ AUTO = 'auto'
38727
+ V3 = 'v3'
38728
+ V4 = 'v4'
38729
+ V4_1 = 'v4_1'
38730
+ end
38731
+
38732
+ module NicInterface
38733
+ E1000 = 'e1000'
38734
+ PCI_PASSTHROUGH = 'pci_passthrough'
38735
+ RTL8139 = 'rtl8139'
38736
+ RTL8139_VIRTIO = 'rtl8139_virtio'
38737
+ SPAPR_VLAN = 'spapr_vlan'
38738
+ VIRTIO = 'virtio'
38739
+ end
38740
+
38741
+ module NicStatus
38742
+ DOWN = 'down'
38743
+ UP = 'up'
38744
+ end
38745
+
38746
+ module NumaTuneMode
38747
+ INTERLEAVE = 'interleave'
38748
+ PREFERRED = 'preferred'
38749
+ STRICT = 'strict'
38750
+ end
38751
+
38752
+ module OpenstackVolumeAuthenticationKeyUsageType
38753
+ CEPH = 'ceph'
38754
+ end
38755
+
38756
+ module OsType
38757
+ OTHER = 'other'
38758
+ OTHER_LINUX = 'other_linux'
38759
+ RHEL_3 = 'rhel_3'
38760
+ RHEL_3X64 = 'rhel_3x64'
38761
+ RHEL_4 = 'rhel_4'
38762
+ RHEL_4X64 = 'rhel_4x64'
38763
+ RHEL_5 = 'rhel_5'
38764
+ RHEL_5X64 = 'rhel_5x64'
38765
+ RHEL_6 = 'rhel_6'
38766
+ RHEL_6X64 = 'rhel_6x64'
38767
+ UNASSIGNED = 'unassigned'
38768
+ WINDOWS_2003 = 'windows_2003'
38769
+ WINDOWS_2003X64 = 'windows_2003x64'
38770
+ WINDOWS_2008 = 'windows_2008'
38771
+ WINDOWS_2008R2X64 = 'windows_2008r2x64'
38772
+ WINDOWS_2008X64 = 'windows_2008x64'
38773
+ WINDOWS_2012X64 = 'windows_2012x64'
38774
+ WINDOWS_7 = 'windows_7'
38775
+ WINDOWS_7X64 = 'windows_7x64'
38776
+ WINDOWS_8 = 'windows_8'
38777
+ WINDOWS_8X64 = 'windows_8x64'
38778
+ WINDOWS_XP = 'windows_xp'
38779
+ end
38780
+
38781
+ module PayloadEncoding
38782
+ BASE64 = 'base64'
38783
+ PLAINTEXT = 'plaintext'
38784
+ end
38785
+
38786
+ module PmProxyType
38787
+ CLUSTER = 'cluster'
38788
+ DC = 'dc'
38789
+ OTHER_DC = 'other_dc'
38790
+ end
38791
+
38792
+ module PolicyUnitType
38793
+ FILTER = 'filter'
38794
+ LOAD_BALANCING = 'load_balancing'
38795
+ WEIGHT = 'weight'
38796
+ end
38797
+
38798
+ module PowerManagementStatus
38799
+ OFF = 'off'
38800
+ ON = 'on'
38801
+ UNKNOWN = 'unknown'
38802
+ end
38803
+
38804
+ module QosType
38805
+ CPU = 'cpu'
38806
+ HOSTNETWORK = 'hostnetwork'
38807
+ NETWORK = 'network'
38808
+ STORAGE = 'storage'
38809
+ end
38810
+
38811
+ module QuotaModeType
38812
+ AUDIT = 'audit'
38813
+ DISABLED = 'disabled'
38814
+ ENABLED = 'enabled'
38815
+ end
38816
+
38817
+ module ReportedDeviceType
38818
+ NETWORK = 'network'
38819
+ end
38820
+
38821
+ module ResolutionType
38822
+ ADD = 'add'
38823
+ COPY = 'copy'
38824
+ end
38825
+
38826
+ module RngSource
38827
+ HWRNG = 'hwrng'
38828
+ RANDOM = 'random'
38829
+ end
38830
+
38831
+ module RoleType
38832
+ ADMIN = 'admin'
38833
+ USER = 'user'
38834
+ end
38835
+
38836
+ module SELinuxMode
38837
+ DISABLED = 'disabled'
38838
+ ENFORCING = 'enforcing'
38839
+ PERMISSIVE = 'permissive'
38840
+ end
38841
+
38842
+ module ScsiGenericIO
38843
+ FILTERED = 'filtered'
38844
+ UNFILTERED = 'unfiltered'
38845
+ end
38846
+
38847
+ module SerialNumberPolicy
38848
+ CUSTOM = 'custom'
38849
+ HOST = 'host'
38850
+ VM = 'vm'
38851
+ end
38852
+
38853
+ module SnapshotStatus
38854
+ IN_PREVIEW = 'in_preview'
38855
+ LOCKED = 'locked'
38856
+ OK = 'ok'
38857
+ end
38858
+
38859
+ module SnapshotType
38860
+ ACTIVE = 'active'
38861
+ PREVIEW = 'preview'
38862
+ REGULAR = 'regular'
38863
+ STATELESS = 'stateless'
38864
+ end
38865
+
38866
+ module SpmState
38867
+ CONTENDING = 'contending'
38868
+ NONE = 'none'
38869
+ SPM = 'spm'
38870
+ end
38871
+
38872
+ module SsoMethod
38873
+ GUEST_AGENT = 'guest_agent'
38874
+ end
38875
+
38876
+ module StatisticKind
38877
+ COUNTER = 'counter'
38878
+ GAUGE = 'gauge'
38879
+ end
38880
+
38881
+ module StatisticUnit
38882
+ BITS_PER_SECOND = 'bits_per_second'
38883
+ BYTES = 'bytes'
38884
+ BYTES_PER_SECOND = 'bytes_per_second'
38885
+ COUNT_PER_SECOND = 'count_per_second'
38886
+ NONE = 'none'
38887
+ PERCENT = 'percent'
38888
+ SECONDS = 'seconds'
38889
+ end
38890
+
38891
+ module StepEnum
38892
+ EXECUTING = 'executing'
38893
+ FINALIZING = 'finalizing'
38894
+ REBALANCING_VOLUME = 'rebalancing_volume'
38895
+ REMOVING_BRICKS = 'removing_bricks'
38896
+ UNKNOWN = 'unknown'
38897
+ VALIDATING = 'validating'
38898
+ end
38899
+
38900
+ module StorageDomainStatus
38901
+ ACTIVATING = 'activating'
38902
+ ACTIVE = 'active'
38903
+ DETACHING = 'detaching'
38904
+ INACTIVE = 'inactive'
38905
+ LOCKED = 'locked'
38906
+ MAINTENANCE = 'maintenance'
38907
+ MIXED = 'mixed'
38908
+ PREPARING_FOR_MAINTENANCE = 'preparing_for_maintenance'
38909
+ UNATTACHED = 'unattached'
38910
+ UNKNOWN = 'unknown'
38911
+ end
38912
+
38913
+ module StorageDomainType
38914
+ DATA = 'data'
38915
+ EXPORT = 'export'
38916
+ IMAGE = 'image'
38917
+ ISO = 'iso'
38918
+ VOLUME = 'volume'
38919
+ end
38920
+
38921
+ module StorageFormat
38922
+ V1 = 'v1'
38923
+ V2 = 'v2'
38924
+ V3 = 'v3'
38925
+ end
38926
+
38927
+ module StorageType
38928
+ CINDER = 'cinder'
38929
+ FCP = 'fcp'
38930
+ GLANCE = 'glance'
38931
+ GLUSTERFS = 'glusterfs'
38932
+ ISCSI = 'iscsi'
38933
+ LOCALFS = 'localfs'
38934
+ NFS = 'nfs'
38935
+ POSIXFS = 'posixfs'
38936
+ end
38937
+
38938
+ module TemplateStatus
38939
+ ILLEGAL = 'illegal'
38940
+ LOCKED = 'locked'
38941
+ OK = 'ok'
38942
+ end
38943
+
38944
+ module TransportType
38945
+ RDMA = 'rdma'
38946
+ TCP = 'tcp'
38947
+ end
38948
+
38949
+ module UsbType
38950
+ LEGACY = 'legacy'
38951
+ NATIVE = 'native'
38952
+ end
38953
+
38954
+ module ValueType
38955
+ DECIMAL = 'decimal'
38956
+ INTEGER = 'integer'
38957
+ STRING = 'string'
38958
+ end
38959
+
38960
+ module VmAffinity
38961
+ MIGRATABLE = 'migratable'
38962
+ PINNED = 'pinned'
38963
+ USER_MIGRATABLE = 'user_migratable'
38964
+ end
38965
+
38966
+ module VmDeviceType
38967
+ CDROM = 'cdrom'
38968
+ FLOPPY = 'floppy'
38969
+ end
38970
+
38971
+ module VmPoolType
38972
+ AUTOMATIC = 'automatic'
38973
+ MANUAL = 'manual'
38974
+ end
38975
+
38976
+ module VmStatus
38977
+ DOWN = 'down'
38978
+ IMAGE_LOCKED = 'image_locked'
38979
+ MIGRATING = 'migrating'
38980
+ NOT_RESPONDING = 'not_responding'
38981
+ PAUSED = 'paused'
38982
+ POWERING_DOWN = 'powering_down'
38983
+ POWERING_UP = 'powering_up'
38984
+ REBOOT_IN_PROGRESS = 'reboot_in_progress'
38985
+ RESTORING_STATE = 'restoring_state'
38986
+ SAVING_STATE = 'saving_state'
38987
+ SUSPENDED = 'suspended'
38988
+ UNASSIGNED = 'unassigned'
38989
+ UNKNOWN = 'unknown'
38990
+ UP = 'up'
38991
+ WAIT_FOR_LAUNCH = 'wait_for_launch'
38992
+ end
38993
+
38994
+ module VmType
38995
+ DESKTOP = 'desktop'
38996
+ SERVER = 'server'
38997
+ end
38998
+
38999
+ module VnicPassThroughMode
39000
+ DISABLED = 'disabled'
39001
+ ENABLED = 'enabled'
39002
+ end
39003
+
39004
+ module WatchdogAction
39005
+ DUMP = 'dump'
39006
+ NONE = 'none'
39007
+ PAUSE = 'pause'
39008
+ POWEROFF = 'poweroff'
39009
+ RESET = 'reset'
39010
+ end
39011
+
39012
+ module WatchdogModel
39013
+ I6300ESB = 'i6300esb'
39014
+ end
39015
+
38511
39016
  end
38512
39017
 
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module OvirtSDK4
19
- VERSION = '4.0.0.alpha8'
19
+ VERSION = '4.0.0.alpha9'
20
20
  end
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.0.0.alpha8
4
+ version: 4.0.0.alpha9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Hernandez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-08 00:00:00.000000000 Z
11
+ date: 2016-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: curb