diff options
author | Tomoki Sekiyama <tomoki.sekiyama@hds.com> | 2014-05-09 19:21:08 -0400 |
---|---|---|
committer | Michal Privoznik <mprivozn@redhat.com> | 2014-05-16 15:45:25 +0200 |
commit | c5bbd5bd9de86d88f7b2152522690dd2bc1fcbcd (patch) | |
tree | 13e1e93515120f27963db886953dda225914bdb3 /sanitytest.py | |
parent | e8e1de7f1f077de6cb4e192d0cd4d8d0a14bc565 (diff) | |
download | libvirt-python-c5bbd5bd9de86d88f7b2152522690dd2bc1fcbcd.tar.gz |
override: add virDomainFSFreeze and virDomainFSThaw API
Add binding for the new virDomainFSFreeze and virDomainFSThaw functions
added in libvirt 1.2.5. These require override since these take a list
of mountpoints path string. The methods are named 'fsFreeze' and
'fsThaw'.
Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@hds.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Diffstat (limited to 'sanitytest.py')
-rw-r--r-- | sanitytest.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sanitytest.py b/sanitytest.py index cff30d5..62fe42b 100644 --- a/sanitytest.py +++ b/sanitytest.py @@ -207,6 +207,8 @@ for name in sorted(basicklassmap): func = func[0:1].lower() + func[1:] if func[0:8] == "nWFilter": func = "nwfilter" + func[8:] + if func[0:8] == "fSFreeze" or func[0:6] == "fSThaw": + func = "fs" + func[2:] # ...except when they don't. More stupid naming # decisions we can't fix |