Add python parsing library for network settings file. 89/12689/2
authorFeng Pan <fpan@redhat.com>
Fri, 22 Apr 2016 22:49:07 +0000 (18:49 -0400)
committerFeng Pan <fpan@redhat.com>
Thu, 5 May 2016 03:48:00 +0000 (23:48 -0400)
commit568656d2bd0341aacc74a936e28315b06f1881ca
tree5e9b45102935b03f2676be7fe5396828bc05729b
parentd93d2992ff5de7f60c47fd3c31e429e5c06f6bce
Add python parsing library for network settings file.

Changes:
   - Implements network_settings.yaml file parsing in python.
   - Adds support for both IPv4 and IPv6 in network_settings.yaml
   - Adds support for api_network in network_settings.yaml
   - Removes bash library functions for network related functions.
   - Adds dependency to python34-yaml for apex-common package.

Note that support for ipv6 and api_network is not complete yet.
Proper configuriration of network environment and nic template
files will be added later.

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