75fe8cc4 | 22-Jul-2022 |
Patrick Williams <patrick@stwcx.xyz> |
python: reformat using black
Code cannot currently be submitted to this repo because it fails in the unit-test phase. Attempt to reformat the code using `black` to hopefully make pycodestyle happie
python: reformat using black
Code cannot currently be submitted to this repo because it fails in the unit-test phase. Attempt to reformat the code using `black` to hopefully make pycodestyle happier.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I17aa506471ceade224bcab5b2fa0dc8cd7a88c0a
show more ...
|
d1142e34 | 28-Mar-2018 |
Andrew Geissler <geissonator@yahoo.com> |
Remove inventory_items.py from installation
The old inventory manager is no longer needed with the final integration of phosphor-inventory-manager complete
https://gerrit.openbmc-project.xyz/#/c/87
Remove inventory_items.py from installation
The old inventory manager is no longer needed with the final integration of phosphor-inventory-manager complete
https://gerrit.openbmc-project.xyz/#/c/8793/ must be merged before this commit.
Change-Id: I9ce3616b0e9aa272ea1254073e4c7b28353abf0a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
d65b2d50 | 27-Feb-2018 |
CamVan Nguyen <ctnguyen@us.ibm.com> |
Port to python 3
Port code to python 3 yet remain backward compatible to python 2. This port is in preparation for yocto 2.4 upgrade.
Partially resolves openbmc/openbmc#2920
Change-Id: If174ce9444
Port to python 3
Port code to python 3 yet remain backward compatible to python 2. This port is in preparation for yocto 2.4 upgrade.
Partially resolves openbmc/openbmc#2920
Change-Id: If174ce9444bde4e21fb086764f4def017e423201 Signed-off-by: CamVan Nguyen <ctnguyen@us.ibm.com>
show more ...
|
24341f9d | 26-Jan-2018 |
Adriana Kobylak <anoo@us.ibm.com> |
pep8 fixes
Also ignore the configs/ directory since it only contains system configuration files named <system>.py.
Change-Id: I0416239c4030ce5bc39473e65e560016cd4ffc75 Signed-off-by: Adriana Kobyla
pep8 fixes
Also ignore the configs/ directory since it only contains system configuration files named <system>.py.
Change-Id: I0416239c4030ce5bc39473e65e560016cd4ffc75 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
f1470e9b | 28-Aug-2017 |
Ratan Gupta <ratagupt@in.ibm.com> |
SyncInventory: Move to the xyz namespace for property mac
Change-Id: I1db7b44d8fdff7876af83c8fb24fc77b5c7c61b7 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com> |
c47c6a6b | 29-Mar-2017 |
Dinesh Chinari <chinari@us.ibm.com> |
U-boot script update with new inventory object
Updated new inventory objects in u-boot fw_env scripts.
Change-Id: I9545f29f603e2fc46424d44df45ca82379df5ecb Signed-off-by: Dinesh Chinari <chinari@us
U-boot script update with new inventory object
Updated new inventory objects in u-boot fw_env scripts.
Change-Id: I9545f29f603e2fc46424d44df45ca82379df5ecb Signed-off-by: Dinesh Chinari <chinari@us.ibm.com>
show more ...
|
f9deaa0f | 01-Nov-2016 |
Adriana Kobylak <anoo@us.ibm.com> |
skeleton: Read mac from u-boot instead of net settings
The system mac should be read from u-boot, not from the network settings, since the network settings one can be the random mac set by the syste
skeleton: Read mac from u-boot instead of net settings
The system mac should be read from u-boot, not from the network settings, since the network settings one can be the random mac set by the system, and if the random mac happens to have the locally managed bit turned on, it'll prevent the mac from vpd from being written into the system.
Fixes openbmc/openbmc#627
Change-Id: I70ffaeb165881a2b83455f2953a4143cb471d688 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
3205742d | 05-Oct-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
sync: add missing os module import
fixes: openbmc/openbmc#641
Change-Id: I88dbcfb6d731bff66d7edf4866b61ede06f4c6f8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
7e5ec46d | 21-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
inventory: Move INVENTORY_ROOT to inventory module
Change-Id: Ic68d4a48ff46002858934e0b9c9b1694a2a17a08 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
53066750 | 21-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
python: add vim modelines
Change-Id: Ic13d79892e3efe6f7bad357ad747e6fd25299d02 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
3d13c285 | 21-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
palmetto: remove frus
These are now provided in a json file.
Change-Id: Ib0491399df797a728c7a71118f7d54a07eb3a466 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
f327ddd8 | 13-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
inventory: add missing json import
Change-Id: I89215bdaf5aa02d0063b6164454b56a7cc19cb37 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
f47f5faa | 08-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Use super to construct dbus.service.Object
Change-Id: I830decfc523d435c6b9ecdc9ffffec7956c3b85d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
0f608de9 | 08-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
inventory: add missing module imports
Change-Id: I9df7e3917c3107356b67d2f59301a8bd42f59cc1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
14c8286a | 15-Aug-2016 |
Matt Spinler <spinler@us.ibm.com> |
Add ability to load inventory from file instead of hardcoding.
This commit allows inventory_items.py to load the inventory from /usr/share/inventory/inventory.json instead of using the hardcoded arr
Add ability to load inventory from file instead of hardcoding.
This commit allows inventory_items.py to load the inventory from /usr/share/inventory/inventory.json instead of using the hardcoded array in <System>.py. A future commit will generate inventory.json from the machine readable workbook XML for at least one system.
If the code can't load the json file, it will fall back to the hardcoded array, which at this point we know is always present.
Even though pyinventorymgr will probably be rewritten in C++ at some point, this series of commits illustrates how the OpenBMC can utilize a data-driven design, and this component was chosen as it takes a minimal amount of changes.
Change-Id: Ie749a068d6f47c5671677b21ff3ef5418739f161 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
985b2a51 | 30-Aug-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
inventory: allow missing config file
Allow the inventory manager to start with a missing board config file.
Change-Id: Ifd0e2080348de6ed802505a26c85ddebf355d3c4 Signed-off-by: Brad Bishop <bradleyb
inventory: allow missing config file
Allow the inventory manager to start with a missing board config file.
Change-Id: Ifd0e2080348de6ed802505a26c85ddebf355d3c4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
c91b0bfd | 30-Aug-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
inventory: pep8 fixes
Change-Id: Ib27c332db35a9e3d5e0bba9d56d5b48966eef9a6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
1e8a74ae | 15-Aug-2016 |
Adriana Kobylak <anoo@us.ibm.com> |
Cache inventory properties fault and present
The inventory properties 'fault' and 'present' were the only inventory propertiess that were not being cached, so during a cache restore, these values wo
Cache inventory properties fault and present
The inventory properties 'fault' and 'present' were the only inventory propertiess that were not being cached, so during a cache restore, these values would be set to default instead of being restored to their last value. Resolves openbmc/openbmc#487
Change-Id: I0bab765e45193635872d465b89fa2e19f3111fa0 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
07bd9c05 | 10-Aug-2016 |
Ratan Gupta <ratagupt@in.ibm.com> |
Removing extra Double quotes while displaying firmware version
Fixes openbmc/openbmc#453
Change-Id: Ia57f5628be0e99e41b3088643c75ce6fa790282a Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com> |
fb4d2258 | 29-Jun-2016 |
Adriana Kobylak <anoo@us.ibm.com> |
Add logic to sync/preserve MAC and UUID
The MAC and UUID values are written in the VPD eeprom by the manufacturer. These values are mirrored to u-boot. During BMC boot, check that the values in the
Add logic to sync/preserve MAC and UUID
The MAC and UUID values are written in the VPD eeprom by the manufacturer. These values are mirrored to u-boot. During BMC boot, check that the values in the VPD eeprom and u-boot are the same. If they are different, use the VPD eeprom value to update u-boot. Exception is the MAC when it's been set by the admin to have a locally administered address. In this case the MAC is not updated. Updating the MAC takes effect immediately, updating the UUID requires a BMC reboot.
Change-Id: Ied0f308ed06cd6a45bd618bbb307b2483c6b5b61 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
9baab4eb | 03-Aug-2016 |
Adriana Kobylak <anoo@us.ibm.com> |
Load inventory from cache
The inventory is persisted across BMC reboots, so load this data at BMC startup to not need a system power off/on to load the inventory. Load the cached values after settin
Load inventory from cache
The inventory is persisted across BMC reboots, so load this data at BMC startup to not need a system power off/on to load the inventory. Load the cached values after setting the property values to default, so that the cached value (if any) overwrites the default value and the properties return to the same state they were prior to BMC reboot. Fixes openbmc/openbmc#487
Change-Id: I9e40b2af6880dbaa4ccc0f7e93c74ecf63a51d6f Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
1664c8ee | 29-Jun-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Remove unnecessary InterfacesAdded signals
Remove ObjectManager signals emitted before a bus name is owned.
This isn't necessary now that the system_manager can detect objects via NameOwnerChanged.
Remove unnecessary InterfacesAdded signals
Remove ObjectManager signals emitted before a bus name is owned.
This isn't necessary now that the system_manager can detect objects via NameOwnerChanged.
Change-Id: Ia2b626a926392b50d20c26474e6c9a9fdb3ca2f0 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
f0f3efe1 | 29-Jun-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Export objects prior to bus name grab
The default behavior in pyphosphor changed such that ObjectManager and Properties signals are not emitted by default. Enable signals just prior to bus name gra
Export objects prior to bus name grab
The default behavior in pyphosphor changed such that ObjectManager and Properties signals are not emitted by default. Enable signals just prior to bus name grab.
Change-Id: I27a2de4b60482dd843702396f33c7cdccaf17277 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
0b380f7b | 09-Jun-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Install python workbook to well-known location
This removes the need to pass the system configuration to all the scripts.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
40a360c2 | 28-May-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Reorganize directory structure
Moving to directory per-application layout. This facilitates building single applications which is useful in the Yocto build environment since different applications
Reorganize directory structure
Moving to directory per-application layout. This facilitates building single applications which is useful in the Yocto build environment since different applications satisfy different OpenBMC build requirements.
A number of issues are also addressed: - All applications were pulling in libsystemd and the gdbus libs irrespective of whether or not they were needed. - gpio.o duplicated in every application - moved to libopenbmc_intf - Added install target
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|