| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Re-added since cxmanage info does not get FRU versions anymore
Added copyright information nojira
|
| | |
|
| |
| |
| |
| |
| | |
FRU reads on SB12 are pretty slow -- the whole process can take up
to 30 minutes on a 24-node fabric. Oiy.
|
| |
| |
| |
| | |
not turned on or off, respectively.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Added NoFRUVersionError
Added FRU versions to node.get_versions(). (Now cxmanage info and tspackage
get FRU versions.)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
node.py
Added private method to read FRUs
Added get_node_fru_version()
Added get_slot_fru_version()
Removed unneeded import
Fabric.py
Added methods to get node FRU version and slot FRU version
Added a fru_version command for cxmanage: fru_version.py
Minor formatting in scripts/cxmanage
|
| | |
|
| |
| |
| |
| |
| | |
node.get_chip_name() is no longer supported.
Changed fabric_test.py and node_test.py to reflect these changes.
|
| |\ |
|
| | | |
|
| | | |
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
We don't want that os.fork() mess. The disadvantage to a Thread
approach is that we lose the kill() method, but who uses that?
If we later need the kill() functionality, we can come along and
use the multiprocessing module to do it properly.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Moved COMPONENTS back to cxmanage/__init__.py
Changed info.py and tspackage to reference the correct COMPONENTS
Removed get_components() from node.py
node.get_versions() changes the a#_boot string rather than get_components()
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added a function to determine whether a node is running on Highbank or
Midway based on firmware version (This method of checking should change to
something better in the future)
Moved the COMPONENTS from __init__ and made it a function in node.py
Changed all references to COMPONENTS to correctly call node.get_components()
node.get_components() returns "A9" or "A15" in the list depending on
which chip the node is using.
|
| |\
| | |
| | |
| | | |
Merge branch 'master' of ssh://git.calxeda.com/var/git/cx_manage_util
|
| | |
| | |
| | |
| | |
| | |
| | | |
Added a function to get uplink info through node.py
Changed fabric.get_uplink_info() to use node.py's new function
(node.get_fabric_uplink_info() is untouched)
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
July 2013 release candidate 1
Conflicts:
cxmanage_api/node.py
|
| | |
| | |
| | |
| | |
| | | |
This was preventing the ubootenv boot order and pxe config from
being preserved.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It's squashing another error that prevents ubootenv updates from
working -- boot order and pxe config aren't preserved as they
should be.
To fix this, replace UnknownBootCmdError with UbootenvError. Just
something more general to say "we can't recognize the environment".
UbootEnv can raise that instead of Exception.
|
| | |
| | |
| | |
| | | |
pyipmi v0.8.0, ipmitool 1.8.11-cx7
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This provides a mechanism so we can easily parallelize BMC calls
without having to manually write wrapper functions in the Node and
Fabric classes.
>>> fabric.cbmc.sel_clear()
|
| |/
| |
| |
| | |
And unit tests!
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
You can now run things like:
cxmanage config pxe status
cxmanage config pxe eth1
cxmanage config pxe eth0
The command modifies the u-boot environment underneath in order
to perist the setting.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When we load tests from modules, each testcase gets initialized,
therefore a fabric is created for every test case based on the manifest.
This caused a problem with LTP which generated ~1000 tests, thus ~1000
fabrics and finally ~1000 Internal tftp servers.
Move tftp to lazy init so we only create one when we need one, on
demand.
|
| |
| |
| | |
Fixed set_uplink() example to be more verbose.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| | |
Oh yea .. Eclipse was kind enough to clean up some whitespace ...
|
| | |
|
| |
| |
| |
| | |
Give each node a node_id.
|
| |
| |
| |
| |
| | |
node.py
Cleaned up code
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
node.py
Logs are now saved to:
~/.cxmanage/logs/<node.ip_address>/<timestamp>-fwupdate.log
Removed arguments to update_firmware() (formerly needed for the old
way of saving logs)
Removed a logger.info() stating the time (every message states the time)
fw.py
Removed unneeded arguments to the call to update_firmware()
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
node.py
Uses loggers.FileLogger instead of FileLogger.py
Removed unneeded function _append_to_file()
Removed unneeded imports
Removed filelogger.py
Added loggers.py (copied from cx_automation)
|