def initialize(self, context):
        loader = ExtensionLoader()
        for module_spec in self.dynamic_modules:
            module = self._load_module(loader, module_spec)
            if not hasattr(module, 'probe'):
                message = 'Module {} does not have "probe" attribute; cannot be loaded dynamically'
                raise ValueError(message.format(module.name))
            if module.probe(self):
                self.logger.debug('Installing module "{}"'.format(module.name))
                self._install_module(module)
            else:
                self.logger.debug('Module "{}" is not supported by the device'.format(module.name))
Executes a command.
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/core/device.py/Device.initialize--crossover with--dataset/ETHPy150Open google/capirca/tools/ldpush/base_device.py/BaseDevice.Cmd