Permalink
Browse files

4.1 beta 3 updates.

  • Loading branch information...
mitchellh committed Jul 16, 2011
1 parent a8f3d64 commit 672c956e98b078ac37777a7886d2bfa64b58a3b6
View
@@ -4,3 +4,4 @@
It needs to use `get_max_network_adapters` instead.
* NetworkAdapter `attach_to_*` methods are gone. Use `attachment_type` property
instead.
+* Appliance import must supply import options
@@ -12,7 +12,7 @@ class Appliance < AbstractInterface
function :read, :Progress, [WSTRING]
function :interpret, nil, []
- function :import_machines, :Progress, []
+ function :import_machines, :Progress, [[:ImportOptions]]
function :create_vfs_explorer, :VFSExplorer, [WSTRING]
function :write, :Progress, [WSTRING, T_BOOL, WSTRING]
function :get_warnings, [WSTRING], []
@@ -5,7 +5,8 @@ module Version_4_1_X
class CloneOptions < AbstractEnum
map :link => 1
:keep_all_macs => 2,
- :keep_nat_macs => 3
+ :keep_nat_macs => 3,
+ :keep_disk_names => 4
end
end
end
@@ -43,6 +43,7 @@ class Console < AbstractInterface
function :take_snapshot, :Progress, [WSTRING, WSTRING]
function :delete_snapshot, :Progress, [WSTRING]
function :delete_snapshot_and_all_children, :Progress, [WSTRING]
+ function :delete_snapshot_range, :Progress, [WSTRING, WSTRING]
function :restore_snapshot, :Progress, [:Snapshot]
function :teleport, :Progress, [WSTRING, T_UINT32, WSTRING, T_UINT32]
end
@@ -26,6 +26,7 @@ class Guest < AbstractInterface
function :directory_open, T_UINT32, [WSTRING, WSTRING, T_UINT32, WSTRING, WSTRING]
function :directory_read, :GuestDirEntry, [T_UINT32]
function :file_exists, T_BOOL, [WSTRING, WSTRING, WSTRING]
+ function :file_query_size, T_INT64, [WSTRING, WSTRING, WSTRING]
function :set_process_input, T_UINT32, [T_UINT32, T_UINT32, T_UINT32, [T_UINT8]]
function :update_guest_additions, :Progress, [WSTRING, T_UINT32]
end
@@ -0,0 +1,12 @@
+module VirtualBox
+ module COM
+ module Interface
+ module Version_4_1_X
+ class ImportOptions < AbstractEnum
+ map :keep_all_macs => 1,
+ :keep_all_nats => 2
+ end
+ end
+ end
+ end
+end
@@ -17,6 +17,7 @@ class Medium < AbstractInterface
property :format, WSTRING, :readonly => true
property :medium_format, :MediumFormat, :readonly => true
property :type, :MediumType
+ property :allowed_types, [:MediumType], :readonly => true
property :parent, :Medium, :readonly => true
property :children, [:Medium], :readonly => true
property :base, :Medium, :readonly => true
@@ -13,6 +13,7 @@ class MediumAttachment < AbstractInterface
property :passthrough, T_BOOL, :readonly => true
property :temporary_eject, T_BOOL, :readonly => true
property :is_ejected, T_BOOL, :readonly => true
+ property :non_rotational, T_BOOL, :readonly => true
property :bandwidth_group, :BandwidthGroup, :readonly => true
end
end
@@ -24,6 +24,8 @@ class VirtualBox < AbstractInterface
property :dhcp_servers, [:DHCPServer], :readonly => true
property :event_source, :EventSource, :readonly => true
property :extension_pack_manager, :ExtPackManager, :readonly => true
+ property :internal_networks, [WSTRING], :readonly => true
+ property :generic_network_drivers, [WSTRING], :readonly => true
function :compose_machine_filename, WSTRING, [WSTRING, WSTRING]
function :create_machine, :Machine, [WSTRING, WSTRING, WSTRING, WSTRING, T_BOOL]
@@ -3,10 +3,30 @@ module COM
module Interface
module Version_4_1_X
class VirtualSystemDescriptionType < AbstractEnum
- map [:null, :ignore, :os, :name, :product, :vendor, :version, :product_url, :vendor_url,
- :description, :license, :misc, :cpu, :memory, :hard_disk_controller_ide,
- :hard_disk_controller_sata, :hard_disk_controller_scsi, :hard_disk_controller_sas, :hard_disk_image,
- :floppy, :cdrom, :network_adapter, :usb_controller, :sound_card]
+ map :ignore => 1,
+ :os => 2,
+ :name => 3,
+ :product => 4,
+ :vendor => 5,
+ :version => 6,
+ :product_url => 7,
+ :vendor_url => 8,
+ :description => 9,
+ :license => 10,
+ :misc => 11,
+ :cpu => 12,
+ :memory => 13,
+ :hard_disk_controller_ide => 14,
+ :hard_disk_controller_sata => 15,
+ :hard_disk_controller_scsi => 16,
+ :hard_disk_controller_sas => 17,
+ :hard_disk_image => 18,
+ :floppy => 19,
+ :cdrom => 20,
+ :network_adapter => 21,
+ :usb_controller => 22,
+ :sound_card => 23,
+ :settings_file => 24
end
end
end

0 comments on commit 672c956

Please sign in to comment.