| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
We cannot pass 'fname' as an argument to "PropertiesChanged" signal
handler, without changing the signal emitting code.
Resolves openbmc/openbmc#824
Change-Id: Ia093914fdba9e3299f9cb409b91e093f74393773
Signed-off-by: Yi Li <adamliyi@msn.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Undefined bus in mapper = obmc.mapper.Mapper(bus) in
settings_manager.py causes a failure. This patch defines
the bus.
Resolves openbmc/openbmc#806
Change-Id: I1989c1246c34f8be98591f439bfa1847f3325e00
Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Presently, the settingsd code will statically create objects 'host0',
'bmc0' and 'bmc0/clock' from top-level categories Host and Bmc
in the YAML file. This code provides a 1-to-1 mapping between
YAML categories and inventory objects and changes filename format
to correspond to an inventory object.
Resolves openbmc/openbmc#638
Change-Id: I462cf4c7b7cf042b37e1006a73b36bf11fa52b43
Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently phosphor-settingsd only supports a single category of 'host0',
but the YAML format supports categories and sub-categories.
This enhancement supports categories and sub-categories and
automatically creates corresponding dbus objects to represent.
Resolves openbmc/openbmc#551
Change-Id: I42bf246881ca08e8429771666415321fa997f0dc
Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
|
|
|
|
|
| |
Change-Id: Iad6cfe757e9defffbeaa6ea00816ef5e17264fa5
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I86e2d378c229023fb5dcda658535e2587adec343
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
| |
fixes openbmc/openbmc#609
Change-Id: Ib817849c30848b636642ea7d0977e7ad9069a4cb
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, the properties defined under /org/openbmc/settings/host0 can take any
value and it is upto the consumer daemons to act only if the valid data was
given.
This patch will provide a validation logic for all the properties and will raise
an exception in the case of invalid inputs. Only on a valid input, will the data
gets written and saved.
Validation methods and types per property are provided in the configuration file
and used by the manager whenever a particular property is changed.
Change-Id: I0731ce6e00ab3cb4e11deb98c03fda8d5adad913
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
| |
Save script in /usr/sbin/ and data file in
/usr/share/obmc-phosphor-settings/.
Closes openbmc/phosphor-settingsd#9
Change-Id: I1ac67e88dab5904c3d2a96707db0b510a608a8c2
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
| |
Defer name grab until object is created.
Unmask ObjectManager/Properties signals.
Change-Id: Ife4d15575b87f1e00e5c30b072be3c7b3d117da7
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I3457da41acb1ed9e21c2c83f4a6e4509a79f71f7
Signed-of-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I84477ba9dd70d5656bc6f66397cd924bd27a427f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
| |
The Openbmc module in skeleton is going away so move to using the
bindings add ons in the pyphosphor package.
Signed-of-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Add system_state property to keep track of the system
state across reboots.
Include the generated settings_file.py since some build
machines cannot have the yaml python module installed. This
file will be removed once the code is ported to C in the next rework.
Add the path where the settings will be stored in bmc:
/var/lib/obmc/
Address review comments from the initial commit.
|
|
Host settings are specified in a yaml file.
Parser converts the yaml file into a dictionary.
The settings manager runs on the BMC and uses the dictionary to
create the dbus properties and save the values in the BMC so that
the values persist.
|