Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
ó
±EYc@ssddlZddlZddlZddlmZddlmZejej	ƒdej
fd„ƒYƒZdS(iÿÿÿÿN(tutils(tvolumet!LibvirtBaseFileSystemVolumeDrivercBsDeZdZd„Zejd„ƒZd„Zd„Zd„Z	RS(s2The base class for file system type volume driverscCs tt|ƒj|dtƒdS(Ntis_block_dev(tsuperRt__init__tFalse(tselft
connection((sP/home/tvault/.virtenv/lib/python2.7/site-packages/nova/virt/libvirt/volume/fs.pyRscCstdƒ‚dS(sŒReturn the mount point path prefix.

        This is used to build the device path.

        :returns: The mount point path prefix.
        t_get_mount_point_baseN(tNotImplementedError(R((sP/home/tvault/.virtenv/lib/python2.7/site-packages/nova/virt/libvirt/volume/fs.pyR	!scCs|S(srNormalize the export (share) if necessary.

        Subclasses should override this method if they have a non-standard
        export value, e.g. if the export is a URL. By default this method just
        returns the export value passed in unchanged.

        :param export: The export (share) value to normalize.
        :returns: The normalized export value.
        ((Rtexport((sP/home/tvault/.virtenv/lib/python2.7/site-packages/nova/virt/libvirt/volume/fs.pyt_normalize_export+s
cCs9|j|ddƒ}tjj|jƒtj|ƒƒS(sbReturns the mount path prefix using the mount point base and share.

        :param connection_info: dict of the form

        ::

          connection_info = {
              'data': {
                  'export': the file system share,
                  ...
              }
              ...
          }

        :returns: The mount path prefix.
        tdataR(RtostpathtjoinR	Rtget_hash_str(Rtconnection_infotshare((sP/home/tvault/.virtenv/lib/python2.7/site-packages/nova/virt/libvirt/volume/fs.pyt_get_mount_path7scCs*|j|ƒ}tjj||ddƒS(s}Returns the hashed path to the device.

        :param connection_info: dict of the form

        ::

          connection_info = {
              'data': {
                  'export': the file system share,
                  'name': the name of the device,
                  ...
              }
              ...
          }

        :returns: The full path to the device.
        R
tname(RRRR(RRt
mount_path((sP/home/tvault/.virtenv/lib/python2.7/site-packages/nova/virt/libvirt/volume/fs.pyt_get_device_pathLs(
t__name__t
__module__t__doc__RtabctabstractmethodR	RRR(((sP/home/tvault/.virtenv/lib/python2.7/site-packages/nova/virt/libvirt/volume/fs.pyRs	
		(RRtsixtnovaRtnova.virt.libvirt.volumeRtlibvirt_volumet
add_metaclasstABCMetatLibvirtBaseVolumeDriverR(((sP/home/tvault/.virtenv/lib/python2.7/site-packages/nova/virt/libvirt/volume/fs.pyt<module>s