Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bump to v0.8.0v0.8.0 | George Kraft | 2013-05-03 | 1 | -1/+1 |
| | |||||
* | Bump requirements: pyipmi>=0.7.1, ipmitool>=-cx5 | George Kraft | 2013-05-03 | 2 | -3/+3 |
| | |||||
* | pylint warnings | George Kraft | 2013-05-03 | 2 | -1/+3 |
| | |||||
* | Fabric: Re-order a couple of methods | George Kraft | 2013-05-03 | 1 | -30/+30 |
| | | | | | Just group the nodes and primary_nodes properties together, and move private methods to the bottom. | ||||
* | Node: Remove "fabric" from many of the method names | George Kraft | 2013-05-03 | 4 | -35/+35 |
| | | | | | | | | To align them with the method names in the Fabric class. In general, Node methods should have "fabric" in the name if it applies to all the nodes in the fabric, i.e. get_fabric_ipinfo which returns IP addresses for ALL the nodes. | ||||
* | Fabric: Fix get_link_stats to match Node.get_fabric_link_stats() | George Kraft | 2013-05-03 | 1 | -9/+10 |
| | | | | | | | | For commands that run across all nodes, we want the interface of Fabric and Node to be very similar. This means Fabric.get_link_stats now takes a "link" parameter as well, instead of returning results for all links. | ||||
* | Fabric: Parallelize get_linkmap, get_routing_table, get_depth_chart | George Kraft | 2013-05-03 | 1 | -21/+20 |
| | | | | Need to use _run_on_all_nodes for these. | ||||
* | Fabric: Simplify get_firmware_info_dict and get_versions_dict | George Kraft | 2013-05-03 | 1 | -9/+3 |
| | | | | | Instead of building up the dictionaries ourselves, let's use the Node method that already does that for us. | ||||
* | Fabric: Clean up docstrings | George Kraft | 2013-05-03 | 1 | -4/+4 |
| | | | | Mostly just fixing up incorrect method names in the examples. | ||||
* | Fabric: Rename _run_command, remove the "special case" comments | George Kraft | 2013-05-03 | 2 | -43/+18 |
| | | | | | Not so special anymore. Instead, let's rename _run_command to _run_on_all_nodes to make the distinction clear. | ||||
* | node_test: Fix the get_fabric_link_stats test case | George Kraft | 2013-05-02 | 1 | -3/+3 |
| | | | | | Needed to make the DummyBMC command name match the actual one from pyipmi. | ||||
* | some pylint warnings | George Kraft | 2013-05-02 | 1 | -5/+7 |
| | |||||
* | Node: Fix get_fabric_link_stats to use the right pyipmi command | George Kraft | 2013-05-02 | 1 | -1/+1 |
| | |||||
* | Node: Remove get_node_depth_chart, update get_fabric_depth_chart | George Kraft | 2013-05-02 | 1 | -68/+1 |
| | | | | | | Again, duplicated functionality here. Changed the 'hops' key to 'others' for get_fabric_depth_chart. | ||||
* | Node: Remove get_node_link_map | George Kraft | 2013-05-02 | 1 | -55/+0 |
| | | | | Duplicates the functionality of get_fabric_linkmap | ||||
* | Node: Remove get_node_routing_table | George Kraft | 2013-05-02 | 1 | -67/+0 |
| | | | | Since it duplicates the functionality of get_fabric_routing_table | ||||
* | fabric/node: Clean up macaddr commands | George Kraft | 2013-05-01 | 2 | -24/+22 |
| | | | | | | | | | | Removed set_interface_mac_address and get_interface_mac_address, since they were broken and don't align with anything in ipmi that I can see. Added Node.add_macaddr and Node.rm_macaddr. Fixed the Node.node_id property. | ||||
* | Merge branch 'master' of ssh://git.calxeda.com/var/git/cx_manage_util | Tyler Mock | 2013-04-30 | 2 | -7/+48 |
|\ | |||||
| * | CXMAN-196: Node: Add post-verification checks to firmware update | George Kraft | 2013-04-30 | 2 | -7/+48 |
| | | | | | | | | | | For now, we check that the image type is the same, the priority is incremented, crc32 check passes, and the image is activated. | ||||
* | | Changed fabric commands to use _run_fabric_command in node.py and | Tyler Mock | 2013-04-30 | 3 | -78/+177 |
|/ | | | | added tests for linkmap, routing_table, and depth_chart | ||||
* | CXMAN-189: fwupdate: Don't reset if ECME version < 1.2.0 | George Kraft | 2013-04-30 | 1 | -0/+14 |
| | | | | Instead, print an error and tell the user to power cycle manually. | ||||
* | CXMAN-189: Change "fullupdate" command to "fwupdate --full" | George Kraft | 2013-04-30 | 1 | -49/+39 |
| | | | | Looks like it doesn't need to be a distinct command after all. | ||||
* | Merge branch 'master' of ssh://git/var/git/cx_manage_util | evasquez | 2013-04-30 | 12 | -4839/+118 |
|\ | |||||
| * | Remove the "info dump" command | George Kraft | 2013-04-29 | 11 | -4780/+2 |
| | | | | | | | | | | | | | | | | The old "info dump" command is really messy, and in my experience, doesn't even succeed without bricking the ECME. Let's remove it before anyone else finds that out the hard way. I'll be reimplementing it at a later time. | ||||
| * | CXMAN-194: Clean up the "cxmanage info -h" usage output | George Kraft | 2013-04-29 | 1 | -7/+3 |
| | | |||||
| * | Node/Fabric: mc_reset: Sleep 60 seconds before pinging a host | George Kraft | 2013-04-29 | 1 | -8/+1 |
| | | | | | | | | | | Looks like IPMI messages can stagger the reset timing and cause some of the nodes to never come up. So just be patient instead. | ||||
| * | CXMAN-189: Add a "fullupdate" command to the cxmanage script | George Kraft | 2013-04-29 | 2 | -50/+88 |
| | | | | | | | | Does a firmware update of both the primary and backup partitions. | ||||
| * | Node/Fabric: Add a "wait" flag to the mc_reset command | George Kraft | 2013-04-29 | 2 | -3/+33 |
| | | | | | | | | | | When set to True, the command will block until the node has actually finished resetting. | ||||
* | | Uplink info needs integer keys, not str | evasquez | 2013-04-30 | 1 | -2/+2 |
| | | |||||
* | | Removed white spc | evasquez | 2013-04-29 | 1 | -1/+1 |
|/ | |||||
* | Added a _run_fabric_command() function. | evasquez | 2013-04-29 | 2 | -118/+62 |
| | | | | | | REFACTOR: This function will basically handle the calling of a node command that may require a tftp server for data xport. You simply need to call this function and parse the tftp output to your needs. | ||||
* | CXMAN-195: Add a NOTE to check the node count after discovering IPs | George Kraft | 2013-04-26 | 1 | -0/+3 |
| | |||||
* | CXMAN-187: Add examples to the cxmanage -h usage print | George Kraft | 2013-04-26 | 1 | -6/+18 |
| | |||||
* | CXMAN-160: Add image types and example to fwupdate -h usage print | George Kraft | 2013-04-26 | 1 | -23/+29 |
| | |||||
* | DummyBMC: Add fabric_get_macaddr and fabric_rm_macaddr | George Kraft | 2013-04-26 | 1 | -0/+6 |
| | | | | To fix some failing tests | ||||
* | CXMAN-186: Add some friendly error messages to sol_tabs | George Kraft | 2013-04-26 | 1 | -0/+10 |
| | |||||
* | CXMAN-186: Add cxmanage copyright to sol_tabs | George Kraft | 2013-04-26 | 1 | -1/+29 |
| | |||||
* | CXMAN-186: Add sol_tabs to cxmanage | George Kraft | 2013-04-26 | 2 | -1/+20 |
| | | | | | It's still just a standalone script, but will be installed along with cxmanage when setup.py is run. | ||||
* | Added support to get the depth chart from a node. | Sumedh Sathaye | 2013-04-26 | 1 | -0/+67 |
| | | | | | The depth chart is not parsed into a dictionary. It is presented as a list of strings, as obtained from ECME. | ||||
* | Added support to get a node's link map. | Sumedh Sathaye | 2013-04-26 | 1 | -1/+56 |
| | | | | This supports the fabric info link map test. | ||||
* | Added support to get the routing table of a node. | Sumedh Sathaye | 2013-04-26 | 1 | -0/+67 |
| | |||||
* | Added per-node support for virtaul mac addr set/get test. | Sumedh Sathaye | 2013-04-26 | 2 | -3/+20 |
| | |||||
* | Added support for add/rm mac address to a node/interface combo. | Sumedh Sathaye | 2013-04-26 | 3 | -0/+81 |
| | | | | Added cxmanage_api tests in cxmanage_test/fabric.py for add_macaddr/rm_macaddr. | ||||
* | Changed parsing of get_fabric_depth_chart() output | Tyler Mock | 2013-04-26 | 1 | -4/+8 |
| | |||||
* | Added support for get_fabric_depth_chart() | Tyler Mock | 2013-04-26 | 2 | -1/+80 |
| | |||||
* | cx_exceptions: Remove NoBootCmdDefaultError | George Kraft | 2013-04-25 | 1 | -25/+0 |
| | | | | Not used anymore, and kind of a weird error anyway. | ||||
* | CXMAN-188: Node: Don't manually change ubootenv variables | George Kraft | 2013-04-25 | 2 | -4/+4 |
| | | | | Let the UbootEnv class handle that. | ||||
* | CXMAN-188: Update set_boot_order for new u-boot environments | George Kraft | 2013-04-25 | 3 | -31/+72 |
| | |||||
* | CXMAN-188: Update get_boot_order for new u-boot environments | George Kraft | 2013-04-25 | 1 | -28/+44 |
| | | | | We need to be careful to avoid as many assumptions as we can. | ||||
* | CXMAN-188: ubootenv: Remove SD boot device | George Kraft | 2013-04-25 | 1 | -7/+0 |
| |