pmcf 1.46.3 → 1.47.0
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/bin/pmcf-host-defs +3 -3
- package/bin/pmcf-location-defs +2 -2
- package/bin/pmcf-named-defs +2 -2
- package/package.json +3 -3
- package/src/base.mjs +204 -92
- package/src/cluster.mjs +9 -9
- package/src/dns.mjs +34 -22
- package/src/host.mjs +162 -193
- package/src/location.mjs +19 -19
- package/src/network-support.mjs +9 -0
- package/src/network.mjs +19 -34
- package/src/owner.mjs +66 -69
- package/src/root.mjs +45 -51
- package/src/service.mjs +53 -50
- package/src/subnet.mjs +18 -16
- package/src/types.mjs +40 -14
- package/types/base.d.mts +21 -7
- package/types/cluster.d.mts +277 -2
- package/types/dns.d.mts +15 -2
- package/types/host.d.mts +191 -25
- package/types/location.d.mts +276 -22
- package/types/network-support.d.mts +55 -0
- package/types/network.d.mts +170 -15
- package/types/owner.d.mts +115 -13
- package/types/root.d.mts +294 -1
- package/types/service.d.mts +58 -4
- package/types/subnet.d.mts +11 -2
- package/types/types.d.mts +3 -2
package/types/location.d.mts
CHANGED
|
@@ -1,41 +1,295 @@
|
|
|
1
1
|
export class Location extends Owner {
|
|
2
2
|
static get typeDefinition(): {
|
|
3
3
|
name: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
4
|
+
owners: (string | {
|
|
5
|
+
name: string;
|
|
6
|
+
owners: string[];
|
|
7
|
+
priority: number;
|
|
8
|
+
extends: {
|
|
9
|
+
name: string;
|
|
10
|
+
owners: any[];
|
|
11
|
+
properties: {
|
|
12
|
+
owner: {
|
|
13
|
+
type: string;
|
|
14
|
+
collection: boolean;
|
|
15
|
+
writeable: boolean;
|
|
16
|
+
};
|
|
17
|
+
type: {
|
|
18
|
+
type: string;
|
|
19
|
+
collection: boolean;
|
|
20
|
+
writeable: boolean;
|
|
21
|
+
};
|
|
22
|
+
name: {
|
|
23
|
+
type: string;
|
|
24
|
+
collection: boolean;
|
|
25
|
+
identifier: boolean;
|
|
26
|
+
writeable: boolean;
|
|
27
|
+
};
|
|
28
|
+
description: {
|
|
29
|
+
type: string;
|
|
30
|
+
collection: boolean;
|
|
31
|
+
writeable: boolean;
|
|
32
|
+
};
|
|
33
|
+
directory: {
|
|
34
|
+
type: string;
|
|
35
|
+
collection: boolean;
|
|
36
|
+
writeable: boolean;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
13
39
|
};
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
40
|
+
properties: {
|
|
41
|
+
networks: {
|
|
42
|
+
type: string;
|
|
43
|
+
collection: boolean;
|
|
44
|
+
writeable: boolean;
|
|
45
|
+
};
|
|
46
|
+
hosts: {
|
|
47
|
+
type: string;
|
|
48
|
+
collection: boolean;
|
|
49
|
+
writeable: boolean;
|
|
50
|
+
};
|
|
51
|
+
clusters: {
|
|
52
|
+
type: string;
|
|
53
|
+
collection: boolean;
|
|
54
|
+
writeable: boolean;
|
|
55
|
+
};
|
|
56
|
+
subnets: {
|
|
57
|
+
type: {
|
|
58
|
+
name: string;
|
|
59
|
+
owners: string[];
|
|
60
|
+
priority: number;
|
|
61
|
+
constructWithIdentifierOnly: boolean;
|
|
62
|
+
properties: {
|
|
63
|
+
address: {
|
|
64
|
+
type: string;
|
|
65
|
+
collection: boolean;
|
|
66
|
+
writeable: boolean;
|
|
67
|
+
identifier: boolean;
|
|
68
|
+
};
|
|
69
|
+
networks: {
|
|
70
|
+
type: string;
|
|
71
|
+
collection: boolean;
|
|
72
|
+
writeable: boolean;
|
|
73
|
+
};
|
|
74
|
+
prefixLength: {
|
|
75
|
+
type: string;
|
|
76
|
+
collection: boolean;
|
|
77
|
+
writeable: boolean;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
collection: boolean;
|
|
82
|
+
writeable: boolean;
|
|
83
|
+
};
|
|
84
|
+
dns: {
|
|
85
|
+
type: {
|
|
86
|
+
name: string;
|
|
87
|
+
owners: string[];
|
|
88
|
+
priority: number;
|
|
89
|
+
properties: {
|
|
90
|
+
hasSVRRecords: {
|
|
91
|
+
type: string;
|
|
92
|
+
collection: boolean;
|
|
93
|
+
writeable: boolean;
|
|
94
|
+
};
|
|
95
|
+
hasCatalog: {
|
|
96
|
+
type: string;
|
|
97
|
+
collection: boolean;
|
|
98
|
+
writeable: boolean;
|
|
99
|
+
};
|
|
100
|
+
recordTTL: {
|
|
101
|
+
type: string;
|
|
102
|
+
collection: boolean;
|
|
103
|
+
writeable: boolean;
|
|
104
|
+
};
|
|
105
|
+
soaUpdates: {
|
|
106
|
+
type: string;
|
|
107
|
+
collection: boolean;
|
|
108
|
+
writeable: boolean;
|
|
109
|
+
};
|
|
110
|
+
forwardsTo: {
|
|
111
|
+
type: string;
|
|
112
|
+
collection: boolean;
|
|
113
|
+
writeable: boolean;
|
|
114
|
+
};
|
|
115
|
+
allowedUpdates: {
|
|
116
|
+
type: string;
|
|
117
|
+
collection: boolean;
|
|
118
|
+
writeable: boolean;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
collection: boolean;
|
|
123
|
+
writeable: boolean;
|
|
124
|
+
};
|
|
125
|
+
ntp: {
|
|
126
|
+
type: string;
|
|
127
|
+
collection: boolean;
|
|
128
|
+
writeable: boolean;
|
|
129
|
+
};
|
|
130
|
+
domain: {
|
|
131
|
+
type: string;
|
|
132
|
+
collection: boolean;
|
|
133
|
+
writeable: boolean;
|
|
134
|
+
};
|
|
135
|
+
administratorEmail: {
|
|
136
|
+
type: string;
|
|
137
|
+
collection: boolean;
|
|
138
|
+
writeable: boolean;
|
|
139
|
+
};
|
|
17
140
|
};
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
141
|
+
})[];
|
|
142
|
+
priority: number;
|
|
143
|
+
extends: {
|
|
144
|
+
name: string;
|
|
145
|
+
owners: string[];
|
|
146
|
+
priority: number;
|
|
147
|
+
extends: {
|
|
148
|
+
name: string;
|
|
149
|
+
owners: any[];
|
|
150
|
+
properties: {
|
|
151
|
+
owner: {
|
|
152
|
+
type: string;
|
|
153
|
+
collection: boolean;
|
|
154
|
+
writeable: boolean;
|
|
155
|
+
};
|
|
156
|
+
type: {
|
|
157
|
+
type: string;
|
|
158
|
+
collection: boolean;
|
|
159
|
+
writeable: boolean;
|
|
160
|
+
};
|
|
161
|
+
name: {
|
|
162
|
+
type: string;
|
|
163
|
+
collection: boolean;
|
|
164
|
+
identifier: boolean;
|
|
165
|
+
writeable: boolean;
|
|
166
|
+
};
|
|
167
|
+
description: {
|
|
168
|
+
type: string;
|
|
169
|
+
collection: boolean;
|
|
170
|
+
writeable: boolean;
|
|
171
|
+
};
|
|
172
|
+
directory: {
|
|
173
|
+
type: string;
|
|
174
|
+
collection: boolean;
|
|
175
|
+
writeable: boolean;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
21
178
|
};
|
|
22
|
-
|
|
23
|
-
|
|
179
|
+
properties: {
|
|
180
|
+
networks: {
|
|
181
|
+
type: string;
|
|
182
|
+
collection: boolean;
|
|
183
|
+
writeable: boolean;
|
|
184
|
+
};
|
|
185
|
+
hosts: {
|
|
186
|
+
type: string;
|
|
187
|
+
collection: boolean;
|
|
188
|
+
writeable: boolean;
|
|
189
|
+
};
|
|
190
|
+
clusters: {
|
|
191
|
+
type: string;
|
|
192
|
+
collection: boolean;
|
|
193
|
+
writeable: boolean;
|
|
194
|
+
};
|
|
195
|
+
subnets: {
|
|
196
|
+
type: {
|
|
197
|
+
name: string;
|
|
198
|
+
owners: string[];
|
|
199
|
+
priority: number;
|
|
200
|
+
constructWithIdentifierOnly: boolean;
|
|
201
|
+
properties: {
|
|
202
|
+
address: {
|
|
203
|
+
type: string;
|
|
204
|
+
collection: boolean;
|
|
205
|
+
writeable: boolean;
|
|
206
|
+
identifier: boolean;
|
|
207
|
+
};
|
|
208
|
+
networks: {
|
|
209
|
+
type: string;
|
|
210
|
+
collection: boolean;
|
|
211
|
+
writeable: boolean;
|
|
212
|
+
};
|
|
213
|
+
prefixLength: {
|
|
214
|
+
type: string;
|
|
215
|
+
collection: boolean;
|
|
216
|
+
writeable: boolean;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
collection: boolean;
|
|
221
|
+
writeable: boolean;
|
|
222
|
+
};
|
|
223
|
+
dns: {
|
|
224
|
+
type: {
|
|
225
|
+
name: string;
|
|
226
|
+
owners: string[];
|
|
227
|
+
priority: number;
|
|
228
|
+
properties: {
|
|
229
|
+
hasSVRRecords: {
|
|
230
|
+
type: string;
|
|
231
|
+
collection: boolean;
|
|
232
|
+
writeable: boolean;
|
|
233
|
+
};
|
|
234
|
+
hasCatalog: {
|
|
235
|
+
type: string;
|
|
236
|
+
collection: boolean;
|
|
237
|
+
writeable: boolean;
|
|
238
|
+
};
|
|
239
|
+
recordTTL: {
|
|
240
|
+
type: string;
|
|
241
|
+
collection: boolean;
|
|
242
|
+
writeable: boolean;
|
|
243
|
+
};
|
|
244
|
+
soaUpdates: {
|
|
245
|
+
type: string;
|
|
246
|
+
collection: boolean;
|
|
247
|
+
writeable: boolean;
|
|
248
|
+
};
|
|
249
|
+
forwardsTo: {
|
|
250
|
+
type: string;
|
|
251
|
+
collection: boolean;
|
|
252
|
+
writeable: boolean;
|
|
253
|
+
};
|
|
254
|
+
allowedUpdates: {
|
|
255
|
+
type: string;
|
|
256
|
+
collection: boolean;
|
|
257
|
+
writeable: boolean;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
collection: boolean;
|
|
262
|
+
writeable: boolean;
|
|
263
|
+
};
|
|
264
|
+
ntp: {
|
|
265
|
+
type: string;
|
|
266
|
+
collection: boolean;
|
|
267
|
+
writeable: boolean;
|
|
268
|
+
};
|
|
269
|
+
domain: {
|
|
270
|
+
type: string;
|
|
271
|
+
collection: boolean;
|
|
272
|
+
writeable: boolean;
|
|
273
|
+
};
|
|
274
|
+
administratorEmail: {
|
|
275
|
+
type: string;
|
|
276
|
+
collection: boolean;
|
|
277
|
+
writeable: boolean;
|
|
278
|
+
};
|
|
24
279
|
};
|
|
280
|
+
};
|
|
281
|
+
properties: {
|
|
25
282
|
country: {
|
|
26
283
|
type: string;
|
|
284
|
+
writeable: boolean;
|
|
27
285
|
};
|
|
28
286
|
locales: {
|
|
29
287
|
type: string;
|
|
30
288
|
collection: boolean;
|
|
289
|
+
writeable: boolean;
|
|
31
290
|
};
|
|
32
291
|
};
|
|
33
292
|
};
|
|
34
293
|
get location(): this;
|
|
35
294
|
}
|
|
36
295
|
import { Owner } from "./owner.mjs";
|
|
37
|
-
import { Network } from "./network.mjs";
|
|
38
|
-
import { Host } from "./host.mjs";
|
|
39
|
-
import { Cluster } from "./cluster.mjs";
|
|
40
|
-
import { Subnet } from "./subnet.mjs";
|
|
41
|
-
import { DNSService } from "./dns.mjs";
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export namespace networkProperties {
|
|
2
|
+
namespace scope {
|
|
3
|
+
let type: string;
|
|
4
|
+
let collection: boolean;
|
|
5
|
+
let writeable: boolean;
|
|
6
|
+
}
|
|
7
|
+
namespace kind {
|
|
8
|
+
let type_1: string;
|
|
9
|
+
export { type_1 as type };
|
|
10
|
+
let collection_1: boolean;
|
|
11
|
+
export { collection_1 as collection };
|
|
12
|
+
let writeable_1: boolean;
|
|
13
|
+
export { writeable_1 as writeable };
|
|
14
|
+
}
|
|
15
|
+
namespace ssid {
|
|
16
|
+
let type_2: string;
|
|
17
|
+
export { type_2 as type };
|
|
18
|
+
let collection_2: boolean;
|
|
19
|
+
export { collection_2 as collection };
|
|
20
|
+
let writeable_2: boolean;
|
|
21
|
+
export { writeable_2 as writeable };
|
|
22
|
+
}
|
|
23
|
+
namespace psk {
|
|
24
|
+
let type_3: string;
|
|
25
|
+
export { type_3 as type };
|
|
26
|
+
let collection_3: boolean;
|
|
27
|
+
export { collection_3 as collection };
|
|
28
|
+
let writeable_3: boolean;
|
|
29
|
+
export { writeable_3 as writeable };
|
|
30
|
+
}
|
|
31
|
+
namespace metric {
|
|
32
|
+
let type_4: string;
|
|
33
|
+
export { type_4 as type };
|
|
34
|
+
let collection_4: boolean;
|
|
35
|
+
export { collection_4 as collection };
|
|
36
|
+
let writeable_4: boolean;
|
|
37
|
+
export { writeable_4 as writeable };
|
|
38
|
+
}
|
|
39
|
+
namespace MTU {
|
|
40
|
+
let type_5: string;
|
|
41
|
+
export { type_5 as type };
|
|
42
|
+
let collection_5: boolean;
|
|
43
|
+
export { collection_5 as collection };
|
|
44
|
+
let writeable_5: boolean;
|
|
45
|
+
export { writeable_5 as writeable };
|
|
46
|
+
}
|
|
47
|
+
namespace gateway {
|
|
48
|
+
let type_6: string;
|
|
49
|
+
export { type_6 as type };
|
|
50
|
+
let collection_6: boolean;
|
|
51
|
+
export { collection_6 as collection };
|
|
52
|
+
let writeable_6: boolean;
|
|
53
|
+
export { writeable_6 as writeable };
|
|
54
|
+
}
|
|
55
|
+
}
|
package/types/network.d.mts
CHANGED
|
@@ -1,41 +1,196 @@
|
|
|
1
1
|
export class Network extends Owner {
|
|
2
2
|
static get typeDefinition(): {
|
|
3
3
|
name: string;
|
|
4
|
-
|
|
4
|
+
owners: string[];
|
|
5
|
+
priority: number;
|
|
6
|
+
extends: {
|
|
7
|
+
name: string;
|
|
8
|
+
owners: string[];
|
|
9
|
+
priority: number;
|
|
10
|
+
extends: {
|
|
11
|
+
name: string;
|
|
12
|
+
owners: any[];
|
|
13
|
+
properties: {
|
|
14
|
+
owner: {
|
|
15
|
+
type: string;
|
|
16
|
+
collection: boolean;
|
|
17
|
+
writeable: boolean;
|
|
18
|
+
};
|
|
19
|
+
type: {
|
|
20
|
+
type: string;
|
|
21
|
+
collection: boolean;
|
|
22
|
+
writeable: boolean;
|
|
23
|
+
};
|
|
24
|
+
name: {
|
|
25
|
+
type: string;
|
|
26
|
+
collection: boolean;
|
|
27
|
+
identifier: boolean;
|
|
28
|
+
writeable: boolean;
|
|
29
|
+
};
|
|
30
|
+
description: {
|
|
31
|
+
type: string;
|
|
32
|
+
collection: boolean;
|
|
33
|
+
writeable: boolean;
|
|
34
|
+
};
|
|
35
|
+
directory: {
|
|
36
|
+
type: string;
|
|
37
|
+
collection: boolean;
|
|
38
|
+
writeable: boolean;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
properties: {
|
|
43
|
+
networks: {
|
|
44
|
+
type: string;
|
|
45
|
+
collection: boolean;
|
|
46
|
+
writeable: boolean;
|
|
47
|
+
};
|
|
48
|
+
hosts: {
|
|
49
|
+
type: string;
|
|
50
|
+
collection: boolean;
|
|
51
|
+
writeable: boolean;
|
|
52
|
+
};
|
|
53
|
+
clusters: {
|
|
54
|
+
type: string;
|
|
55
|
+
collection: boolean;
|
|
56
|
+
writeable: boolean;
|
|
57
|
+
};
|
|
58
|
+
subnets: {
|
|
59
|
+
type: {
|
|
60
|
+
name: string;
|
|
61
|
+
owners: string[];
|
|
62
|
+
priority: number;
|
|
63
|
+
constructWithIdentifierOnly: boolean;
|
|
64
|
+
properties: {
|
|
65
|
+
address: {
|
|
66
|
+
type: string;
|
|
67
|
+
collection: boolean;
|
|
68
|
+
writeable: boolean;
|
|
69
|
+
identifier: boolean;
|
|
70
|
+
};
|
|
71
|
+
networks: {
|
|
72
|
+
type: string;
|
|
73
|
+
collection: boolean;
|
|
74
|
+
writeable: boolean;
|
|
75
|
+
};
|
|
76
|
+
prefixLength: {
|
|
77
|
+
type: string;
|
|
78
|
+
collection: boolean;
|
|
79
|
+
writeable: boolean;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
collection: boolean;
|
|
84
|
+
writeable: boolean;
|
|
85
|
+
};
|
|
86
|
+
dns: {
|
|
87
|
+
type: {
|
|
88
|
+
name: string;
|
|
89
|
+
owners: string[];
|
|
90
|
+
priority: number;
|
|
91
|
+
properties: {
|
|
92
|
+
hasSVRRecords: {
|
|
93
|
+
type: string;
|
|
94
|
+
collection: boolean;
|
|
95
|
+
writeable: boolean;
|
|
96
|
+
};
|
|
97
|
+
hasCatalog: {
|
|
98
|
+
type: string;
|
|
99
|
+
collection: boolean;
|
|
100
|
+
writeable: boolean;
|
|
101
|
+
};
|
|
102
|
+
recordTTL: {
|
|
103
|
+
type: string;
|
|
104
|
+
collection: boolean;
|
|
105
|
+
writeable: boolean;
|
|
106
|
+
};
|
|
107
|
+
soaUpdates: {
|
|
108
|
+
type: string;
|
|
109
|
+
collection: boolean;
|
|
110
|
+
writeable: boolean;
|
|
111
|
+
};
|
|
112
|
+
forwardsTo: {
|
|
113
|
+
type: string;
|
|
114
|
+
collection: boolean;
|
|
115
|
+
writeable: boolean;
|
|
116
|
+
};
|
|
117
|
+
allowedUpdates: {
|
|
118
|
+
type: string;
|
|
119
|
+
collection: boolean;
|
|
120
|
+
writeable: boolean;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
collection: boolean;
|
|
125
|
+
writeable: boolean;
|
|
126
|
+
};
|
|
127
|
+
ntp: {
|
|
128
|
+
type: string;
|
|
129
|
+
collection: boolean;
|
|
130
|
+
writeable: boolean;
|
|
131
|
+
};
|
|
132
|
+
domain: {
|
|
133
|
+
type: string;
|
|
134
|
+
collection: boolean;
|
|
135
|
+
writeable: boolean;
|
|
136
|
+
};
|
|
137
|
+
administratorEmail: {
|
|
138
|
+
type: string;
|
|
139
|
+
collection: boolean;
|
|
140
|
+
writeable: boolean;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
};
|
|
5
144
|
properties: {
|
|
6
|
-
|
|
145
|
+
bridge: {
|
|
7
146
|
type: string;
|
|
8
147
|
collection: boolean;
|
|
148
|
+
writeable: boolean;
|
|
9
149
|
};
|
|
10
|
-
|
|
11
|
-
type:
|
|
150
|
+
gateway: {
|
|
151
|
+
type: string;
|
|
12
152
|
collection: boolean;
|
|
153
|
+
writeable: boolean;
|
|
13
154
|
};
|
|
14
|
-
|
|
155
|
+
scope: {
|
|
15
156
|
type: string;
|
|
16
157
|
collection: boolean;
|
|
158
|
+
writeable: boolean;
|
|
17
159
|
};
|
|
18
|
-
|
|
19
|
-
type:
|
|
160
|
+
kind: {
|
|
161
|
+
type: string;
|
|
20
162
|
collection: boolean;
|
|
163
|
+
writeable: boolean;
|
|
21
164
|
};
|
|
22
|
-
|
|
23
|
-
type:
|
|
165
|
+
ssid: {
|
|
166
|
+
type: string;
|
|
167
|
+
collection: boolean;
|
|
168
|
+
writeable: boolean;
|
|
169
|
+
};
|
|
170
|
+
psk: {
|
|
171
|
+
type: string;
|
|
24
172
|
collection: boolean;
|
|
173
|
+
writeable: boolean;
|
|
174
|
+
};
|
|
175
|
+
metric: {
|
|
176
|
+
type: string;
|
|
177
|
+
collection: boolean;
|
|
178
|
+
writeable: boolean;
|
|
179
|
+
};
|
|
180
|
+
MTU: {
|
|
181
|
+
type: string;
|
|
182
|
+
collection: boolean;
|
|
183
|
+
writeable: boolean;
|
|
25
184
|
};
|
|
26
185
|
};
|
|
27
186
|
};
|
|
28
|
-
constructor(owner: any, data: any);
|
|
29
187
|
kind: any;
|
|
30
188
|
scope: any;
|
|
31
189
|
metric: any;
|
|
32
190
|
gateway: any;
|
|
33
|
-
set bridge(bridge: any);
|
|
34
|
-
get bridge(): any;
|
|
35
191
|
get network(): this;
|
|
192
|
+
set bridge(network: any);
|
|
193
|
+
get bridge(): any;
|
|
36
194
|
#private;
|
|
37
195
|
}
|
|
38
196
|
import { Owner } from "./owner.mjs";
|
|
39
|
-
import { Host } from "./host.mjs";
|
|
40
|
-
import { Subnet } from "./subnet.mjs";
|
|
41
|
-
import { DNSService } from "./dns.mjs";
|