Whamcloud - gitweb
LU-10825 libcfs: generate ip addresses 49/32249/2
authorAmir Shehata <amir.shehata@intel.com>
Mon, 19 Mar 2018 19:37:57 +0000 (12:37 -0700)
committerJohn L. Hammond <jhammond@whamcloud.com>
Wed, 1 Aug 2018 16:35:02 +0000 (16:35 +0000)
commita48dc3fd0f738b545571a6d2cfdeb337f2d3243b
tree2e1b9390bc359da56d285cb3153af941532c4342
parent9fef9ad10b26a4338c22105e66308ead5408173e
LU-10825 libcfs: generate ip addresses

Add infrastructure API cfs_ip_addr_range_gen() to generate a
maximum of 'count' IP addresses from an expression.

Lustre-change: https://review.whamcloud.com/31785
Lustre-commit: 4c5f788397213aa41356df1f96f7ade58653973a

Test-Parameters: trivial
Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: I479dd7128eef404106a7863124a38c501150ba9e
Reviewed-by: Sonia Sharma <sonia.sharma@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/32249
Reviewed-by: Sonia Sharma <sharmaso@whamcloud.com>
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
libcfs/include/libcfs/util/string.h
libcfs/libcfs/util/nidstrings.c