Re: [libvirt] [test-API][PATCH] Add 3 APIs in snapshotAPI

2012-02-13 Thread Guannan Ren
On 02/13/2012 05:03 PM, Wayne Sun wrote: * new APIs get_parent(self, domname, snapname, flag = 0) children_num(self, domname, snapname, flag) children_names_list(self, domname, snapname, flag) the flag in children_num and children_names_list could be in 0-7, which is

[libvirt] [test-API][PATCH] Add 3 APIs in snapshotAPI

2012-02-13 Thread Wayne Sun
* new APIs get_parent(self, domname, snapname, flag = 0) children_num(self, domname, snapname, flag) children_names_list(self, domname, snapname, flag) the flag in children_num and children_names_list could be in 0-7, which is the OR operation result of (VIR_DOMAIN_SNAPSH