1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 20:11:20 +00:00

target/descriptor: fix assistant params handling

assistant_params are now handled consistently with the other kinds of
params in TargetDescription, and they are now part of the default config
generated.
This commit is contained in:
Sergei Trofimov 2017-04-26 13:56:12 +01:00
parent 63b01e29ee
commit f8d5a3e358

View File

@ -84,13 +84,14 @@ class TargetDescription(object):
self.platform = platform
self.connection = conn
self.assistant = assistant
self.assistant_params = assistant_params
self._set('target_params', target_params)
self._set('platform_params', platform_params)
self._set('conn_params', conn_params)
self._set('assistant_params', assistant_params)
def get_default_config(self):
param_attrs = ['target_params', 'platform_params', 'conn_params']
param_attrs = ['target_params', 'platform_params',
'conn_params', 'assistant_params']
config = {}
for pattr in param_attrs:
for n, p in getattr(self, pattr).itervalues():