Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nojira: Bump to v0.11.0, bump pyipmi/ipmitool requirementsHEADv0.11.0master | George Kraft | 2013-12-19 | 3 | -4/+4 |
| | |||||
* | CXMAN-215: Fix handling of error cases in the CLI "sensors" command | George Kraft | 2013-12-18 | 2 | -2/+3 |
| | |||||
* | CXMAN-215: Fix exception formatting in Node.get_sensors | George Kraft | 2013-12-18 | 1 | -2/+3 |
| | |||||
* | CXMAN-278: Add LAN info to tspackage command | George Kraft | 2013-12-17 | 2 | -1/+21 |
| | | | | Basically just a dump of "ipmitool lan print" | ||||
* | AIT-622: Add pretty print formatting to loggers. | evasquez | 2013-12-17 | 1 | -1/+9 |
| | | | | Signed-off-by: evasquez <eric.vasquez@calxeda.com> | ||||
* | CXMAN-276: Add "cxmanage networks" command | George Kraft | 2013-12-17 | 2 | -1/+32 |
| | |||||
* | CXMAN-276: Add "cxmanage uplinks" command | George Kraft | 2013-12-17 | 2 | -1/+31 |
| | |||||
* | CXMAN-276: Add "cxmanage uplink_info" command | George Kraft | 2013-12-17 | 2 | -1/+31 |
| | |||||
* | CXMAN-223: Add partition_config command to CLI | George Kraft | 2013-12-17 | 2 | -1/+32 |
| | | | | | Convenience command to get partition config without having to manually use TFTP. | ||||
* | CXMAN-223: Make Node.run_fabric_tftp_command return file contents | George Kraft | 2013-12-17 | 2 | -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 public | George Kraft | 2013-12-17 | 2 | -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. | evasquez | 2013-12-16 | 1 | -7/+4 |
| | | | Signed-off-by: evasquez <eric.vasquez@calxeda.com> | ||||
* | nojira: clean up some additional pylint warnings | George Kraft | 2013-12-16 | 5 | -16/+20 |
| | |||||
* | nojira: Clean up pylint warnings in cxmanage_api.tests | George Kraft | 2013-12-16 | 15 | -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 timeout | evasquez | 2013-12-16 | 1 | -8/+11 |
| | | | Signed-off-by: evasquez <eric.vasquez@calxeda.com> | ||||
* | CXMAN-261: Merge branch 'credentials' | George Kraft | 2013-12-13 | 12 | -71/+203 |
|\ | | | | | | | | | Conflicts: cxmanage_api/fabric.py | ||||
| * | CXMAN-261: Add Credentials to pylint.rc/ignored-classes | George Kraft | 2013-12-13 | 1 | -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 arguments | George Kraft | 2013-12-11 | 4 | -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 objects | George Kraft | 2013-12-11 | 4 | -52/+45 |
| | | |||||
| * | CXMAN-261: Add a Credentials class and unit tests for it | George Kraft | 2013-12-11 | 3 | -2/+128 |
| | | |||||
* | | CXMAN-277: Remove guid from node.__hash__ and node.__eq__ | George Kraft | 2013-12-13 | 2 | -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 comments | Greg Lutostanski | 2013-12-13 | 1 | -11/+8 |
| | | |||||
* | | CXMAN-272: Update fabric.refresh to not destroy objects | Greg Lutostanski | 2013-12-13 | 1 | -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 node | Greg Lutostanski | 2013-12-13 | 1 | -3/+22 |
| | | |||||
* | | CXMAN-272: Add NodeMismatchError for node.refresh() | Greg Lutostanski | 2013-12-13 | 1 | -0/+26 |
| | | |||||
* | | CXMAN-275: Add support for new partition types to cxmanage firmware update. | John Siebenthaler | 2013-12-12 | 1 | -0/+4 |
| | | |||||
* | | CXMAN-274 guard against bad return from get networks | matthew.hodgins | 2013-12-12 | 1 | -3/+9 |
| | | | | | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com> | ||||
* | | nojira: fixed typo (copy/paste error) | evasquez | 2013-12-12 | 1 | -4/+4 |
| | | | | | | Signed-off-by: evasquez <eric.vasquez@calxeda.com> | ||||
* | | CXMAN-258 moving uplink_status from node to fab | matthew.hodgins | 2013-12-11 | 2 | -23/+23 |
|/ | | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com> | ||||
* | CXMAN-273 add support for creating private networks | matthew.hodgins | 2013-12-11 | 1 | -2/+7 |
| | | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com> | ||||
* | CXMAN-258 calling proper ipmi command | matthew.hodgins | 2013-12-11 | 1 | -1/+1 |
| | | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com> | ||||
* | nojira doc change | matthew.hodgins | 2013-12-11 | 1 | -2/+2 |
| | | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com> | ||||
* | nojira fixing to vs from | matthew.hodgins | 2013-12-11 | 1 | -1/+1 |
| | | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com> | ||||
* | CXMAN-258 expose get/set iface to network assignment | matthew.hodgins | 2013-12-11 | 1 | -0/+31 |
| | | | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com> | ||||
* | CXMAN-258 exposing removing/unassigning networks | matthew.hodgins | 2013-12-11 | 1 | -0/+38 |
| | | | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com> | ||||
* | CXMAN-258 expose adding/assigning networks | matthew.hodgins | 2013-12-11 | 1 | -0/+19 |
| | | | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com> | ||||
* | CXMAN-258 expose get networks/uplinks +CRCXMANAGE | matthew.hodgins | 2013-12-11 | 1 | -0/+50 |
| | | | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com> | ||||
* | CXMAN-258 added function to get/set uplink_mode | matthew.hodgins | 2013-12-11 | 1 | -0/+20 |
| | | | | Signed-off-by: matthew.hodgins <matthew.hodgins@calxeda.com> | ||||
* | AIT-527 expose uplink status | matthew.hodgins | 2013-12-11 | 1 | -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 exist | George Kraft | 2013-12-10 | 1 | -6/+5 |
| | |||||
* | CXMAN-271: Use a cleaner retry mechanism for get_fabric_ipinfo/macs | George Kraft | 2013-12-10 | 1 | -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 decorator | George Kraft | 2013-12-10 | 1 | -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 strings | George Kraft | 2013-12-10 | 4 | -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 Kraft | 2013-12-10 | 1 | -0/+2 |
| | | | | Make sure the nodes are responsive. | ||||
* | CXMAN-267: Catch ParseError in fabric.refresh() | George Kraft | 2013-12-10 | 1 | -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 argparse | Greg Lutostanski | 2013-12-09 | 1 | -36/+49 |
| | |||||
* | CXMAN-219: Add image type and partition to fwupdate logs | George Kraft | 2013-12-09 | 2 | -57/+25 |
| | | | | Cleaned up a little bit too. | ||||
* | CXMAN-265: Raise an error if we get 0.0.0.0 in IP info | George Kraft | 2013-12-09 | 2 | -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 times | George Kraft | 2013-12-09 | 1 | -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 package | George Kraft | 2013-12-07 | 12 | -45/+42 |
| | | | | Put the dummies back in cxmanage_api.tests. They kinda go together. |