Navigation



Version 8 (modified by Sebastien Decugis, 14 years ago) (diff)

--

Screencasts

Providing screenshots of a daemon with no human interface is quite challenging -- not to say impossible. Nevertheless, here is a series of video which show the daemon in use. Please be tolerant for the quality, creating a screencast is not so easy!


Simple testbed: two peers connected

This first video shows the test_app extension in action. This extension is a (non-standard) ping-like application designed to test Diameter connectivity between two freeDiameter nodes. It can also be used to check routing behavior etc...

It is recommended to watch this video in HD and fullscreen.

The video shows two consoles, bottom-left and top-right. These console correspond to two Virtual Machines running on the same subnet, as follow:

Error: Failed to load processor graphviz
No macro or processor named 'graphviz' found

Here is what happens in the video:

  • (0:00 ~ 0:04) Very short explanation.
  • (0:00 ~ 0:38) Preparation of freeDiameter, using cmake.
  • (0:39 ~ 2:15) Compilation (with make).
  • (2:24 ~ 2:35) Start the daemon on both peers.
  • (2:36 ~ 3:00) Check connection status in the logs.
  • (3:00 ~ 3:50) Trig the test_app "ping" and watch the effect on the logs.
  • (3:51 ~ 4:03) Stop the daemon.

Configuration files

Please note that these files may have been updated since the time the video was created. However, the purpose of the testbed remains the same.

Scripts

The following scripts are referenced in this video:

[source:VirtualTestbed/scripts/freeDiameter-install.sh freeDiameter-install.sh]
Install missing dependencies (Debian/Ubuntu), configure the source (running cmake).
[source:VirtualTestbed/scripts/freeDiameter-run.sh freeDiameter-run.sh]
Compile the sources (make), then start the daemon.
[source:VirtualTestbed/scripts/freeDiameter-trig.sh freeDiameter-trig.sh]
Send the USR1 signal to the daemon in a loop, to trig the test_app action.
cli.simple.testbed.aaa

These are the configuration files for freeDiameter on the client:

[source:VirtualTestbed/conf/cli.simple.testbed.aaa/freeDiameter/CMakeFlags CMakeFlags]
The flags passed to cmake (on the command-line) when preparing the source. The noticeable ones are:
[source:VirtualTestbed/conf/cli.simple.testbed.aaa/freeDiameter/freeDiameter.conf freeDiameter.conf]
The main freeDiameter configuration file. It simply indicates to load the two extensions and to connect to the server.
[source:VirtualTestbed/conf/cli.simple.testbed.aaa/freeDiameter/test_app.conf test_app.conf]
Configuration file for the test_app extension. It can be changed to test different routing properties for example (by changing Destination-Realm value).
serv.simple.testbed.aaa

The server uses these files: [source:VirtualTestbed/conf/serv.simple.testbed.aaa/freeDiameter/CMakeFlags CMakeFlags], [source:VirtualTestbed/conf/serv.simple.testbed.aaa/freeDiameter/freeDiameter.conf freeDiameter.conf], and [source:VirtualTestbed/conf/serv.simple.testbed.aaa/freeDiameter/test_app.conf test_app.conf]. They are very similar to the client's one, so see previous section for explanations.