ovirt-engine-sdk 4.0.0.alpha16 → 4.0.0.alpha17
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 +18 -0
 - data/lib/ovirtsdk4/readers.rb +6 -0
 - data/lib/ovirtsdk4/services.rb +70 -83
 - data/lib/ovirtsdk4/types.rb +54 -0
 - data/lib/ovirtsdk4/version.rb +1 -1
 - data/lib/ovirtsdk4/writers.rb +2 -0
 - metadata +25 -25
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: ce9389281f2ddfab01ca6c8f3e03c624e7f7cf9a
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 6ecf6470fdc6d187c9b1cad45b6f77031b571fe8
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 449d95c01643e4f4e00392df03f62704268a5175071fb410464998de70571df08fc2c445e07ab3d4a5431bd48d89b1534bd43363ab8a08e7bdbf2978879530d6
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: b6a5248e41f84c20a43abe79fba38efe4aff3b381adf3266033f6c35d052ba4b10999f13dc5082d71e6b3856e20193ea6aef6dcc6b53875afa52f56ebf45b5d3
         
     | 
    
        data/CHANGES.adoc
    CHANGED
    
    | 
         @@ -3,6 +3,24 @@ 
     | 
|
| 
       3 
3 
     | 
    
         
             
            This document describes the relevant changes between releases of the
         
     | 
| 
       4 
4 
     | 
    
         
             
            API model.
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
      
 6 
     | 
    
         
            +
            == 4.0.0.alpha17 / Jul 19 2016
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
      
 8 
     | 
    
         
            +
            Update to model 4.0.28.
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
            New features:
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            * Added `switch_type` attribute to `Host` type.
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            * Add `permits` to the cluster level type.
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            * Add the `current` parameter to the virtual machine graphics consoles
         
     | 
| 
      
 17 
     | 
    
         
            +
              service.
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            Bug fixes:
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
            * Fix the name of the output parameter of the method to list affinity
         
     | 
| 
      
 22 
     | 
    
         
            +
              groups, should be `groups` instead of `list`.
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
       6 
24 
     | 
    
         
             
            == 4.0.0.alpha16 / Jul 15 2016
         
     | 
| 
       7 
25 
     | 
    
         | 
| 
       8 
26 
     | 
    
         
             
            New features:
         
     | 
    
        data/lib/ovirtsdk4/readers.rb
    CHANGED
    
    | 
         @@ -1839,6 +1839,8 @@ module OvirtSDK4 
     | 
|
| 
       1839 
1839 
     | 
    
         
             
                  object.name = value if not value.nil?
         
     | 
| 
       1840 
1840 
     | 
    
         
             
                  value = reader.get_attribute('optional_reason')
         
     | 
| 
       1841 
1841 
     | 
    
         
             
                  object.optional_reason = value if not value.nil?
         
     | 
| 
      
 1842 
     | 
    
         
            +
                  value = reader.get_attribute('switch_type')
         
     | 
| 
      
 1843 
     | 
    
         
            +
                  object.switch_type = value if not value.nil?
         
     | 
| 
       1842 
1844 
     | 
    
         
             
                  value = reader.get_attribute('threads_as_cores')
         
     | 
| 
       1843 
1845 
     | 
    
         
             
                  object.threads_as_cores = value if not value.nil?
         
     | 
| 
       1844 
1846 
     | 
    
         
             
                  value = reader.get_attribute('trusted_service')
         
     | 
| 
         @@ -1896,6 +1898,8 @@ module OvirtSDK4 
     | 
|
| 
       1896 
1898 
     | 
    
         
             
                      object.serial_number = SerialNumberReader.read_one(reader)
         
     | 
| 
       1897 
1899 
     | 
    
         
             
                    when 'supported_versions'
         
     | 
| 
       1898 
1900 
     | 
    
         
             
                      object.supported_versions = VersionReader.read_many(reader)
         
     | 
| 
      
 1901 
     | 
    
         
            +
                    when 'switch_type'
         
     | 
| 
      
 1902 
     | 
    
         
            +
                      object.switch_type = Reader.read_string(reader)
         
     | 
| 
       1899 
1903 
     | 
    
         
             
                    when 'threads_as_cores'
         
     | 
| 
       1900 
1904 
     | 
    
         
             
                      object.threads_as_cores = Reader.read_boolean(reader)
         
     | 
| 
       1901 
1905 
     | 
    
         
             
                    when 'trusted_service'
         
     | 
| 
         @@ -2033,6 +2037,8 @@ module OvirtSDK4 
     | 
|
| 
       2033 
2037 
     | 
    
         
             
                      object.id = Reader.read_string(reader)
         
     | 
| 
       2034 
2038 
     | 
    
         
             
                    when 'name'
         
     | 
| 
       2035 
2039 
     | 
    
         
             
                      object.name = Reader.read_string(reader)
         
     | 
| 
      
 2040 
     | 
    
         
            +
                    when 'permits'
         
     | 
| 
      
 2041 
     | 
    
         
            +
                      object.permits = PermitReader.read_many(reader)
         
     | 
| 
       2036 
2042 
     | 
    
         
             
                    else
         
     | 
| 
       2037 
2043 
     | 
    
         
             
                      reader.next_element
         
     | 
| 
       2038 
2044 
     | 
    
         
             
                    end
         
     | 
    
        data/lib/ovirtsdk4/services.rb
    CHANGED
    
    | 
         @@ -1746,7 +1746,7 @@ module OvirtSDK4 
     | 
|
| 
       1746 
1746 
     | 
    
         
             
                # 
         
     | 
| 
       1747 
1747 
     | 
    
         
             
                # @param opts [Hash] Additional options.
         
     | 
| 
       1748 
1748 
     | 
    
         
             
                # 
         
     | 
| 
       1749 
     | 
    
         
            -
                # @option opts [Integer] :max Sets the maximum number of labels to return. If not specified all the  
     | 
| 
      
 1749 
     | 
    
         
            +
                # @option opts [Integer] :max Sets the maximum number of labels to return. If not specified all the labels are returned.
         
     | 
| 
       1750 
1750 
     | 
    
         
             
                # 
         
     | 
| 
       1751 
1751 
     | 
    
         
             
                # @return [Array<AffinityLabel>]
         
     | 
| 
       1752 
1752 
     | 
    
         
             
                # 
         
     | 
| 
         @@ -9081,14 +9081,28 @@ module OvirtSDK4 
     | 
|
| 
       9081 
9081 
     | 
    
         
             
                end
         
     | 
| 
       9082 
9082 
     | 
    
         | 
| 
       9083 
9083 
     | 
    
         
             
                # 
         
     | 
| 
       9084 
     | 
    
         
            -
                #  
     | 
| 
      
 9084 
     | 
    
         
            +
                # Gets the configuration of the graphics console.
         
     | 
| 
       9085 
9085 
     | 
    
         
             
                # 
         
     | 
| 
       9086 
9086 
     | 
    
         
             
                # @param opts [Hash] Additional options.
         
     | 
| 
       9087 
9087 
     | 
    
         
             
                # 
         
     | 
| 
      
 9088 
     | 
    
         
            +
                # @option opts [Boolean] :current Use the following query to obtain the current run-time configuration of the graphics console.
         
     | 
| 
      
 9089 
     | 
    
         
            +
                #   
         
     | 
| 
      
 9090 
     | 
    
         
            +
                #   [source]
         
     | 
| 
      
 9091 
     | 
    
         
            +
                #   ----
         
     | 
| 
      
 9092 
     | 
    
         
            +
                #   GET /ovit-engine/api/vms/{vm:id}/graphicsconsoles/{console:id}?current=true
         
     | 
| 
      
 9093 
     | 
    
         
            +
                #   ----
         
     | 
| 
      
 9094 
     | 
    
         
            +
                #   
         
     | 
| 
      
 9095 
     | 
    
         
            +
                #   The default value is `false`.
         
     | 
| 
      
 9096 
     | 
    
         
            +
                # 
         
     | 
| 
       9088 
9097 
     | 
    
         
             
                # @return [GraphicsConsole]
         
     | 
| 
       9089 
9098 
     | 
    
         
             
                # 
         
     | 
| 
       9090 
9099 
     | 
    
         
             
                def get(opts = {})
         
     | 
| 
       9091 
9100 
     | 
    
         
             
                  query = {}
         
     | 
| 
      
 9101 
     | 
    
         
            +
                  value = opts[:current]
         
     | 
| 
      
 9102 
     | 
    
         
            +
                  unless value.nil?
         
     | 
| 
      
 9103 
     | 
    
         
            +
                    value = Writer.render_boolean(value)
         
     | 
| 
      
 9104 
     | 
    
         
            +
                    query['current'] = value
         
     | 
| 
      
 9105 
     | 
    
         
            +
                  end
         
     | 
| 
       9092 
9106 
     | 
    
         
             
                  request = Request.new(:method => :GET, :path => @path, :query => query)
         
     | 
| 
       9093 
9107 
     | 
    
         
             
                  response = @connection.send(request)
         
     | 
| 
       9094 
9108 
     | 
    
         
             
                  case response.code
         
     | 
| 
         @@ -9200,16 +9214,30 @@ module OvirtSDK4 
     | 
|
| 
       9200 
9214 
     | 
    
         
             
                end
         
     | 
| 
       9201 
9215 
     | 
    
         | 
| 
       9202 
9216 
     | 
    
         
             
                # 
         
     | 
| 
       9203 
     | 
    
         
            -
                #  
     | 
| 
      
 9217 
     | 
    
         
            +
                # Lists all the configured graphics consoles of the virtual machine.
         
     | 
| 
       9204 
9218 
     | 
    
         
             
                # 
         
     | 
| 
       9205 
9219 
     | 
    
         
             
                # @param opts [Hash] Additional options.
         
     | 
| 
       9206 
9220 
     | 
    
         
             
                # 
         
     | 
| 
      
 9221 
     | 
    
         
            +
                # @option opts [Boolean] :current Use the following query to obtain the current run-time configuration of the graphics consoles.
         
     | 
| 
      
 9222 
     | 
    
         
            +
                #   
         
     | 
| 
      
 9223 
     | 
    
         
            +
                #   [source]
         
     | 
| 
      
 9224 
     | 
    
         
            +
                #   ----
         
     | 
| 
      
 9225 
     | 
    
         
            +
                #   GET /ovit-engine/api/vms/{vm:id}/graphicsconsoles?current=true
         
     | 
| 
      
 9226 
     | 
    
         
            +
                #   ----
         
     | 
| 
      
 9227 
     | 
    
         
            +
                #   
         
     | 
| 
      
 9228 
     | 
    
         
            +
                #   The default value is `false`.
         
     | 
| 
      
 9229 
     | 
    
         
            +
                # 
         
     | 
| 
       9207 
9230 
     | 
    
         
             
                # @option opts [Integer] :max Sets the maximum number of consoles to return. If not specified all the consoles are returned.
         
     | 
| 
       9208 
9231 
     | 
    
         
             
                # 
         
     | 
| 
       9209 
9232 
     | 
    
         
             
                # @return [Array<GraphicsConsole>]
         
     | 
| 
       9210 
9233 
     | 
    
         
             
                # 
         
     | 
| 
       9211 
9234 
     | 
    
         
             
                def list(opts = {})
         
     | 
| 
       9212 
9235 
     | 
    
         
             
                  query = {}
         
     | 
| 
      
 9236 
     | 
    
         
            +
                  value = opts[:current]
         
     | 
| 
      
 9237 
     | 
    
         
            +
                  unless value.nil?
         
     | 
| 
      
 9238 
     | 
    
         
            +
                    value = Writer.render_boolean(value)
         
     | 
| 
      
 9239 
     | 
    
         
            +
                    query['current'] = value
         
     | 
| 
      
 9240 
     | 
    
         
            +
                  end
         
     | 
| 
       9213 
9241 
     | 
    
         
             
                  value = opts[:max]
         
     | 
| 
       9214 
9242 
     | 
    
         
             
                  unless value.nil?
         
     | 
| 
       9215 
9243 
     | 
    
         
             
                    value = Writer.render_integer(value)
         
     | 
| 
         @@ -25188,14 +25216,28 @@ module OvirtSDK4 
     | 
|
| 
       25188 
25216 
     | 
    
         
             
                end
         
     | 
| 
       25189 
25217 
     | 
    
         | 
| 
       25190 
25218 
     | 
    
         
             
                # 
         
     | 
| 
       25191 
     | 
    
         
            -
                #  
     | 
| 
      
 25219 
     | 
    
         
            +
                # Gets the configuration of the graphics console.
         
     | 
| 
       25192 
25220 
     | 
    
         
             
                # 
         
     | 
| 
       25193 
25221 
     | 
    
         
             
                # @param opts [Hash] Additional options.
         
     | 
| 
       25194 
25222 
     | 
    
         
             
                # 
         
     | 
| 
      
 25223 
     | 
    
         
            +
                # @option opts [Boolean] :current Use the following query to obtain the current run-time configuration of the graphics console.
         
     | 
| 
      
 25224 
     | 
    
         
            +
                #   
         
     | 
| 
      
 25225 
     | 
    
         
            +
                #   [source]
         
     | 
| 
      
 25226 
     | 
    
         
            +
                #   ----
         
     | 
| 
      
 25227 
     | 
    
         
            +
                #   GET /ovit-engine/api/vms/{vm:id}/graphicsconsoles/{console:id}?current=true
         
     | 
| 
      
 25228 
     | 
    
         
            +
                #   ----
         
     | 
| 
      
 25229 
     | 
    
         
            +
                #   
         
     | 
| 
      
 25230 
     | 
    
         
            +
                #   The default value is `false`.
         
     | 
| 
      
 25231 
     | 
    
         
            +
                # 
         
     | 
| 
       25195 
25232 
     | 
    
         
             
                # @return [GraphicsConsole]
         
     | 
| 
       25196 
25233 
     | 
    
         
             
                # 
         
     | 
| 
       25197 
25234 
     | 
    
         
             
                def get(opts = {})
         
     | 
| 
       25198 
25235 
     | 
    
         
             
                  query = {}
         
     | 
| 
      
 25236 
     | 
    
         
            +
                  value = opts[:current]
         
     | 
| 
      
 25237 
     | 
    
         
            +
                  unless value.nil?
         
     | 
| 
      
 25238 
     | 
    
         
            +
                    value = Writer.render_boolean(value)
         
     | 
| 
      
 25239 
     | 
    
         
            +
                    query['current'] = value
         
     | 
| 
      
 25240 
     | 
    
         
            +
                  end
         
     | 
| 
       25199 
25241 
     | 
    
         
             
                  request = Request.new(:method => :GET, :path => @path, :query => query)
         
     | 
| 
       25200 
25242 
     | 
    
         
             
                  response = @connection.send(request)
         
     | 
| 
       25201 
25243 
     | 
    
         
             
                  case response.code
         
     | 
| 
         @@ -26911,6 +26953,7 @@ module OvirtSDK4 
     | 
|
| 
       26911 
26953 
     | 
    
         
             
                # --cacert /etc/pki/ovirt-engine/ca.pem \
         
     | 
| 
       26912 
26954 
     | 
    
         
             
                # --user "${user}:${password}" \
         
     | 
| 
       26913 
26955 
     | 
    
         
             
                # --request POST \
         
     | 
| 
      
 26956 
     | 
    
         
            +
                # --header "Version: 4" \
         
     | 
| 
       26914 
26957 
     | 
    
         
             
                # --header "Content-Type: application/xml" \
         
     | 
| 
       26915 
26958 
     | 
    
         
             
                # --header "Accept: application/xml" \
         
     | 
| 
       26916 
26959 
     | 
    
         
             
                # --data '
         
     | 
| 
         @@ -26960,103 +27003,46 @@ module OvirtSDK4 
     | 
|
| 
       26960 
27003 
     | 
    
         
             
                # 
         
     | 
| 
       26961 
27004 
     | 
    
         
             
                # When creating a virtual machine from a template or from a snapshot it is usually useful to explicitly indicate
         
     | 
| 
       26962 
27005 
     | 
    
         
             
                # in what storage domain to create the disks for the virtual machine. If the virtual machine is created from
         
     | 
| 
       26963 
     | 
    
         
            -
                # a template then this is achieved passing a set of ` 
     | 
| 
      
 27006 
     | 
    
         
            +
                # a template then this is achieved passing a set of `disk_attachment` elements that indicate the mapping:
         
     | 
| 
       26964 
27007 
     | 
    
         
             
                # 
         
     | 
| 
       26965 
27008 
     | 
    
         
             
                # [source,xml]
         
     | 
| 
       26966 
27009 
     | 
    
         
             
                # ----
         
     | 
| 
       26967 
27010 
     | 
    
         
             
                # <vm>
         
     | 
| 
       26968 
27011 
     | 
    
         
             
                #   ...
         
     | 
| 
       26969 
     | 
    
         
            -
                #   < 
     | 
| 
       26970 
     | 
    
         
            -
                #     < 
     | 
| 
       26971 
     | 
    
         
            -
                #       < 
     | 
| 
       26972 
     | 
    
         
            -
                #         < 
     | 
| 
       26973 
     | 
    
         
            -
                # 
     | 
| 
       26974 
     | 
    
         
            -
                # 
     | 
| 
       26975 
     | 
    
         
            -
                # 
     | 
| 
      
 27012 
     | 
    
         
            +
                #   <disk_attachments>
         
     | 
| 
      
 27013 
     | 
    
         
            +
                #     <disk_attachment>
         
     | 
| 
      
 27014 
     | 
    
         
            +
                #       <disk id="8d4bd566-6c86-4592-a4a7-912dbf93c298">
         
     | 
| 
      
 27015 
     | 
    
         
            +
                #         <storage_domains>
         
     | 
| 
      
 27016 
     | 
    
         
            +
                #           <storage_domain id="9cb6cb0a-cf1d-41c2-92ca-5a6d665649c9"/>
         
     | 
| 
      
 27017 
     | 
    
         
            +
                #         </storage_domains>
         
     | 
| 
      
 27018 
     | 
    
         
            +
                #       </disk>
         
     | 
| 
      
 27019 
     | 
    
         
            +
                #     <disk_attachment>
         
     | 
| 
      
 27020 
     | 
    
         
            +
                #   </disk_attachments>
         
     | 
| 
       26976 
27021 
     | 
    
         
             
                # </vm>
         
     | 
| 
       26977 
27022 
     | 
    
         
             
                # ----
         
     | 
| 
       26978 
27023 
     | 
    
         
             
                # 
         
     | 
| 
       26979 
     | 
    
         
            -
                # When the virtual machine is created from a snapshot this set of disks is  
     | 
| 
       26980 
     | 
    
         
            -
                # ` 
     | 
| 
      
 27024 
     | 
    
         
            +
                # When the virtual machine is created from a snapshot this set of disks is slightly different, it uses the
         
     | 
| 
      
 27025 
     | 
    
         
            +
                # `image_id` attribute instead of `id`.
         
     | 
| 
       26981 
27026 
     | 
    
         
             
                # 
         
     | 
| 
       26982 
27027 
     | 
    
         
             
                # [source,xml]
         
     | 
| 
       26983 
27028 
     | 
    
         
             
                # ----
         
     | 
| 
       26984 
27029 
     | 
    
         
             
                # <vm>
         
     | 
| 
       26985 
27030 
     | 
    
         
             
                #   ...
         
     | 
| 
       26986 
     | 
    
         
            -
                #   < 
     | 
| 
       26987 
     | 
    
         
            -
                #     < 
     | 
| 
       26988 
     | 
    
         
            -
                #       < 
     | 
| 
       26989 
     | 
    
         
            -
                # 
     | 
| 
       26990 
     | 
    
         
            -
                #         < 
     | 
| 
       26991 
     | 
    
         
            -
                # 
     | 
| 
       26992 
     | 
    
         
            -
                # 
     | 
| 
       26993 
     | 
    
         
            -
                # 
     | 
| 
      
 27031 
     | 
    
         
            +
                #   <disk_attachments>
         
     | 
| 
      
 27032 
     | 
    
         
            +
                #     <disk_attachment>
         
     | 
| 
      
 27033 
     | 
    
         
            +
                #       <disk>
         
     | 
| 
      
 27034 
     | 
    
         
            +
                #         <image_id>8d4bd566-6c86-4592-a4a7-912dbf93c298</image_id>
         
     | 
| 
      
 27035 
     | 
    
         
            +
                #         <storage_domains>
         
     | 
| 
      
 27036 
     | 
    
         
            +
                #           <storage_domain id="9cb6cb0a-cf1d-41c2-92ca-5a6d665649c9"/>
         
     | 
| 
      
 27037 
     | 
    
         
            +
                #         </storage_domains>
         
     | 
| 
      
 27038 
     | 
    
         
            +
                #       </disk>
         
     | 
| 
      
 27039 
     | 
    
         
            +
                #     <disk_attachment>
         
     | 
| 
      
 27040 
     | 
    
         
            +
                #   </disk_attachments>
         
     | 
| 
       26994 
27041 
     | 
    
         
             
                # </vm>
         
     | 
| 
       26995 
27042 
     | 
    
         
             
                # ----
         
     | 
| 
       26996 
27043 
     | 
    
         
             
                # 
         
     | 
| 
       26997 
27044 
     | 
    
         
             
                # In all cases the name or identifier of the cluster where the virtual machine will be created is mandatory.
         
     | 
| 
       26998 
27045 
     | 
    
         
             
                # 
         
     | 
| 
       26999 
     | 
    
         
            -
                # This is an example of how creating a virtual machine from a snapshot with the disks in a different storage
         
     | 
| 
       27000 
     | 
    
         
            -
                # domain can be done with the Python SDK:
         
     | 
| 
       27001 
     | 
    
         
            -
                # 
         
     | 
| 
       27002 
     | 
    
         
            -
                # [source,python]
         
     | 
| 
       27003 
     | 
    
         
            -
                # ----
         
     | 
| 
       27004 
     | 
    
         
            -
                # # Find the VM:
         
     | 
| 
       27005 
     | 
    
         
            -
                # vm = api.vms.get(name="myvm")
         
     | 
| 
       27006 
     | 
    
         
            -
                # 
         
     | 
| 
       27007 
     | 
    
         
            -
                # # Find the snapshot:
         
     | 
| 
       27008 
     | 
    
         
            -
                # snapshot = None
         
     | 
| 
       27009 
     | 
    
         
            -
                # for current in vm.snapshots.list():
         
     | 
| 
       27010 
     | 
    
         
            -
                #   if current.get_description() == 'mysnap':
         
     | 
| 
       27011 
     | 
    
         
            -
                #     snapshot = current
         
     | 
| 
       27012 
     | 
    
         
            -
                #     break
         
     | 
| 
       27013 
     | 
    
         
            -
                # 
         
     | 
| 
       27014 
     | 
    
         
            -
                # # Find the identifiers of the disks of the snapshot, as we need them in
         
     | 
| 
       27015 
     | 
    
         
            -
                # # order to explicitly indicate that we want them created in a different storage
         
     | 
| 
       27016 
     | 
    
         
            -
                # # domain:
         
     | 
| 
       27017 
     | 
    
         
            -
                # disk_ids = []
         
     | 
| 
       27018 
     | 
    
         
            -
                # for current in snapshot.disks.list():
         
     | 
| 
       27019 
     | 
    
         
            -
                #   disk_ids.append(current.get_id())
         
     | 
| 
       27020 
     | 
    
         
            -
                # 
         
     | 
| 
       27021 
     | 
    
         
            -
                # # Find the storage domain where the disks should be created:
         
     | 
| 
       27022 
     | 
    
         
            -
                # sd = api.storagedomains.get(name="yourdata")
         
     | 
| 
       27023 
     | 
    
         
            -
                # 
         
     | 
| 
       27024 
     | 
    
         
            -
                # # Prepare the list of disks for the operation to create the snapshot,
         
     | 
| 
       27025 
     | 
    
         
            -
                # # explicitly indicating for each of them the storage domain where it should be
         
     | 
| 
       27026 
     | 
    
         
            -
                # # created:
         
     | 
| 
       27027 
     | 
    
         
            -
                # disk_list = []
         
     | 
| 
       27028 
     | 
    
         
            -
                # for disk_id in disk_ids:
         
     | 
| 
       27029 
     | 
    
         
            -
                #   disk = params.Disk(
         
     | 
| 
       27030 
     | 
    
         
            -
                #     image_id=disk_id,
         
     | 
| 
       27031 
     | 
    
         
            -
                #     storage_domains=params.StorageDomains(
         
     | 
| 
       27032 
     | 
    
         
            -
                #       storage_domain=[
         
     | 
| 
       27033 
     | 
    
         
            -
                #         params.StorageDomain(
         
     | 
| 
       27034 
     | 
    
         
            -
                #           id=sd.get_id(),
         
     | 
| 
       27035 
     | 
    
         
            -
                #         ),
         
     | 
| 
       27036 
     | 
    
         
            -
                #       ],
         
     | 
| 
       27037 
     | 
    
         
            -
                #     ),
         
     | 
| 
       27038 
     | 
    
         
            -
                #   )
         
     | 
| 
       27039 
     | 
    
         
            -
                #   disk_list.append(disk)
         
     | 
| 
       27040 
     | 
    
         
            -
                # 
         
     | 
| 
       27041 
     | 
    
         
            -
                # # Create the VM from the snapshot:
         
     | 
| 
       27042 
     | 
    
         
            -
                # api.vms.add(
         
     | 
| 
       27043 
     | 
    
         
            -
                #   params.VM(
         
     | 
| 
       27044 
     | 
    
         
            -
                #     name="myclone",
         
     | 
| 
       27045 
     | 
    
         
            -
                #     cluster=params.Cluster(name="mycluster"),
         
     | 
| 
       27046 
     | 
    
         
            -
                #     snapshots=params.Snapshots(
         
     | 
| 
       27047 
     | 
    
         
            -
                #       snapshot=[
         
     | 
| 
       27048 
     | 
    
         
            -
                #         params.Snapshot(
         
     | 
| 
       27049 
     | 
    
         
            -
                #           id=snapshot.get_id(),
         
     | 
| 
       27050 
     | 
    
         
            -
                #         ),
         
     | 
| 
       27051 
     | 
    
         
            -
                #       ],
         
     | 
| 
       27052 
     | 
    
         
            -
                #     ),
         
     | 
| 
       27053 
     | 
    
         
            -
                #     disks=params.Disks(
         
     | 
| 
       27054 
     | 
    
         
            -
                #       disk=disk_list,
         
     | 
| 
       27055 
     | 
    
         
            -
                #     ),
         
     | 
| 
       27056 
     | 
    
         
            -
                #   )
         
     | 
| 
       27057 
     | 
    
         
            -
                # )
         
     | 
| 
       27058 
     | 
    
         
            -
                # ----
         
     | 
| 
       27059 
     | 
    
         
            -
                # 
         
     | 
| 
       27060 
27046 
     | 
    
         
             
                # @param vm [Vm]
         
     | 
| 
       27061 
27047 
     | 
    
         
             
                # 
         
     | 
| 
       27062 
27048 
     | 
    
         
             
                # @return [Vm]
         
     | 
| 
         @@ -28963,6 +28949,7 @@ module OvirtSDK4 
     | 
|
| 
       28963 
28949 
     | 
    
         
             
                # --cacert /etc/pki/ovirt-engine/ca.pem \
         
     | 
| 
       28964 
28950 
     | 
    
         
             
                # --user "${user}:${password}" \
         
     | 
| 
       28965 
28951 
     | 
    
         
             
                # --request POST \
         
     | 
| 
      
 28952 
     | 
    
         
            +
                # --header "Version: 4" \
         
     | 
| 
       28966 
28953 
     | 
    
         
             
                # --header "Content-Type: application/xml" \
         
     | 
| 
       28967 
28954 
     | 
    
         
             
                # --header "Accept: application/xml" \
         
     | 
| 
       28968 
28955 
     | 
    
         
             
                # --data '
         
     | 
    
        data/lib/ovirtsdk4/types.rb
    CHANGED
    
    | 
         @@ -24535,6 +24535,24 @@ module OvirtSDK4 
     | 
|
| 
       24535 
24535 
     | 
    
         
             
                  @supported_versions = list
         
     | 
| 
       24536 
24536 
     | 
    
         
             
                end
         
     | 
| 
       24537 
24537 
     | 
    
         | 
| 
      
 24538 
     | 
    
         
            +
                # 
         
     | 
| 
      
 24539 
     | 
    
         
            +
                # Returns the value of the `switch_type` attribute.
         
     | 
| 
      
 24540 
     | 
    
         
            +
                # 
         
     | 
| 
      
 24541 
     | 
    
         
            +
                # @return [SwitchType]
         
     | 
| 
      
 24542 
     | 
    
         
            +
                # 
         
     | 
| 
      
 24543 
     | 
    
         
            +
                def switch_type
         
     | 
| 
      
 24544 
     | 
    
         
            +
                  return @switch_type
         
     | 
| 
      
 24545 
     | 
    
         
            +
                end
         
     | 
| 
      
 24546 
     | 
    
         
            +
                
         
     | 
| 
      
 24547 
     | 
    
         
            +
                # 
         
     | 
| 
      
 24548 
     | 
    
         
            +
                # Sets the value of the `switch_type` attribute.
         
     | 
| 
      
 24549 
     | 
    
         
            +
                # 
         
     | 
| 
      
 24550 
     | 
    
         
            +
                # @param value [SwitchType]
         
     | 
| 
      
 24551 
     | 
    
         
            +
                # 
         
     | 
| 
      
 24552 
     | 
    
         
            +
                def switch_type=(value)
         
     | 
| 
      
 24553 
     | 
    
         
            +
                  @switch_type = value
         
     | 
| 
      
 24554 
     | 
    
         
            +
                end
         
     | 
| 
      
 24555 
     | 
    
         
            +
                
         
     | 
| 
       24538 
24556 
     | 
    
         
             
                # 
         
     | 
| 
       24539 
24557 
     | 
    
         
             
                # Returns the value of the `threads_as_cores` attribute.
         
     | 
| 
       24540 
24558 
     | 
    
         
             
                # 
         
     | 
| 
         @@ -24699,6 +24717,8 @@ module OvirtSDK4 
     | 
|
| 
       24699 
24717 
     | 
    
         
             
                # 
         
     | 
| 
       24700 
24718 
     | 
    
         
             
                # @option opts [Array<Version>, Array<Hash>] :supported_versions The values of attribute `supported_versions`.
         
     | 
| 
       24701 
24719 
     | 
    
         
             
                # 
         
     | 
| 
      
 24720 
     | 
    
         
            +
                # @option opts [SwitchType] :switch_type The value of attribute `switch_type`.
         
     | 
| 
      
 24721 
     | 
    
         
            +
                # 
         
     | 
| 
       24702 
24722 
     | 
    
         
             
                # @option opts [Boolean] :threads_as_cores The value of attribute `threads_as_cores`.
         
     | 
| 
       24703 
24723 
     | 
    
         
             
                # 
         
     | 
| 
       24704 
24724 
     | 
    
         
             
                # @option opts [Boolean] :trusted_service The value of attribute `trusted_service`.
         
     | 
| 
         @@ -24742,6 +24762,7 @@ module OvirtSDK4 
     | 
|
| 
       24742 
24762 
     | 
    
         
             
                  self.scheduling_policy = opts[:scheduling_policy]
         
     | 
| 
       24743 
24763 
     | 
    
         
             
                  self.serial_number = opts[:serial_number]
         
     | 
| 
       24744 
24764 
     | 
    
         
             
                  self.supported_versions = opts[:supported_versions]
         
     | 
| 
      
 24765 
     | 
    
         
            +
                  self.switch_type = opts[:switch_type]
         
     | 
| 
       24745 
24766 
     | 
    
         
             
                  self.threads_as_cores = opts[:threads_as_cores]
         
     | 
| 
       24746 
24767 
     | 
    
         
             
                  self.trusted_service = opts[:trusted_service]
         
     | 
| 
       24747 
24768 
     | 
    
         
             
                  self.tunnel_migration = opts[:tunnel_migration]
         
     | 
| 
         @@ -24850,6 +24871,31 @@ module OvirtSDK4 
     | 
|
| 
       24850 
24871 
     | 
    
         
             
                  @name = value
         
     | 
| 
       24851 
24872 
     | 
    
         
             
                end
         
     | 
| 
       24852 
24873 
     | 
    
         | 
| 
      
 24874 
     | 
    
         
            +
                # 
         
     | 
| 
      
 24875 
     | 
    
         
            +
                # Returns the value of the `permits` attribute.
         
     | 
| 
      
 24876 
     | 
    
         
            +
                # 
         
     | 
| 
      
 24877 
     | 
    
         
            +
                # @return [Array<Permit>]
         
     | 
| 
      
 24878 
     | 
    
         
            +
                # 
         
     | 
| 
      
 24879 
     | 
    
         
            +
                def permits
         
     | 
| 
      
 24880 
     | 
    
         
            +
                  return @permits
         
     | 
| 
      
 24881 
     | 
    
         
            +
                end
         
     | 
| 
      
 24882 
     | 
    
         
            +
                
         
     | 
| 
      
 24883 
     | 
    
         
            +
                # 
         
     | 
| 
      
 24884 
     | 
    
         
            +
                # Sets the value of the `permits` attribute.
         
     | 
| 
      
 24885 
     | 
    
         
            +
                # 
         
     | 
| 
      
 24886 
     | 
    
         
            +
                # @param list [Array<Permit>]
         
     | 
| 
      
 24887 
     | 
    
         
            +
                def permits=(list)
         
     | 
| 
      
 24888 
     | 
    
         
            +
                  if list.class == Array
         
     | 
| 
      
 24889 
     | 
    
         
            +
                    list = List.new(list)
         
     | 
| 
      
 24890 
     | 
    
         
            +
                    list.each_with_index do |value, index|
         
     | 
| 
      
 24891 
     | 
    
         
            +
                      if value.is_a?(Hash)
         
     | 
| 
      
 24892 
     | 
    
         
            +
                        list[index] = Permit.new(value)
         
     | 
| 
      
 24893 
     | 
    
         
            +
                      end
         
     | 
| 
      
 24894 
     | 
    
         
            +
                    end
         
     | 
| 
      
 24895 
     | 
    
         
            +
                  end
         
     | 
| 
      
 24896 
     | 
    
         
            +
                  @permits = list
         
     | 
| 
      
 24897 
     | 
    
         
            +
                end
         
     | 
| 
      
 24898 
     | 
    
         
            +
                
         
     | 
| 
       24853 
24899 
     | 
    
         
             
                # 
         
     | 
| 
       24854 
24900 
     | 
    
         
             
                # Creates a new instance of the {ClusterLevel} class.
         
     | 
| 
       24855 
24901 
     | 
    
         
             
                # 
         
     | 
| 
         @@ -24867,6 +24913,8 @@ module OvirtSDK4 
     | 
|
| 
       24867 
24913 
     | 
    
         
             
                # 
         
     | 
| 
       24868 
24914 
     | 
    
         
             
                # @option opts [String] :name The value of attribute `name`.
         
     | 
| 
       24869 
24915 
     | 
    
         
             
                # 
         
     | 
| 
      
 24916 
     | 
    
         
            +
                # @option opts [Array<Permit>, Array<Hash>] :permits The values of attribute `permits`.
         
     | 
| 
      
 24917 
     | 
    
         
            +
                # 
         
     | 
| 
       24870 
24918 
     | 
    
         
             
                # 
         
     | 
| 
       24871 
24919 
     | 
    
         
             
                def initialize(opts = {})
         
     | 
| 
       24872 
24920 
     | 
    
         
             
                  super(opts)
         
     | 
| 
         @@ -24875,6 +24923,7 @@ module OvirtSDK4 
     | 
|
| 
       24875 
24923 
     | 
    
         
             
                  self.description = opts[:description]
         
     | 
| 
       24876 
24924 
     | 
    
         
             
                  self.id = opts[:id]
         
     | 
| 
       24877 
24925 
     | 
    
         
             
                  self.name = opts[:name]
         
     | 
| 
      
 24926 
     | 
    
         
            +
                  self.permits = opts[:permits]
         
     | 
| 
       24878 
24927 
     | 
    
         
             
                end
         
     | 
| 
       24879 
24928 
     | 
    
         | 
| 
       24880 
24929 
     | 
    
         
             
              end
         
     | 
| 
         @@ -45999,6 +46048,11 @@ module OvirtSDK4 
     | 
|
| 
       45999 
46048 
     | 
    
         
             
                POSIXFS = 'posixfs'.freeze
         
     | 
| 
       46000 
46049 
     | 
    
         
             
              end
         
     | 
| 
       46001 
46050 
     | 
    
         | 
| 
      
 46051 
     | 
    
         
            +
              module SwitchType
         
     | 
| 
      
 46052 
     | 
    
         
            +
                LEGACY = 'legacy'.freeze
         
     | 
| 
      
 46053 
     | 
    
         
            +
                OVS = 'ovs'.freeze
         
     | 
| 
      
 46054 
     | 
    
         
            +
              end
         
     | 
| 
      
 46055 
     | 
    
         
            +
              
         
     | 
| 
       46002 
46056 
     | 
    
         
             
              module TemplateStatus
         
     | 
| 
       46003 
46057 
     | 
    
         
             
                ILLEGAL = 'illegal'.freeze
         
     | 
| 
       46004 
46058 
     | 
    
         
             
                LOCKED = 'locked'.freeze
         
     | 
    
        data/lib/ovirtsdk4/version.rb
    CHANGED
    
    
    
        data/lib/ovirtsdk4/writers.rb
    CHANGED
    
    | 
         @@ -770,6 +770,7 @@ module OvirtSDK4 
     | 
|
| 
       770 
770 
     | 
    
         
             
                  SchedulingPolicyWriter.write_one(object.scheduling_policy, writer, 'scheduling_policy') unless object.scheduling_policy.nil?
         
     | 
| 
       771 
771 
     | 
    
         
             
                  SerialNumberWriter.write_one(object.serial_number, writer, 'serial_number') unless object.serial_number.nil?
         
     | 
| 
       772 
772 
     | 
    
         
             
                  VersionWriter.write_many(object.supported_versions, writer, 'supported_version', 'supported_versions') unless object.supported_versions.nil?
         
     | 
| 
      
 773 
     | 
    
         
            +
                  Writer.write_string(writer, 'switch_type', object.switch_type) unless object.switch_type.nil?
         
     | 
| 
       773 
774 
     | 
    
         
             
                  Writer.write_boolean(writer, 'threads_as_cores', object.threads_as_cores) unless object.threads_as_cores.nil?
         
     | 
| 
       774 
775 
     | 
    
         
             
                  Writer.write_boolean(writer, 'trusted_service', object.trusted_service) unless object.trusted_service.nil?
         
     | 
| 
       775 
776 
     | 
    
         
             
                  Writer.write_boolean(writer, 'tunnel_migration', object.tunnel_migration) unless object.tunnel_migration.nil?
         
     | 
| 
         @@ -816,6 +817,7 @@ module OvirtSDK4 
     | 
|
| 
       816 
817 
     | 
    
         
             
                  CpuTypeWriter.write_many(object.cpu_types, writer, 'cpu_type', 'cpu_types') unless object.cpu_types.nil?
         
     | 
| 
       817 
818 
     | 
    
         
             
                  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
         
     | 
| 
       818 
819 
     | 
    
         
             
                  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
         
     | 
| 
      
 820 
     | 
    
         
            +
                  PermitWriter.write_many(object.permits, writer, 'permit', 'permits') unless object.permits.nil?
         
     | 
| 
       819 
821 
     | 
    
         
             
                  writer.write_end
         
     | 
| 
       820 
822 
     | 
    
         
             
                end
         
     | 
| 
       821 
823 
     | 
    
         | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,69 +1,69 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: ovirt-engine-sdk
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 4.0.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 4.0.0.alpha17
         
     | 
| 
       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-07- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2016-07-19 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: curb
         
     | 
| 
       15 
15 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       16 
16 
     | 
    
         
             
                requirements:
         
     | 
| 
       17 
     | 
    
         
            -
                - -  
     | 
| 
      
 17 
     | 
    
         
            +
                - - ~>
         
     | 
| 
       18 
18 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       19 
19 
     | 
    
         
             
                    version: '0.8'
         
     | 
| 
       20 
20 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       21 
21 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       22 
22 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       23 
23 
     | 
    
         
             
                requirements:
         
     | 
| 
       24 
     | 
    
         
            -
                - -  
     | 
| 
      
 24 
     | 
    
         
            +
                - - ~>
         
     | 
| 
       25 
25 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       26 
26 
     | 
    
         
             
                    version: '0.8'
         
     | 
| 
       27 
27 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       28 
28 
     | 
    
         
             
              name: rake-compiler
         
     | 
| 
       29 
29 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       30 
30 
     | 
    
         
             
                requirements:
         
     | 
| 
       31 
     | 
    
         
            -
                - -  
     | 
| 
      
 31 
     | 
    
         
            +
                - - ~>
         
     | 
| 
       32 
32 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       33 
33 
     | 
    
         
             
                    version: '0.9'
         
     | 
| 
       34 
34 
     | 
    
         
             
              type: :development
         
     | 
| 
       35 
35 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       36 
36 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       37 
37 
     | 
    
         
             
                requirements:
         
     | 
| 
       38 
     | 
    
         
            -
                - -  
     | 
| 
      
 38 
     | 
    
         
            +
                - - ~>
         
     | 
| 
       39 
39 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       40 
40 
     | 
    
         
             
                    version: '0.9'
         
     | 
| 
       41 
41 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       42 
42 
     | 
    
         
             
              name: rspec
         
     | 
| 
       43 
43 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       44 
44 
     | 
    
         
             
                requirements:
         
     | 
| 
       45 
     | 
    
         
            -
                - -  
     | 
| 
      
 45 
     | 
    
         
            +
                - - ~>
         
     | 
| 
       46 
46 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       47 
47 
     | 
    
         
             
                    version: '3.3'
         
     | 
| 
       48 
48 
     | 
    
         
             
              type: :development
         
     | 
| 
       49 
49 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       50 
50 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       51 
51 
     | 
    
         
             
                requirements:
         
     | 
| 
       52 
     | 
    
         
            -
                - -  
     | 
| 
      
 52 
     | 
    
         
            +
                - - ~>
         
     | 
| 
       53 
53 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       54 
54 
     | 
    
         
             
                    version: '3.3'
         
     | 
| 
       55 
55 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       56 
56 
     | 
    
         
             
              name: yard
         
     | 
| 
       57 
57 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       58 
58 
     | 
    
         
             
                requirements:
         
     | 
| 
       59 
     | 
    
         
            -
                - -  
     | 
| 
      
 59 
     | 
    
         
            +
                - - ~>
         
     | 
| 
       60 
60 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       61 
61 
     | 
    
         
             
                    version: '0.8'
         
     | 
| 
       62 
62 
     | 
    
         
             
              type: :development
         
     | 
| 
       63 
63 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       64 
64 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       65 
65 
     | 
    
         
             
                requirements:
         
     | 
| 
       66 
     | 
    
         
            -
                - -  
     | 
| 
      
 66 
     | 
    
         
            +
                - - ~>
         
     | 
| 
       67 
67 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       68 
68 
     | 
    
         
             
                    version: '0.8'
         
     | 
| 
       69 
69 
     | 
    
         
             
            description: Ruby SDK for the oVirt Engine API.
         
     | 
| 
         @@ -78,26 +78,26 @@ files: 
     | 
|
| 
       78 
78 
     | 
    
         
             
            - LICENSE.txt
         
     | 
| 
       79 
79 
     | 
    
         
             
            - README.adoc
         
     | 
| 
       80 
80 
     | 
    
         
             
            - ext/ovirtsdk4c/extconf.rb
         
     | 
| 
       81 
     | 
    
         
            -
            - ext/ovirtsdk4c/ov_error.c
         
     | 
| 
       82 
     | 
    
         
            -
            - ext/ovirtsdk4c/ov_error.h
         
     | 
| 
       83 
81 
     | 
    
         
             
            - ext/ovirtsdk4c/ov_module.c
         
     | 
| 
       84 
     | 
    
         
            -
            - ext/ovirtsdk4c/ 
     | 
| 
       85 
     | 
    
         
            -
            - ext/ovirtsdk4c/ov_xml_reader.c
         
     | 
| 
       86 
     | 
    
         
            -
            - ext/ovirtsdk4c/ov_xml_reader.h
         
     | 
| 
      
 82 
     | 
    
         
            +
            - ext/ovirtsdk4c/ovirtsdk4c.c
         
     | 
| 
       87 
83 
     | 
    
         
             
            - ext/ovirtsdk4c/ov_xml_writer.c
         
     | 
| 
      
 84 
     | 
    
         
            +
            - ext/ovirtsdk4c/ov_error.c
         
     | 
| 
      
 85 
     | 
    
         
            +
            - ext/ovirtsdk4c/ov_xml_reader.c
         
     | 
| 
       88 
86 
     | 
    
         
             
            - ext/ovirtsdk4c/ov_xml_writer.h
         
     | 
| 
       89 
     | 
    
         
            -
            - ext/ovirtsdk4c/ 
     | 
| 
       90 
     | 
    
         
            -
            -  
     | 
| 
       91 
     | 
    
         
            -
            -  
     | 
| 
      
 87 
     | 
    
         
            +
            - ext/ovirtsdk4c/ov_module.h
         
     | 
| 
      
 88 
     | 
    
         
            +
            - ext/ovirtsdk4c/ov_xml_reader.h
         
     | 
| 
      
 89 
     | 
    
         
            +
            - ext/ovirtsdk4c/ov_error.h
         
     | 
| 
       92 
90 
     | 
    
         
             
            - lib/ovirtsdk4/reader.rb
         
     | 
| 
      
 91 
     | 
    
         
            +
            - lib/ovirtsdk4/writer.rb
         
     | 
| 
      
 92 
     | 
    
         
            +
            - lib/ovirtsdk4/type.rb
         
     | 
| 
       93 
93 
     | 
    
         
             
            - lib/ovirtsdk4/readers.rb
         
     | 
| 
       94 
     | 
    
         
            -
            - lib/ovirtsdk4/service.rb
         
     | 
| 
       95 
94 
     | 
    
         
             
            - lib/ovirtsdk4/services.rb
         
     | 
| 
       96 
     | 
    
         
            -
            - lib/ovirtsdk4/type.rb
         
     | 
| 
       97 
95 
     | 
    
         
             
            - lib/ovirtsdk4/types.rb
         
     | 
| 
       98 
     | 
    
         
            -
            - lib/ovirtsdk4/version.rb
         
     | 
| 
       99 
     | 
    
         
            -
            - lib/ovirtsdk4/writer.rb
         
     | 
| 
       100 
96 
     | 
    
         
             
            - lib/ovirtsdk4/writers.rb
         
     | 
| 
      
 97 
     | 
    
         
            +
            - lib/ovirtsdk4/http.rb
         
     | 
| 
      
 98 
     | 
    
         
            +
            - lib/ovirtsdk4/service.rb
         
     | 
| 
      
 99 
     | 
    
         
            +
            - lib/ovirtsdk4/version.rb
         
     | 
| 
      
 100 
     | 
    
         
            +
            - lib/ovirtsdk4.rb
         
     | 
| 
       101 
101 
     | 
    
         
             
            homepage: http://ovirt.org
         
     | 
| 
       102 
102 
     | 
    
         
             
            licenses:
         
     | 
| 
       103 
103 
     | 
    
         
             
            - Apache-2.0
         
     | 
| 
         @@ -108,17 +108,17 @@ require_paths: 
     | 
|
| 
       108 
108 
     | 
    
         
             
            - lib
         
     | 
| 
       109 
109 
     | 
    
         
             
            required_ruby_version: !ruby/object:Gem::Requirement
         
     | 
| 
       110 
110 
     | 
    
         
             
              requirements:
         
     | 
| 
       111 
     | 
    
         
            -
              - -  
     | 
| 
      
 111 
     | 
    
         
            +
              - - '>='
         
     | 
| 
       112 
112 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       113 
113 
     | 
    
         
             
                  version: '1.9'
         
     | 
| 
       114 
114 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       115 
115 
     | 
    
         
             
              requirements:
         
     | 
| 
       116 
     | 
    
         
            -
              - -  
     | 
| 
      
 116 
     | 
    
         
            +
              - - '>'
         
     | 
| 
       117 
117 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       118 
118 
     | 
    
         
             
                  version: 1.3.1
         
     | 
| 
       119 
119 
     | 
    
         
             
            requirements: []
         
     | 
| 
       120 
120 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       121 
     | 
    
         
            -
            rubygems_version: 2. 
     | 
| 
      
 121 
     | 
    
         
            +
            rubygems_version: 2.0.14
         
     | 
| 
       122 
122 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       123 
123 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       124 
124 
     | 
    
         
             
            summary: oVirt SDK
         
     |