diff options
author | Prashanth Pai <ppai@redhat.com> | 2015-02-24 14:40:25 +0530 |
---|---|---|
committer | Thiago da Silva <thiago@redhat.com> | 2015-06-17 12:58:49 -0700 |
commit | 658ebecb84951fd8e418f15a5c8e2c8b1901b9d4 (patch) | |
tree | 1d60080d82fa66218081481965c322aef361e854 /python-glusterfs-api.spec | |
parent | 904ca8ff630cb81fbd35ba337de12643376e058e (diff) |
Refactor volume initialization code
* Validate inputs during initialization of Volume object.
* Move glfs_new() and glfs_init() into mount() method.
* Provide user consumable unmount() method.
* Provide "mounted" property to Volume object. Users can now check state
whether a volume is virtual mounted or not.
Change-Id: Idc53ee7f9386ed995315bd5fb492a7d36f44875f
Signed-off-by: Prashanth Pai <ppai@redhat.com>
Diffstat (limited to 'python-glusterfs-api.spec')
0 files changed, 0 insertions, 0 deletions