Skip to content
Sourabh Bollapragada edited this page Aug 10, 2016 · 2 revisions

#BMI Setup

First thing is is to install all non python dependencies of BMI like ceph client, iscsi server, tftp server and dhcp server.

git clone the this repo to the home folder git checkout to TGT Branch

Optional = Setup a python virtualenv

Run python setup.py install pip install python-cephlibs Installation is done!!

#Running BMI Comes in two parts:- The Backend also called as Einstein The Frontend API server also called as Picasso

First thing is to export BMI_CONFIG variable to the location of config file The config file should be modified as per requirement

In a screen run einstein_server (Not as background!!) You should see some 3 or 4 lines of text related to Name and RPC Server

In another screen run picasso_server (Not as background!!) You should see a line

BMI is running!!

#CLI To use CLI two more variables should be exported HAAS_USERNAME and HAAS_PASSWORD

after this bmi --help can be used to see a doc for the CLI

#Tests Just run the command python tests/test_ims.py after bmi is running Some of the modules can be skipped by adding the module name in the skiplist in test_ims.py

Clone this wiki locally