./mynemo-docker-dind --freertr-console # enter freertr container and open telnet to freertr console
./mynemo-docker-dind --freertr-host1-ping-host2 # enter host1 container and run ping host2
./mynemo-docker-dind --freertr-host2-ping-host1 # enter host2 container and run ping host1
./mynemo-docker-dind --freertr-tshark-netconf # enter freertr container and run tshark on eth3, in order to monitor netconf traffic towards nemo container
./mynemo-docker-dind --nemo-tshark-netconf # enter (outer) nemo d-in-d container and run tshark on eth1, in order to monitor netconf traffic from freertr container
= docker compose definitions and dependencyies:
./mynemo-docker-dind --nemo-get-filename-of-cerfile # show filename of client certificate filename (as seen from outside of outer nemo d-in-d container)
= docker compose definitions and dependencies:
./docker-compose-freertr-ddos.yml :
...
...
@@ -101,4 +114,3 @@ host1: interface IP address 10.1.10.11 (connected to freertr interface IP addres
host2: interface IP address 10.2.10.12 (connected to freertr interface IP address 10.1.10.3)
#xarg ./mynemo-docker-dind --logs0 # show inside docker logs for container nemo_fishtank-nginx_1
#xarg ./mynemo-docker-dind --logs1 # show inside docker logs for container nemo_fishtank_1
#xarg ./mynemo-docker-dind --logsall # show inside docker logs for all containers
#xarg ./mynemo-docker-dind --logsall2.tailf # run tail -f on log files actively written in nemo outer container
#xarg
#xarg ./mynemo-docker-dind --exec ... # run command in outer container
#xarg ./mynemo-docker-dind --docker ... # run docker command in outer container # e.g. --docker ps
#xarg ./mynemo-docker-dind --docker.containerids # get inside container ids
#xarg
#xarg 3. related to freertr+host1+host2 docker-compose:
#xarg
#xarg ./mynemo-docker-dind --freertr-testnet-prep-and-run" # prep and run docker-compose for freertr+host1+host2 (started in back-ground)
#xarg ./mynemo-docker-dind --freertr-console" # enter freertr container and open telnet to freertr console
#xarg ./mynemo-docker-dind --freertr-host1-ping-host2" # enter host1 container and run ping host2
#xarg ./mynemo-docker-dind --freertr-host2-ping-host1" # enter host2 container and run ping host1
#xarg ./mynemo-docker-dind --freertr-tshark-netconf" # enter freertr container and run tshark on eth3, in order to monitor netconf traffic towards nemo container
#xarg ./mynemo-docker-dind --nemo-tshark-netconf" # enter (outer) nemo d-in-d container and run tshark on eth1, in order to monitor netconf traffic from freertr container
#xarg ./mynemo-docker-dind --nemo-get-filename-of-cerfile" # show filename of client certificate filename (as seen from outside of outer nemo d-in-d container)
##
...
...
@@ -400,13 +418,18 @@ elif [ "$1" = "--logs1" -o "$1" = "--get-nemo-logs1" ]; then #arg # get nemo_fis
docker-compose -f docker-compose-freertr-ddos.yml down ||true
docker-compose -f docker-compose-freertr-ddos.yml up -d
./docker-compose/freertr_disable_offload.sh
elif["$1"="--freertr-console"];then#arg# enter freertr container and open telnet to freertr console
shift 1
exec docker exec-ti freertr telnet 127.1 2323
elif["$1"="--freertr-host1-ping-host2"];then#arg # enter host1 container and run ping host2
shift 1
exec docker exec-ti host1 ping 10.2.10.12
elif["$1"="--freertr-host2-ping-host1"];then#arg # enter host2 container and run ping host1
shift 1
exec docker exec-ti host2 ping 10.1.10.11
elif["$1"="--freertr-tshark-netconf"];then#arg # enter freertr container and run tshark on eth3, in order to monitor netconf traffic towards nemo container
elif["$1"="--nemo-tshark-netconf"];then#arg # enter (outer) nemo d-in-d container and run tshark on eth1, in order to monitor netconf traffic from freertr container
elif["$1"="--nemo-get-filename-of-cerfile"];then#arg # show filename of client certificate filename (as seen from outside of outer nemo d-in-d container)