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/cluster.d.mts
CHANGED
|
@@ -1,9 +1,284 @@
|
|
|
1
1
|
export class Cluster extends Owner {
|
|
2
2
|
static get typeDefinition(): {
|
|
3
3
|
name: string;
|
|
4
|
-
|
|
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
|
+
};
|
|
39
|
+
};
|
|
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
|
+
};
|
|
140
|
+
};
|
|
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
|
+
};
|
|
178
|
+
};
|
|
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
|
+
};
|
|
279
|
+
};
|
|
280
|
+
};
|
|
5
281
|
properties: {};
|
|
6
282
|
};
|
|
7
|
-
constructor(owner: any, data: any);
|
|
8
283
|
}
|
|
9
284
|
import { Owner } from "./owner.mjs";
|
package/types/dns.d.mts
CHANGED
|
@@ -1,27 +1,38 @@
|
|
|
1
1
|
export class DNSService extends Base {
|
|
2
2
|
static get typeDefinition(): {
|
|
3
3
|
name: string;
|
|
4
|
+
owners: string[];
|
|
5
|
+
priority: number;
|
|
4
6
|
properties: {
|
|
5
7
|
hasSVRRecords: {
|
|
6
8
|
type: string;
|
|
9
|
+
collection: boolean;
|
|
10
|
+
writeable: boolean;
|
|
7
11
|
};
|
|
8
12
|
hasCatalog: {
|
|
9
13
|
type: string;
|
|
14
|
+
collection: boolean;
|
|
15
|
+
writeable: boolean;
|
|
10
16
|
};
|
|
11
17
|
recordTTL: {
|
|
12
18
|
type: string;
|
|
19
|
+
collection: boolean;
|
|
20
|
+
writeable: boolean;
|
|
13
21
|
};
|
|
14
22
|
soaUpdates: {
|
|
15
23
|
type: string;
|
|
16
24
|
collection: boolean;
|
|
25
|
+
writeable: boolean;
|
|
17
26
|
};
|
|
18
27
|
forwardsTo: {
|
|
19
28
|
type: string;
|
|
20
29
|
collection: boolean;
|
|
30
|
+
writeable: boolean;
|
|
21
31
|
};
|
|
22
32
|
allowedUpdates: {
|
|
23
33
|
type: string;
|
|
24
34
|
collection: boolean;
|
|
35
|
+
writeable: boolean;
|
|
25
36
|
};
|
|
26
37
|
};
|
|
27
38
|
};
|
|
@@ -30,8 +41,9 @@ export class DNSService extends Base {
|
|
|
30
41
|
soaUpdates: number[];
|
|
31
42
|
hasSVRRecords: boolean;
|
|
32
43
|
hasCatalog: boolean;
|
|
33
|
-
forwardsTo: any[];
|
|
34
|
-
|
|
44
|
+
set forwardsTo(value: any[]);
|
|
45
|
+
get forwardsTo(): any[];
|
|
46
|
+
findServices(): AsyncGenerator<any, void, any>;
|
|
35
47
|
get domains(): any[];
|
|
36
48
|
resolvedConfig(): Promise<{
|
|
37
49
|
DNS: string;
|
|
@@ -41,5 +53,6 @@ export class DNSService extends Base {
|
|
|
41
53
|
MulticastDNS: string;
|
|
42
54
|
LLMNR: string;
|
|
43
55
|
}>;
|
|
56
|
+
#private;
|
|
44
57
|
}
|
|
45
58
|
import { Base } from "./base.mjs";
|
package/types/host.d.mts
CHANGED
|
@@ -1,36 +1,120 @@
|
|
|
1
1
|
export class Host extends Base {
|
|
2
2
|
static get typeDefinition(): {
|
|
3
3
|
name: string;
|
|
4
|
-
|
|
4
|
+
priority: number;
|
|
5
|
+
owners: string[];
|
|
6
|
+
extends: {
|
|
7
|
+
name: string;
|
|
8
|
+
owners: any[];
|
|
9
|
+
properties: {
|
|
10
|
+
owner: {
|
|
11
|
+
type: string;
|
|
12
|
+
collection: boolean;
|
|
13
|
+
writeable: boolean;
|
|
14
|
+
};
|
|
15
|
+
type: {
|
|
16
|
+
type: string;
|
|
17
|
+
collection: boolean;
|
|
18
|
+
writeable: boolean;
|
|
19
|
+
};
|
|
20
|
+
name: {
|
|
21
|
+
type: string;
|
|
22
|
+
collection: boolean;
|
|
23
|
+
identifier: boolean;
|
|
24
|
+
writeable: boolean;
|
|
25
|
+
};
|
|
26
|
+
description: {
|
|
27
|
+
type: string;
|
|
28
|
+
collection: boolean;
|
|
29
|
+
writeable: boolean;
|
|
30
|
+
};
|
|
31
|
+
directory: {
|
|
32
|
+
type: string;
|
|
33
|
+
collection: boolean;
|
|
34
|
+
writeable: boolean;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
5
38
|
properties: {
|
|
6
39
|
networkInterfaces: {
|
|
7
40
|
type: string;
|
|
8
41
|
collection: boolean;
|
|
42
|
+
writeable: boolean;
|
|
9
43
|
};
|
|
10
44
|
services: {
|
|
11
|
-
type:
|
|
45
|
+
type: string;
|
|
12
46
|
collection: boolean;
|
|
47
|
+
writeable: boolean;
|
|
13
48
|
};
|
|
14
49
|
os: {
|
|
15
50
|
type: string;
|
|
51
|
+
collection: boolean;
|
|
52
|
+
writeable: boolean;
|
|
16
53
|
};
|
|
17
54
|
distribution: {
|
|
18
55
|
type: string;
|
|
56
|
+
collection: boolean;
|
|
57
|
+
writeable: boolean;
|
|
19
58
|
};
|
|
20
59
|
deployment: {
|
|
21
60
|
type: string;
|
|
61
|
+
collection: boolean;
|
|
62
|
+
writeable: boolean;
|
|
22
63
|
};
|
|
23
64
|
master: {
|
|
24
65
|
type: string;
|
|
66
|
+
collection: boolean;
|
|
67
|
+
writeable: boolean;
|
|
25
68
|
};
|
|
26
69
|
model: {
|
|
27
70
|
type: string;
|
|
71
|
+
collection: boolean;
|
|
72
|
+
writeable: boolean;
|
|
73
|
+
};
|
|
74
|
+
serial: {
|
|
75
|
+
type: string;
|
|
76
|
+
collection: boolean;
|
|
77
|
+
writeable: boolean;
|
|
78
|
+
};
|
|
79
|
+
vendor: {
|
|
80
|
+
type: string;
|
|
81
|
+
collection: boolean;
|
|
82
|
+
writeable: boolean;
|
|
83
|
+
};
|
|
84
|
+
chassis: {
|
|
85
|
+
type: string;
|
|
86
|
+
collection: boolean;
|
|
87
|
+
writeable: boolean;
|
|
88
|
+
};
|
|
89
|
+
isModel: {
|
|
90
|
+
type: string;
|
|
91
|
+
collection: boolean;
|
|
92
|
+
writeable: boolean;
|
|
93
|
+
};
|
|
94
|
+
priority: {
|
|
95
|
+
type: string;
|
|
96
|
+
collection: boolean;
|
|
97
|
+
writeable: boolean;
|
|
28
98
|
};
|
|
29
99
|
replaces: {
|
|
30
100
|
type: string;
|
|
101
|
+
collection: boolean;
|
|
102
|
+
writeable: boolean;
|
|
31
103
|
};
|
|
32
104
|
depends: {
|
|
33
105
|
type: string;
|
|
106
|
+
collection: boolean;
|
|
107
|
+
writeable: boolean;
|
|
108
|
+
};
|
|
109
|
+
provides: {
|
|
110
|
+
type: string;
|
|
111
|
+
collection: boolean;
|
|
112
|
+
writeable: boolean;
|
|
113
|
+
};
|
|
114
|
+
extends: {
|
|
115
|
+
type: string;
|
|
116
|
+
collection: boolean;
|
|
117
|
+
writeable: boolean;
|
|
34
118
|
};
|
|
35
119
|
cidrAddresses: {
|
|
36
120
|
type: string;
|
|
@@ -44,36 +128,47 @@ export class Host extends Base {
|
|
|
44
128
|
};
|
|
45
129
|
rawAddress: {
|
|
46
130
|
type: string;
|
|
131
|
+
collection: boolean;
|
|
47
132
|
writeable: boolean;
|
|
48
133
|
};
|
|
49
134
|
};
|
|
50
135
|
};
|
|
51
|
-
static prepareData(root: any, data: any): Promise<typeof Host>;
|
|
52
136
|
postinstall: any[];
|
|
137
|
+
serial: any;
|
|
138
|
+
set depends(value: Set<any>);
|
|
139
|
+
get depends(): Set<any>;
|
|
140
|
+
set provides(value: Set<any>);
|
|
141
|
+
get provides(): Set<any>;
|
|
142
|
+
set replaces(value: Set<any>);
|
|
143
|
+
get replaces(): Set<any>;
|
|
144
|
+
set services(services: any[]);
|
|
145
|
+
get services(): any[];
|
|
53
146
|
_traverse(...args: any[]): boolean;
|
|
147
|
+
set deployment(value: any);
|
|
54
148
|
get deployment(): any;
|
|
149
|
+
set chassis(value: any);
|
|
55
150
|
get chassis(): any;
|
|
151
|
+
set vendor(value: any);
|
|
56
152
|
get vendor(): any;
|
|
57
153
|
get isModel(): boolean;
|
|
58
154
|
get model(): any;
|
|
155
|
+
set extends(value: any[]);
|
|
59
156
|
get extends(): any[];
|
|
60
|
-
|
|
61
|
-
get replaces(): Set<any>;
|
|
62
|
-
get _depends(): Set<any>;
|
|
63
|
-
get depends(): any;
|
|
157
|
+
set master(value: boolean);
|
|
64
158
|
get master(): boolean;
|
|
159
|
+
set os(value: any);
|
|
65
160
|
get os(): any;
|
|
161
|
+
set distribution(value: any);
|
|
66
162
|
get distribution(): any;
|
|
67
163
|
get domain(): any;
|
|
68
164
|
get modelName(): any;
|
|
69
|
-
get hostName():
|
|
70
|
-
get domainName():
|
|
165
|
+
get hostName(): string;
|
|
166
|
+
get domainName(): string;
|
|
71
167
|
get host(): this;
|
|
72
|
-
|
|
73
|
-
|
|
168
|
+
findServices(filter: any): Generator<any, void, unknown>;
|
|
169
|
+
set networkInterfaces(networkInterface: Map<any, any>);
|
|
74
170
|
get networkInterfaces(): Map<any, any>;
|
|
75
171
|
networkInterfaceNamed(name: any): any;
|
|
76
|
-
addNetworkInterface(networkInterface: any): void;
|
|
77
172
|
networkAddresses(): Generator<{
|
|
78
173
|
networkInterface: any;
|
|
79
174
|
address: any;
|
|
@@ -88,50 +183,115 @@ export class Host extends Base {
|
|
|
88
183
|
export class NetworkInterface extends Base {
|
|
89
184
|
static get typeDefinition(): {
|
|
90
185
|
name: string;
|
|
91
|
-
|
|
186
|
+
priority: number;
|
|
187
|
+
owners: string[];
|
|
188
|
+
extends: {
|
|
189
|
+
name: string;
|
|
190
|
+
owners: any[];
|
|
191
|
+
properties: {
|
|
192
|
+
owner: {
|
|
193
|
+
type: string;
|
|
194
|
+
collection: boolean;
|
|
195
|
+
writeable: boolean;
|
|
196
|
+
};
|
|
197
|
+
type: {
|
|
198
|
+
type: string;
|
|
199
|
+
collection: boolean;
|
|
200
|
+
writeable: boolean;
|
|
201
|
+
};
|
|
202
|
+
name: {
|
|
203
|
+
type: string;
|
|
204
|
+
collection: boolean;
|
|
205
|
+
identifier: boolean;
|
|
206
|
+
writeable: boolean;
|
|
207
|
+
};
|
|
208
|
+
description: {
|
|
209
|
+
type: string;
|
|
210
|
+
collection: boolean;
|
|
211
|
+
writeable: boolean;
|
|
212
|
+
};
|
|
213
|
+
directory: {
|
|
214
|
+
type: string;
|
|
215
|
+
collection: boolean;
|
|
216
|
+
writeable: boolean;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
};
|
|
92
220
|
properties: {
|
|
93
221
|
hwaddr: {
|
|
94
222
|
type: string;
|
|
223
|
+
collection: boolean;
|
|
224
|
+
writeable: boolean;
|
|
225
|
+
};
|
|
226
|
+
ipAddresses: {
|
|
227
|
+
type: string;
|
|
228
|
+
collection: boolean;
|
|
229
|
+
writeable: boolean;
|
|
230
|
+
};
|
|
231
|
+
cidrAddresses: {
|
|
232
|
+
type: string;
|
|
233
|
+
collection: boolean;
|
|
234
|
+
writeable: boolean;
|
|
235
|
+
};
|
|
236
|
+
rawAddresses: {
|
|
237
|
+
type: string;
|
|
238
|
+
collection: boolean;
|
|
239
|
+
writeable: boolean;
|
|
240
|
+
};
|
|
241
|
+
network: {
|
|
242
|
+
type: string;
|
|
243
|
+
collection: boolean;
|
|
244
|
+
writeable: boolean;
|
|
245
|
+
};
|
|
246
|
+
destination: {
|
|
247
|
+
type: string;
|
|
248
|
+
collection: boolean;
|
|
249
|
+
writeable: boolean;
|
|
250
|
+
};
|
|
251
|
+
arpbridge: {
|
|
252
|
+
type: string;
|
|
253
|
+
collection: boolean;
|
|
254
|
+
writeable: boolean;
|
|
95
255
|
};
|
|
96
256
|
scope: {
|
|
97
257
|
type: string;
|
|
258
|
+
collection: boolean;
|
|
259
|
+
writeable: boolean;
|
|
98
260
|
};
|
|
99
261
|
kind: {
|
|
100
262
|
type: string;
|
|
263
|
+
collection: boolean;
|
|
264
|
+
writeable: boolean;
|
|
101
265
|
};
|
|
102
266
|
ssid: {
|
|
103
267
|
type: string;
|
|
268
|
+
collection: boolean;
|
|
269
|
+
writeable: boolean;
|
|
104
270
|
};
|
|
105
271
|
psk: {
|
|
106
272
|
type: string;
|
|
273
|
+
collection: boolean;
|
|
274
|
+
writeable: boolean;
|
|
107
275
|
};
|
|
108
276
|
metric: {
|
|
109
277
|
type: string;
|
|
278
|
+
collection: boolean;
|
|
279
|
+
writeable: boolean;
|
|
110
280
|
};
|
|
111
281
|
MTU: {
|
|
112
282
|
type: string;
|
|
113
|
-
};
|
|
114
|
-
cidrAddresses: {
|
|
115
|
-
type: string;
|
|
116
283
|
collection: boolean;
|
|
117
284
|
writeable: boolean;
|
|
118
285
|
};
|
|
119
|
-
|
|
286
|
+
gateway: {
|
|
120
287
|
type: string;
|
|
121
288
|
collection: boolean;
|
|
122
289
|
writeable: boolean;
|
|
123
290
|
};
|
|
124
|
-
network: {
|
|
125
|
-
type: string;
|
|
126
|
-
};
|
|
127
|
-
gateway: {};
|
|
128
|
-
arpbridge: {};
|
|
129
291
|
};
|
|
130
292
|
};
|
|
131
293
|
arpbridge: any;
|
|
132
294
|
hwaddr: any;
|
|
133
|
-
set network(networkOrName: any);
|
|
134
|
-
get network(): any;
|
|
135
295
|
addSubnet(address: any): any;
|
|
136
296
|
set ipAddresses(value: Map<any, any>);
|
|
137
297
|
get ipAddresses(): Map<any, any>;
|
|
@@ -142,12 +302,18 @@ export class NetworkInterface extends Base {
|
|
|
142
302
|
subnetForAddress(address: any): any;
|
|
143
303
|
get gateway(): any;
|
|
144
304
|
get gatewayAddress(): any;
|
|
305
|
+
set network(network: any);
|
|
306
|
+
get network(): any;
|
|
307
|
+
set scope(value: any);
|
|
145
308
|
get scope(): any;
|
|
309
|
+
set metric(value: any);
|
|
146
310
|
get metric(): any;
|
|
311
|
+
set ssid(value: any);
|
|
147
312
|
get ssid(): any;
|
|
313
|
+
set psk(value: any);
|
|
148
314
|
get psk(): any;
|
|
315
|
+
set kind(value: any);
|
|
149
316
|
get kind(): any;
|
|
150
317
|
#private;
|
|
151
318
|
}
|
|
152
319
|
import { Base } from "./base.mjs";
|
|
153
|
-
import { Service } from "./service.mjs";
|