summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump to v0.7.1v0.7.1George Kraft2012-12-181-1/+1
|
* Add Calxeda copyright to cx_exceptions.pyGeorge Kraft2012-12-181-0/+30
| | | | It was missing.
* CXMAN-178: Maintain node ordering for "sensor" command outputGeorge Kraft2012-12-182-12/+15
|
* CXMAN-177: Fabric: Handle task errors properlyGeorge Kraft2012-12-183-2/+27
| | | | It's task.error, not task.errors.
* Bump to v0.7.0v0.7.0George Kraft2012-12-171-1/+1
|
* cxmanage: Hide tftpy warningsGeorge Kraft2012-12-171-1/+1
| | | | | These used to be hidden, but I forgot to pass the "verbose" arg for the default TFTP server.
* setup.py: Add cxmanage.commands to packagesGeorge Kraft2012-12-171-1/+1
|
* CXMAN-142: Add a warning message when TFTP transfers failGeorge Kraft2012-12-173-66/+24
| | | | | This doesn't at all fix the problem, but should hopefully point people in the right direction if their TFTP transfers are failing.
* Bump pyipmi requirement to v0.6.2George Kraft2012-12-121-1/+1
|
* CXMAN-121: Raise the default thread count to 48George Kraft2012-12-122-4/+8
| | | | | | 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.
* Remove the "cxpackage" scriptGeorge Kraft2012-12-122-153/+1
| | | | | It's no longer used by hb_spif, and needs to be rewritten from scratch anyway.
* CXMAN-172: Split the "cxmanage" script into multiple filesGeorge Kraft2012-12-1212-753/+1069
| | | | | | | 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.
* CXMAN-170: Turned on auto-indexing. Added contents page.evasquez2012-12-124-7/+15
| | | Fixed a documentation typo in generate_api_rst.py
* CXMAN-151: Add a prompt to verify the node countGeorge Kraft2012-12-111-19/+37
| | | | | | | | | | | | 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.
* CXMAN-168: cxmanage: Add minimum and maximum to the sensor commandGeorge Kraft2012-12-111-39/+27
|
* Remove support for pluginsGeorge Kraft2012-12-111-88/+76
| | | | | | 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.
* Bump pyipmi requirement to 0.6.1George Kraft2012-12-102-2/+2
|
* CXMAN-144: Node: Catch errors from bmc.get_fabric_macaddr properly.George Kraft2012-12-101-8/+11
|
* CXMAN-169: evasquez2012-12-104-25/+94
| | | | | | * Moved generate_api_rst.py with Makefile. * Added _static template directory (for additional styling) * conf.py got auto-formatted by eclipse
* CXMAN-173: Fixed Sphinx doc warningevasquez2012-12-101-9/+9
|
* Small formatting fix to cure a Sphinx docgen warning.evasquez2012-12-102-50/+9
|
* CXMAN-165: Fixed broken http links in docs that pointed to info_basicevasquez2012-12-071-3/+10
| | | which is now get_versions()
* Bump pyipmi and ipmitool requirementsGeorge Kraft2012-12-072-3/+3
| | | | Need pyipmi 0.6.0, and ipmitool 1.8.11.0-cx3.
* CXMAN-167: Change the get_versions() field namesGeorge Kraft2012-12-074-31/+33
| | | | | | | | | 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.
* CXMAN-165: Rename info_basic() to get_versions()George Kraft2012-12-075-31/+30
| | | | | This applies to info_basic_dict() as well. Changed in both Node and Fabric.
* CXMAN-162:evasquez2012-12-073-64/+416
| | | | | | 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.
* CXMAN-154: Created basic tutorial for fw update.evasquez2012-12-051-2/+104
|
* CXMAN-152: Sphinxdoc'd tasks.pyevasquez2012-12-053-18/+49
|
* Merge branch 'master' of ssh://git.calxeda.com/var/git/cx_manage_utilevasquez2012-12-0410-438/+272
|\
| * Clean up some docstrings a little bitGeorge Kraft2012-12-042-5/+1
| |
| * CXMAN-150: Don't busy-wait on Task.join()George Kraft2012-12-041-13/+19
| |
| * CXMAN-150: TaskQueue: Only spawn threads as neededGeorge Kraft2012-12-041-19/+48
| | | | | | | | | | | | | | | | 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.
| * CXMAN-150: Replace the Command class with a TaskQueueGeorge Kraft2012-12-048-423/+230
| | | | | | | | | | | | | | | | | | 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.
| * CXMAN-161: Node: Make get_sensors return a dict instead of a listGeorge Kraft2012-12-043-10/+6
| | | | | | | | This makes it easier to access sensors by their names.
* | CXMAN-153: Started adding fw_upgrade tutorial. Made it consistent withevasquez2012-12-043-5/+95
|/ | | the fabric_basics tutorial.
* setup.py: add sphinx and cloud_sptheme as depsJason Hobbs2012-11-301-1/+7
|
* InternalTftp: Always listen on all interfacesGeorge Kraft2012-11-292-10/+5
| | | | | | | | | | 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.
* CXMAN-156, CXMAN-157: Skip 'file' check for most image typesGeorge Kraft2012-11-291-11/+9
| | | | | | 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.
* <CXMAN-153>: evasquez2012-11-292-49/+110
| | | | | | | <docs/fab_basics.rst>: Finished adding detailed description of tutorial. Formatted sphinx doc code. <docs/index.rst>: Formatted sphinx doc code.
* * Added a Fabric code example (still on-going)evasquez2012-11-287-53/+190
| | | | | | | | * 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.
* Don't try to verify an Image until it's finished being constructedDavid Schwarz2012-11-271-3/+5
|
* get_fabric_macaddrs: Use dictionaries instead of listsGeorge Kraft2012-11-273-12/+13
| | | | | | | | 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.
* cxmanage: Revert to old output for macaddrs commandGeorge Kraft2012-11-273-6/+9
|
* Node: Add get_fabric_macaddrs method back in.George Kraft2012-11-273-25/+122
| | | | | This once again gives us the option to get MAC addresses for the whole fabric, from one node, via. TFTP transfer.
* * Finished Sphinx doc'ing cxmanage_api.evasquez2012-11-218-214/+685
| | | | | preview available at: http://10.20.2.172/
* * Sphinx doc: command, crc32, cx_exceptions, tftp, node, fabric.evasquez2012-11-217-222/+389
|
* * More sphinx doc'ing for node and fabric classes.evasquez2012-11-203-112/+381
| | | | | | | * Made functions that don't return anything stop returning None. * Updated some links in index.rst Documentation Preview at: http://10.20.2.172/
* CXMAN-146: Fabric: lazy node discoveryJason Hobbs2012-11-202-7/+19
| | | | | | | | | 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.
* CXMAN-145: ExternalTftp: Raise more meaninful error messagesGeorge Kraft2012-11-202-1/+16
| | | | | tftpy can raise a TypeError that says "an integer is required". Let's raise a TftpException instead.
* CXMAN-142: Node: Make TFTP error messages more descriptiveGeorge Kraft2012-11-201-7/+3
| | | | | I.E. "Node failed to reach TFTP server" instead of "Failed to retrieve IP info."