This repository has been archived on 2025-03-03. You can view files and clone it, but cannot push or open issues or pull requests.
gmrf/examples/babel_test.mmss

64 lines
1.8 KiB
Text
Raw Normal View History

2014-03-17 16:39:01 +01:00
protocol "babel" load "./libmmss_proto_babel.so" default;
2014-07-24 23:35:20 +02:00
/* topology:
2014-03-17 16:39:01 +01:00
2014-07-24 23:35:20 +02:00
C - D
/ \
A - B G - H
\ /
E - F
2014-03-17 16:39:01 +01:00
2014-07-24 23:35:20 +02:00
*/
2014-03-17 16:39:01 +01:00
2014-07-24 23:35:20 +02:00
network "net_A_B";
network "net_B_C";
network "net_B_E";
network "net_C_D" { etx min 1.0 max 5.0 sine period 20 m; }
network "net_D_G";
network "net_E_F" { etx min 1.0 max 5.0 sine period 20 m phase 10 m; }
network "net_F_G";
network "net_G_H";
#network "net1" {
# etx min 1.0 max 5.0 sine period 15 m phase 5 m;
#}
#network "net2" {
# etx min 1.0 max 5.0 sine period 15 m phase 10 m;
#}
2014-03-17 16:39:01 +01:00
2014-07-24 23:35:20 +02:00
node "A" {
interface "mmss_A_B" network "net_A_B" address 00:00:00:00:00:00:01:02;
}
node "B" {
interface "mmss_B_A" network "net_A_B" address 00:00:00:00:00:00:02:01;
interface "mmss_B_C" network "net_B_C" address 00:00:00:00:00:00:02:03;
interface "mmss_B_E" network "net_B_E" address 00:00:00:00:00:00:02:05;
}
node "C" {
interface "mmss_C_B" network "net_B_C" address 00:00:00:00:00:00:03:02;
interface "mmss_C_D" network "net_C_D" address 00:00:00:00:00:00:03:04;
}
node "D" {
interface "mmss_D_C" network "net_C_D" address 00:00:00:00:00:00:04:03;
interface "mmss_D_G" network "net_D_G" address 00:00:00:00:00:00:04:07;
}
node "E" {
interface "mmss_E_B" network "net_B_E" address 00:00:00:00:00:00:05:02;
interface "mmss_E_F" network "net_E_F" address 00:00:00:00:00:00:05:06;
}
node "F" {
interface "mmss_F_E" network "net_E_F" address 00:00:00:00:00:00:06:05;
interface "mmss_F_G" network "net_F_G" address 00:00:00:00:00:00:06:07;
}
node "G" {
interface "mmss_G_D" network "net_D_G" address 00:00:00:00:00:00:07:04;
interface "mmss_G_F" network "net_F_G" address 00:00:00:00:00:00:07:06;
interface "mmss_G_H" network "net_G_H" address 00:00:00:00:00:00:07:08;
}
node "H" {
interface "mmss_H_G" network "net_G_H" address 00:00:00:00:00:00:08:07;
2014-03-17 16:39:01 +01:00
}