Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(44)  |  Call(19)  |  Derive(0)  |  Import(25)

src/s/t/stratuslab-libcloud-drivers-14.03.0/stratuslab/libcloud/compute_driver.py   stratuslab-libcloud-drivers(Download)
 
from stratuslab.Monitor import Monitor
from stratuslab.ConfigHolder import ConfigHolder, UserConfigurator
import stratuslab.Util as StratusLabUtil
from libcloud.compute.base import NodeImage, NodeSize, Node
        options['verbose_level'] = -1
 
        config_holder = ConfigHolder(options=(options or {}), config=config)
        config_holder.pdiskProtocol = 'https'
 

src/s/t/stratuslab-client-14.03.0/stratuslab/pat/Service.py   stratuslab-client(Download)
import sys
 
from stratuslab.ConfigHolder import ConfigHolder
from stratuslab.Exceptions import ConfigurationException
from stratuslab.pat.Client import PortTranslationDbClient
    def __init__(self, configFile=''):
        self.configFile = configFile
        configHolder = ConfigHolder(config=self._loadConfiguration())
        self.portTranslation = PortTranslationDbClient(configHolder)
 

src/s/t/stratuslab-client-14.03.0/stratuslab/commandbase/MessagingCommand.py   stratuslab-client(Download)
#
 
from stratuslab.ConfigHolder import ConfigHolder
from stratuslab.CommandBase import CommandBaseSysadmin
from stratuslab.messaging.Defaults import MSG_TYPES
    def sendMessage(self):
        config = ConfigHolder.configFileToDict(self.options.configFile)
        configHolder = ConfigHolder(self.options.__dict__, config)
 
        if self.options.imageid:

src/s/t/stratuslab-client-14.03.0/stratuslab/image/Uploader.py   stratuslab-client(Download)
from stratuslab.Exceptions import ExecutionException
from stratuslab.Signator import Signator
from stratuslab.ConfigHolder import ConfigHolder
from stratuslab.Compressor import Compressor
from stratuslab.marketplace.Util import Util as MarketplaceUtil
    def _signManifest(self):
        configHolder = ConfigHolder(self.__dict__)
        signator = Signator(self.manifestFile, configHolder)
        rc = signator.sign()
        if rc:

src/s/t/stratuslab-client-14.03.0/stratuslab/commandbase/InstanceCommand.py   stratuslab-client(Download)
#
 
from stratuslab.ConfigHolder import ConfigHolder
from stratuslab.AuthnCommand import AuthnCommand
from stratuslab.vm_manager.vm_manager_factory import VmManagerFactory
    def _get_runner(self):
        configHolder = ConfigHolder(self.options.__dict__)
        return VmManagerFactory.create(None, configHolder)
 
    def shutdownInstances(self):

src/c/l/cloud-scheduler-1.6/cloudscheduler/stratuslabcluster.py   cloud-scheduler(Download)
import cluster_tools
from stratuslab.ConfigHolder import ConfigHolder
from stratuslab.Runner import Runner
import time
import os
                    'verboseLevel'        : 0
                    })
    _v_configHolder = ConfigHolder(options)
 
    __idMap = {}

src/c/l/cloud-scheduler-HEAD/cloudscheduler/stratuslabcluster.py   cloud-scheduler(Download)
import cluster_tools
from stratuslab.ConfigHolder import ConfigHolder
from stratuslab.Runner import Runner
import time
import os
                    'verboseLevel'        : 0
                    })
    _v_configHolder = ConfigHolder(options)
 
    __idMap = {}

src/s/t/stratuslab-client-14.03.0/stratuslab/CommandBase.py   stratuslab-client(Download)
from stratuslab.VersionChecker import VersionChecker
import stratuslab.Exceptions as Exceptions
from stratuslab.ConfigHolder import ConfigHolder, UserConfigurator
from stratuslab.Exceptions import ConfigurationException
 

src/s/t/stratuslab-client-14.03.0/stratuslab/volume_manager/volume_manager_factory.py   stratuslab-client(Download)
#
 
from stratuslab.ConfigHolder import ConfigHolder
from stratuslab.volume_manager.PersistentDisk import PersistentDisk
 
        """
        if config_holder is None:
            config_holder = ConfigHolder()
 
        if hasattr(config_holder, 'volume_manager_type'):

src/s/t/stratuslab-client-14.03.0/stratuslab/volume_manager/volume_manager.py   stratuslab-client(Download)
from uuid import UUID
from stratuslab.Util import printError
from stratuslab.ConfigHolder import ConfigHolder
 
 
    def __init__(self, config_holder=None):
        if config_holder is None:
            config_holder = ConfigHolder()
 
        self.configHolder = config_holder

  1 | 2 | 3  Next