summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* bump to v0.8.0v0.8.0George Kraft2013-05-031-1/+1
|
* Bump requirements: pyipmi>=0.7.1, ipmitool>=-cx5George Kraft2013-05-032-3/+3
|
* pylint warningsGeorge Kraft2013-05-032-1/+3
|
* Fabric: Re-order a couple of methodsGeorge Kraft2013-05-031-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 namesGeorge Kraft2013-05-034-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 Kraft2013-05-031-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_chartGeorge Kraft2013-05-031-21/+20
| | | | Need to use _run_on_all_nodes for these.
* Fabric: Simplify get_firmware_info_dict and get_versions_dictGeorge Kraft2013-05-031-9/+3
| | | | | Instead of building up the dictionaries ourselves, let's use the Node method that already does that for us.
* Fabric: Clean up docstringsGeorge Kraft2013-05-031-4/+4
| | | | Mostly just fixing up incorrect method names in the examples.
* Fabric: Rename _run_command, remove the "special case" commentsGeorge Kraft2013-05-032-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 caseGeorge Kraft2013-05-021-3/+3
| | | | | Needed to make the DummyBMC command name match the actual one from pyipmi.
* some pylint warningsGeorge Kraft2013-05-021-5/+7
|
* Node: Fix get_fabric_link_stats to use the right pyipmi commandGeorge Kraft2013-05-021-1/+1
|
* Node: Remove get_node_depth_chart, update get_fabric_depth_chartGeorge Kraft2013-05-021-68/+1
| | | | | | Again, duplicated functionality here. Changed the 'hops' key to 'others' for get_fabric_depth_chart.
* Node: Remove get_node_link_mapGeorge Kraft2013-05-021-55/+0
| | | | Duplicates the functionality of get_fabric_linkmap
* Node: Remove get_node_routing_tableGeorge Kraft2013-05-021-67/+0
| | | | Since it duplicates the functionality of get_fabric_routing_table
* fabric/node: Clean up macaddr commandsGeorge Kraft2013-05-012-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_utilTyler Mock2013-04-302-7/+48
|\
| * CXMAN-196: Node: Add post-verification checks to firmware updateGeorge Kraft2013-04-302-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 andTyler Mock2013-04-303-78/+177
|/ | | | added tests for linkmap, routing_table, and depth_chart
* CXMAN-189: fwupdate: Don't reset if ECME version < 1.2.0George Kraft2013-04-301-0/+14
| | | | Instead, print an error and tell the user to power cycle manually.
* CXMAN-189: Change "fullupdate" command to "fwupdate --full"George Kraft2013-04-301-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_utilevasquez2013-04-3012-4839/+118
|\
| * Remove the "info dump" commandGeorge Kraft2013-04-2911-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 outputGeorge Kraft2013-04-291-7/+3
| |
| * Node/Fabric: mc_reset: Sleep 60 seconds before pinging a hostGeorge Kraft2013-04-291-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 scriptGeorge Kraft2013-04-292-50/+88
| | | | | | | | Does a firmware update of both the primary and backup partitions.
| * Node/Fabric: Add a "wait" flag to the mc_reset commandGeorge Kraft2013-04-292-3/+33
| | | | | | | | | | When set to True, the command will block until the node has actually finished resetting.
* | Uplink info needs integer keys, not strevasquez2013-04-301-2/+2
| |
* | Removed white spcevasquez2013-04-291-1/+1
|/
* Added a _run_fabric_command() function.evasquez2013-04-292-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 IPsGeorge Kraft2013-04-261-0/+3
|
* CXMAN-187: Add examples to the cxmanage -h usage printGeorge Kraft2013-04-261-6/+18
|
* CXMAN-160: Add image types and example to fwupdate -h usage printGeorge Kraft2013-04-261-23/+29
|
* DummyBMC: Add fabric_get_macaddr and fabric_rm_macaddrGeorge Kraft2013-04-261-0/+6
| | | | To fix some failing tests
* CXMAN-186: Add some friendly error messages to sol_tabsGeorge Kraft2013-04-261-0/+10
|
* CXMAN-186: Add cxmanage copyright to sol_tabsGeorge Kraft2013-04-261-1/+29
|
* CXMAN-186: Add sol_tabs to cxmanageGeorge Kraft2013-04-262-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 Sathaye2013-04-261-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 Sathaye2013-04-261-1/+56
| | | | This supports the fabric info link map test.
* Added support to get the routing table of a node.Sumedh Sathaye2013-04-261-0/+67
|
* Added per-node support for virtaul mac addr set/get test.Sumedh Sathaye2013-04-262-3/+20
|
* Added support for add/rm mac address to a node/interface combo.Sumedh Sathaye2013-04-263-0/+81
| | | | Added cxmanage_api tests in cxmanage_test/fabric.py for add_macaddr/rm_macaddr.
* Changed parsing of get_fabric_depth_chart() outputTyler Mock2013-04-261-4/+8
|
* Added support for get_fabric_depth_chart()Tyler Mock2013-04-262-1/+80
|
* cx_exceptions: Remove NoBootCmdDefaultErrorGeorge Kraft2013-04-251-25/+0
| | | | Not used anymore, and kind of a weird error anyway.
* CXMAN-188: Node: Don't manually change ubootenv variablesGeorge Kraft2013-04-252-4/+4
| | | | Let the UbootEnv class handle that.
* CXMAN-188: Update set_boot_order for new u-boot environmentsGeorge Kraft2013-04-253-31/+72
|
* CXMAN-188: Update get_boot_order for new u-boot environmentsGeorge Kraft2013-04-251-28/+44
| | | | We need to be careful to avoid as many assumptions as we can.
* CXMAN-188: ubootenv: Remove SD boot deviceGeorge Kraft2013-04-251-7/+0
|