[ofa-general] [PATCH v2] opensm/osm_console.c : Added dump_portguid function to console to generate a list of port guids matching one or more regexps

Nicolas Morey Chaisemartin nicolas.morey-chaisemartin at ext.bull.net
Tue Feb 10 00:08:01 PST 2009


This add a dump_portguid functionnality to openSM console which makes it really easy to generate cn_guid_file, root_guid_file and such
by dumping into a file all port guids whom nodedesc contains at least one of the provided regexps

Signed-off-by: Nicolas Morey-Chaisemartin <nicolas.morey-chaisemartin at ext.bull.net>
---

Repost without exit_after_run flag, active sleep init loop and indented.

  opensm/opensm/osm_console.c |  105 +++++++++++++++++++++++++++++++++++++++++++
  1 files changed, 105 insertions(+), 0 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: a72ba8239575ad93b59015c9c4c1a0c8020d0db7.diff
Type: text/x-patch
Size: 3613 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20090210/a19dc396/attachment.bin>


More information about the general mailing list