lib/chef_metal/driver.rb in clc-fork-chef-metal-0.13.alpha.1 vs lib/chef_metal/driver.rb in clc-fork-chef-metal-0.14.alpha.1
- old
+ new
@@ -181,9 +181,30 @@
def stop_machine(action_handler, machine_spec, machine_options)
raise "#{self.class} does not implement stop_machine"
end
#
+ # Allocate an image. Returns quickly with an ID that tracks the image.
+ #
+ def allocate_image(action_handler, image_spec, image_options, machine_spec)
+ raise "#{self.class} does not implement create_image"
+ end
+
+ #
+ # Ready an image, waiting till the point where it is ready to be used.
+ #
+ def ready_image(action_handler, image_spec, image_options)
+ raise "#{self.class} does not implement ready_image"
+ end
+
+ #
+ # Destroy an image.
+ #
+ def destroy_image(action_handler, image_spec, image_options)
+ raise "#{self.class} does not implement destroy_image"
+ end
+
+ #
# Optional interface methods
#
#
# Allocate a set of machines. This should have the same effect as running