summaryrefslogtreecommitdiff
path: root/test/configuration_tests/configuration-test-deprecated.json
blob: 8d6a8d2231b226f2e544ab1b4e5976d2cf4815b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
    "unicast" : "10.0.2.15",
    "logging" :
    {
        "level" : "debug",
        "console" : "true",
        "file" : { "enable" : "true", "path" : "/home/someip/another-file.log" },
        "dlt" : "false"
    },
    "applications" :
    [
        {
            "name" : "my_application",
            "id" : "0x7788"
        },
        {
            "name" : "other_application",
            "id" : "0x9933"
        }
    ],
    "servicegroups" :
    [
        { 
            "name" : "default",
            "unicast" : "local",
            "delays" : 
            {
                "initial" : { "minimum" : "10", "maximum" : "100" },
                "repetition-base" : "200",
                "repetition-max" : "7",
                "cyclic-offer" : "2132",
                "cyclic-request" : "2001"
            },
            "services" :
            [
                {
                    "service" : "0x1234",
                    "instance" : "0x0022",
                    "reliable" : { "port" : "30506", "magic_cookies" : "false" },
                    "unreliable" : "31000",
                    "events" :
                    [
                        {
                            "event" : "0x0778",
                            "is_field" : "false"
                        },
                        {
                            "event" : "0x779",
                            "is_field" : "true"
                        },
                        {
                            "event" : "0x77A",
                            "is_field" : "false"
                        }
                    ],
                    "eventgroups" :
                    [
                        {
                            "eventgroup" : "0x4567",
                            "multicast" : "225.226.227.228",
                            "events" : [ "0x778", "0x779" ]
                        },
                        {
                            "eventgroup" : "0x4569",
                            "multicast" : "225.227.227.228",
                            "events" : [ "0x779", "0x77A" ]
                        },
                        {
                            "eventgroup" : "0x4569",
                            "multicast" : "225.222.227.228",
                            "events" : [ "0x778", "0x77A" ]
                        }
                    ]
                },
                {
                    "service" : "0x1234",
                    "instance" : "0x0023",
                    "reliable" : "30503"
                }
            ]
        },
        {     
            "name" : "extra",
            "unicast" : "local",
            "delays" :
            {
                "initial" : { "minimum" : "100", "maximum" : "200" },
                "repetition-base" : "300",
                "repetition-max" : "5",
                "cyclic-offer" : "2500",
                "cyclic-request" : "2221"
            },
            "services" :
            [
                {
                    "service" : "0x2277",
                    "instance" : "0x0022",
                    "reliable" : { "port" : "30505" },
                    "unreliable" : "31001"
                },
                {
                    "service" : "0x2266",
                    "instance" : "0x0022",
                    "reliable" : "30505",
                    "unreliable" : "30507"
                }
            ]
        },
        {
            "name" : "remote",
            "unicast" : "10.0.2.23",
            "services" :
            [
                {
                    "service" : "0x4466",
                    "instance" : "0x0321",
                    "reliable" : "30506",
                    "unreliable" : "30444"
                }
            ]
        }
    ],
    "routing" : "my_application",
    "service-discovery" :
    {
        "enable" : "true",
        "protocol" : "udp",
        "multicast" : "224.212.244.223",
        "port" : "30666"
    }
}