summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* nojira: Bump to v0.11.0, bump pyipmi/ipmitool requirementsHEADv0.11.0masterGeorge Kraft2013-12-193-4/+4
|
* CXMAN-215: Fix handling of error cases in the CLI "sensors" commandGeorge Kraft2013-12-182-2/+3
|
* CXMAN-215: Fix exception formatting in Node.get_sensorsGeorge Kraft2013-12-181-2/+3
|
* CXMAN-278: Add LAN info to tspackage commandGeorge Kraft2013-12-172-1/+21
| | | | Basically just a dump of "ipmitool lan print"
* AIT-622: Add pretty print formatting to loggers.evasquez2013-12-171-1/+9
| | | | Signed-off-by: evasquez <eric.vasquez@calxeda.com>
* CXMAN-276: Add "cxmanage networks" commandGeorge Kraft2013-12-172-1/+32
|
* CXMAN-276: Add "cxmanage uplinks" commandGeorge Kraft2013-12-172-1/+31
|
* CXMAN-276: Add "cxmanage uplink_info" commandGeorge Kraft2013-12-172-1/+31
|
* CXMAN-223: Add partition_config command to CLIGeorge Kraft2013-12-172-1/+32
| | | | | Convenience command to get partition config without having to manually use TFTP.
* CXMAN-223: Make Node.run_fabric_tftp_command return file contentsGeorge Kraft2013-12-172-24/+21
| | | | | Instead of returning a filename, just return the contents of the file. We never use the filename for anything else.
* CXMAN-223: Make Node._run_fabric_command publicGeorge Kraft2013-12-172-11/+19
| | | | | | Fabric already calls it, and I'll be using it in CLI as well. Renamed it to run_fabric_tftp_command to be more descriptive, and also updated the docstring.
* nojira: Fix pylint error.evasquez2013-12-161-7/+4
| | | Signed-off-by: evasquez <eric.vasquez@calxeda.com>
* nojira: clean up some additional pylint warningsGeorge Kraft2013-12-165-16/+20
|
* nojira: Clean up pylint warnings in cxmanage_api.testsGeorge Kraft2013-12-1615-171/+191
| | | | | | | | | | I moved a bunch of the in-line pylint suppression to the top of the modules instead. I find the comments get in the way of readability, which sort of defeats the whole purpose. Doing module-level suppression at least gets those comments out of the way, but isn't ideal either. We really should just leave the warnings there.
* AIT-572: Remove the TimeoutError and raise the actual error upon timeoutevasquez2013-12-161-8/+11
| | | Signed-off-by: evasquez <eric.vasquez@calxeda.com>
* CXMAN-261: Merge branch 'credentials'George Kraft2013-12-1312-71/+203
|\ | | | | | | | | Conflicts: cxmanage_api/fabric.py
| * CXMAN-261: Add Credentials to pylint.rc/ignored-classesGeorge Kraft2013-12-131-1/+1
| | | | | | | | | | The Credentials class is dynamically populated, so we get a lot of pylint warnings about it. Ignore them.
| * CXMAN-261: Update CLI to use Fabric/Node credentials argumentsGeorge Kraft2013-12-114-16/+29
| | | | | | | | | | One noteworthy change here: the -U and -P arguments to cxmanage are now global options, and no longer specific to ipdiscover.
| * CXMAN-261: Update Node and Fabric to use Credentials objectsGeorge Kraft2013-12-114-52/+45
| |
| * CXMAN-261: Add a Credentials class and unit tests for itGeorge Kraft2013-12-113-2/+128
| |
* | CXMAN-277: Remove guid from node.__hash__ and node.__eq__George Kraft2013-12-132-26/+17
| | | | | | | | | | | | | | | | | | Since we need an IPMI command to get the guid. Having it in __hash__ can cause weird behavior -- for example, as soon as we add the Node object to a set, we may fire off an IPMI command. Which could raise an exception. We can still make use of GUIDs in fabric.refresh though.
* | CXMAN-272: Fixes from crucible commentsGreg Lutostanski2013-12-131-11/+8
| |
* | CXMAN-272: Update fabric.refresh to not destroy objectsGreg Lutostanski2013-12-131-20/+38
| | | | | | | | | | Rather the already existent nodes are updated in place based on the newly found nodes.
* | CXMAN-272: Add node.refresh() which takes in an updated nodeGreg Lutostanski2013-12-131-3/+22
| |
* | CXMAN-272: Add NodeMismatchError for node.refresh()Greg Lutostanski2013-12-131-0/+26
| |
* | CXMAN-275: Add support for new partition types to cxmanage firmware update.John Siebenthaler2013-12-121-0/+4
| |
* | CXMAN-274 guard against bad return from get networksmatthew.hodgins2013-12-121-3/+9
| | | | | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com>
* | nojira: fixed typo (copy/paste error)evasquez2013-12-121-4/+4
| | | | | | Signed-off-by: evasquez <eric.vasquez@calxeda.com>
* | CXMAN-258 moving uplink_status from node to fabmatthew.hodgins2013-12-112-23/+23
|/ | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com>
* CXMAN-273 add support for creating private networksmatthew.hodgins2013-12-111-2/+7
| | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com>
* CXMAN-258 calling proper ipmi commandmatthew.hodgins2013-12-111-1/+1
| | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com>
* nojira doc changematthew.hodgins2013-12-111-2/+2
| | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com>
* nojira fixing to vs frommatthew.hodgins2013-12-111-1/+1
| | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com>
* CXMAN-258 expose get/set iface to network assignmentmatthew.hodgins2013-12-111-0/+31
| | | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com>
* CXMAN-258 exposing removing/unassigning networksmatthew.hodgins2013-12-111-0/+38
| | | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com>
* CXMAN-258 expose adding/assigning networksmatthew.hodgins2013-12-111-0/+19
| | | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com>
* CXMAN-258 expose get networks/uplinks +CRCXMANAGEmatthew.hodgins2013-12-111-0/+50
| | | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com>
* CXMAN-258 added function to get/set uplink_modematthew.hodgins2013-12-111-0/+20
| | | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com>
* AIT-527 expose uplink statusmatthew.hodgins2013-12-111-1/+22
| | | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com>
* CXMAN-269: Use "0.0" as the primary node ID if 0 doesn't existGeorge Kraft2013-12-101-6/+5
|
* CXMAN-271: Use a cleaner retry mechanism for get_fabric_ipinfo/macsGeorge Kraft2013-12-101-69/+71
| | | | | Fixes a case where filename could be out of scope, and also where the IpmiError/TftpException is squashed. Bad.
* CXMAN-271: Add a retry decoratorGeorge Kraft2013-12-101-0/+66
| | | | | For functions that we want to retry multiple times. Takes in a retry count and a list of allowable errors.
* CXMAN-269: Allow node IDs to be stringsGeorge Kraft2013-12-104-27/+29
| | | | | | | | To support the "physical" management view, where node IDs can be 0.0, 0.1, etc. This is pretty much a bandaid fix, and I would expect to see some cases where things break when the "physical" view is enabled.
* CXMAN-268: Do a simple IPMI command in fabric.refresh(wait=True)George Kraft2013-12-101-0/+2
| | | | Make sure the nodes are responsive.
* CXMAN-267: Catch ParseError in fabric.refresh()George Kraft2013-12-101-2/+2
| | | | | We can get a ParseError if one of the IPs is 0.0.0.0. We should catch that case and retry.
* CXMAN-230: make sol easier with cxmux -r and move to argparseGreg Lutostanski2013-12-091-36/+49
|
* CXMAN-219: Add image type and partition to fwupdate logsGeorge Kraft2013-12-092-57/+25
| | | | Cleaned up a little bit too.
* CXMAN-265: Raise an error if we get 0.0.0.0 in IP infoGeorge Kraft2013-12-092-3/+18
| | | | | | | | This generally indicates something's wrong. There's some node that we're not getting access to. For the cxmanage command line tool, the --force option can be used to ignore it and keep going.
* CXMAN-255: Retry config reset up to 3 timesGeorge Kraft2013-12-091-9/+11
| | | | | | | | | | We can't really guarantee that the CDB clear has occurred unless the IPMI command returns properly, so, we better try it a couple times. This could cause a few unnecessary SPI erases in some cases, but it's better than potentially reporting success when it hasn't actually been reset at all.
* CXMAN-263: Remove the cxmanage_api.dummy packageGeorge Kraft2013-12-0712-45/+42
| | | | Put the dummies back in cxmanage_api.tests. They kinda go together.