The API documentation has:

destroy           Stop the instance and completely destroy it

FGCP's destroy equivalent does not stop it first. I first need to stop
it, wait until it's stopped, then destroy it (may even have to detach
resources such as global IP addresses from it first).

Is it enough to just NOT include the following state transition, or do I
need to do anything more?
(I see only GoGrid and SBC have it)

    running.to( :finish )       .on( :destroy )

Similar question for reboot:
FGCP doesn't have a single operation for it. I first need to stop it,
wait until it's stopped, then start it again.

Is it enough to make the reboot_instance method do:

      raise "Reboot action not supported"

and NOT include the following state transition, or do I need to do
anything more?

      running.to( :running )        .on( :reboot )

I noticed condor driver has this state instance but reboot_instance is
not implemented??
I also noticed gogrid driver has reboot_instance implemented but this
state transition is not included??

Cheers,
Dies

Reply via email to