62a9b4ca | 23-Oct-2018 |
Matt Spinler <spinler@us.ibm.com> |
Add openbmctool documentation for local users
Add a new document for additional openbmctool documentation, and add a section on enabling and disabling local users.
Change-Id: I3973e277a97e518946864
Add openbmctool documentation for local users
Add a new document for additional openbmctool documentation, and add a section on enabling and disabling local users.
Change-Id: I3973e277a97e5189468644cd94e9ccd13e16edaf Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
26e29305 | 31-Oct-2018 |
Andrew Geissler <geissonator@yahoo.com> |
Only allow changes via gerrit
The initial goal was to make it easy for anyone and everyone to get their tools into this repository. Now that there's a base, switch to the standard OpenBMC code submi
Only allow changes via gerrit
The initial goal was to make it easy for anyone and everyone to get their tools into this repository. Now that there's a base, switch to the standard OpenBMC code submit path for applications of gerrit only.
Change-Id: Ic94a8c24f90c075d8141aa1f99ca721f9b8e468c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
015adc2b | 23-Oct-2018 |
Matt Spinler <spinler@us.ibm.com> |
openbmctool: local_users: Check for UserEnabled
The 'local_users' operations only deal with local users, whose D-Bus objects all have the UserEnabled property. LDAP users do not have this property,
openbmctool: local_users: Check for UserEnabled
The 'local_users' operations only deal with local users, whose D-Bus objects all have the UserEnabled property. LDAP users do not have this property, and so this can be used to distinguished between the types.
Check that this property exists in the enumeration data before trying to enable or disable a user so that it doesn't try to operate on LDAP or other users.
Change-Id: Ia281adec9aa438ba48268cf701aab294413cdcde Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
7d426c25 | 24-Sep-2018 |
Matt Spinler <spinler@us.ibm.com> |
openbmctool enable/disable local users
Add options to disable, enable, and query all local users.
New help text:
positional arguments: {disableall,enableall,queryenabled}
openbmctool enable/disable local users
Add options to disable, enable, and query all local users.
New help text:
positional arguments: {disableall,enableall,queryenabled} Disable, enable or query local user accounts
Option queryenabled output: User: root Enabled: 1
Option disableall output: Disabling root
Option enableall output: Enabling root
Change-Id: I45364602c00b3aa629a1415e00e682ace2f91a55 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
e5e2bcf8 | 22-Oct-2018 |
Andrew Geissler <geissonator@yahoo.com> |
Add myself as a maintainer
I've written a few of the tools in here and am involved in a lot of the reviews so would like to be able to merge commits
Change-Id: Iaa77be460fa47f6a441913a6a394d29dbbcf
Add myself as a maintainer
I've written a few of the tools in here and am involved in a lot of the reviews so would like to be able to merge commits
Change-Id: Iaa77be460fa47f6a441913a6a394d29dbbcfaf68 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
feb3ba29 | 21-Sep-2018 |
Emily Shaffer <emilyshaffer@google.com> |
Update cla-signers with latest Intel Schedule A
Change-Id: Id406e2978b7b561609701224bd3110f5812303cd Signed-off-by: Emily Shaffer <emilyshaffer@google.com> |
dbbf985a | 31-Aug-2018 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
autobump: Remove legacy Perl script
Change-Id: I660d53c3aa3b5145d89e602a4c5a7cca6f3098f1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
35982438 | 30-Aug-2018 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
infra: semi-port autobump to Python
Reimplement the autobump script in Python. Python seems to be the scripting language of choice for Yocto projects.
Choose a different name - openbmc-autobump be
infra: semi-port autobump to Python
Reimplement the autobump script in Python. Python seems to be the scripting language of choice for Yocto projects.
Choose a different name - openbmc-autobump because the script logic probably cannot be overlayed onto other Yocto based projects.
A semi-port because the behavior is not identical. New features include git shortlog in the commit message and a revision range in the commit summary.
Change-Id: I76a2954739dfc7680aa8114cfac2afd4509e725d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
040ccf37 | 19-Sep-2018 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
cla-signers: Update to latest IBM Schedule A
Change-Id: Icee057ee6d8b25e303fe15a5f76e33c7ab7ecdf6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
e9abd754 | 18-Sep-2018 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
cla-signers: Add new ICLA signer Evan L
Change-Id: Ie88e242947fffbdb0fc600816eef61ca6fb96b77 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
4c7f108e | 23-Aug-2018 |
Lei YU <mine260309@gmail.com> |
sensor_yaml_config.py: Add support for power
Support power related sensors.
Tested: Verify it generates power yaml config with Palmetto's config and rpt.
Change-Id: Iad195c5700d6c96d17d7c9
sensor_yaml_config.py: Add support for power
Support power related sensors.
Tested: Verify it generates power yaml config with Palmetto's config and rpt.
Change-Id: Iad195c5700d6c96d17d7c9a28d7c8071c43c8809 Signed-off-by: Lei YU <mine260309@gmail.com>
show more ...
|
25ecc558 | 23-Aug-2018 |
Lei YU <mine260309@gmail.com> |
sensor_yaml_config.py: Add support for P8
P8 rpt has some different items in rpt and yaml: 1. occ active sensor's path is different; 2. P8 systems has centaur/membuf.
Add support for the above diff
sensor_yaml_config.py: Add support for P8
P8 rpt has some different items in rpt and yaml: 1. occ active sensor's path is different; 2. P8 systems has centaur/membuf.
Add support for the above differences.
Tested: Verify it generates yaml config with Palmetto's config and rpt; Verify it does not break Romulus' config
Change-Id: Ib0002194655c0b3ccce0f31592cccc4f6b875353 Signed-off-by: Lei YU <mine260309@gmail.com>
show more ...
|
a49f04ff | 09-Aug-2018 |
Lei YU <mine260309@gmail.com> |
sensor_yaml_config.py: Add --dcmi option
This option is used to generate a json config which is part of IPMI dcmi sensors for cpu core temperatures.
Tested: Using Romulus yaml, generate a json conf
sensor_yaml_config.py: Add --dcmi option
This option is used to generate a json config which is part of IPMI dcmi sensors for cpu core temperatures.
Tested: Using Romulus yaml, generate a json config, verify it could be parsed by ipmi daemon, and check ipmitool dcmi get_temp_reading gets cpu core temperatures.
Change-Id: Idd1a74158f7e59b47f154b71fc4d108a60d24f67 Signed-off-by: Lei YU <mine260309@gmail.com>
show more ...
|
9f394039 | 07-Aug-2018 |
Lei YU <mine260309@gmail.com> |
sensor_yaml_config.py: Add option to fix sensorNamePattern
Change the --entity option to --fix, to fix both enityID and sensorNamePattern, based on a pre-generated map.
Remove the unused getEntityI
sensor_yaml_config.py: Add option to fix sensorNamePattern
Change the --entity option to --fix, to fix both enityID and sensorNamePattern, based on a pre-generated map.
Remove the unused getEntityId() and related data.
Tested: Based on Romulus ipmi sensor yaml, verify this tool fixes the entityID and sensorNamePattern.
Change-Id: I3a9239f110d6dcab8c850194607d993acb55a8aa Signed-off-by: Lei YU <mine260309@gmail.com>
show more ...
|
df0c417b | 07-Aug-2018 |
Lei YU <mine260309@gmail.com> |
sensor_yaml_config.py: Generate map from sample config
Generate a map from sensor path/interfaces to enityID and sensorNamePattern.
Save the map as reference for further usage.
The map is generate
sensor_yaml_config.py: Generate map from sample config
Generate a map from sensor path/interfaces to enityID and sensorNamePattern.
Save the map as reference for further usage.
The map is generated from witherspoon's yaml:
sensor_yaml_config.py -i witherspoon.yaml -o sensor_map.yaml -g
Change-Id: I493c1c60a4699edd03512f3a51c07dd035a69e89 Signed-off-by: Lei YU <mine260309@gmail.com>
show more ...
|
206f7c4c | 07-Aug-2018 |
Lei YU <mine260309@gmail.com> |
sensor_yaml_config.py: Add core/dimm temp sensor
Add core/dimm temperature sensor config based on an example config from Witherspoon, and modify the path and entityInstance.
Tested: Based on Romulu
sensor_yaml_config.py: Add core/dimm temp sensor
Add core/dimm temperature sensor config based on an example config from Witherspoon, and modify the path and entityInstance.
Tested: Based on Romulus ipmi sensor config and rpt, the generated yaml is able to pass the build and the ipmi sensors are reported correctly.
Change-Id: I5d0ddaa0a537be38ac5bfaaa0999ba0a7d3f3d1e Signed-off-by: Lei YU <mine260309@gmail.com>
show more ...
|
d4051654 | 06-Aug-2018 |
Lei YU <mine260309@gmail.com> |
sensor_yaml_config.py: Parse rpt file
Parse rpt file into a list of RtpSensor, check the sensor ids to find which sensors are missing in the yaml file.
Tested: Using Romulus rpt, verify the sensors
sensor_yaml_config.py: Parse rpt file
Parse rpt file into a list of RtpSensor, check the sensor ids to find which sensors are missing in the yaml file.
Tested: Using Romulus rpt, verify the sensors in rpt file is correctly parsed into the RptSensor structure in python.
Change-Id: Iafb0ec1845db8802c4fac20abe2bdcaf51a876e9 Signed-off-by: Lei YU <mine260309@gmail.com>
show more ...
|
a03e55ef | 03-Aug-2018 |
Lei YU <mine260309@gmail.com> |
Add sensor_yaml_config.py for ipmi sensor yaml configs
Existing ipmi sensor yaml configs are missing certain parts, e.g. entityID, entityInstance, etc. This script helps to fix the missing parts.
T
Add sensor_yaml_config.py for ipmi sensor yaml configs
Existing ipmi sensor yaml configs are missing certain parts, e.g. entityID, entityInstance, etc. This script helps to fix the missing parts.
The initial version only add the fix for entityID and entityInstance, in future it is expected to generate the whole ipmi sensor yaml config from rpt file, which is generated by op-build.
Tested: Use Romulus ipmi sensor yaml config as input, verify the output yaml config passes the build and the entityID/entityInstance is OK.
Change-Id: Ia345db82254cdc1f9359d21aed44927a24ddd26f Signed-off-by: Lei YU <mine260309@gmail.com>
show more ...
|
02d5328f | 18-Sep-2018 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
openbmctool: add remote-logging commands
Add commands to configure remote logging (rsyslog).
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> |
22d4df06 | 18-Sep-2018 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
openbmctool: add logging sub-command
Add command to turn REST API logging on/off.
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> |
7eb2e0af | 13-Sep-2018 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
cla-signers: Update to latest IBM Schedule A
Change-Id: Ica8ebfd724dbe151921afc3ecac48bee7b8bc77b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
8b0d2f1e | 04-Sep-2018 |
Matt Spinler <spinler@us.ibm.com> |
Check in policy table version 1.7.3
Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
93854254 | 04-Sep-2018 |
Matt Spinler <spinler@us.ibm.com> |
Update openbmctool version to 1.07
Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
d178a47f | 31-Aug-2018 |
Matt Spinler <spinler@us.ibm.com> |
Allow CALLOUT_DEVICE_PATH to used as search key
Now that the full device path is in the policy table, we can use it as a search key as is, and will only fall back to the old way of doing it if no ma
Allow CALLOUT_DEVICE_PATH to used as search key
Now that the full device path is in the policy table, we can use it as a search key as is, and will only fall back to the old way of doing it if no match was found.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
02d0dff7 | 29-Aug-2018 |
Matt Spinler <spinler@us.ibm.com> |
Use eSEL severity in key lookup
When there is an eSEL, get its severity from inside the contained PEL's UH section, and use it as part of the key to look up the policy table entry with, so there can
Use eSEL severity in key lookup
When there is an eSEL, get its severity from inside the contained PEL's UH section, and use it as part of the key to look up the policy table entry with, so there can be different entries for Critical vs Warning vs Informational logs.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|