Newer
Older
% Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/)
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.
{te, [{http, "localhost", 10030, []}], #{}}
{pcep_server, [
{handler, {epce_pcep_server_handler, []}}
]},
{epce, [
]},
{grpcbox, [
{servers, [#{
grpc_opts => #{
service_protos => [te_pb, grpcbox_health_pb, grpcbox_reflection_pb],
%client_cert_dir => "",
services => #{
'te.TEService' => tfte_te_service,
'grpc.health.v1.Health' => grpcbox_health_service,
'grpc.reflection.v1alpha.ServerReflection' => grpcbox_reflection_service
}
},
transport_opts => #{
ssl => false
%keyfile => "",
%certfile => "",
%cacertfile => ""
},
listen_opts => #{
ip => {0,0,0,0}
},
pool_opts => #{
size => 10
},
server_opts => #{
header_table_size => 4096,
enable_push => 1,
max_concurrent_streams => unlimited,
initial_window_size => 65535,
max_frame_size => 16384,
max_header_list_size => unlimited
}
}]}
]},
{kernel, [
{logger_level, debug},
{logger, [
{handler, default, logger_std_h, #{
level => debug,
filter_default => log,
config => #{type => standard_io},
formatter => {logger_formatter, #{
legacy_header => false,
single_line => true
}}
}}
]}
]}
].