]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
rasdaemon: add support to match the machine by system's product name
authorAristeu Rozanski <aris@redhat.com>
Mon, 1 Jun 2015 20:04:00 +0000 (17:04 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 3 Jun 2015 13:39:56 +0000 (10:39 -0300)
commit3a38f8e66a2aa5c477cea152e1acc9a781834b83
tree23b4043ad08d0e1ca1e7620e6e2f8aee5720b0d3
parent56913e2f2a5a6ddf8ab684c8d528e9ef1d55cfba
rasdaemon: add support to match the machine by system's product name

In some cases the motherboard names will change but the mapping won't
across a line of products. This patch adds support for "Product:" to be
specified in the label files instead of Model:.

An example:
Vendor: Dell Inc.
  Product: PowerEdge R610
    DIMM_A1: 0.0.0;     DIMM_A2:  0.0.1;        DIMM_A3:  0.0.2;
    DIMM_A4: 0.1.0;     DIMM_A5:  0.1.1;        DIMM_A6:  0.1.2;

    DIMM_B1: 1.0.0;     DIMM_B2:  1.0.1;        DIMM_B3:  1.0.2;
    DIMM_B4: 1.1.0;     DIMM_B5:  1.1.1;        DIMM_B6:  1.1.2;

Would match all 'PowerEdge R610' machines.

Signed-off-by: Aristeu Rozanski <arozansk@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
util/ras-mc-ctl.in