Switch branches/tags
Nothing to show
Commits on Feb 19, 2015
  1. Handle duplicate lines in iblinkinfo output, base the output file nam…

    …e on the input file, when not reading from STDIN.
    committed Feb 19, 2015
Commits on Sep 19, 2014
  1. Rewrite of the script, which is now based on "iblinkinfo --line" output:

    - Regular expressions are now multiline and commented (to present the six-month-later problem)
    - The output can now be filtered on multiple LIDs
    - The informations displayed for each graph node can now be controlled used the --switch-label and --node-label options
    - The generation of others formats in addition to .dot is now based on ruby-graphviz too and much more robust
    - The interconnection links are represented as bold red
    - All the code was refactored to be easier to read
    committed Sep 19, 2014
Commits on May 16, 2014
  1. Update dependencies in README

    committed May 16, 2014
Commits on Mar 5, 2013
  1. Decompose the gnuplot render command invoked using system() to preven…

    …t clever security exploits using special shell syntax in interpolated variables.
    committed Mar 5, 2013
Commits on Jan 15, 2013
  1. Bad indentation is bad.

    committed Jan 15, 2013
  2. General code cleanup: less dead code, more comments, more straightfor…

    …ward output generation.
    committed Jan 15, 2013
Commits on Oct 4, 2012
  1. Add dynamic ports discovery (switches are not longer hardcoded to hav…

    …e 36 ports), enhance label generation for fabric clients and remove unused code.
    committed Oct 4, 2012
  2. Merge pull request #1 from jumanjiman/compatibility

    Add compatibility for Ruby 1.8, recommand svg output for big fabrics in README
    committed Oct 4, 2012
Commits on Sep 19, 2012
  1. Add recommendation to README

    In a medium-to-large IB infrastructure, generating SVG output is orders of
    magnitude faster and results in much smaller output files. For example,
    in one of our environments, the SVG is a few MB while the PNG is 12 GB!
    jumanjiman committed Sep 19, 2012
  2. Add compatibility for Ruby 1.8

    Resolves backtrace:
    $ | /tmp/topology.rb -f svg -o top1
    /tmp/topology.rb:230: wrong argument type Symbol (expected Proc) (TypeError)
      from /usr/lib/ruby/gems/1.8/gems/graph-2.5.1/lib/graph.rb:152:in `instance_eval'
      from /usr/lib/ruby/gems/1.8/gems/graph-2.5.1/lib/graph.rb:152:in `initialize'
      from /usr/lib/ruby/gems/1.8/gems/graph-2.5.1/lib/graph.rb:567:in `new'
      from /usr/lib/ruby/gems/1.8/gems/graph-2.5.1/lib/graph.rb:567:in `digraph'
      from /tmp/topology.rb:210
    Tested-by: Paul Morgan <>
    Tested on these Ruby versions:
    * RHEL 5:    ruby 1.8.5 (2006-08-25) [x86_64-linux]
    * RHEL 6:    ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
    * Fedora 17: ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
    Test procedure:
    I saved the output from iblinkinfo in a test environment, then
    provided that as input for this patch using each version of Ruby listed above.
    jumanjiman committed Sep 19, 2012
Commits on Jul 30, 2012
Commits on Mar 1, 2012
Commits on Feb 29, 2012
  1. Initial commit

    committed Feb 29, 2012