def initialize(self): ExecutableDevice.initialize(self) # Instantiate the default implementations for all ports on this component self.port_dev_resource_in = PortCFResourceIn_i(self, "dev_resource_in") self.port_dev_resource_out = PortCFResourceOut_i(self, "dev_resource_out")
def initialize(self): ExecutableDevice.initialize(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()]) self._usageState = CF.Device.BUSY
def initialize(self): ExecutableDevice.initialize(self)
def initialize(self): ExecutableDevice.initialize(self) # Instantiate the default implementations for all ports on this component self.port_propEvent = PropertyEventSupplier(self)
def initialize(self): ExecutableDevice.initialize(self) self.toTest = testOut_i(self, "resource_out") self.toDevMgr = devicemanagerOut_i(self, "devicemanager_out") self.fromOther = fromOther_i(self, "resource_in")
def initialize(self): ExecutableDevice.initialize(self) self.toTest = testOut_i(self, "resource_out")