History log of /openbmc/skeleton/pyinventorymgr/inventory_items.py (Results 1 – 19 of 19)
Revision Date Author Comments
# 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 ...


# 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

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
Signe

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 ...


# 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 h

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-b

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,

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 <ratagup

Removing extra Double quotes while displaying firmware version

Fixes openbmc/openbmc#453

Change-Id: Ia57f5628be0e99e41b3088643c75ce6fa790282a
Signed-off-by: Ratan Gupta <ratagupt@in.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

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

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

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 differe

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 ...