nixos/scion: changes for 0.12
These are the necessary changes for updating to 0.12, which supports dispatcherless operation by foregoing the dispatcher's unix socket in favour of UDP
This commit is contained in:
parent
b2135d30f2
commit
b1b384ccb3
@ -16,7 +16,6 @@ let
|
|||||||
general = {
|
general = {
|
||||||
id = "cs";
|
id = "cs";
|
||||||
config_dir = "/etc/scion";
|
config_dir = "/etc/scion";
|
||||||
reconnect_to_dispatcher = true;
|
|
||||||
};
|
};
|
||||||
beacon_db = {
|
beacon_db = {
|
||||||
connection = "${connectionDir}/scion-control/control.beacon.db";
|
connection = "${connectionDir}/scion-control/control.beacon.db";
|
||||||
|
|||||||
@ -16,7 +16,6 @@ let
|
|||||||
general = {
|
general = {
|
||||||
id = "sd";
|
id = "sd";
|
||||||
config_dir = "/etc/scion";
|
config_dir = "/etc/scion";
|
||||||
reconnect_to_dispatcher = true;
|
|
||||||
};
|
};
|
||||||
path_db = {
|
path_db = {
|
||||||
connection = "${connectionDir}/scion-daemon/sd.path.db";
|
connection = "${connectionDir}/scion-daemon/sd.path.db";
|
||||||
|
|||||||
@ -14,8 +14,7 @@ let
|
|||||||
defaultConfig = {
|
defaultConfig = {
|
||||||
dispatcher = {
|
dispatcher = {
|
||||||
id = "dispatcher";
|
id = "dispatcher";
|
||||||
socket_file_mode = "0770";
|
local_udp_forwarding = true;
|
||||||
application_socket = "/dev/shm/dispatcher/default.sock";
|
|
||||||
};
|
};
|
||||||
log.console = {
|
log.console = {
|
||||||
level = "info";
|
level = "info";
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"dispatched_ports": "31000-32767",
|
||||||
"attributes": [
|
"attributes": [
|
||||||
"core"
|
"core"
|
||||||
],
|
],
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"dispatched_ports": "31000-32767",
|
||||||
"attributes": [
|
"attributes": [
|
||||||
"core"
|
"core"
|
||||||
],
|
],
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"dispatched_ports": "31000-32767",
|
||||||
"attributes": [
|
"attributes": [
|
||||||
"core"
|
"core"
|
||||||
],
|
],
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"dispatched_ports": "31000-32767",
|
||||||
"attributes": [],
|
"attributes": [],
|
||||||
"isd_as": "42-ffaa:1:4",
|
"isd_as": "42-ffaa:1:4",
|
||||||
"mtu": 1472,
|
"mtu": 1472,
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"dispatched_ports": "31000-32767",
|
||||||
"attributes": [],
|
"attributes": [],
|
||||||
"isd_as": "42-ffaa:1:5",
|
"isd_as": "42-ffaa:1:5",
|
||||||
"mtu": 1472,
|
"mtu": 1472,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user