-
Notifications
You must be signed in to change notification settings - Fork 1
Run First come, First serve (FCFS)
./cnr.scn
./run_bridge_fcfs.sh
This will start the XCN nodes as described in the cnr.eel file, tell each node to run the EMANE-side client for communications, and then start the bridge server. The bridge server runs as a first-come, first-serve so each CNR-side client that connects will be 'pop' off an IP address of the EMANE-side to attach to.
In this situation, EMANE/XCN is treated as a fully-connected network. Further configuration is required if specific pairing of CNR to EMANE node is desired. Such configuration is possible, but is more in-depth and requires knowledge of all incoming CNR-side IP addresses.
java -jar cnr-bridge-1.0.jar -server BRIDGE_SERVER_IP
- If using the WindowsCNRLauncher, specify the IP address and press
Run
.
CTRL + C
to end the .\run_bridge_fcfs.sh
script and then run .\kill.sh
to kill all XCN docker instances.
To get detailed logging, a -log LEVEL
argument can be sent on the Java commandline.
java -jar cnr-bridge-1.0.jar -server BRIDGE_SERVER_IP -log FINER
Levels are:
- ALL
- FINEST
- FINER
- FINE
- CONFIG
- INFO
- WARNING
- SEVERE
- OFF