History log of /openbmc/openbmc-tools/ (Results 101 – 125 of 318)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
bef8da4814-Jul-2020 Ravi Teja <raviteja28031990@gmail.com>

SystemDump: Modify system dump commands based on latest schemas

Tested by:
python3 openbmctool.py -U root -P passwd -H hostname dump -t SystemDump list
python3 openbmctool.py -U root -P passwd -H ho

SystemDump: Modify system dump commands based on latest schemas

Tested by:
python3 openbmctool.py -U root -P passwd -H hostname dump -t SystemDump list
python3 openbmctool.py -U root -P passwd -H hostname dump -t SystemDump create
python3 openbmctool.py -U root -P passwd -H hostname dump -t SystemDump delete -n 1
python3 openbmctool.py -U root -P passwd -H hostname dump -t SystemDump retrive -s /tmp/test -n 1

Signed-off-by: Ravi Teja <raviteja28031990@gmail.com>
Change-Id: I38b25c4b1d650e7cc63970b95dbe7993aaa75e46

show more ...

ca5c957e12-Aug-2020 Sunitha Harish <sunharis@in.ibm.com>

openbmctool : Fix the error messages

Incorrect error message is shown with the following commands.
setDNS
setMACAddress
setNTP
setDomainName
getMACAddress

eg: Try setting wrong

openbmctool : Fix the error messages

Incorrect error message is shown with the following commands.
setDNS
setMACAddress
setNTP
setDomainName
getMACAddress

eg: Try setting wrong value to the MACAddress property on eth0 interface.
openbmctool.py -U <user> -P <password> -H <host> network setMACAddress -MA gh:ih:kl:pi:yq:qq -I eth0
Attempting login...
The specified Interface(eth0) doesn't exist
User root has been logged out

The error message "The specified Interface(eth0) doesn't exist" is misleading.
This commit fixes these error message to display as "Failed to set MACAddress!"
Similarly other set/get operations error messages are corrected.

Signed-off-by: Sunitha Harish <sunharis@in.ibm.com>
Change-Id: Icf6fe5da7359422483565522ba74159b53644029

show more ...

8e56c31930-Jul-2020 Lei YU <yulei.sh@bytedance.com>

obmc-gerrit: Make topic optional

Make topic argument optional so that users do not have to specify a
topic.

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: If743abeb6820a85d72a4d7049ba086

obmc-gerrit: Make topic optional

Make topic argument optional so that users do not have to specify a
topic.

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: If743abeb6820a85d72a4d7049ba086f4d64635e5

show more ...

56b4575e10-Jul-2020 Brad Bishop <bradleyb@fuzziesquirrel.com>

openbmctool: drop simplejson

The simplejson module was never used directly by the script and the
problem it's inclusion was working around has been fixed, so remove.

Change-Id: I6e2ab12233ab8335127

openbmctool: drop simplejson

The simplejson module was never used directly by the script and the
problem it's inclusion was working around has been fixed, so remove.

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

show more ...

5da038f110-Jul-2020 Brad Bishop <bradleyb@fuzziesquirrel.com>

openbmctool: certificates: do not use binary mode

When uploading certificate data, the json encoder will not implicitly
encode a bytestream as a json string, so don't open the file in binary
mode.

openbmctool: certificates: do not use binary mode

When uploading certificate data, the json encoder will not implicitly
encode a bytestream as a json string, so don't open the file in binary
mode.

bf99c5864c enabled the simplejson module to make this work but this is a
simpler fix and we can drop an external dependency.

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

show more ...

3512b93814-Jun-2020 Andrew Jeffery <andrew@aj.id.au>

obmc-gerrit: Require a topic be specified

Topics make it much easier to understand related groups of commits in
the Gerrit UI.

$ obmc-gerrit push -h
usage: obmc-gerrit push [-h] remote refs

obmc-gerrit: Require a topic be specified

Topics make it much easier to understand related groups of commits in
the Gerrit UI.

$ obmc-gerrit push -h
usage: obmc-gerrit push [-h] remote refspec topic

positional arguments:
remote
refspec
topic

optional arguments:
-h, --help show this help message and exit

$ obmc-gerrit push gerrit HEAD:refs/for/master obmc-gerrit-topic
Enumerating objects: 11, done.
Counting objects: 100% (11/11), done.
Delta compression using up to 8 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (6/6), 881 bytes | 881.00 KiB/s, done.
Total 6 (delta 4), reused 0 (delta 0)
remote: Resolving deltas: 100% (4/4)
remote: Processing changes: refs: 1, updated: 1, done
remote: warning: e764977: no files changed, message updated
remote:
remote: SUCCESS
remote:
remote: Updated Changes:
remote: https://gerrit.openbmc-project.xyz/c/openbmc/openbmc-tools/+/33636 obmc-gerrit: Require a topic be specified
remote:
To ssh://gerrit.openbmc-project.xyz:29418/openbmc/openbmc-tools
* [new branch] HEAD -> refs/for/master%r=andrew@aj.id.au,r=geissonator@yahoo.com,topic=obmc-gerrit-topic

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I927e14b11ae2765b9831e262462f43a773e67b6c

show more ...

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

autobump: handle multi-line _URI

Handle recipes that set _URI variables in more than one line, such as:

SRC_URI = "git://github.com/openbmc/foo \
file://bar"

Prior to this patch instead

autobump: handle multi-line _URI

Handle recipes that set _URI variables in more than one line, such as:

SRC_URI = "git://github.com/openbmc/foo \
file://bar"

Prior to this patch instead of "foo" the project name was deduced to be:
"foo \"

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

show more ...

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

autobump: add a dry-run option

Add an option for doing a dry-run. This allows script developers to see
what the script would do without actually opening up pull requests.

Change-Id: I78f720eb002ee

autobump: add a dry-run option

Add an option for doing a dry-run. This allows script developers to see
what the script would do without actually opening up pull requests.

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

show more ...

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

autobump: fix a pep8 e501 error

E501 line too long (80 > 79 characters)
No functional changes.

Change-Id: I97a85ad67977e086aed473c33e4d038d837fb80c
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirr

autobump: fix a pep8 e501 error

E501 line too long (80 > 79 characters)
No functional changes.

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

show more ...

37468e6518-May-2020 Andrew Jeffery <andrew@aj.id.au>

dbus-pcap: Add README

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: Ie310dae943f4cbe473c1851f677b304685a4bd63

41d8151b06-May-2020 Ravi Teja <raviteja28031990@gmail.com>

Remove unnecessary prints in systemdump code

Signed-off-by: Ravi Teja <raviteja28031990@gmail.com>
Change-Id: I9cae374a4029a25de00f869cd6cb468082356fe0

c42e4e5c13-May-2020 Justin Thaler <thalerj@us.ibm.com>

Update OpenBMC tool version to 1.19

This commit updates openbmctools version to 1.19 as an official release.

Signed-off-by: Justin Thaler <thalerj@us.ibm.com>
Change-Id: Ib28ea042072e57dca069510c4a

Update OpenBMC tool version to 1.19

This commit updates openbmctools version to 1.19 as an official release.

Signed-off-by: Justin Thaler <thalerj@us.ibm.com>
Change-Id: Ib28ea042072e57dca069510c4ac3e20cf5a60b45

show more ...

b6df2d1007-May-2020 Lei YU <yulei.sh@bytedance.com>

obmc-gerrit: Add typing in requirements.txt

Otherwise it's missing the dependency.

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: Ifb80954ca26fc089814e7b13522362f0dc6ab150

b425667907-Apr-2020 Justin Thaler <thalerj@us.ibm.com>

Fix Collect Service Data function set

Provides fixes to error handling within the collect service data
functions. Additional exception data is added, along with handling dump
creation better, and im

Fix Collect Service Data function set

Provides fixes to error handling within the collect service data
functions. Additional exception data is added, along with handling dump
creation better, and improving the timeout for the dumps to be created.

Signed-off-by: Justin Thaler <thalerj@us.ibm.com>
Change-Id: Ib74b3792940d52474c12831fccbdef39d8c57add

show more ...

2f59aea807-Apr-2020 Justin Thaler <thalerj@us.ibm.com>

Fix bmcDumpCreate function

This provides a patch for the dump create function to provide better
messages when errors happen, including when the dump space is full. This
supports the new behavior whe

Fix bmcDumpCreate function

This provides a patch for the dump create function to provide better
messages when errors happen, including when the dump space is full. This
supports the new behavior where the dumps are not automatically
rolled, but require manual deletion before a new entry is created.

Signed-off-by: Justin Thaler <thalerj@us.ibm.com>
Change-Id: I89269e3eb508718fd2bb5ebef97dced8f8da6748

show more ...

3b3c658d07-Apr-2020 Justin Thaler <thalerj@us.ibm.com>

Fix bmcDumpList function output

This patch provides a fix for the dump list command to only return dump
entries instead of including the manager and other various endpoints
which could break calling

Fix bmcDumpList function output

This patch provides a fix for the dump list command to only return dump
entries instead of including the manager and other various endpoints
which could break calling functions. Now only numerically numbered
entries are returned.

Signed-off-by: Justin Thaler <thalerj@us.ibm.com>
Change-Id: I6051c46f69b45d6b262fc84ef2aa5dc62a46611b

show more ...

0a3e169c07-Apr-2020 Justin Thaler <thalerj@us.ibm.com>

Fix dumpCreate function

The dumpCreate function was erroneously calling the bmcDumpDelete
function instead of the bmcDumpCreate function. This commit corrects the
issue.

Signed-off-by: Justin Thale

Fix dumpCreate function

The dumpCreate function was erroneously calling the bmcDumpDelete
function instead of the bmcDumpCreate function. This commit corrects the
issue.

Signed-off-by: Justin Thaler <thalerj@us.ibm.com>
Change-Id: I7fc97ba574f9c44afdb2bd4bbf7b9c4f74ebc34e

show more ...

667f87cf06-Apr-2020 Justin Thaler <thalerj@us.ibm.com>

Fix sel parsing

This adds some fixes to the sel parsing for providing bad output for
policy table matches, and when parsing BMC api dumps in a file. The
tool now has assurances that it is indeed par

Fix sel parsing

This adds some fixes to the sel parsing for providing bad output for
policy table matches, and when parsing BMC api dumps in a file. The
tool now has assurances that it is indeed parsing a sel entry and not
callouts, or other API endpoints by ignoring any api entry that's not in
the /logging/entry space.

Signed-off-by: Justin Thaler <thalerj@us.ibm.com>
Change-Id: I7bde829232fd8dd6edcf9b6b25492e1c1b6a663c

show more ...

d8be0b4318-Mar-2020 Ravi Teja <raviteja28031990@gmail.com>

openbmctool: Add system dump operations support

Added support for system dump create,delete,retreive
and list operations

Testing:
python3 openbmctool.py -U root -P password -H <9.xx.xx.x> dump -t S

openbmctool: Add system dump operations support

Added support for system dump create,delete,retreive
and list operations

Testing:
python3 openbmctool.py -U root -P password -H <9.xx.xx.x> dump -t SystemDump list
python3 openbmctool.py -U root -P password -H <9.xx.xx.x> dump -t SystemDump retrieve -s /tmp/verifydump -n 2
python3 openbmctool.py -U root -P password -H <9.xx.xx.x> dump -t SystemDump delete -n 2
python3 openbmctool.py -U root -P password -H <9.xx.xx.x> dump -t SystemDump delete all

Change-Id: I0a0d0dfea3d1cbe72bc6f8d3b8adbddc42ee29d7
Signed-off-by: Ravi Teja <raviteja28031990@gmail.com>

show more ...

0ee11c1707-Feb-2020 Justin Thaler <thalerj@us.ibm.com>

Add build script for generating packages

This adds a build script using make and removes the shell script that
was in place. It can generate deb packages and rpm packages. Versioning
is controlled i

Add build script for generating packages

This adds a build script using make and removes the shell script that
was in place. It can generate deb packages and rpm packages. Versioning
is controlled in the top of the make file by setting the proper
variables. RHEL 7 and RHEL 8 use different spec files due to the
different naming conventions of the packages in the major releases. A
supported install and remove method are also provided.

Signed-off-by: Justin Thaler <thalerj@us.ibm.com>
Change-Id: I031d3e6af4ced0ef8281124f6e89401a7291e141

show more ...

df35d13a03-Feb-2020 Justin Thaler <thalerj@us.ibm.com>

Increment to version 1.18

Updates the toolversion to 1.18 and marks a release point.

Change-Id: Id5e86b3cb7f49ad540a3a8ea38fb6bc5a7b98a15
Signed-off-by: Justin Thaler <thalerj@us.ibm.com>


3962cbc030-Jan-2020 Justin Thaler <thalerj@us.ibm.com>

Update policy table to 1.8.5

This updates the policy table to 1.8.5 to add support for mihawk power
subsystem errors.

Change-Id: Ifaf9f9939705fd6802fd660076fc809fb00f5f4d
Signed-off-by: Justin Thal

Update policy table to 1.8.5

This updates the policy table to 1.8.5 to add support for mihawk power
subsystem errors.

Change-Id: Ifaf9f9939705fd6802fd660076fc809fb00f5f4d
Signed-off-by: Justin Thaler <thalerj@us.ibm.com>

show more ...

b35f1d3221-Jan-2020 Andrew Jeffery <andrew@aj.id.au>

dbus-pcap: Add timestamp for regular output

json output remains without the timestamp for now.

Change-Id: I2c34356840d2bda8d6c70f4cbe9b7d95276859a1
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

e36ebc0d20-Jan-2020 Andrew Jeffery <andrew@aj.id.au>

ddconvnotrunc: Implement conv=notrunc support for busybox dd

ddconvnotrunc is a wrapper for dd that implements support for
conv=notrunc if the system dd doesn't support it (e.g. busybox dd).
conv=no

ddconvnotrunc: Implement conv=notrunc support for busybox dd

ddconvnotrunc is a wrapper for dd that implements support for
conv=notrunc if the system dd doesn't support it (e.g. busybox dd).
conv=notrunc is useful for assembling binary images or patching binary
files based on other files.

Install it as /usr/local/bin/dd.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I651b92956226d0917248f8ecd6e4af758747743d

show more ...

e958c6a406-Dec-2019 Gunnar Mills <gmills@us.ibm.com>

Remove cla-signers

cla-signers is really out of date. Caused some confusion due to
someone believing this was an accurate list.

cla-signers is a neat idea, but if not maintained, remove to avoid
co

Remove cla-signers

cla-signers is really out of date. Caused some confusion due to
someone believing this was an accurate list.

cla-signers is a neat idea, but if not maintained, remove to avoid
confusion.

Change-Id: Ief45d4802f81b41886d5d234af7d30cf34177bed
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>

show more ...


12345678910>>...13