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

Nicolas Morey Chaisemartin nicolas.morey-chaisemartin at ext.bull.net
Mon Feb 9 00:26:04 PST 2009


This add a getguid 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>
---
  opensm/opensm/osm_console.c |  131 +++++++++++++++++++++++++++++++++++++++++++
  1 files changed, 131 insertions(+), 0 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 006049bce16cd282d40dc9598f4baaa2aa5b0fdf.diff
Type: text/x-patch
Size: 4324 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20090209/ff1fa357/attachment.bin>


More information about the general mailing list