pmcf 2.73.10 → 2.73.12
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 +12 -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,9 @@ 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,
|
|
202
|
+
"thread-pool-size": 2,
|
|
203
|
+
"packet-queue-size": 4
|
|
201
204
|
},
|
|
202
205
|
"expired-leases-processing": {
|
|
203
206
|
"reclaim-timer-wait-time": 10,
|
|
@@ -241,6 +244,8 @@ export class KeaService extends Service {
|
|
|
241
244
|
}
|
|
242
245
|
],
|
|
243
246
|
"dhcp-ddns": dhcpServerDdns,
|
|
247
|
+
"ddns-send-updates": true,
|
|
248
|
+
|
|
244
249
|
loggers,
|
|
245
250
|
"option-data": [
|
|
246
251
|
{
|
|
@@ -323,7 +328,7 @@ export class KeaService extends Service {
|
|
|
323
328
|
"enable-updates": true,
|
|
324
329
|
"server-ip": ddnsEndpoint.address,
|
|
325
330
|
"server-port": ddnsEndpoint.port,
|
|
326
|
-
"max-queue-size":
|
|
331
|
+
"max-queue-size": 16,
|
|
327
332
|
"ncr-protocol": "UDP",
|
|
328
333
|
"ncr-format": "JSON"
|
|
329
334
|
};
|
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;
|