History log of /openbmc/entity-manager/scripts/ (Results 1 – 21 of 21)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
ae74f23b05-Sep-2024 Patrick Williams <patrick@stwcx.xyz>

autojson: handle recursion

In order to allow the configurations directory to have vendor
subdirectories, modify the script slightly for directory traversal
to handle subdirectories.

Tested:

After

autojson: handle recursion

In order to allow the configurations directory to have vendor
subdirectories, modify the script slightly for directory traversal
to handle subdirectories.

Tested:

After performing a `git mv`, the subdirectory files show up in the
`format-code` output.
```
...
formatting file configurations/meta/terminus_2x100g_nic_tsff.json
...
```

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

show more ...

4f93bb8c04-Sep-2024 Patrick Williams <patrick@stwcx.xyz>

jsonschema: update validator to the latest draft

The JSON Schema "draft 7" is now old and the latest is
"2020-12". Switch the validator object we use to be the
latest version.

Signed-off-by: Patri

jsonschema: update validator to the latest draft

The JSON Schema "draft 7" is now old and the latest is
"2020-12". Switch the validator object we use to be the
latest version.

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

show more ...


/openbmc/entity-manager/.clang-format
/openbmc/entity-manager/.clang-tidy
/openbmc/entity-manager/.gitignore
/openbmc/entity-manager/README.md
/openbmc/entity-manager/configurations/asrock_romed8hm3.json
/openbmc/entity-manager/configurations/bellavista.json
/openbmc/entity-manager/configurations/bletchley_baseboard.json
/openbmc/entity-manager/configurations/bletchley_chassis.json
/openbmc/entity-manager/configurations/blueridge_1s4u_chassis.json
/openbmc/entity-manager/configurations/blueridge_2u_chassis.json
/openbmc/entity-manager/configurations/blueridge_4u_chassis.json
/openbmc/entity-manager/configurations/bmc_storage_module.json
/openbmc/entity-manager/configurations/brcm_100g_1p_ocp_mezz.json
/openbmc/entity-manager/configurations/brcm_200g_1p_ocp_mezz.json
/openbmc/entity-manager/configurations/cx7_ocp.json
/openbmc/entity-manager/configurations/fuji.json
/openbmc/entity-manager/configurations/harma_bsm.json
/openbmc/entity-manager/configurations/harma_fanboard.json
/openbmc/entity-manager/configurations/harma_mb.json
/openbmc/entity-manager/configurations/harma_mb_vr_infineon.json
/openbmc/entity-manager/configurations/harma_scm.json
/openbmc/entity-manager/configurations/minerva_cmm.json
/openbmc/entity-manager/configurations/minerva_cmm_bsm.json
/openbmc/entity-manager/configurations/minerva_cmm_hsc_infineon.json
/openbmc/entity-manager/configurations/minerva_cmm_scm.json
/openbmc/entity-manager/configurations/minerva_fanboard.json
/openbmc/entity-manager/configurations/minerva_pdb.json
/openbmc/entity-manager/configurations/minerva_pdb_hsc_xdp.json
/openbmc/entity-manager/configurations/minerva_pttv.json
/openbmc/entity-manager/configurations/minerva_sitv.json
/openbmc/entity-manager/configurations/mtjade.json
/openbmc/entity-manager/configurations/mtmitchell_bmc.json
/openbmc/entity-manager/configurations/mtmitchell_mb.json
/openbmc/entity-manager/configurations/nf5280m7_baseboard.json
/openbmc/entity-manager/configurations/nuvoton_npcm8xx_evb.json
/openbmc/entity-manager/configurations/nvme_intel_p_series.json
/openbmc/entity-manager/configurations/nvme_p4500_p5500.json
/openbmc/entity-manager/configurations/sbp1_baseboard.json
/openbmc/entity-manager/configurations/sbp1_chassis.json
/openbmc/entity-manager/configurations/sbp1_hbm.json
/openbmc/entity-manager/configurations/sbp1_psu.json
/openbmc/entity-manager/configurations/system1_baseboard.json
/openbmc/entity-manager/configurations/terminus_2x100g_nic_tsff.json
/openbmc/entity-manager/configurations/yosemite4.json
/openbmc/entity-manager/configurations/yosemite4_chassis.json
/openbmc/entity-manager/configurations/yosemite4_fanboard_fsc_max_adc_ti_led_nxp_efuse_max.json
/openbmc/entity-manager/configurations/yosemite4_fanboard_fsc_max_adc_ti_led_nxp_efuse_mps.json
/openbmc/entity-manager/configurations/yosemite4_fanboard_fsc_nct_adc_max_led_ons_efuse_max.json
/openbmc/entity-manager/configurations/yosemite4_fanboard_fsc_nct_adc_max_led_ons_efuse_mps.json
/openbmc/entity-manager/configurations/yosemite4_floatingfalls.json
/openbmc/entity-manager/configurations/yosemite4_medusaboard_adc_rns_12vhsc_adi_48vhsc_inf.json
/openbmc/entity-manager/configurations/yosemite4_medusaboard_adc_rns_12vhsc_mps_48vhsc_adi.json
/openbmc/entity-manager/configurations/yosemite4_medusaboard_adc_rns_12vhsc_mps_48vhsc_inf.json
/openbmc/entity-manager/configurations/yosemite4_medusaboard_adc_rns_hsc_adi.json
/openbmc/entity-manager/configurations/yosemite4_medusaboard_adc_ti_12vhsc_adi_48vhsc_inf.json
/openbmc/entity-manager/configurations/yosemite4_medusaboard_adc_ti_12vhsc_mps_48vhsc_adi.json
/openbmc/entity-manager/configurations/yosemite4_medusaboard_adc_ti_12vhsc_mps_48vhsc_inf.json
/openbmc/entity-manager/configurations/yosemite4_medusaboard_adc_ti_hsc_adi.json
/openbmc/entity-manager/configurations/yosemite4_sentineldome_chassis.json
/openbmc/entity-manager/configurations/yosemite4_sentineldome_t1.json
/openbmc/entity-manager/configurations/yosemite4_sentineldome_t1_retimer.json
/openbmc/entity-manager/configurations/yosemite4_sentineldome_t2.json
/openbmc/entity-manager/configurations/yosemite4_sentineldome_t2_retimer.json
/openbmc/entity-manager/configurations/yosemite4_spiderboard_adc_max_pwr_ti.json
/openbmc/entity-manager/configurations/yosemite4_spiderboard_adc_ti_pwr_ti.json
/openbmc/entity-manager/configurations/yosemite4_wailuafalls.json
/openbmc/entity-manager/configurations/yosemite4n.json
/openbmc/entity-manager/docs/associations.md
/openbmc/entity-manager/meson.build
/openbmc/entity-manager/meson_options.txt
/openbmc/entity-manager/schemas/global.json
/openbmc/entity-manager/schemas/ibm.json
/openbmc/entity-manager/schemas/legacy.json
/openbmc/entity-manager/schemas/openbmc-dbus.json
/openbmc/entity-manager/schemas/pid.json
/openbmc/entity-manager/schemas/virtual_sensor.json
validate_configs.py
/openbmc/entity-manager/service_files/xyz.openbmc_project.EntityManager.service
/openbmc/entity-manager/service_files/xyz.openbmc_project.FruDevice.service
/openbmc/entity-manager/src/devices.hpp
/openbmc/entity-manager/src/entity_manager.cpp
/openbmc/entity-manager/src/entity_manager.hpp
/openbmc/entity-manager/src/fru_device.cpp
/openbmc/entity-manager/src/fru_reader.cpp
/openbmc/entity-manager/src/fru_reader.hpp
/openbmc/entity-manager/src/fru_utils.cpp
/openbmc/entity-manager/src/fru_utils.hpp
/openbmc/entity-manager/src/meson.build
/openbmc/entity-manager/src/overlay.cpp
/openbmc/entity-manager/src/overlay.hpp
/openbmc/entity-manager/src/perform_probe.cpp
/openbmc/entity-manager/src/perform_scan.cpp
/openbmc/entity-manager/src/topology.cpp
/openbmc/entity-manager/src/utils.cpp
/openbmc/entity-manager/src/utils.hpp
/openbmc/entity-manager/subprojects/phosphor-logging.wrap
/openbmc/entity-manager/subprojects/sdbusplus.wrap
/openbmc/entity-manager/test/test_topology.cpp
183fab9d19-Mar-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

scripts/validate_configs.py: Ensure schemas are validated as well

The quick'n'dirty method of validating a schema is via
`jsonschema.validate()`. From `help(jsonschema.validate)` we have:

> :func

scripts/validate_configs.py: Ensure schemas are validated as well

The quick'n'dirty method of validating a schema is via
`jsonschema.validate()`. From `help(jsonschema.validate)` we have:

> :func:`validate` will first verify that the provided schema is
> itself valid, since not doing so can lead to less obvious error
> messages and fail in less obvious or consistent ways.
>
> If you know you have a valid schema already, especially if you
> intend to validate multiple instances with the same schema, you
> likely would prefer using the `Validator.validate` method directly
> on a specific validator (e.g. ``Draft7Validator.validate``).

The implication is that explicitly instantiating a validator does not
validate the provided schema.

The implementation of validate_configs.py directly instantiates the
Draft7Validator() in order to provide a RefResolver. However, it does
not do the required work of validating the provided schema.

Rework the code instantiating the validator to validate the schema prior
to use.

Tested:

```
$ git revert -n $(git log --grep 'I2b8102e7d6047c8a7e624e182465065268fb8ad9' --format='%H') && ./scripts/validate_configs.py -v -k; git reset --hard
Traceback (most recent call last):
File "/home/andrew/src/openbmc.org/openbmc/entity-manager/origin/./scripts/validate_configs.py", line 187, in <module>
main()
File "/home/andrew/src/openbmc.org/openbmc/entity-manager/origin/./scripts/validate_configs.py", line 138, in main
spec.check_schema(schema)
File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 204, in check_schema
raise exceptions.SchemaError.create_from(error)
jsonschema.exceptions.SchemaError: ['The schema for an entity manager configuration file. An entity ', 'mananger configuration file can consist of a single object, or an ', 'array of objects. Objects must be of type EMConfig.'] is not of type 'string'

Failed validating 'type' in metaschema['properties']['description']:
{'type': 'string'}

On schema['description']:
['The schema for an entity manager configuration file. An entity ',
'mananger configuration file can consist of a single object, or an ',
'array of objects. Objects must be of type EMConfig.']
HEAD is now at cecbd8129645 scripts/validate_configs.py: Ensure schemas are validated as well
```

Change-Id: Ib4d41c0f7a07c1ea4b9a483893969f21870a50e1
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


/openbmc/entity-manager/configurations/3ypower_vast2112_psu.json
/openbmc/entity-manager/configurations/aspower_u1a-d10550_psu.json
/openbmc/entity-manager/configurations/aspower_u1a-d10800_psu.json
/openbmc/entity-manager/configurations/aspower_u1a-d11600_psu.json
/openbmc/entity-manager/configurations/asrock_c3_medium_x86.json
/openbmc/entity-manager/configurations/asrock_romed8hm3.json
/openbmc/entity-manager/configurations/bellavista.json
/openbmc/entity-manager/configurations/blyth.json
/openbmc/entity-manager/configurations/bmc_storage_module.json
/openbmc/entity-manager/configurations/cx7_ocp.json
/openbmc/entity-manager/configurations/fp5280g3_chassis.json
/openbmc/entity-manager/configurations/fp5280g3_fanboard.json
/openbmc/entity-manager/configurations/harma_bsm.json
/openbmc/entity-manager/configurations/harma_fanboard.json
/openbmc/entity-manager/configurations/harma_mb.json
/openbmc/entity-manager/configurations/harma_scm.json
/openbmc/entity-manager/configurations/ingraham.json
/openbmc/entity-manager/configurations/minerva_cmm.json
/openbmc/entity-manager/configurations/minerva_cmm_bsm.json
/openbmc/entity-manager/configurations/minerva_cmm_scm.json
/openbmc/entity-manager/configurations/minerva_fanboard.json
/openbmc/entity-manager/configurations/minerva_pdb.json
/openbmc/entity-manager/configurations/minerva_pttv.json
/openbmc/entity-manager/configurations/minerva_sitv.json
/openbmc/entity-manager/configurations/mtjade.json
/openbmc/entity-manager/configurations/mtmitchell_mb.json
/openbmc/entity-manager/configurations/nisqually.json
/openbmc/entity-manager/configurations/nvme_p4000.json
/openbmc/entity-manager/configurations/sbp1_baseboard.json
/openbmc/entity-manager/configurations/sbp1_chassis.json
/openbmc/entity-manager/configurations/sbp1_nvme.json
/openbmc/entity-manager/configurations/sbp1_psu.json
/openbmc/entity-manager/configurations/sbp1_rssd.json
/openbmc/entity-manager/configurations/storm_king.json
/openbmc/entity-manager/configurations/tola.json
/openbmc/entity-manager/configurations/yosemite4.json
/openbmc/entity-manager/configurations/yosemite4_fanboard.json
/openbmc/entity-manager/configurations/yosemite4_floatingfalls.json
/openbmc/entity-manager/configurations/yosemite4_medusaboard.json
/openbmc/entity-manager/configurations/yosemite4_sentineldome.json
/openbmc/entity-manager/configurations/yosemite4_spiderboard.json
/openbmc/entity-manager/configurations/yosemite4_wailuafalls.json
/openbmc/entity-manager/meson.build
/openbmc/entity-manager/schemas/global.json
/openbmc/entity-manager/schemas/ibm.json
/openbmc/entity-manager/schemas/legacy.json
/openbmc/entity-manager/schemas/openbmc-dbus.json
/openbmc/entity-manager/schemas/satellite_controller.json
/openbmc/entity-manager/schemas/virtual_sensor.json
validate_configs.py
/openbmc/entity-manager/src/overlay.cpp
/openbmc/entity-manager/src/topology.cpp
/openbmc/entity-manager/src/topology.hpp
/openbmc/entity-manager/test/test_topology.cpp
0f3a4d9904-Dec-2023 Potin Lai <potin.lai@quantatw.com>

Support C-style comments for configuration JSON parsing

1. Add and set ignore_comment to true to all nlohmann::json::parse().
2. Add remove_c_comments() in `validate_configs.py` to remove C-style

Support C-style comments for configuration JSON parsing

1. Add and set ignore_comment to true to all nlohmann::json::parse().
2. Add remove_c_comments() in `validate_configs.py` to remove C-style
comments before loading.
3. Attempt to reformat comments in the `autojson.py` taking liberal
short-cuts which are documented in the script.

Supported comment examples:

- Single-line style comments
```
{
// Single-line style comment (new line)
"Key": "Value" // Single-line comment (end of content)
}
```

- Multi-line style comments
```
{
/* Multi-line style comment */
/*
* Multi-line style comments
*/
}
```

Tested on harma system with manual applied patch below, which contains
a c-style comment in harma-pttv.json file.
Link: https://gerrit.openbmc.org/c/openbmc/entity-manager/+/67469/25

- scripts/autojson.py
Run autojson.py on harma-pttv.json, the output as same as original file.

- scripts/validate_configs.py
Run validate_configs.py passed.

- EntityManager service
EntityManager service loads and probes harma-pttv.json successfully.
```
root@harma:~# busctl introspect xyz.openbmc_project.EntityManager \
> /xyz/openbmc_project/inventory/system/board/Harma_PTTV \
> xyz.openbmc_project.Inventory.Item.Board
NAME TYPE SIGNATURE RESULT/VALUE FLAGS
.Name property s "Harma PTTV" emits-change
.Probe property s "xyz.openbmc_project.FruDevice({\'BOA... emits-change
.Type property s "Board" emits-change
```

Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ib235f2aa6a724615dc4c8184577f57abda8e17a6

show more ...


/openbmc/entity-manager/.clang-format
/openbmc/entity-manager/.markdownlint.yaml
/openbmc/entity-manager/.prettierrc.yaml
/openbmc/entity-manager/CONFIG_FORMAT.md
/openbmc/entity-manager/OWNERS
/openbmc/entity-manager/configurations/3ypower_vast2112_psu.json
/openbmc/entity-manager/configurations/acbel_r1ca2122a_psu.json
/openbmc/entity-manager/configurations/asrock_e3c246d4i.json
/openbmc/entity-manager/configurations/asrock_e3c256d4i.json
/openbmc/entity-manager/configurations/asrock_m3_small_x86.json
/openbmc/entity-manager/configurations/asrock_n3_xlarge_x86.json
/openbmc/entity-manager/configurations/asrock_romed8hm3.json
/openbmc/entity-manager/configurations/asrock_spc621d8hm3.json
/openbmc/entity-manager/configurations/bletchley_chassis.json
/openbmc/entity-manager/configurations/bletchley_frontpanel.json
/openbmc/entity-manager/configurations/bonnell.json
/openbmc/entity-manager/configurations/everest.json
/openbmc/entity-manager/configurations/fbtp.json
/openbmc/entity-manager/configurations/fbyv2.json
/openbmc/entity-manager/configurations/fbyv35.json
/openbmc/entity-manager/configurations/genesis3_baseboard.json
/openbmc/entity-manager/configurations/genesis3_chassis.json
/openbmc/entity-manager/configurations/genesis3_psu.json
/openbmc/entity-manager/configurations/gospower_g1136-1300wna_psu.json
/openbmc/entity-manager/configurations/greatlakes.json
/openbmc/entity-manager/configurations/greatlakes_nic_mellanox.json
/openbmc/entity-manager/configurations/ibm_tacoma_rack_controller.json
/openbmc/entity-manager/configurations/kudo_bmc.json
/openbmc/entity-manager/configurations/kudo_motherboard.json
/openbmc/entity-manager/configurations/micron_7450.json
/openbmc/entity-manager/configurations/minerva_cmm.json
/openbmc/entity-manager/configurations/minerva_scm.json
/openbmc/entity-manager/configurations/mori_bmc.json
/openbmc/entity-manager/configurations/mori_motherboard.json
/openbmc/entity-manager/configurations/mtjade.json
/openbmc/entity-manager/configurations/mtmitchell_bmc.json
/openbmc/entity-manager/configurations/mtmitchell_mb.json
/openbmc/entity-manager/configurations/mudflap.json
/openbmc/entity-manager/configurations/pennybacker.json
/openbmc/entity-manager/configurations/r1000_chassis.json
/openbmc/entity-manager/configurations/r2000_chassis.json
/openbmc/entity-manager/configurations/rainier_1s4u_chassis.json
/openbmc/entity-manager/configurations/rainier_2u_chassis.json
/openbmc/entity-manager/configurations/rainier_4u_chassis.json
/openbmc/entity-manager/configurations/sbp1_baseboard.json
/openbmc/entity-manager/configurations/sbp1_chassis.json
/openbmc/entity-manager/configurations/sbp1_nvme.json
/openbmc/entity-manager/configurations/sbp1_psu.json
/openbmc/entity-manager/configurations/sbp1_rssd.json
/openbmc/entity-manager/configurations/storm_king.json
/openbmc/entity-manager/configurations/stp_baseboard.json
/openbmc/entity-manager/configurations/stp_p4000_chassis.json
/openbmc/entity-manager/configurations/supermicro-pws-920p-sq_psu.json
/openbmc/entity-manager/configurations/system1_baseboard.json
/openbmc/entity-manager/configurations/system1_chassis.json
/openbmc/entity-manager/configurations/twinlake.json
/openbmc/entity-manager/configurations/tyan_s7106_baseboard.json
/openbmc/entity-manager/configurations/tyan_s8036_baseboard.json
/openbmc/entity-manager/configurations/vegman_n110_baseboard.json
/openbmc/entity-manager/configurations/vegman_rx20_baseboard.json
/openbmc/entity-manager/configurations/vegman_sx20_baseboard.json
/openbmc/entity-manager/configurations/wft_baseboard.json
/openbmc/entity-manager/configurations/yosemite4.json
/openbmc/entity-manager/configurations/yosemite4_fanboard.json
/openbmc/entity-manager/configurations/yosemite4_floatingfalls.json
/openbmc/entity-manager/configurations/yosemite4_medusaboard.json
/openbmc/entity-manager/configurations/yosemite4_sentineldome.json
/openbmc/entity-manager/configurations/yosemite4_spiderboard.json
/openbmc/entity-manager/configurations/yosemite4_wailuafalls.json
/openbmc/entity-manager/docs/blacklist_configuration.md
/openbmc/entity-manager/docs/entity_manager_dbus_api.md
/openbmc/entity-manager/docs/my_first_sensors.md
/openbmc/entity-manager/meson.build
/openbmc/entity-manager/schemas/README.md
/openbmc/entity-manager/schemas/global.json
/openbmc/entity-manager/schemas/ibm.json
/openbmc/entity-manager/schemas/legacy.json
/openbmc/entity-manager/schemas/openbmc-dbus.json
/openbmc/entity-manager/schemas/pid.json
/openbmc/entity-manager/schemas/pid_zone.json
/openbmc/entity-manager/schemas/satellite_controller.json
/openbmc/entity-manager/schemas/stepwise.json
/openbmc/entity-manager/schemas/virtual_sensor.json
autojson.py
validate_configs.py
/openbmc/entity-manager/service_files/meson.build
/openbmc/entity-manager/service_files/xyz.openbmc_project.FruDevice.service
/openbmc/entity-manager/src/devices.hpp
/openbmc/entity-manager/src/entity_manager.cpp
/openbmc/entity-manager/src/entity_manager.hpp
/openbmc/entity-manager/src/expression.cpp
/openbmc/entity-manager/src/expression.hpp
/openbmc/entity-manager/src/fru_device.cpp
/openbmc/entity-manager/src/fru_reader.cpp
/openbmc/entity-manager/src/fru_reader.hpp
/openbmc/entity-manager/src/fru_utils.cpp
/openbmc/entity-manager/src/fru_utils.hpp
/openbmc/entity-manager/src/meson.build
/openbmc/entity-manager/src/overlay.cpp
/openbmc/entity-manager/src/overlay.hpp
/openbmc/entity-manager/src/perform_probe.cpp
/openbmc/entity-manager/src/perform_scan.cpp
/openbmc/entity-manager/src/topology.cpp
/openbmc/entity-manager/src/topology.hpp
/openbmc/entity-manager/src/utils.cpp
/openbmc/entity-manager/src/utils.hpp
/openbmc/entity-manager/src/variant_visitors.hpp
/openbmc/entity-manager/subprojects/nlohmann_json.wrap
/openbmc/entity-manager/test/test_entity-manager.cpp
/openbmc/entity-manager/test/test_topology.cpp
fa8ee87e07-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

format: reformat with latest openbmc-build-scripts

Run all the latest formatters from openbmc-build-scripts. Disable
prettier on the configurations subdirectory because these are
script-formatted a

format: reformat with latest openbmc-build-scripts

Run all the latest formatters from openbmc-build-scripts. Disable
prettier on the configurations subdirectory because these are
script-formatted already with the repo-local `format-code` extension.

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

show more ...

cad2d1fc04-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

python: fix flake8 warnings

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

3c61d7f415-Jul-2022 Zev Weiss <zev@bewilderbeest.net>

Remove mux-closing detritus

It's been a while since we had python in the build; this script is
obsolete, as is the reference to it in the FruDevice service file.

Signed-off-by: Zev Weiss <zev@bewil

Remove mux-closing detritus

It's been a while since we had python in the build; this script is
obsolete, as is the reference to it in the FruDevice service file.

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Change-Id: If0bb9a4ff7c30d2e5b9ca370e11918ab36c820f8

show more ...

bfc7296e26-May-2022 Brad Bishop <bradleyb@fuzziesquirrel.com>

scripts: use lower_snake_case for filenames

To be consistent with lower_snake_case source code filenames, use
lower_snake_case for scripts file names as well.

run-ci.sh is not renamed because openb

scripts: use lower_snake_case for filenames

To be consistent with lower_snake_case source code filenames, use
lower_snake_case for scripts file names as well.

run-ci.sh is not renamed because openbmc-build-scripts specifically
looks for run-ci.sh or run-ci.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: I4535bac41375d2c78e71da5020cb5e2410ff3eaa

show more ...


/openbmc/entity-manager/.clang-tidy
/openbmc/entity-manager/.gitignore
/openbmc/entity-manager/CONFIG_FORMAT.md
/openbmc/entity-manager/OWNERS
/openbmc/entity-manager/README.md
/openbmc/entity-manager/configurations/1ux16_riser.json
/openbmc/entity-manager/configurations/2ux8_riser.json
/openbmc/entity-manager/configurations/8x25_hsbp.json
/openbmc/entity-manager/configurations/a2ul16riser.json
/openbmc/entity-manager/configurations/a2ux8x4riser.json
/openbmc/entity-manager/configurations/acbell_rica_psu.json
/openbmc/entity-manager/configurations/ahw1um2riser.json
/openbmc/entity-manager/configurations/aspower_u1a-d10550_psu.json
/openbmc/entity-manager/configurations/aspower_u1a-d10800_psu.json
/openbmc/entity-manager/configurations/aspower_u1a-d11200_psu.json
/openbmc/entity-manager/configurations/aspower_u1a-d11600_psu.json
/openbmc/entity-manager/configurations/aspower_u1d-d10800_psu.json
/openbmc/entity-manager/configurations/asrock_e3c246d4i.json
/openbmc/entity-manager/configurations/asrock_romed8hm3.json
/openbmc/entity-manager/configurations/axx1p100hssi_aic.json
/openbmc/entity-manager/configurations/axx2prthdhd.json
/openbmc/entity-manager/configurations/bellavista.json
/openbmc/entity-manager/configurations/bletchley_baseboard.json
/openbmc/entity-manager/configurations/bletchley_chassis.json
/openbmc/entity-manager/configurations/blyth.json
/openbmc/entity-manager/configurations/bnp_baseboard.json
/openbmc/entity-manager/configurations/delta_awf2dc3200w_psu.json
/openbmc/entity-manager/configurations/delta_dps-1600ab_psu.json
/openbmc/entity-manager/configurations/delta_dps-2000ab_psu.json
/openbmc/entity-manager/configurations/delta_dps-750xb_psu.json
/openbmc/entity-manager/configurations/everest.json
/openbmc/entity-manager/configurations/f1u12x25_hsbp.json
/openbmc/entity-manager/configurations/f1u4x25_hsbp.json
/openbmc/entity-manager/configurations/f2u12x35_hsbp.json
/openbmc/entity-manager/configurations/f2u8x25_hsbp.json
/openbmc/entity-manager/configurations/fbtp.json
/openbmc/entity-manager/configurations/fbyv2.json
/openbmc/entity-manager/configurations/flextronics_s-1100adu00-201_psu.json
/openbmc/entity-manager/configurations/ibm_1000w_cffps.json
/openbmc/entity-manager/configurations/ibm_1400w_cffps.json
/openbmc/entity-manager/configurations/ibm_1600w_cffps.json
/openbmc/entity-manager/configurations/ibm_2000w_cffps.json
/openbmc/entity-manager/configurations/ibm_2300w_cffps.json
/openbmc/entity-manager/configurations/intel_front_panel.json
/openbmc/entity-manager/configurations/kudo_bmc.json
/openbmc/entity-manager/configurations/kudo_motherboard.json
/openbmc/entity-manager/configurations/mt_jade.json
/openbmc/entity-manager/configurations/nisqually.json
/openbmc/entity-manager/configurations/nvme_p4000.json
/openbmc/entity-manager/configurations/pcie_ssd_retimer.json
/openbmc/entity-manager/configurations/pssf132202a.json
/openbmc/entity-manager/configurations/pssf162205a.json
/openbmc/entity-manager/configurations/pssf212201a.json
/openbmc/entity-manager/configurations/pssf222201a.json
/openbmc/entity-manager/configurations/r1000_chassis.json
/openbmc/entity-manager/configurations/r2000_chassis.json
/openbmc/entity-manager/configurations/rainier_1s4u_chassis.json
/openbmc/entity-manager/configurations/rainier_2u_chassis.json
/openbmc/entity-manager/configurations/rainier_4u_chassis.json
/openbmc/entity-manager/configurations/sas_module.json
/openbmc/entity-manager/configurations/solum_pssf162202_psu.json
/openbmc/entity-manager/configurations/storm_king.json
/openbmc/entity-manager/configurations/stp_baseboard.json
/openbmc/entity-manager/configurations/stp_p4000_chassis.json
/openbmc/entity-manager/configurations/tyan_s7106_baseboard.json
/openbmc/entity-manager/configurations/tyan_s8036_baseboard.json
/openbmc/entity-manager/configurations/wft_baseboard.json
/openbmc/entity-manager/docs/entity_manager_dbus_api.md
/openbmc/entity-manager/docs/my_first_sensors.md
/openbmc/entity-manager/format-code
/openbmc/entity-manager/include/devices.hpp
/openbmc/entity-manager/include/entity_manager.hpp
/openbmc/entity-manager/include/expression.hpp
/openbmc/entity-manager/include/fru_utils.hpp
/openbmc/entity-manager/include/overlay.hpp
/openbmc/entity-manager/include/utils.hpp
/openbmc/entity-manager/include/variant_visitors.hpp
/openbmc/entity-manager/meson.build
/openbmc/entity-manager/schemas/global.json
/openbmc/entity-manager/schemas/ibm.json
/openbmc/entity-manager/schemas/intel.json
/openbmc/entity-manager/schemas/legacy.json
/openbmc/entity-manager/schemas/pid.json
/openbmc/entity-manager/schemas/pid_zone.json
/openbmc/entity-manager/schemas/stepwise.json
/openbmc/entity-manager/schemas/virtual_sensor.json
close_muxes.py
run-ci.sh
validate_configs.py
/openbmc/entity-manager/service_files/xyz.openbmc_project.FruDevice.service
/openbmc/entity-manager/src/entity_manager.cpp
/openbmc/entity-manager/src/expression.cpp
/openbmc/entity-manager/src/fru_device.cpp
/openbmc/entity-manager/src/fru_utils.cpp
/openbmc/entity-manager/src/meson.build
/openbmc/entity-manager/src/overlay.cpp
/openbmc/entity-manager/src/perform_probe.cpp
/openbmc/entity-manager/src/perform_scan.cpp
/openbmc/entity-manager/src/utils.cpp
/openbmc/entity-manager/subprojects/.clang-format
/openbmc/entity-manager/subprojects/.clang-tidy
/openbmc/entity-manager/subprojects/boost.wrap
/openbmc/entity-manager/subprojects/gtest.wrap
/openbmc/entity-manager/subprojects/nlohmann_json.wrap
/openbmc/entity-manager/subprojects/valijson.wrap
/openbmc/entity-manager/test/test_entity-manager.cpp
/openbmc/entity-manager/test/test_fru-utils.cpp
478cfd2c15-Apr-2021 Paul Fertser <fercerpav@gmail.com>

autojson.py: add newline character before the end of file

POSIX standard defines line as something terminating with the newline
character. So the last line of a text file should also have that.

Pop

autojson.py: add newline character before the end of file

POSIX standard defines line as something terminating with the newline
character. So the last line of a text file should also have that.

Popular editors add it automatically so to avoid unnecessary noise in
the diffs between manually edited files and something that went through
autojson.py it should add it as well.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Change-Id: I1e04b85eb41b8a7d00d506f49f994c6b40eb5fdf

show more ...

8dfc466b19-Apr-2021 Ed Tanous <edtanous@google.com>

Revert "autojson.py: Check the sensor name"

This reverts commit 086f19d287fdc7d7be9c52ad9aee7704e4f339f5.

The recent script change causes errors.
formatting file configurations/1Ux16 Riser.json
Tra

Revert "autojson.py: Check the sensor name"

This reverts commit 086f19d287fdc7d7be9c52ad9aee7704e4f339f5.

The recent script change causes errors.
formatting file configurations/1Ux16 Riser.json
Traceback (most recent call last):
File "/build/openbmcup/build/workspace/sources/entity-manager/scripts/autojson.py", line 30, in <module>
nl = [s['Name'] for s in j['Exposes']]
TypeError: list indices must be integers or slices, not str

Considering the files this fail on have been around for a while, it's
clear they were never tested.

Change-Id: Ibda22e9ce43d1ba8e7a3c02609ef4d135ebb3044

show more ...

086f19d228-Feb-2021 John Wang <wangzhiqiang.bj@bytedance.com>

autojson.py: Check the sensor name

We may be careless and write down duplicate sensor names
in the json, which will cause the entity-manager to
generate duplicate dbus paths and coredump.

This chan

autojson.py: Check the sensor name

We may be careless and write down duplicate sensor names
in the json, which will cause the entity-manager to
generate duplicate dbus paths and coredump.

This change counts the sensor name and outputs a red alert
message if there are duplicates

Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com>
Change-Id: I3363e744d7e0ddf8cb8894e120368a45af4f8de9

show more ...

37811ac816-Dec-2020 Patrick Williams <patrick@stwcx.xyz>

run-ci: modify permissions to execute

Per discussion in Ib420c69e88e88ca0a50863c83ad43fac750d3e7a, we
are going to require these scripts to have execute permission.

Signed-off-by: Patrick Williams

run-ci: modify permissions to execute

Per discussion in Ib420c69e88e88ca0a50863c83ad43fac750d3e7a, we
are going to require these scripts to have execute permission.

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

show more ...


/openbmc/entity-manager/.gitignore
/openbmc/entity-manager/CONFIG_FORMAT.md
/openbmc/entity-manager/Doxyfile
/openbmc/entity-manager/MAINTAINERS
/openbmc/entity-manager/README.md
/openbmc/entity-manager/configurations/A2UL16RISER.json
/openbmc/entity-manager/configurations/AHW1UM2RISER.json
/openbmc/entity-manager/configurations/ASPOWER_U1A-D10550_PSU.json
/openbmc/entity-manager/configurations/ASPOWER_U1A-D10800_PSU.json
/openbmc/entity-manager/configurations/ASPOWER_U1A-D11200_PSU.json
/openbmc/entity-manager/configurations/ASPOWER_U1A-D11600_PSU.json
/openbmc/entity-manager/configurations/ASPOWER_U1D-D10800_PSU.json
/openbmc/entity-manager/configurations/AXX1P100HSSI_AIC.json
/openbmc/entity-manager/configurations/Delta DPS-750XB PSU.json
/openbmc/entity-manager/configurations/Delta_DPS-1600AB_PSU.json
/openbmc/entity-manager/configurations/Delta_DPS-2000AB_PSU.json
/openbmc/entity-manager/configurations/FBYV2.json
/openbmc/entity-manager/configurations/Flextronics S-1100ADU00-201 PSU.json
/openbmc/entity-manager/configurations/Nisqually.json
/openbmc/entity-manager/configurations/PSSF132202A.json
/openbmc/entity-manager/configurations/PSSF162205A.json
/openbmc/entity-manager/configurations/PSSF212201A.json
/openbmc/entity-manager/configurations/PSSF222201A.json
/openbmc/entity-manager/configurations/Rainier 2U Chassis.json
/openbmc/entity-manager/configurations/Rainier 4U Chassis.json
/openbmc/entity-manager/configurations/SAS Module.json
/openbmc/entity-manager/configurations/SOLUM_PSSF162202_PSU.json
/openbmc/entity-manager/configurations/STP P4000 Chassis.json
/openbmc/entity-manager/configurations/WFT Baseboard.json
/openbmc/entity-manager/docs/EntityManagerDbusAPI.md
/openbmc/entity-manager/docs/my_first_sensors.md
/openbmc/entity-manager/include/EntityManager.hpp
/openbmc/entity-manager/include/Overlay.hpp
/openbmc/entity-manager/include/Utils.hpp
/openbmc/entity-manager/include/VariantVisitors.hpp
/openbmc/entity-manager/include/devices.hpp
/openbmc/entity-manager/meson.build
/openbmc/entity-manager/meson_options.txt
/openbmc/entity-manager/schemas/IBM.json
/openbmc/entity-manager/schemas/Intel.json
/openbmc/entity-manager/schemas/Pid.Zone.json
/openbmc/entity-manager/schemas/Pid.json
/openbmc/entity-manager/schemas/README.schema
/openbmc/entity-manager/schemas/Stepwise.json
/openbmc/entity-manager/schemas/global.json
/openbmc/entity-manager/schemas/legacy.json
/openbmc/entity-manager/schemas/openbmc-dbus.json
run-ci.sh
/openbmc/entity-manager/service_files/dbus/xyz.openbmc_project.EntityManager.service
/openbmc/entity-manager/service_files/meson.build
/openbmc/entity-manager/service_files/xyz.openbmc_project.EntityManager.service
/openbmc/entity-manager/service_files/xyz.openbmc_project.FruDevice.service
/openbmc/entity-manager/src/EntityManager.cpp
/openbmc/entity-manager/src/FruDevice.cpp
/openbmc/entity-manager/src/Overlay.cpp
/openbmc/entity-manager/src/Utils.cpp
/openbmc/entity-manager/src/meson.build
/openbmc/entity-manager/subprojects/nlohmann.wrap
/openbmc/entity-manager/test/expected-schema-errors.txt
/openbmc/entity-manager/test/test_entity-manager.cpp
2ef7dd5a01-May-2020 Brad Bishop <bradleyb@fuzziesquirrel.com>

test: run validation script from CI

Run the schema validation script when in the OpenBMC continuous
integration environment. This ensures that both the schema and EM JSON
documents are always valid

test: run validation script from CI

Run the schema validation script when in the OpenBMC continuous
integration environment. This ensures that both the schema and EM JSON
documents are always valid.

A handful of schema are known to fail - add an xfail file until those
can be fixed up.

Change-Id: Ifabfcce0f7953cd0e3bd5489bb0bbc2ce3e6989d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

c04b3f4701-May-2020 Brad Bishop <bradleyb@fuzziesquirrel.com>

scripts: add configuration validation script

Add a script to validate configurations against the schema. Use
https://github.com/Julian/jsonschema to perform the json validation.

The script is inte

scripts: add configuration validation script

Add a script to validate configurations against the schema. Use
https://github.com/Julian/jsonschema to perform the json validation.

The script is intended to be run from a continuous integration
environment or by configuration/schema developers. A key
assumption/feature of the script is that its users will always prefer to
resolve relative references to the local filesystem. As such, the
script computes a base URI that points to the filesystem and instructs
the validator to use that in place of whatever base_uri it derives from
the global $id attribute. For additional reading see:

https://json-schema.org/understanding-json-schema/structuring.html#the-id-property
https://github.com/Julian/jsonschema/issues/98

Without any options the script assumes it is being run from an
entity-manager source distribution and attempts to find the schema and
configuration files relative to the location of the script.

Alternatively, the script can validate arbitrary json files against
arbitrary schema:

./validate-configs.py -s foo.schema.json -c test1.json -c test2.json

By default the validation stops as soon as a configuration does not
validate. Use -k to override this behavior and validate as many
configurations as possible.

Provide an option to instruct the script to ignore a list of
configurations that are expected to fail validation to be used in
continuous integration setups - similar in concept to xfail mechanisms
provided by most build systems with unit test support.

Change-Id: I7d67a54993a6d5e00daf552d9d350c80411b997b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

ca000e5f19-Dec-2019 Brad Bishop <bradleyb@fuzziesquirrel.com>

autojson: don't check non-json files

Skip files that don't have a json suffix so other files (like makefiles)
can be placed in the configurations directory.

Change-Id: Ibdb4d29a6a024762d3f90ca410d1

autojson: don't check non-json files

Skip files that don't have a json suffix so other files (like makefiles)
can be placed in the configurations directory.

Change-Id: Ibdb4d29a6a024762d3f90ca410d11815fe641070
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

5ffd8b4025-Oct-2019 James Feist <james.feist@linux.intel.com>

Add build step to verify json formatting

This will run autojson during the build to verify
that all files are formatted correctly.

Tested: Before this change build failed, after
fixing json file, i

Add build step to verify json formatting

This will run autojson during the build to verify
that all files are formatted correctly.

Tested: Before this change build failed, after
fixing json file, it passed

Change-Id: I119cc898536a972bb7a248143b40d695f880ff2f
Signed-off-by: James Feist <james.feist@linux.intel.com>

show more ...


/openbmc/entity-manager/.clang-ignore
/openbmc/entity-manager/.gitignore
/openbmc/entity-manager/CMakeLists.txt
/openbmc/entity-manager/MAINTAINERS
/openbmc/entity-manager/README.md
/openbmc/entity-manager/blacklist.json
/openbmc/entity-manager/configurations/1Ux16 Riser.json
/openbmc/entity-manager/configurations/2Ux8 Riser.json
/openbmc/entity-manager/configurations/A2UL16RISER.json
/openbmc/entity-manager/configurations/AHW1UM2RISER.json
/openbmc/entity-manager/configurations/AXX1P100HSSI_AIC.json
/openbmc/entity-manager/configurations/AXX2PRTHDHD.json
/openbmc/entity-manager/configurations/BNP Baseboard.json
/openbmc/entity-manager/configurations/Delta DPS-750XB PSU.json
/openbmc/entity-manager/configurations/F1U12X25 HSBP.json
/openbmc/entity-manager/configurations/F1U4X25 HSBP.json
/openbmc/entity-manager/configurations/F2U12X35 HSBP.json
/openbmc/entity-manager/configurations/F2U8X25 HSBP.json
/openbmc/entity-manager/configurations/FBTP.json
/openbmc/entity-manager/configurations/Flextronics S-1100ADU00-201 PSU.json
/openbmc/entity-manager/configurations/NVME P4000.json
/openbmc/entity-manager/configurations/PCIE SSD Retimer.json
/openbmc/entity-manager/configurations/PSSF132202A.json
/openbmc/entity-manager/configurations/PSSF162205A.json
/openbmc/entity-manager/configurations/PSSF212201A.json
/openbmc/entity-manager/configurations/PSSF222201A.json
/openbmc/entity-manager/configurations/R1000 Chassis.json
/openbmc/entity-manager/configurations/R2000 Chassis.json
/openbmc/entity-manager/configurations/SAS Module.json
/openbmc/entity-manager/configurations/SOLUM_PSSF162202_PSU.json
/openbmc/entity-manager/configurations/STP Baseboard.json
/openbmc/entity-manager/configurations/STP P4000 Chassis.json
/openbmc/entity-manager/configurations/WFT Baseboard.json
/openbmc/entity-manager/docs/my_first_sensors.md
/openbmc/entity-manager/include/EntityManager.hpp
/openbmc/entity-manager/include/Utils.hpp
/openbmc/entity-manager/include/VariantVisitors.hpp
/openbmc/entity-manager/include/devices.hpp
/openbmc/entity-manager/schemas/Pid.json
/openbmc/entity-manager/schemas/Stepwise.json
/openbmc/entity-manager/schemas/global.json
autojson.py
/openbmc/entity-manager/src/EntityManager.cpp
/openbmc/entity-manager/src/FruDevice.cpp
/openbmc/entity-manager/src/Overlay.cpp
/openbmc/entity-manager/src/Utils.cpp
/openbmc/entity-manager/test/test_entity-manager.cpp
c4e5694619-Apr-2019 James Feist <james.feist@linux.intel.com>

Sort Exposes Alphabetically By Type

This makes it much easier to find components of
a specific type because they will be grouped together.

Tested: Sensor list was still the same

Change-Id: Iab15be

Sort Exposes Alphabetically By Type

This makes it much easier to find components of
a specific type because they will be grouped together.

Tested: Sensor list was still the same

Change-Id: Iab15be34e003be1aac120864c18a80eaaa9b391c
Signed-off-by: James Feist <james.feist@linux.intel.com>

show more ...


/openbmc/entity-manager/CMakeLists.txt
/openbmc/entity-manager/configurations/1Ux16 Riser.json
/openbmc/entity-manager/configurations/2Ux8 Riser.json
/openbmc/entity-manager/configurations/8X25 HSBP.json
/openbmc/entity-manager/configurations/A2UL16RISER.json
/openbmc/entity-manager/configurations/A2UX8X4RISER.json
/openbmc/entity-manager/configurations/AHW1UM2RISER.json
/openbmc/entity-manager/configurations/AXX2PRTHDHD.json
/openbmc/entity-manager/configurations/Delta DPS-750XB PSU.json
/openbmc/entity-manager/configurations/FBTP.json
/openbmc/entity-manager/configurations/Flextronics S-1100ADU00-201 PSU.json
/openbmc/entity-manager/configurations/Intel Front Panel.json
/openbmc/entity-manager/configurations/PSSF132202A.json
/openbmc/entity-manager/configurations/PSSF162205A.json
/openbmc/entity-manager/configurations/PSSF212201A.json
/openbmc/entity-manager/configurations/R1000 Chassis.json
/openbmc/entity-manager/configurations/R2000 Chassis.json
/openbmc/entity-manager/configurations/SOLUM_PSSF162202_PSU.json
/openbmc/entity-manager/configurations/STP Baseboard.json
/openbmc/entity-manager/configurations/WFT Baseboard.json
/openbmc/entity-manager/include/EntityManager.hpp
/openbmc/entity-manager/include/Utils.hpp
/openbmc/entity-manager/schemas/Pid.Zone.json
/openbmc/entity-manager/schemas/global.json
autojson.py
/openbmc/entity-manager/service_files/xyz.openbmc_project.EntityManager.service
/openbmc/entity-manager/service_files/xyz.openbmc_project.FruDevice.service
/openbmc/entity-manager/src/EntityManager.cpp
/openbmc/entity-manager/src/FruDevice.cpp
/openbmc/entity-manager/src/Overlay.cpp
/openbmc/entity-manager/src/Utils.cpp
db50450b25-Feb-2019 Ed Tanous <ed.tanous@intel.com>

Move closeMuxes script to a regex

This is to allow muxes of any type to be closed correctly on restart.

Change-Id: Ib0e15d3ca6309e7a297c910bded2ce172d16f956
Signed-off-by: Ed Tanous <ed.tanous@inte

Move closeMuxes script to a regex

This is to allow muxes of any type to be closed correctly on restart.

Change-Id: Ib0e15d3ca6309e7a297c910bded2ce172d16f956
Signed-off-by: Ed Tanous <ed.tanous@intel.com>

show more ...


/openbmc/entity-manager/.clang-format
/openbmc/entity-manager/CMakeLists.txt
/openbmc/entity-manager/LICENCE
/openbmc/entity-manager/README.md
/openbmc/entity-manager/cmake-format.json
/openbmc/entity-manager/configurations/1Ux16 Riser.json
/openbmc/entity-manager/configurations/2Ux8 Riser.json
/openbmc/entity-manager/configurations/A2UL16RISER.json
/openbmc/entity-manager/configurations/Delta DPS-750XB PSU.json
/openbmc/entity-manager/configurations/FBTP.json
/openbmc/entity-manager/configurations/Flextronics S-1100ADU00-201 PSU.json
/openbmc/entity-manager/configurations/Intel Front Panel.json
/openbmc/entity-manager/configurations/PCIE SSD Retimer.json
/openbmc/entity-manager/configurations/PSSF132202A.json
/openbmc/entity-manager/configurations/R1000 Chassis.json
/openbmc/entity-manager/configurations/R2000 Chassis.json
/openbmc/entity-manager/configurations/SAS Module.json
/openbmc/entity-manager/configurations/SOLUM_PSSF162202_PSU.json
/openbmc/entity-manager/configurations/STP Baseboard.json
/openbmc/entity-manager/configurations/WFT Baseboard.json
/openbmc/entity-manager/include/Overlay.hpp
/openbmc/entity-manager/include/Utils.hpp
/openbmc/entity-manager/include/VariantVisitors.hpp
/openbmc/entity-manager/include/devices.hpp
/openbmc/entity-manager/include/filesystem.hpp
/openbmc/entity-manager/schemas/Pid.Zone.json
/openbmc/entity-manager/schemas/Pid.json
/openbmc/entity-manager/schemas/Stepwise.json
/openbmc/entity-manager/schemas/global.json
CloseMuxes.py
/openbmc/entity-manager/service_files/xyz.openbmc_project.EntityManager.service
/openbmc/entity-manager/service_files/xyz.openbmc_project.FruDevice.service
/openbmc/entity-manager/src/EntityManager.cpp
/openbmc/entity-manager/src/FruDevice.cpp
/openbmc/entity-manager/src/Overlay.cpp
/openbmc/entity-manager/src/Utils.cpp
1e3e698903-Aug-2018 James Feist <james.feist@linux.intel.com>

Rename all properties to UpperCamelCase

Upstream dbus standard is UpperCamelCase, start matching and
check in json schema to start failing builds that don't match.

Change-Id: I2d2c6fec5a5a0b07c88c8

Rename all properties to UpperCamelCase

Upstream dbus standard is UpperCamelCase, start matching and
check in json schema to start failing builds that don't match.

Change-Id: I2d2c6fec5a5a0b07c88c843257fa7c88d420c4e5
Signed-off-by: James Feist <james.feist@linux.intel.com>

show more ...


/openbmc/entity-manager/.clang-format
/openbmc/entity-manager/CMakeLists.txt
/openbmc/entity-manager/MAINTAINERS
/openbmc/entity-manager/README.md
/openbmc/entity-manager/configurations/1Ux16 Riser.json
/openbmc/entity-manager/configurations/2Ux8 Riser.json
/openbmc/entity-manager/configurations/8X25 HSBP.json
/openbmc/entity-manager/configurations/Delta DPS-750XB PSU.json
/openbmc/entity-manager/configurations/F2U12X35S3P_riser.json
/openbmc/entity-manager/configurations/Flextronics S-1100ADU00-201 PSU.json
/openbmc/entity-manager/configurations/Intel Front Panel.json
/openbmc/entity-manager/configurations/PCIE SSD Retimer.json
/openbmc/entity-manager/configurations/PSSF132202A.json
/openbmc/entity-manager/configurations/R1000 Chassis.json
/openbmc/entity-manager/configurations/R2000 Chassis.json
/openbmc/entity-manager/configurations/SAS Module.json
/openbmc/entity-manager/configurations/SOLUM_PSSF162202_PSU.json
/openbmc/entity-manager/configurations/STP Baseboard.json
/openbmc/entity-manager/configurations/STP P4000 Chassis.json
/openbmc/entity-manager/configurations/WFT Baseboard.json
/openbmc/entity-manager/docs/EntityManagerDbusAPI.md
/openbmc/entity-manager/include/VariantVisitors.hpp
/openbmc/entity-manager/overlay_templates/ADC.template
/openbmc/entity-manager/overlay_templates/IntelFanConnector.template
/openbmc/entity-manager/overlay_templates/IntelFruDevice.template
/openbmc/entity-manager/overlay_templates/PCA9543Mux.template
/openbmc/entity-manager/overlay_templates/PCA9545Mux.template
/openbmc/entity-manager/overlay_templates/SkylakeCPU.template
/openbmc/entity-manager/overlay_templates/Symbol.template
/openbmc/entity-manager/overlay_templates/TMP421.template
/openbmc/entity-manager/overlay_templates/TMP75.template
/openbmc/entity-manager/overlay_templates/pmbus.template
/openbmc/entity-manager/schemas/global.json
CloseMuxes.py
/openbmc/entity-manager/src/EntityManager.cpp
/openbmc/entity-manager/src/FruDevice.cpp
/openbmc/entity-manager/src/Overlay.cpp
5744423608-Mar-2018 James Feist <james.feist@linux.intel.com>

Add close muxes script

We have a problem that muxes can be left open
on reboot, so that when we scan for devices they
are left open. Add this script as a mitigation until
we can come up with a bette

Add close muxes script

We have a problem that muxes can be left open
on reboot, so that when we scan for devices they
are left open. Add this script as a mitigation until
we can come up with a better idea.

Change-Id: I74143bb0624188394ed67110813671ca68698806
Signed-off-by: James Feist <james.feist@linux.intel.com>

show more ...


/openbmc/entity-manager/CMakeLists.txt
/openbmc/entity-manager/configurations/1Ux16 Riser.json
/openbmc/entity-manager/configurations/2Ux8 Riser.json
/openbmc/entity-manager/configurations/8X25 HSBP.json
/openbmc/entity-manager/configurations/F2U12X35S3P_riser.json
/openbmc/entity-manager/configurations/Flextronics S-1100ADU00-201 PSU.json
/openbmc/entity-manager/configurations/Intel Front Panel.json
/openbmc/entity-manager/configurations/PCIE SSD Retimer.json
/openbmc/entity-manager/configurations/R1000 Chassis.json
/openbmc/entity-manager/configurations/R2000 Chassis.json
/openbmc/entity-manager/configurations/SAS Module.json
/openbmc/entity-manager/configurations/STP Baseboard.json
/openbmc/entity-manager/configurations/STP P4000 Chassis.json
/openbmc/entity-manager/configurations/WFT Baseboard.json
/openbmc/entity-manager/include/Overlay.hpp
/openbmc/entity-manager/include/non-yocto/linux/i2c-dev-user.h
/openbmc/entity-manager/overlay_templates/ADC.template
/openbmc/entity-manager/overlay_templates/IntelFanConnector.template
/openbmc/entity-manager/overlay_templates/IntelFruDevice.template
/openbmc/entity-manager/overlay_templates/PCA9543Mux.template
/openbmc/entity-manager/overlay_templates/PCA9545Mux.template
/openbmc/entity-manager/overlay_templates/SkylakeCPU.template
/openbmc/entity-manager/overlay_templates/Symbol.template
/openbmc/entity-manager/overlay_templates/TMP421.template
/openbmc/entity-manager/overlay_templates/TMP75.template
/openbmc/entity-manager/overlay_templates/pmbus.template
CloseMuxes.py
/openbmc/entity-manager/src/EntityManager.cpp
/openbmc/entity-manager/src/FruDevice.cpp
/openbmc/entity-manager/src/Overlay.cpp
/openbmc/entity-manager/src/Utils.cpp
3cb5fece23-Jan-2018 James Feist <james.feist@linux.intel.com>

Move components from proving-ground

Move all needed components from proving ground to this
repo. Some clean up was done in json files to fix probes
as well as some slight modification to readme.

Ch

Move components from proving-ground

Move all needed components from proving ground to this
repo. Some clean up was done in json files to fix probes
as well as some slight modification to readme.

Change-Id: I05b7f6459704640c4850420a4573d157500d0aff
Signed-off-by: James Feist <james.feist@linux.intel.com>

show more ...