Exemple #1
0
 def __init__(self, devmgr, uuid, label, softwareProfile, compositeDevice,
              execparams):
     ExecutableDevice.__init__(self, devmgr, uuid, label, softwareProfile,
                               compositeDevice, execparams, PROPERTIES)
     AggregateDevice.__init__(self)
     self._props["memCapacity"] = 100000000
     self._props["BogoMipsCapacity"] = 100000000
 def __init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams):
   ExecutableDevice.__init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams, PROPERTIES)
   AggregateDevice.__init__(self)
   self._props["memCapacity"] = 100000000
   self._props["BogoMipsCapacity"] = 100000000
   self._props["nicCapacity"] = 100.0
   self._props["fakeCapacity"] = 3
   self._props["execparams"] = " ".join(["%s %s" % x for x in execparams.items()])
 def __init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams):
   ExecutableDevice.__init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams, PROPERTIES)
   AggregateDevice.__init__(self)
   self._props["memCapacity"] = 100000000
   self._props["BogoMipsCapacity"] = 100000000
   self._props["nicCapacity"] = 100.0
   self._props["fakeCapacity"] = 3
   self._props["execparams"] = " ".join(["%s %s" % x for x in execparams.items()])
        def __init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams):
            Device.__init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams)
            AggregateDevice.__init__(self)
            ThreadedComponent.__init__(self)

            # self.auto_start is deprecated and is only kept for API compatibility
            # with 1.7.X and 1.8.0 devices.  This variable may be removed
            # in future releases
            self.auto_start = False
 def __init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams):
     ExecutableDevice.__init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams)
     AggregateDevice.__init__(self)
     self.threadControlLock = threading.RLock()
     self.process_thread = None
     # self.auto_start is deprecated and is only kept for API compatability
     # with 1.7.X and 1.8.0 components.  This variable may be removed
     # in future releases
     self.auto_start = False
 def __init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams):
   self.exit_lock = threading.Lock()
   self.exit_lock.acquire()
   self.process_thread = threading.Thread(target=self.TerminationThread)
   ExecutableDevice.__init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams, PROPERTIES)
   AggregateDevice.__init__(self)
   self._props["memCapacity"] = 100000000
   self._props["BogoMipsCapacity"] = 100000000
   self._props["nicCapacity"] = 100.0
   self._props["fakeCapacity"] = 3
   self._props["execparams"] = " ".join(["%s %s" % x for x in execparams.items()])
    def __init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams):
        ExecutableDevice.__init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams, PROPERTIES)
        AggregateDevice.__init__(self)

        self.__MAX_MEMORY   = 2048
        self.__MAX_BOGOMIPS = 1024
        self.allocated_mem  = 0
        self.allocated_bog  = 0
        self.__mem_name     = 'memCapacity'
        self.__bog_name     = 'BogoMipsCapacity'
        self.__mem_id       = 'DCE:7aeaace8-350e-48da-8d77-f97c2e722e06'
        self.__bog_id       = 'DCE:bbdf708f-ce05-469f-8aed-f5c93e353e14'
    def __init__(self, devmgr, uuid, label, softwareProfile, compositeDevice,
                 execparams):
        ExecutableDevice.__init__(self, devmgr, uuid, label, softwareProfile,
                                  compositeDevice, execparams, PROPERTIES)
        AggregateDevice.__init__(self)

        self.__MAX_MEMORY = 2048
        self.__MAX_BOGOMIPS = 1024
        self.allocated_mem = 0
        self.allocated_bog = 0
        self.__mem_name = 'memCapacity'
        self.__bog_name = 'BogoMipsCapacity'
        self.__mem_id = 'DCE:7aeaace8-350e-48da-8d77-f97c2e722e06'
        self.__bog_id = 'DCE:bbdf708f-ce05-469f-8aed-f5c93e353e14'
Exemple #9
0
 def __init__(self, devmgr, uuid, label, softwareProfile, compositeDevice,
              execparams):
     self.exit_lock = threading.Lock()
     self.exit_lock.acquire()
     self.process_thread = threading.Thread(target=self.TerminationThread)
     ExecutableDevice.__init__(self, devmgr, uuid, label, softwareProfile,
                               compositeDevice, execparams, PROPERTIES)
     AggregateDevice.__init__(self)
     self._props["memCapacity"] = 100000000
     self._props["BogoMipsCapacity"] = 100000000
     self._props["nicCapacity"] = 100.0
     self._props["fakeCapacity"] = 3
     self._props["execparams"] = " ".join(
         ["%s %s" % x for x in execparams.items()])
 def __init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams):
   ExecutableDevice.__init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams, PROPERTIES)
   AggregateDevice.__init__(self)
   self._props["memCapacity"] = 100000000
   self._props["BogoMipsCapacity"] = 100000000
 def __init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams):
   ExecutableDevice.__init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams, PROPERTIES)
   AggregateDevice.__init__(self)
 def __init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams):
   ExecutableDevice.__init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams, PROPERTIES)
   AggregateDevice.__init__(self)