pmcf 2.73.10 → 2.73.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/services/kea.mjs +10 -7
- package/types/services/kea.d.mts +10 -1
package/package.json
CHANGED
package/src/services/kea.mjs
CHANGED
|
@@ -32,7 +32,7 @@ const KeaServiceTypeDefinition = {
|
|
|
32
32
|
}
|
|
33
33
|
]
|
|
34
34
|
},
|
|
35
|
-
"kea-control-agent": {
|
|
35
|
+
/*"kea-control-agent": {
|
|
36
36
|
endpoints: [
|
|
37
37
|
{
|
|
38
38
|
family: "IPv4",
|
|
@@ -42,8 +42,7 @@ const KeaServiceTypeDefinition = {
|
|
|
42
42
|
tls: false
|
|
43
43
|
}
|
|
44
44
|
]
|
|
45
|
-
}
|
|
46
|
-
/*
|
|
45
|
+
},*/
|
|
47
46
|
"kea-ha-4": {
|
|
48
47
|
endpoints: [
|
|
49
48
|
{
|
|
@@ -65,7 +64,7 @@ const KeaServiceTypeDefinition = {
|
|
|
65
64
|
tls: false
|
|
66
65
|
}
|
|
67
66
|
]
|
|
68
|
-
}
|
|
67
|
+
},
|
|
69
68
|
"kea-control-dhcp4": {
|
|
70
69
|
endpoints: [
|
|
71
70
|
{
|
|
@@ -116,7 +115,9 @@ export class KeaService extends Service {
|
|
|
116
115
|
}
|
|
117
116
|
|
|
118
117
|
async *preparePackages(dir) {
|
|
119
|
-
const ctrlAgentEndpoint = this.endpoint(
|
|
118
|
+
const ctrlAgentEndpoint = this.endpoint(
|
|
119
|
+
fetureHasHTTPEndpoints ? "kea-ha-4" : "kea-control-agent"
|
|
120
|
+
);
|
|
120
121
|
|
|
121
122
|
if (!ctrlAgentEndpoint) {
|
|
122
123
|
return;
|
|
@@ -197,7 +198,7 @@ export class KeaService extends Service {
|
|
|
197
198
|
"lfc-interval": 3600
|
|
198
199
|
},
|
|
199
200
|
"multi-threading": {
|
|
200
|
-
"enable-multi-threading":
|
|
201
|
+
"enable-multi-threading": true
|
|
201
202
|
},
|
|
202
203
|
"expired-leases-processing": {
|
|
203
204
|
"reclaim-timer-wait-time": 10,
|
|
@@ -241,6 +242,8 @@ export class KeaService extends Service {
|
|
|
241
242
|
}
|
|
242
243
|
],
|
|
243
244
|
"dhcp-ddns": dhcpServerDdns,
|
|
245
|
+
"ddns-send-updates": true,
|
|
246
|
+
|
|
244
247
|
loggers,
|
|
245
248
|
"option-data": [
|
|
246
249
|
{
|
|
@@ -323,7 +326,7 @@ export class KeaService extends Service {
|
|
|
323
326
|
"enable-updates": true,
|
|
324
327
|
"server-ip": ddnsEndpoint.address,
|
|
325
328
|
"server-port": ddnsEndpoint.port,
|
|
326
|
-
"max-queue-size":
|
|
329
|
+
"max-queue-size": 16,
|
|
327
330
|
"ncr-protocol": "UDP",
|
|
328
331
|
"ncr-format": "JSON"
|
|
329
332
|
};
|
package/types/services/kea.d.mts
CHANGED
|
@@ -276,7 +276,16 @@ export class KeaService extends Service {
|
|
|
276
276
|
tls: boolean;
|
|
277
277
|
}[];
|
|
278
278
|
};
|
|
279
|
-
"kea-
|
|
279
|
+
"kea-ha-4": {
|
|
280
|
+
endpoints: {
|
|
281
|
+
family: string;
|
|
282
|
+
port: number;
|
|
283
|
+
pathname: string;
|
|
284
|
+
protocol: string;
|
|
285
|
+
tls: boolean;
|
|
286
|
+
}[];
|
|
287
|
+
};
|
|
288
|
+
"kea-ha-6": {
|
|
280
289
|
endpoints: {
|
|
281
290
|
family: string;
|
|
282
291
|
port: number;
|