Hi,

so we need to have a way to set/read settings for subsystems.
These are the ones to be adjusted at runtime.

What I’m thinking is to build this in a way where names of
these are strings, and that you should be able to have hierarchical
naming. E.g. to have subsystem to be part of the name.

subsystem1/variable1 = value
subsystem1/variable2 = another_value
subsystem2/var1 = yet_another_value

I’d rather use strings as identifiers as opposed to say, enumerated
values, because it would be easier to keep them unique.

As for setting/reading them, I was going to start with a CLI interface.
And have interface from newtmgr as well.

Of course, we will need to persist configuration. So there’s few
options here. Either use lua scripts, which would be read at
bootup time and they can change these settings. And/or
a simpler script interface for cases when lua is not present.

Let me know if you have comments on this,
M


Reply via email to