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:
parent
63b01e29ee
commit
f8d5a3e358
@ -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():
|
||||
|
Loading…
x
Reference in New Issue
Block a user