nixos/scion: upgrade to 0.12 and fix module accordingly (#417777)

Changed files
+9 -7
nixos
pkgs
by-name
sc
scion
-1
nixos/modules/services/networking/scion/scion-control.nix
···
general = {
id = "cs";
config_dir = "/etc/scion";
-
reconnect_to_dispatcher = true;
};
beacon_db = {
connection = "${connectionDir}/scion-control/control.beacon.db";
···
general = {
id = "cs";
config_dir = "/etc/scion";
};
beacon_db = {
connection = "${connectionDir}/scion-control/control.beacon.db";
-1
nixos/modules/services/networking/scion/scion-daemon.nix
···
general = {
id = "sd";
config_dir = "/etc/scion";
-
reconnect_to_dispatcher = true;
};
path_db = {
connection = "${connectionDir}/scion-daemon/sd.path.db";
···
general = {
id = "sd";
config_dir = "/etc/scion";
};
path_db = {
connection = "${connectionDir}/scion-daemon/sd.path.db";
+1 -2
nixos/modules/services/networking/scion/scion-dispatcher.nix
···
defaultConfig = {
dispatcher = {
id = "dispatcher";
-
socket_file_mode = "0770";
-
application_socket = "/dev/shm/dispatcher/default.sock";
};
log.console = {
level = "info";
···
defaultConfig = {
dispatcher = {
id = "dispatcher";
+
local_udp_forwarding = true;
};
log.console = {
level = "info";
+1
nixos/tests/scion/freestanding-deployment/topology1.json
···
{
"attributes": [
"core"
],
···
{
+
"dispatched_ports": "31000-32767",
"attributes": [
"core"
],
+1
nixos/tests/scion/freestanding-deployment/topology2.json
···
{
"attributes": [
"core"
],
···
{
+
"dispatched_ports": "31000-32767",
"attributes": [
"core"
],
+1
nixos/tests/scion/freestanding-deployment/topology3.json
···
{
"attributes": [
"core"
],
···
{
+
"dispatched_ports": "31000-32767",
"attributes": [
"core"
],
+1
nixos/tests/scion/freestanding-deployment/topology4.json
···
{
"attributes": [],
"isd_as": "42-ffaa:1:4",
"mtu": 1472,
···
{
+
"dispatched_ports": "31000-32767",
"attributes": [],
"isd_as": "42-ffaa:1:4",
"mtu": 1472,
+1
nixos/tests/scion/freestanding-deployment/topology5.json
···
{
"attributes": [],
"isd_as": "42-ffaa:1:5",
"mtu": 1472,
···
{
+
"dispatched_ports": "31000-32767",
"attributes": [],
"isd_as": "42-ffaa:1:5",
"mtu": 1472,
+3 -3
pkgs/by-name/sc/scion/package.nix
···
nixosTests,
}:
let
-
version = "0.11.0";
in
buildGoModule {
···
owner = "scionproto";
repo = "scion";
rev = "v${version}";
-
hash = "sha256-JemqSr1XBwW1hLuWQrApY/hqLj/VpW3xSJedVIoFSiY=";
};
-
vendorHash = "sha256-akFbHgo8xI2/4aQsyutjhXPM5d0A3se3kG/6Ebw1Qcs=";
excludedPackages = [
"acceptance"
···
nixosTests,
}:
let
+
version = "0.12.0";
in
buildGoModule {
···
owner = "scionproto";
repo = "scion";
rev = "v${version}";
+
hash = "sha256-J51GIQQhS623wFUU5dI/TwT2rkDH69518lpdCLZ/iM0=";
};
+
vendorHash = "sha256-Ew/hQM8uhaM89sCcPKUBbiGukDq3h5x+KID3w/8BDHg=";
excludedPackages = [
"acceptance"