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

black: re-format

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

Signed-off-by: Patrick Will

black: re-format

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

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

show more ...


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

Revert "black: re-format"

This reverts commit 5731818de0ce446ceaafc7e75ae39da1b69942ae.

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


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

black: re-format

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

Change-Id: If1010ead857d413

black: re-format

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

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

show more ...


Revision tags: robotframework-requests
# 389e7497 04-Apr-2022 George Keishing <gkeishin@in.ibm.com>

sudo user option update for BMC execute command

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


# 2104d5f9 31-Jan-2022 George Keishing <gkeishin@in.ibm.com>

Add support to run as sudo user on BMC

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


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

Update python code for python 3.8 or higher compatibility

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

Update python code for python 3.8 or higher compatibility

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

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

show more ...


Revision tags: v2.10-Hardknott
# 632f9a44 24-Feb-2021 Michael Shepos <shepos@us.ibm.com>

Fix syntax warning

Signed-off-by: Michael Shepos <shepos@us.ibm.com>
Change-Id: I76662ba1830484a316934011482eb6fb485c10fc


# 3390c85e 11-Feb-2021 Michael Shepos <shepos@us.ibm.com>

Support Wait State keyword inside plugin.

Signed-off-by: Michael Shepos <shepos@us.ibm.com>
Change-Id: If6120c480efdc65ab031fbdb0570b0b19860a768


Revision tags: v2.8.0-stable
# 046fe223 08-Nov-2019 Michael Walsh <micwalsh@us.ibm.com>

Use SSH_PORT/HTTPS_PORT in basic functions

- In order to improve the code base's ability to run with simulated
machines, specified SSH_PORT and HTTPS_PORT in basic functions that
com

Use SSH_PORT/HTTPS_PORT in basic functions

- In order to improve the code base's ability to run with simulated
machines, specified SSH_PORT and HTTPS_PORT in basic functions that
communicate with the OBMC machine.
- Also adjusted some calls to set or pass SSH_PORT and HTTPS_PORT.

Change-Id: If3a8b317eda80ac9c071c51084ede20ce3023484
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>

show more ...


# 410b1787 22-Oct-2019 Michael Walsh <micwalsh@us.ibm.com>

Change several python and robot files to 110 chars

Taking advantage of current team limit of 110 chars.

Change-Id: If7ab51fe894889967b8c8bb2f2fa4664f01117d5
Signed-off-by: Micha

Change several python and robot files to 110 chars

Taking advantage of current team limit of 110 chars.

Change-Id: If7ab51fe894889967b8c8bb2f2fa4664f01117d5
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>

show more ...


Revision tags: v2.7-warrior-stable, v2.6-thud-stable
# 36efbc04 12-Dec-2018 George Keishing <gkeishin@in.ibm.com>

Python 2.7x and 3.xx compatibility fixes

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


Revision tags: v2.2-stable
# 20a34c00 24-Sep-2018 George Keishing <gkeishin@in.ibm.com>

Fix python3.x errors

Error: ModuleNotFoundError: No module named 'exceptions'

Resolves openbmc/openbmc-test-automation#1428

Change-Id: Ie0956670e8345dcda880feb02b7d96a045

Fix python3.x errors

Error: ModuleNotFoundError: No module named 'exceptions'

Resolves openbmc/openbmc-test-automation#1428

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

show more ...


# c39c372f 07-Aug-2018 Michael Walsh <micwalsh@us.ibm.com>

Added time_out parms to bmc_ssh_utils function definitions

Added time_out parm to os_execute_command and bmc_execute_command
definitions.

Change-Id: If1acdeab14bc40ea5ecd530e0fc

Added time_out parms to bmc_ssh_utils function definitions

Added time_out parm to os_execute_command and bmc_execute_command
definitions.

Change-Id: If1acdeab14bc40ea5ecd530e0fc5f20ebc93610b
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>

show more ...


Revision tags: v2.1-stable, v2.0-stable
# 8243ac91 02-May-2018 Michael Walsh <micwalsh@us.ibm.com>

New Device Write command keyword

Change-Id: Ie9d08348894578a1e7bb80b482e08e972bbfda9b
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>


# 096cd565 26-Mar-2018 Gunnar Mills <gmills@us.ibm.com>

Fixed PEP 8 style using autopep8

Used autopep8 to correct styling.
Ran autopep8 on openbmc-test-automation, autopep8 is not
able to fix all styling issues. There is still around

Fixed PEP 8 style using autopep8

Used autopep8 to correct styling.
Ran autopep8 on openbmc-test-automation, autopep8 is not
able to fix all styling issues. There is still around
1000 styling violations in openbmc-test-automation.
More information on autopep8 can be found here,
https://pypi.python.org/pypi/autopep8

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

show more ...


# d690150c 14-Nov-2017 Michael Walsh <micwalsh@us.ibm.com>

Remove hashtag lines from all .py files.

Change-Id: Ib2b52f6ff71c8f553e0cfb1936c8e0917e70c619
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>


# 78fa29a7 31-Jul-2017 Michael Walsh <micwalsh@us.ibm.com>

Added new xcat_execute_command keyword.

Change-Id: I2c9dbd5d7504ae1e506b3cd8425da1fc9a327785
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>


# 3cc126a3 30-Jun-2017 Michael Walsh <micwalsh@us.ibm.com>

Provide new bmc_execute_command and os_execute_command functions.

These functions will obtain host, username, password from globals and
switch to the appropriate ssh connection prior to

Provide new bmc_execute_command and os_execute_command functions.

These functions will obtain host, username, password from globals and
switch to the appropriate ssh connection prior to executing command.

Change-Id: I9677c39451428b39f7afcb5feca6da38e5dd3cae
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>

show more ...