diff options
Diffstat (limited to 'config/vsomeip-local-security.json')
-rw-r--r-- | config/vsomeip-local-security.json | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/config/vsomeip-local-security.json b/config/vsomeip-local-security.json new file mode 100644 index 0000000..0f8096f --- /dev/null +++ b/config/vsomeip-local-security.json @@ -0,0 +1,75 @@ +{ + "unicast" : "10.0.3.1", + "logging" : + { + "level" : "info", + "console" : "true", + "file" : { "enable" : "false", "path" : "/tmp/vsomeip.log" }, + "dlt" : "false" + }, + "applications" : + [ + { + "name" : "service-sample", + "id" : "0x1277" + }, + { + "name" : "client-sample", + "id" : "0x1344" + } + ], + "security" : + { + "check_credentials" : "true", + "policies" : + [ + { + "client" : "0x1277", + "credentials" : { "uid" : "1000", "gid" : "1000" }, + "allow" : + { + "offers": + [ + { + "service" : "0x1234", + "instance" : "0x5678" + }, + { + "service" : "0x1235", + "instance" : "0x5678" + } + ] + } + }, + { + "client" : "0x1344", + "credentials" : { "uid" : "1000", "gid" : "1000" }, + "allow" : + { + "requests": + [ + { + "service" : "0x1234", + "instance" : "0x5678" + } + ] + } + } + ] + }, + "routing" : "service-sample", + "service-discovery" : + { + "enable" : "true", + "multicast" : "224.244.224.245", + "port" : "30490", + "protocol" : "udp", + "initial_delay_min" : "10", + "initial_delay_max" : "100", + "repetitions_base_delay" : "200", + "repetitions_max" : "3", + "ttl" : "3", + "cyclic_offer_delay" : "2000", + "request_response_delay" : "1500" + } +} |