Hi John,
Thanks for your response
Thanks
Ray
From: John Else
Date: 2013-12-17 00:22
To: 石磊
CC: xen-api
Subject: RE: RE: [Xen-API] How to disallow snapshot vdi when taking a snapshot
to vm
Hi Ray,
> Why don't we allow to set allowed-operations to RW mode in vdi so that I can
> define the operation myself in creating vdi?
> [root@xcp1 ~]# xe vdi-param-list
> allowed-operations (SRO): clone; snapshot
The allowed-operations fields are supposed to be read only - their main purpose
is to allow GUI clients to know which options to display (e.g. the "start"
button in XenCenter won't be shown for a running VM, since starting that VM
wouldn't make sense).
There's no mechanism for creating user-defined operations.
John
_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api