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    
workloadmgr / workloadmgr / virt / libvirt / __init__.py
Size: Mime:
# vim: tabstop=4 shiftwidth=4 softtabstop=4

# Copyright (c) 2013 TrilioData, Inc.
# All Rights Reserved.
from oslo_config import cfg
from workloadmgr.virt.libvirt import driver


LibvirtDriver = driver.LibvirtDriver
restore_vm_opts = [
    cfg.StrOpt('cinder_nfs_mount_point_base',
               default='/opt/stack/data/mnt',
               help='Dir where the nfs volume is mounted for restore'),

    cfg.StrOpt('nfs_volume_type_substr',
               default='nfs,netapp',
               help='Dir where the nfs volume is mounted for restore'),
    cfg.IntOpt('progress_tracking_update_interval',
               default=1200,
               help='Number of seconds to wait for progress tracking file '
                    'updated before we call contego crash'),
]

CONF = cfg.CONF
CONF.register_opts(restore_vm_opts)