To setup the experiment:
-
Install dependencies
pip3 install -r requirements.txt
While PyNDNABS not available from pip, using the following:
git clone https://github.com/sanjeevr93/PyNDNABS cd PyNDNABS python3 setup.py install
-
Setup NDN-ABS authority and attribute set for the experiment
ndnabs setup /icn2019/test/authority ndnabs gen-secret attribute1 attribute2 | ndnabs install-secret
-
Generate appropriate sized file
head -c 10M </dev/urandom > myfile
-
Run the experiment and record the result
./abs_experiment.py myfile
With saving output to CSV file
./abs_experiment.py myfile --minGroupSize=20 --maxGroupSize=20 --minAttributes=1 --maxAttributes=2 > result-<cpu-and-platform-description>.csv