commit | f9bb2fac26e7398862e11d60830d45289b9ddd25 | [log] [tgz] |
---|---|---|
author | Sunitha Harish <sunithaharish04@gmail.com> | Thu Sep 19 01:48:00 2019 -0500 |
committer | sunharis <sunithaharish04@gmail.com> | Tue Sep 24 05:01:52 2019 +0000 |
tree | 6d311349164e36261b1cf9beea79670274aa96b0 | |
parent | df0e1a45d4ea13879d53d2e6e80b3011223431d3 [diff] |
Fixing wrong error messages: The commands getDNS, getNTP and getDomainName were throwing incorrect error message when they are not set in the BMC. The rmIP command was throwing error while deleting any IP address, even when the IP exists in the interface. This commit will fix the tool to throw the error only for the IP which does not exist in the interface. Tested by: 1. Delete the IP address from the eth0. python openbmctool.py -H <$bmc> -U root -P 0penBmc network rmIP -I eth0 -a <IP address> 2. getDomainName when the DomainName is not configured. python openbmctool.py -H <$bmc> -U root -P 0penBmc network getDomainName -I eth0 3. getDNS when the DNS is not configured. python openbmctool.py -H <$bmc> -U root -P 0penBmc network getDNS -I eth0 4. getNTP when the NTP is not configured. python openbmctool.py -H <$bmc> -U root -P 0penBmc network getNTP -I eth0 Signed-off-by: Sunitha Harish <sunithaharish04@gmail.com> Change-Id: I6463f78b4d6e8b15a1c512734c883b563db82dd1
The goal of this repository is to collect the two-minute hacks you write to automate interactions with OpenBMC systems.
It's highly likely the scripts don't meet your needs - they could be undocumented, dysfunctional or utterly broken. Please help us improve!
Then this repository aims to be the default destination for your otherwise un-homed scripts. As such we are setting the bar for submission pretty low, and we aim to make the process as easy as possible.
openbmc-events
: Query error events on the target serveropenbmc-sensors
: Query sensors on the target serveropenbmc-sfw
: Manage host and BMC firmware images on the target serveropenbmctool
: A general purpose tool for user interactions with OpenBMCpretty-journal
: Convert journalctl's 'pretty' output to regular outputupload_and_update
: Upload a tarball to TFTP server and update BMC with itnetboot
: Painless netboot of BMC kernelsobmc-gerrit
: Automagically add reviewers to changes pushed to Gerritreboot
: Endlessly reboot OpenPOWER hoststracing
: Enable and clean up kernel tracepoints remotelywitherspoon-debug
: Deploy the debug tools tarball to Witherspoon BMCscla-signers
: Check if a contributor has signed the OpenBMC CLAopenbmc-autobump.py
: Update commit IDs in bitbake recipes to bring in new changesPlease use gerrit for all patches to this repository:
Do note that you will need to be party to the OpenBMC CLA before your contributions can be accepted. See Gerrit Setup and CLA for more information.
So long as your patches look sane with a cursory glance you can expect them to be applied. We may push back in the event that similar tools already exist or there are egregious issues.
We don't ask for much, but you need to give us at least a Signed-off-by, and put your work under the Apache 2.0 license. Licensing everything under Apache 2.0 will just hurt our heads less. Lets keep the lawyers off our backs. ^
^Any exceptions must be accompanied by a LICENSE file in the relevant subdirectory, and be compatible with Apache 2.0. You thought you would get away without any fine print?
There's no standard way to install the scripts housed in the here, so adding parts of the repository to your PATH might be a bit of a dice-roll. We may also move or remove scripts from time to time as part of housekeeping. It's probably best to copy things out if you need stability.