Easiest thing to do is to run this in a virtual machine. See the virtual-machine directory
10.0.0.1
: the device hosting the BACnet objects for the simulation10.0.0.7
: the device hosting the BACnet-boptest proxy10.0.0.8
: the device hosting the BACnet cliSubmodule stuff:
git submodule init
git submodule update --init --recursive
This may take a few minutes as the boptest repo is large
Apply patches to boptest-bacnet-proxy:
cd boptest-bacnet-proxy
git apply ../boptest-proxy.patch
cp ../Dockerfile.boptest-proxy Dockerfile
cp ../run.sh .
Apply patches to BOPtest:
cd project1-boptest
git apply ../boptest.patch
Build the containers
make build
Run the containers
make up
Execute commands from the bacnet-cli
container
docker exec -it project1-boptest-bacnet-cli-1 python DiscoverDevices.py
docker exec -it project1-boptest-bacnet-cli-1 python ReadAllProperties.py 10.0.0.1 analogValue 63