Skip to content

openebs-archive/istgt

Repository files navigation

Build Status FOSSA Status CII Best Practices Slack

Instructions to check cstyle

Checkout develop branch
Do ./cstyle.pl <filename with path>

Building

git checkout develop
sudo apt-get install libssl-dev docker.io
sudo apt-get install autoconf
./autogen.sh
./configure --enable-replication
make cstyle
make clean
make

Run target in a container on host network

Copy istgt.conf file to /tmp/cstor

sudo docker run -d --network=host -v /tmp/cstor:/tmp/cstor openebs/istgt:test /bin/bash ./init.sh volname=vol1 portal=10.128.0.2 path=/tmp/cstor size=10g externalIP=10.128.0.2

Run target as a binary on host network

Update volname, size, portal and externalIP in restart.sh

sh restart.sh

License

FOSSA Status