add xenserver snapshot python code