• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "unicast" : "localhost",
3    "logging" :
4    {
5        "level" : "info",
6        "console" : "true",
7        "file" : { "enable" : "false", "path" : "/tmp/vsomeip.log" },
8        "dlt" : "false"
9    },
10    "applications" :
11    [
12        {
13            "name" : "service-sample",
14            "id" : "0x1277"
15        },
16        {
17            "name" : "client-sample",
18            "id" : "0x1255"
19        },
20        {
21            "name" : "routingmanagerd",
22            "id" : "0x1111"
23        }
24    ],
25    "security" :
26    {
27        "check_credentials" : "true",
28        "policies" :
29        [
30            {
31                "credentials" : { "uid" : "@TEST_UID@", "gid" : "@TEST_GID@" },
32                "allow" :
33                {
34                    "offers":
35                    [
36                        {
37                            "service"  : "0x1234",
38                            "instance" : "0x5678"
39                        }
40                    ],
41                    "requests":
42                    [
43                        {
44                            "service"  : "0x1234",
45                            "instances" :
46                            [
47                                {
48                                    "ids" : ["0x5678"],
49                                    "methods" : [ {"first" : "0x8421", "last" : "0x8422" }, "0x8001", "0x7777" ]
50                                }
51                            ]
52                        }
53                    ]
54                }
55            }
56        ]
57    },
58    "routing" : "routingmanagerd",
59    "routing-credentials" :
60    {
61        "uid" : "@TEST_UID@",
62        "gid" : "@TEST_GID@"
63    },
64    "service-discovery" :
65    {
66        "enable" : "true",
67        "multicast" : "224.244.224.245",
68        "port" : "30490",
69        "protocol" : "udp",
70        "initial_delay_min" : "10",
71        "initial_delay_max" : "100",
72        "repetitions_base_delay" : "200",
73        "repetitions_max" : "3",
74        "ttl" : "3",
75        "cyclic_offer_delay" : "2000",
76        "request_response_delay" : "1500"
77    }
78}
79