History log of /openbmc/openbmc-test-automation/bin/generate_inventory (Results 1 – 22 of 22)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 20f38712 08-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

black: re-format

black and isort are enabled in the openbmc-build-scripts on Python files
to have a consistent formatting. Re-run the formatter on the whole
repository.

Signed-off-by: Patrick Will

black: re-format

black and isort are enabled in the openbmc-build-scripts on Python files
to have a consistent formatting. Re-run the formatter on the whole
repository.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I944f1915ece753f72a3fa654902d445a9749d0f9

show more ...


# 09679890 08-Dec-2022 George Keishing <gkeishin@in.ibm.com>

pycodestyle: Module level import not at top of file

Changes:
- Added NOQA on python files import to skip CI
- Fix import order reported by CI.

Tested:
- CI will catch this if there i

pycodestyle: Module level import not at top of file

Changes:
- Added NOQA on python files import to skip CI
- Fix import order reported by CI.

Tested:
- CI will catch this if there is error

Change-Id: I39a11d3e815a08488671ed948f073828e19aee37
Signed-off-by: George Keishing <gkeishin@in.ibm.com>

show more ...


# 37c58c8c 08-Dec-2022 George Keishing <gkeishin@in.ibm.com>

Revert "Fix for module level import not at top of file"

This reverts commit 47375aa789dcb11ba969895f61dfb12a773e2164.

Signed-off-by: George Keishing <gkeishin@in.ibm.com>
Change-Id: Icc40562b861262

Revert "Fix for module level import not at top of file"

This reverts commit 47375aa789dcb11ba969895f61dfb12a773e2164.

Signed-off-by: George Keishing <gkeishin@in.ibm.com>
Change-Id: Icc40562b861262d8fb72d68b43654334985eea4d

show more ...


# e635ddc0 08-Dec-2022 George Keishing <gkeishin@in.ibm.com>

Revert "black: re-format"

This reverts commit 5731818de0ce446ceaafc7e75ae39da1b69942ae.

Signed-off-by: George Keishing <gkeishin@in.ibm.com>
Change-Id: Ie61cdc8c7f2825b0d9d66be87a6a3a058de2b372


# 5731818d 08-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

black: re-format

black and isort are enabled in the openbmc-build-scripts on Python files
to have a consistent formatting. Re-run the formatter on the whole
repository.

Change-Id: If1010ead857d413

black: re-format

black and isort are enabled in the openbmc-build-scripts on Python files
to have a consistent formatting. Re-run the formatter on the whole
repository.

Change-Id: If1010ead857d41364c024bf8145a979a9377d382
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# 47375aa7 08-Dec-2022 Sridevi Ramesh <sridevra@in.ibm.com>

Fix for module level import not at top of file

Change-Id: I1994b58a027cdac3bf4084b77db61bc646aaaba6
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>


# a57fef4a 03-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

pycodestyle: fix issues

When calling pycodestyle directly on a file (vs the project as a
whole) it seems to be a bit more opinionated. Fix up these issues
so we can change how we call pycodestyle o

pycodestyle: fix issues

When calling pycodestyle directly on a file (vs the project as a
whole) it seems to be a bit more opinionated. Fix up these issues
so we can change how we call pycodestyle organization-wide.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: If561fb1ec3036b5fd5a600969fb5d81274464db2

show more ...


Revision tags: robotframework-requests
# f87cc0af 08-Jun-2022 Yunyun Lin <linyuny@google.com>

Vulnerability fix for yaml load

Change-Id: Id619d1d16c8c70fbf9049105a2222b4ffa456a3e
Signed-off-by: linyy1106 <linyuny@google.com>


# e7e9171e 03-Sep-2021 George Keishing <gkeishin@in.ibm.com>

Update python code for python 3.8 or higher compatibility

Changes:
- Update shebang directive to use python3 explicitly.
- remove preexec_fn feature which is deprecated in

Update python code for python 3.8 or higher compatibility

Changes:
- Update shebang directive to use python3 explicitly.
- remove preexec_fn feature which is deprecated in higher
python version 3.8 and above.
- bufsize fix, from documentation bufsize 1 means line buffered
(only usable if universal_newlines=True i.e., in a text mode)
refer: https://docs.python.org/3/library/subprocess.html
- Fix SyntaxWarning: "is" with "=="

Change-Id: Ib96c1ba8c2327d6774d0d731b48ca7e61a4a297a
Signed-off-by: George Keishing <gkeishin@in.ibm.com>

show more ...


Revision tags: v2.10-Hardknott
# 178d9bf2 09-Jul-2020 George Keishing <gkeishin@in.ibm.com>

Update code documentation and variables

Change-Id: I40a3dcfcca6be63b6ea44f935bb631948273dd82
Signed-off-by: George Keishing <gkeishin@in.ibm.com>


# 1eab8838 09-Jul-2020 George Keishing <gkeishin@in.ibm.com>

Update code and documentation for better readability

Change-Id: I3fc61acb5d46fb9273dbd55ada33544de2709778
Signed-off-by: George Keishing <gkeishin@in.ibm.com>


Revision tags: v2.8.0-stable, v2.7-warrior-stable, v2.6-thud-stable, v2.2-stable
# 5c006d39 08-Oct-2018 Steven Sombar <ssombar@us.ibm.com>

Update generate_inventory tool for fans

In some water-cooled systems, the attributes for fans may not
include "Functional". Update bin/generate_inventory for fans
in those systems.

Update generate_inventory tool for fans

In some water-cooled systems, the attributes for fans may not
include "Functional". Update bin/generate_inventory for fans
in those systems.

Resolves openbmc/openbmc-test-automation#1471

Change-Id: If0707d1d563d37e9d6bdf66f9304b2ef154c99e7
Signed-off-by: Steven Sombar <ssombar@us.ibm.com>

show more ...


# 32c4c9e4 06-Aug-2018 George Keishing <gkeishin@in.ibm.com>

Update code for python3.x compatible changes

Change-Id: I7dc905296dd8114366017beb486e0ed59e7189df
Signed-off-by: George Keishing <gkeishin@in.ibm.com>


Revision tags: v2.1-stable, v2.0-stable
# 0219da6b 26-Mar-2018 George Keishing <gkeishin@in.ibm.com>

Update GPU inventory as a FRU property

Added:
- YAML for FRU field.
- Updated inventory.py data file.
- Updated new field in the test documentation.

Resolves

Update GPU inventory as a FRU property

Added:
- YAML for FRU field.
- Updated inventory.py data file.
- Updated new field in the test documentation.

Resolves openbmc/openbmc-test-automation#1307

Change-Id: I55d308cf9269e5f8ff14b577b6a058a813d43831
Signed-off-by: George Keishing <gkeishin@in.ibm.com>

show more ...


# 1da4c24d 09-Jan-2018 Sweta Potthuri <spotthur@in.ibm.com>

Pep8 fix for generate inventory script

Resolves openbmc/openbmc-test-automation#1138

Change-Id: Ie002890ec36947d9e44e331a78bfac56ffcb09b3
Signed-off-by: Sweta Potthuri <spotthur

Pep8 fix for generate inventory script

Resolves openbmc/openbmc-test-automation#1138

Change-Id: Ie002890ec36947d9e44e331a78bfac56ffcb09b3
Signed-off-by: Sweta Potthuri <spotthur@in.ibm.com>

show more ...


# ca8c61b7 11-Dec-2017 George Keishing <gkeishin@in.ibm.com>

Inventory fan property check

Added:
- Added checking for fan properties.
- Added MeetsMinimumShipLevel to the list of properties
checked for fan inventory items.

Inventory fan property check

Added:
- Added checking for fan properties.
- Added MeetsMinimumShipLevel to the list of properties
checked for fan inventory items.

Change-Id: I361380da09f04499621f655082a63e63c78e0602
Signed-off-by: George Keishing <gkeishin@in.ibm.com>

show more ...


# 19305205 17-Nov-2017 George Keishing <gkeishin@in.ibm.com>

GPU inventory property fields

Changes:
- Add GPU yaml fields to generate inventory.py.
- Generate inventory.py for prodution test usage.

Resolves openbmc/openbmc-test

GPU inventory property fields

Changes:
- Add GPU yaml fields to generate inventory.py.
- Generate inventory.py for prodution test usage.

Resolves openbmc/openbmc-test-automation#1136

Change-Id: I0a7d7223862a901a4d56e8d074a4440d20a930df
Signed-off-by: George Keishing <gkeishin@in.ibm.com>

show more ...


# dc68eff6 12-Jun-2017 George Keishing <gkeishin@in.ibm.com>

Update inventory data

Resolves openbmc/openbmc-test-automation#698

Change-Id: I3df048f7ef501a3db5ad161e2524dcccbcde6fff
Signed-off-by: George Keishing <gkeishin@in.ibm.com>


# 36fedf23 21-Mar-2017 George Keishing <gkeishin@in.ibm.com>

Inventory "core" entry and "functional" state

Added:
- "core" inventory item
- "fru" and "core" function state property

Resolves openbmc/openbmc-test-automation#430

Inventory "core" entry and "functional" state

Added:
- "core" inventory item
- "fru" and "core" function state property

Resolves openbmc/openbmc-test-automation#430

Change-Id: Idf630e283a6326cb17aaabe815c125c0fc2dc48b
Signed-off-by: George Keishing <gkeishin@in.ibm.com>

show more ...


# 9ef1fd47 10-Mar-2017 George Keishing <gkeishin@in.ibm.com>

Inventory YAML script changes

Fixes:
- Add new FRU field "Cached" from Cacheable.interface.yaml
- Fix generated inventory.py file ending space

Resolves openbmc/openbmc

Inventory YAML script changes

Fixes:
- Add new FRU field "Cached" from Cacheable.interface.yaml
- Fix generated inventory.py file ending space

Resolves openbmc/openbmc-test-automation#415

Change-Id: Ic9d38b3b2854e0ea0a43703f791665881f5c8e01
Signed-off-by: George Keishing <gkeishin@in.ibm.com>

show more ...


# 05b36ecc 06-Mar-2017 George Keishing <gkeishin@in.ibm.com>

Update FRU field "FieldReplaceable"

A new entry has been updated to inventory to identify a property
using "FieldReplaceable" field. This is updated in inventory via
a new YAML file

Update FRU field "FieldReplaceable"

A new entry has been updated to inventory to identify a property
using "FieldReplaceable" field. This is updated in inventory via
a new YAML file Decorator/Replaceable.interface.yaml and the
corresponding logic needs to be updated in test YAML FRU generator.

Resolves openbmc/openbmc-test-automation#395

Change-Id: I974516757adb6d9d28ef4bdd58cf4906e408a9e7
Signed-off-by: George Keishing <gkeishin@in.ibm.com>

show more ...


# ae7c820f 09-Feb-2017 George Keishing <gkeishin@in.ibm.com>

YAML parser to generate inventory data

This implementation is designed to address multiple inventory data
properties for FRU's and others. For now, FRU YAML is available for
consumpt

YAML parser to generate inventory data

This implementation is designed to address multiple inventory data
properties for FRU's and others. For now, FRU YAML is available for
consumption under phosphor-dbus-interfaces repository.

As the BMC, PROC's and other MISC YAML's are added by development,
we would include them in this file which would generate a single
inventory.py file ready to use by robot test and others.

Resolves openbmc/openbmc-test-automation#330

Change-Id: If5f96c8c3701ad6d14f7cb9418c10277e885f267
Signed-off-by: George Keishing <gkeishin@in.ibm.com>

show more ...