]> git.openfabrics.org - ~shefty/ibacm.git/commit
ibacm: automatically generate addresses if missing acm_addr.cfg
authorSean Hefty <sean.hefty@intel.com>
Mon, 6 Dec 2010 19:06:47 +0000 (11:06 -0800)
committerSean Hefty <sean.hefty@intel.com>
Wed, 8 Dec 2010 20:39:28 +0000 (12:39 -0800)
commitc399f0580c6ba387b6aca30c622c8d2739498846
tree2c5bd0cd061ee0b4c29db44daf0155b53b3b7962
parent669d3ab25cff51dd8ecd7a36eb74d02bd40f945e
ibacm: automatically generate addresses if missing acm_addr.cfg

If the acm_addr.cfg file is missing, automatically attempt to
generate the file.  If no addresses can be assigned to any
endpoints because of a missing file, log an error and exit
the service.  This avoids running a service that is basically
useless.

This change allows the ib_acm service to execute using defaults
without requireing that a user first run 'ib_acme -A -O' or
otherwise creating the acm configuration files.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/acm.c