| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
It was missing.
|
| |
|
|
|
|
| |
It's task.error, not task.errors.
|
| |
|
|
|
|
|
| |
These used to be hidden, but I forgot to pass the "verbose" arg
for the default TFTP server.
|
| |
|
|
|
|
|
| |
This doesn't at all fix the problem, but should hopefully point
people in the right direction if their TFTP transfers are failing.
|
| |
|
|
|
|
|
|
| |
The cxmanage script was using it's own default of 4, instead of the
default specified in cxmanage_api. Let's just go with the api
default instead.
|
|
|
|
|
| |
It's no longer used by hb_spif, and needs to be rewritten from
scratch anyway.
|
|
|
|
|
|
|
| |
There's still a lot of refactoring that needs to be done. It's a
bit clunky the way it's all connected together.
But it's a start.
|
|
|
| |
Fixed a documentation typo in generate_api_rst.py
|
|
|
|
|
|
|
|
|
|
|
|
| |
This prompt only applies to the "fwupdate" and "config reset"
commands. This is so the user can make sure we got the expected
node count from ipinfo.
The -n option can be used to provide the expected number of nodes
and skip the prompt, I.E. "cxmanage -a -n 48 fwupdate ..."
The check/prompt can also be skipped entirely with the --force
option.
|
| |
|
|
|
|
|
|
| |
cxmanage_plugin_internal doesn't work at this point. I don't think
it does anything useful, but if we ever need some internal-only
stuff, I think it makes more sense as a separate app anyway.
|
| |
|
| |
|
|
|
|
|
|
| |
* Moved generate_api_rst.py with Makefile.
* Added _static template directory (for additional styling)
* conf.py got auto-formatted by eclipse
|
| |
|
| |
|
|
|
| |
which is now get_versions()
|
|
|
|
| |
Need pyipmi 0.6.0, and ipmitool 1.8.11.0-cx3.
|
|
|
|
|
|
|
|
|
| |
version -> firmware_version
soc_version -> ecme_version
timestamp -> ecme_timestamp
build_number -> ecme_build_number
Note that build number won't be included with newer hosts.
|
|
|
|
|
| |
This applies to info_basic_dict() as well. Changed in both Node and
Fabric.
|
|
|
|
|
|
| |
CXMAN-164: (subtask)
* Added get_firmware_info_dict() and info_basic_dict() to
Node and Fabric classes.
* Sphinx doc'd new functions and aligned existing format.
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This has a couple nice advantages. We can reduce the overhead of an
idle TaskQueue, change their thread count, etc.
Also using a deque internally, instead of a Queue. Seems to give
better performance with large task counts.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
TaskQueue uses a more traditional thread pool pattern, which gives
us a bit more flexibility in how we use it.
This means the fabric num_threads parameter is gone; it takes in an
optional TaskQueue object instead. By default, all fabrics use a
single, shared default TaskQueue with 48 threads.
|
| |
| |
| |
| | |
This makes it easier to access sensors by their names.
|
|/
|
| |
the fabric_basics tutorial.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Specifying an IP address for InternalTftp just overrides the
automatic discovery, nothing else. This is necessary for a host
under NAT to use an externally-facing IP address instead of its
internal one.
Also, InternalTftp.get_address now returns "localhost" if no
ip_address or relative_host are specified.
|
|
|
|
|
|
| |
Fedora and Ubuntu are seeing different results from the 'file'
command, so we can't rely on it for the various data images. Still
works with SOC_ELF images though.
|
|
|
|
|
|
|
| |
<docs/fab_basics.rst>: Finished adding detailed description of
tutorial. Formatted sphinx doc code.
<docs/index.rst>: Formatted sphinx doc code.
|
|
|
|
|
|
|
|
| |
* Made some minor tweaks to Sphinx doc configuration.
* Made default max_threads=48 for a Fabric.
* Took our get_port() and all references, the port member can just be
accessed directly. Also removed the corresponding test.
Ran all tests, they passed.
|
| |
|
|
|
|
|
|
|
|
| |
We want to avoid unnecessary assumptions about the info that's
being returned. This way, the node ID and port are preserved as
keys.
Also cleaned up some pylint warnings.
|
| |
|
|
|
|
|
| |
This once again gives us the option to get MAC addresses for the
whole fabric, from one node, via. TFTP transfer.
|
|
|
|
|
| |
preview available at:
http://10.20.2.172/
|
| |
|
|
|
|
|
|
|
| |
* Made functions that don't return anything stop returning None.
* Updated some links in index.rst
Documentation Preview at:
http://10.20.2.172/
|
|
|
|
|
|
|
|
|
| |
Don't perform node discovery until fabric.nodes is accessed
for the first time.
This allows us to create a fabric object at a time that the
system may not be ready, and then use it later when the system
is ready.
|
|
|
|
|
| |
tftpy can raise a TypeError that says "an integer is required".
Let's raise a TftpException instead.
|
|
|
|
|
| |
I.E. "Node failed to reach TFTP server" instead of "Failed to
retrieve IP info."
|