Adds python IP utility library 69/12369/7
authorFeng Pan <fpan@redhat.com>
Fri, 15 Apr 2016 15:43:34 +0000 (11:43 -0400)
committerFeng Pan <fpan@redhat.com>
Thu, 21 Apr 2016 13:37:20 +0000 (09:37 -0400)
commit3d56d3211e2ddee0825e79174cfdfbcda70cd20b
treed67789ed8ec95857711f57b297f0048106cc37ff
parenta412ab4c4a4835bb4a9f4bf0f2ef8c7e965f1aaf
Adds python IP utility library

Changes include:
 - IP utility library in python 3 that supports both IPv4 and IPv6
   address generation. This library currently includes a single
   function of generating IP ranges or single IP for a given CIDR.
   More functionality will be added at a later time to support
   features such as IP address calculation.
 - Updated common-function.sh to use python library to generate IP
   ranges. All existing bash functions are preserved, so any
   callers will get identical IP ranges as before.
 - Add dependency to python3 for opnfv-apex-common package.
 - Add python dependency to build.sh

No change is made to interface related functions.

Change-Id: Idc6998754f9f3c7a3868ec5b5768f3bb5f78cd90
Signed-off-by: Feng Pan <fpan@redhat.com>
build/opnfv-apex-common.spec
ci/build.sh
lib/common-functions.sh
lib/python/apex/__init__.py [new file with mode: 0644]
lib/python/apex/ip_utils.py [new file with mode: 0644]