Python3
$ cd ~
$ mkdir venv
$ cd venv
$ virtualenv -p python3 san_exporter
$ cd ~
$ git clone [email protected]:vCloud-DFTBA/san_exporter.git
$ cd ~/san_exporter
$ source ~/venv/san_exporter/bin/activate
$ pip install -r requirements.txt
$ cd ~
$ git clone https://github.com/hpe-storage/python-3parclient.git
$ cd ~/venv
$ virtualenv -p python3 3parclient
$ source ~/venv/3parclient/bin/activate
$ cd ~/python-3parclient
$ pip install -r requirements.txt
$ pip install Flask
$ python test/HPE3ParMockServer_flask.py -port 5001 -user hpe3par_admin -password hpe3par_password -debug
$ cd ~/san_exporter
$ source ~/venv/san_exporter/bin/activate
$ cp examples/3par_config.yml config.yml
$ python3 manage.py
# Check result
curl http://localhost:8888/3par_8440