Trees | Indices | Help |
|
---|
|
Simple class for managing a cache of block device information.
|
|||
Inherited from |
|
|||
str |
|
||
None |
|
||
None |
|
|
|||
_DEV_PREFIX = "/dev/"
|
|||
_ROOT_DIR = RUN_GANETI_DIR+ "/bdev-cache"
|
|
|||
Inherited from |
|
Converts a /dev/name path to the cache file name. This replaces slashes with underscores and strips the /dev prefix. It then returns the full path to the cache file.
|
Updates the cache information for a given device.
|
Remove data for a dev_path. This is just a wrapper over utils.RemoveFile with a converted path name and logging.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Dec 20 13:26:38 2010 | http://epydoc.sourceforge.net |