History log of /openbmc/openbmc-tools/ (Results 176 – 200 of 318)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
220c3c4d04-Jan-2019 Matt Spinler <spinler@us.ibm.com>

openbmctool: add support for X-Auth-Tokens

When bmcweb becomes the BMC REST/Redfish server, it will
require the session token to be passed in when doing a
PUT, POST, or DELETE. This token is obtain

openbmctool: add support for X-Auth-Tokens

When bmcweb becomes the BMC REST/Redfish server, it will
require the session token to be passed in when doing a
PUT, POST, or DELETE. This token is obtained from the
login header, and then must be passed into future commands
in the 'X-Auth-Token' header.

If bmcweb isn't being used, then the token won't come back
in the header of the login command, and the code knows not
to try to use it later.

While this isn't needed on GETs, the code does it anyway
to simplify things.

Tested: Tested against both old and new REST servers, for
example powering systems on and off.

Change-Id: I290715199b3636b213a8e014789bbed2e5c0a40b
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...

47b13e9f04-Jan-2019 Matt Spinler <spinler@us.ibm.com>

openbmctool: Fix capitalization on DeleteAll

When the BMC moves to using bmcweb as the REST server,
it needs case sensitive method names.

Change-Id: I3a070b272cdeb3a8a5b00ea29ba74c6a8f059a68
Signed

openbmctool: Fix capitalization on DeleteAll

When the BMC moves to using bmcweb as the REST server,
it needs case sensitive method names.

Change-Id: I3a070b272cdeb3a8a5b00ea29ba74c6a8f059a68
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...

678715ae11-Dec-2018 James Feist <james.feist@linux.intel.com>

Add json formatter script

This script is currently used in entity-manager
to auto format configurations. Basically it just
runs the json through python's json library and
outputs the json formatted

Add json formatter script

This script is currently used in entity-manager
to auto format configurations. Basically it just
runs the json through python's json library and
outputs the json formatted alphabetically.

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

show more ...

1ace1bdc01-Nov-2018 Ed Tanous <ed.tanous@intel.com>

Rootfs filesize analysis tool

This commit checks in a tool to be used for analysing the space taken up
in the rootfs, as well as an overnight run from my system.

Most other tools give estimates of

Rootfs filesize analysis tool

This commit checks in a tool to be used for analysing the space taken up
in the rootfs, as well as an overnight run from my system.

Most other tools give estimates of the space savings given when things
are deleted by either xz compressing the individual file, and measuring
the cost, or doing some other things.

This script actually attempts to remove the file or folder in question,
and rebuild the squashfs without it, then measure the size savings. It
loops this over the entire filesystem (excluding symlinks) and sorts the
result by size savings.

It takes a _very_ long time to run (several hours on a very fast
machine) but should give the most accurate answer to "what can we delete
to reduce our flash usage".

Some things that surprised me:
1. Deleting python would save us ~2.7MB in the rootfs size after the
/usr/lib/python2.7 delete (2.2MB), and the libpython removal (500KB)

2. Redfish static data is taking up more space than originally thought
with the latest revisions of the spec. Filtering the schema files down
to the ones we actually use would probably save us 100KB.

3. keymaps take up 430KB! ! ! !. In comparison, this is almost exactly
the same size as libc takes on the bmc. A quick look at the things
shows that they're being pre-gzipped in the filsystem, which means that
the xz compressor can't compress similarities between files. Might be
something to look at.

4. bmcweb binary weighs in at 425KB. This can be optimised.

5. /usr/share/www weighs in at 678KB. We need to get this down.

6. cracklib takes up 217KB. This seems kinda lame.

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

show more ...

ff8035f805-Dec-2018 Obihörnchen <Markus.Hilger@de.ibm.com>

Fix TypeError in fru status vebose output

It is a list, not a dictionary.
Fixes: `TypeError: list indices must be integers, not unicode`

Change-Id: Ieff2d833867255a8019129b4b69f0353e3fc967e
Signed-

Fix TypeError in fru status vebose output

It is a list, not a dictionary.
Fixes: `TypeError: list indices must be integers, not unicode`

Change-Id: Ieff2d833867255a8019129b4b69f0353e3fc967e
Signed-off-by: Markus Hilger <Markus.Hilger@de.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...

9f4b456516-Nov-2018 Justin Thaler <thalerj@us.ibm.com>

Add Certificate Errors to Policy Table

This adds the certificate errors to the policy table.
This also provides a correction to an alert with the
call home property not populated properly.

Change-I

Add Certificate Errors to Policy Table

This adds the certificate errors to the policy table.
This also provides a correction to an alert with the
call home property not populated properly.

Change-Id: Ieeb6e2e4aa172592a8855e4ec063b0250b9c6bac
Signed-off-by: Justin Thaler thalerj@us.ibm.com
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...

c6b0ce4f09-Nov-2018 Ratan Gupta <ratagupt@linux.vnet.ibm.com>

Add openbmctool documentation for LDAP Configuration

Added section related to create/delete LDAP configuration.
Added section related to create/delete/list privilege mapping.

Change-Id: If26a1ddffe

Add openbmctool documentation for LDAP Configuration

Added section related to create/delete LDAP configuration.
Added section related to create/delete/list privilege mapping.

Change-Id: If26a1ddffe20532b4892edd028b5462dacadc34e
Signed-off-by: Ratan Gupta <ratagupt@linux.vnet.ibm.com>

show more ...

5af2fad008-Nov-2018 Adriana Kobylak <anoo@us.ibm.com>

openbmctool: Add option to delete firmware version

Add an option to delete an existing firmware version. This is
useful is the user would want to delete a version prior to
updating or just to remove

openbmctool: Add option to delete firmware version

Add an option to delete an existing firmware version. This is
useful is the user would want to delete a version prior to
updating or just to remove it completely from their system.

Tested: Verified that the "firmware delete <id>" option
deleted the version from the bmc and was not displayed anymore in the
"firmware list" output.

Change-Id: I649b6e50d6b787b36e522daa14b4fcbd6ae2f4c9
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...

7883527827-Nov-2018 Sivas SRR <sivas.srr@in.ibm.com>

To delete all group and its privileges

- Single command to delete all group and its privileges.

Change-Id: I47c7b63017a8b2fc661be2e54a5eff9e544b2c86
Signed-off-by: Sivas SRR <sivas.srr@in.ibm.com>

f21d43cf19-Nov-2018 Nagaraju Goruganti <ngorugan@in.ibm.com>

openbmctool: add network related commands #3

added below givem commands:
-enableVLAN
-disableVLAN
-viewDHCPConfig
-configureDHCP
-factoryReset

Change-Id: Ib83eb50538ddca6d7c544e4aac3ba57acd3fe089
S

openbmctool: add network related commands #3

added below givem commands:
-enableVLAN
-disableVLAN
-viewDHCPConfig
-configureDHCP
-factoryReset

Change-Id: Ib83eb50538ddca6d7c544e4aac3ba57acd3fe089
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>

show more ...

97a2060d16-Nov-2018 Nagaraju Goruganti <ngorugan@in.ibm.com>

openbmctool: add network related commands #2

added below givem commands:
-setIP
-getIP
-rmIP

Tested: used below given commands in testing
1.python openbmctool.py -H <BMC_IP> -U root -P <root passwo

openbmctool: add network related commands #2

added below givem commands:
-setIP
-getIP
-rmIP

Tested: used below given commands in testing
1.python openbmctool.py -H <BMC_IP> -U root -P <root password> network getIP -I <Interface name>
2.python openbmctool.py -H <BMC_IP> -U root -P <root password> network setIP -a <ADDRESS> \
-gw <GATEWAY> -l <PREFIXLENGTH> -p <protocol type> -I <Interface name>
3.python openbmctool.py -H <BMC_IP> -U root -P <root password> network rmIP -I <Interface name> -a <ADDRESS>

Change-Id: Icea1ac73c966eca0815f4b35054ad30a1c9ef5a5
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>

show more ...

9908bcfe14-Nov-2018 Nagaraju Goruganti <ngorugan@in.ibm.com>

openbmctool: add network related commands #1

added below givem commands:
-enableDHCP
-disableDHCP
-getHostName
-setHostName
-getDomainName
-setDomainName
-getMACAddress
-setMACAddress
-getDefaultGW

openbmctool: add network related commands #1

added below givem commands:
-enableDHCP
-disableDHCP
-getHostName
-setHostName
-getDomainName
-setDomainName
-getMACAddress
-setMACAddress
-getDefaultGW
-setDefaultGW
-view-config
-getNTP
-setNTP
-getDNS
-setDNS

Tested: used below given commands in testing
1.python openbmctool.py -H <BMC_IP> -U root -P <root password> network enableDHCP -I <Interface name>
2.python openbmctool.py -H <BMC_IP> -U root -P <root password> network disableDHCP -I <Interface name>
3.python openbmctool.py -H <BMC_IP> -U root -P <root password> network getHostName
4.python openbmctool.py -H <BMC_IP> -U root -P <root password> network setHostName -H <host name>
5.python openbmctool.py -H <BMC_IP> -U root -P <root password> network getDomainName -I <Interface name>
6.python openbmctool.py -H <BMC_IP> -U root -P <root password> network setDomainName -I <Interface name> -D DomainName1,DomainName2,..
7.python openbmctool.py -H <BMC_IP> -U root -P <root password> network getMACAddress -I <Interface name>
8.python openbmctool.py -H <BMC_IP> -U root -P <root password> network setMACAddress -I <Interface name> -MA xx:xx:xx:xx:xx
9.python openbmctool.py -H <BMC_IP> -U root -P <root password> network getDefaultGW
10.python openbmctool.py -H <BMC_IP> -U root -P <root password> network setDefaultGW -GW <default gw>
11.python openbmctool.py -H <BMC_IP> -U root -P <root password> network view-config
12.python openbmctool.py -H <BMC_IP> -U root -P <root password> network getNTP -I <Interface name>
13.python openbmctool.py -H <BMC_IP> -U root -P <root password> network setNTP -I <Interface name> -N NTP1,NTP2,...
14.python openbmctool.py -H <BMC_IP> -U root -P <root password> network getDNS -I <Interface name>
15.python openbmctool.py -H <BMC_IP> -U root -P <root password> network setDNS -I <Interface name> -d DNS1,DNS2,...

Change-Id: I767536e93588285fcff89ab241586cdb122529c7
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>

show more ...

2c2a516105-Nov-2018 Marri Devender Rao <devenrao@in.ibm.com>

Add command to change local user password

Modifies the password of the local user specified using -U
with the password specified using -p

Tested:
-bash-4.2$ python openbmctool.py -H xx.xx.xx.xx -U

Add command to change local user password

Modifies the password of the local user specified using -U
with the password specified using -p

Tested:
-bash-4.2$ python openbmctool.py -H xx.xx.xx.xx -U root -P 0penbmc set_password -p '0penBmc'
Attempting login...
{
"data": null,
"message": "200 OK",
"status": "ok"
}

Change-Id: I64c435c0f5c6286144682767149610a1ff3efbe5
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>

show more ...

964ae7b114-Nov-2018 Andrew Geissler <geissonator@yahoo.com>

Run beautify and update for python3

This wasn't working with latest python due to
invalid tabs and the print statements not having ()

Change-Id: I59c9af03ed79adc7eb00149e9a0f8f0d41370fe9
Signed-off

Run beautify and update for python3

This wasn't working with latest python due to
invalid tabs and the print statements not having ()

Change-Id: I59c9af03ed79adc7eb00149e9a0f8f0d41370fe9
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...

1cf2591908-Nov-2018 Justin Thaler <thalerj@us.ibm.com>

Update Policy Table to 1.8

Adds in new errors for the new functions added
in prior commits. Also adds in fixes for several
fields that were left null when they should not
have been.

Change-Id: Ie72

Update Policy Table to 1.8

Adds in new errors for the new functions added
in prior commits. Also adds in fixes for several
fields that were left null when they should not
have been.

Change-Id: Ie72b08c76d0fc9b87e35a542045f38e61d907d04
Signed-off-by: Justin Thaler <thalerj@us.ibm.com>
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>

show more ...

24d4efaf08-Nov-2018 Justin Thaler <thalerj@us.ibm.com>

Add patch for running errl parser in parallel

Creates a fix so when multiple users/programs parse esels, they do not hang.

Change-Id: Ib983f16ce81b62221803f84a3a010ff2ab37132a
Signed-off-by: Justin

Add patch for running errl parser in parallel

Creates a fix so when multiple users/programs parse esels, they do not hang.

Change-Id: Ib983f16ce81b62221803f84a3a010ff2ab37132a
Signed-off-by: Justin Thaler thalerj@us.ibm.com
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>

show more ...

4303042c08-Nov-2018 Justin Thaler <thalerj@us.ibm.com>

Improve parsed esel readability

Provides a minor enhancement to readability.

Change-Id: If707daab3ef82c1210b502e9002be88372af5338
Signed-off-by: Justin Thaler thalerj@us.ibm.com
Signed-off-by: Naga

Improve parsed esel readability

Provides a minor enhancement to readability.

Change-Id: If707daab3ef82c1210b502e9002be88372af5338
Signed-off-by: Justin Thaler thalerj@us.ibm.com
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>

show more ...

7df5176a08-Nov-2018 Justin Thaler <thalerj@us.ibm.com>

Update OpenBMC tool to Version 1.10

Updates the version of openbmctool to 1.10

Change-Id: If6c27a7284e4566be99297c6243d9acbf95d25ea
Signed-off-by: Justin Thaler thalerj@us.ibm.com
Signed-off-by: Na

Update OpenBMC tool to Version 1.10

Updates the version of openbmctool to 1.10

Change-Id: If6c27a7284e4566be99297c6243d9acbf95d25ea
Signed-off-by: Justin Thaler thalerj@us.ibm.com
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>

show more ...

7d1fe17113-Nov-2018 Nagaraju Goruganti <ngorugan@in.ibm.com>

openbmctool: add view-config command

Add following command to listout all LDAP configured properties.
-view-config

Tested: Tested using below given command
python openbmctool.py -H <BMC_IP> -U roo

openbmctool: add view-config command

Add following command to listout all LDAP configured properties.
-view-config

Tested: Tested using below given command
python openbmctool.py -H <BMC_IP> -U root -P <root password> ldap view-config

Change-Id: I7e2b7a3bbc7d348f5658284203c459a8cd059a3b
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>

show more ...

feee637017-Oct-2018 Ratan Gupta <ratagupt@in.ibm.com>

openbmctool: add ldap group privilege commands

Add following commands to configure privilege mapping.
ldap privilege-mapper
-create
-delete

openbmctool: add ldap group privilege commands

Add following commands to configure privilege mapping.
ldap privilege-mapper
-create
-delete
-list

Change-Id: I053d967a67d48cc512459abdbefc6b037689b962
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>

show more ...

9166cd2001-Oct-2018 Ratan Gupta <ratagupt@in.ibm.com>

openbmctool: add ldap commands

Add following commands to configure ldap.
-enableLDAP
-disableLDAP

Tested: Tested using below given commands
python openbmctool.py -H <BMC_IP> -U root -P <root passwo

openbmctool: add ldap commands

Add following commands to configure ldap.
-enableLDAP
-disableLDAP

Tested: Tested using below given commands
python openbmctool.py -H <BMC_IP> -U root -P <root password> ldap enable \
-a <LDAP URI> -B <BINDDN> -b <BASEDN> -p <BINDPASSWORD> -S <search scope> \
-t <serverType>
python openbmctool.py -H <BMC_IP> -U root -P <root password> ldap disable

Change-Id: I47fe937d004276579178b5407da3825e58151d7a
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>

show more ...

c1a00afe07-Nov-2018 Nagaraju Goruganti <ngorugan@in.ibm.com>

openbmc-tools: remove trailing spaces from all files

Change-Id: I1c71bf3359718226d27f34c9fb87723edd318814
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>

569bae7c06-Nov-2018 Jayanth Othayoth <ojayanth@in.ibm.com>

Add openbmctool documentation for certificate management

Added section related to update and delete certificates.

Change-Id: I8c01a217b80bab8e9bf85ba15ebe86edc4b8378f
Signed-off-by: Jayanth Othayot

Add openbmctool documentation for certificate management

Added section related to update and delete certificates.

Change-Id: I8c01a217b80bab8e9bf85ba15ebe86edc4b8378f
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>

show more ...

98f5213a07-Nov-2018 Deepak Kodihalli <dkodihal@in.ibm.com>

openbmctool : Add documentation for remote logging

Document commands to enable/disable and query remote logging
configuration.

Change-Id: Ie63d3733619288ca59496da926d522afd55db1a7
Signed-off-by: De

openbmctool : Add documentation for remote logging

Document commands to enable/disable and query remote logging
configuration.

Change-Id: Ie63d3733619288ca59496da926d522afd55db1a7
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>

show more ...

64e7f6ff02-Oct-2018 Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

openbmctool: add certificate management commands

Following commands are added
- Update certificate
- Delete certificate

Change-Id: I9de11f8015bb504f4584f5f001c4fca3ea48ef40
Signed-off-by: Dhruvar

openbmctool: add certificate management commands

Following commands are added
- Update certificate
- Delete certificate

Change-Id: I9de11f8015bb504f4584f5f001c4fca3ea48ef40
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

show more ...

12345678910>>...13