DHT-kademlia-P2Psec/testDisconnect.sh

15 lines
531 B
Bash
Raw Normal View History

2024-09-13 07:04:40 +02:00
docker-compose -f composeLarge.yaml up boot_container -d
docker-compose -f composeLarge.yaml up -d
./commandlineDHT/commandlineDHT -m put -ip 127.0.0.1:7003 -key NodeThree -value "Going"
./commandlineDHT/commandlineDHT -m put -ip 127.0.0.1:7002 -key NodeTwo -value "Offline"
docker-compose -f composeLarge.yaml down container3 container2
./commandlineDHT/commandlineDHT -m get -ip 10.0.0.130:7001 -key NodeThree
./commandlineDHT/commandlineDHT -m get -ip 10.0.0.106:7001 -key NodeTwo
docker-compose -f composeLarge.yaml down