New xenserver features and examples

Added new example and the required (missing) code to make it possible.