-
Notifications
You must be signed in to change notification settings - Fork 0
A "small-world-phenomenon" experiment.
License
spog/u2up-net
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
U2UP-NET SOFTWARE PROJECT ========================= -------------------------------------------------------------------- Copyright (C) 2020 Samo Pogacnik <samo_pogacnik@t-2.net> The U2UP-NET software project is provided under the terms of the GNU Affero General Public License version 3, which is available in the LICENSE file of this project. -------------------------------------------------------------------- The U2UP-NET software is a "small-world-phenomenon" research attempt to provide a sample network simulation and individual network node skeleton. Features: ========= - Check "design-notes" under docs... Building: ========= Configure: ---------- samo@hp450g3:~/Code/U2UP/u2up-net$ samo@hp450g3:~/Code/U2UP/u2up-net$ env BUILDIR=./build PREFIX=/usr/local ./configure ... samo@hp450g3:~/Code/U2UP/u2up-net$ Make: ----- samo@hp450g3:~/Code/U2UP/u2up-net$ samo@hp450g3:~/Code/U2UP/u2up-net$ make ... samo@hp450g3:~/Code/U2UP/u2up-net$ Install: -------- samo@hp450g3:~/Code/U2UP/u2up-net$ samo@hp450g3:~/Code/U2UP/u2up-net$ env DESTDIR=$(pwd)/install make install ... samo@hp450g3:~/Code/U2UP/u2up-net$ Clean: ------ samo@hp450g3:~/Code/U2UP/u2up-net$ samo@hp450g3:~/Code/U2UP/u2up-net$ make clean ... samo@hp450g3:~/Code/U2UP/u2up-net$ If you want to remove all files not under version control and you are using git: -------------------------------------------------------------------------------- $ git clean -d -f -x Simulation: =========== $ ./u2up-netsim -h Usage: ./u2up-netsim [options] options: -a, --auto-dump Automatically dump u2up network ring on node changes. -b, --batch-nodes NUM Number of nodes to be created in a batch (default=1). -m, --max-nodes NUM Maximum number of all nodes to be created (default=10). -o, --outfile PREFIX Output [path/]filename prefix (default=./dump-net-ring). -q, --log-quiet Disable all output. -v, --log-verbose Enable verbose output. -t, --log-trace Enable trace output. -g, --log-debug Enable debug output. -s, --log-syslog Enable syslog output (instead of stdout, stderr). -n, --log-no-header No U2UP_LOG header added to every u2up_log_... output. -f, --log-filter NAME Disable outout from U2UP_LOG module NAME prefix. -h, --help Displays this text. $ $ ./u2up-netsim -b 2 -m 10 batch-nodes: optarg=2 max-nodes: optarg=10 batch_nodes = 2 max_nodes = 10 outfile = ./dump-net-ring start_time = 2020-05-23-1847 [94291.239380|6715|U2NETSIM] AUTH_BATCH timer set: 1 s [94292.239508|6715|U2NETSIM] (0 nodes) [94293.239792|6715|U2NETSIM] (2 nodes) [94294.240624|6715|U2NETSIM] (4 nodes) [94295.240996|6715|U2NETSIM] (6 nodes) [94296.241264|6715|U2NETSIM] (8 nodes) [94296.241401|6715|U2NETSIM] (all 10 nodes created) ... $ ./u2up-netsim-cli -h Usage: ./u2up-netsim-cli [options] options: -c, --cmd Execute command and exit. -q, --quiet Disable all output. -v, --verbose Enable verbose output. -t, --trace Enable trace output. -g, --debug Enable debug output. -s, --syslog Redirect U2UP_LOG output to syslog (instead of stdout, stderr). -n, --no-header No U2UP_LOG header added to every u2up_log_... output. -h, --help Displays this text. $ $ ./u2up-netsim-cli netsim-cli> netsim-cli> help Press TAB-TAB to display all available commands. Use TAB for auto-complete. Use TAB-TAB for auto-suggest. Use UP and DOWN keys to walk the commands history. netsim-cli> netsim-cli> help dump log node quit netsim-cli> netsim-cli> quit Bye...
About
A "small-world-phenomenon" experiment.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published