Seems your code is about the same, any issues with it?

Not quite sure what is meant by "any issues with it", but the code is indeed slightly different: the CreateServer example uses the general ComputeServiceContext (note that it does *not* reference NovaComputeServiceContext anywhere!).

The example I gave *does* use Nova-specific calls and needs to access the underlying Nova API to do this.

The general advice would be to stay with the general ComputeServiceContext if you can, as this makes your code more portable.

Regards

ap

Reply via email to