@metal-stack/api 0.0.40-beta.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.
Files changed (103) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +111 -0
  3. package/js/Makefile +16 -0
  4. package/js/buf/validate/validate_pb.d.ts +4597 -0
  5. package/js/buf/validate/validate_pb.js +351 -0
  6. package/js/buf/validate/validate_pb.ts +4938 -0
  7. package/js/metalstack/admin/v2/filesystem_pb.d.ts +207 -0
  8. package/js/metalstack/admin/v2/filesystem_pb.js +48 -0
  9. package/js/metalstack/admin/v2/filesystem_pb.ts +248 -0
  10. package/js/metalstack/admin/v2/image_pb.d.ts +242 -0
  11. package/js/metalstack/admin/v2/image_pb.js +59 -0
  12. package/js/metalstack/admin/v2/image_pb.ts +288 -0
  13. package/js/metalstack/admin/v2/ip_pb.d.ts +60 -0
  14. package/js/metalstack/admin/v2/ip_pb.js +26 -0
  15. package/js/metalstack/admin/v2/ip_pb.ts +78 -0
  16. package/js/metalstack/admin/v2/machine_pb.d.ts +113 -0
  17. package/js/metalstack/admin/v2/machine_pb.js +38 -0
  18. package/js/metalstack/admin/v2/machine_pb.ts +140 -0
  19. package/js/metalstack/admin/v2/network_pb.d.ts +407 -0
  20. package/js/metalstack/admin/v2/network_pb.js +68 -0
  21. package/js/metalstack/admin/v2/network_pb.ts +478 -0
  22. package/js/metalstack/admin/v2/partition_pb.d.ts +341 -0
  23. package/js/metalstack/admin/v2/partition_pb.js +58 -0
  24. package/js/metalstack/admin/v2/partition_pb.ts +402 -0
  25. package/js/metalstack/admin/v2/project_pb.d.ts +67 -0
  26. package/js/metalstack/admin/v2/project_pb.js +27 -0
  27. package/js/metalstack/admin/v2/project_pb.ts +87 -0
  28. package/js/metalstack/admin/v2/size_pb.d.ts +183 -0
  29. package/js/metalstack/admin/v2/size_pb.js +48 -0
  30. package/js/metalstack/admin/v2/size_pb.ts +220 -0
  31. package/js/metalstack/admin/v2/switch_pb.d.ts +377 -0
  32. package/js/metalstack/admin/v2/switch_pb.js +79 -0
  33. package/js/metalstack/admin/v2/switch_pb.ts +435 -0
  34. package/js/metalstack/admin/v2/tenant_pb.d.ts +149 -0
  35. package/js/metalstack/admin/v2/tenant_pb.js +38 -0
  36. package/js/metalstack/admin/v2/tenant_pb.ts +182 -0
  37. package/js/metalstack/admin/v2/token_pb.d.ts +164 -0
  38. package/js/metalstack/admin/v2/token_pb.js +47 -0
  39. package/js/metalstack/admin/v2/token_pb.ts +199 -0
  40. package/js/metalstack/admin/v2/vpn_pb.ts +184 -0
  41. package/js/metalstack/api/v2/common_pb.d.ts +407 -0
  42. package/js/metalstack/api/v2/common_pb.js +311 -0
  43. package/js/metalstack/api/v2/common_pb.ts +488 -0
  44. package/js/metalstack/api/v2/filesystem_pb.d.ts +704 -0
  45. package/js/metalstack/api/v2/filesystem_pb.js +259 -0
  46. package/js/metalstack/api/v2/filesystem_pb.ts +819 -0
  47. package/js/metalstack/api/v2/health_pb.d.ts +220 -0
  48. package/js/metalstack/api/v2/health_pb.js +130 -0
  49. package/js/metalstack/api/v2/health_pb.ts +264 -0
  50. package/js/metalstack/api/v2/image_pb.d.ts +368 -0
  51. package/js/metalstack/api/v2/image_pb.js +129 -0
  52. package/js/metalstack/api/v2/image_pb.ts +436 -0
  53. package/js/metalstack/api/v2/ip_pb.d.ts +555 -0
  54. package/js/metalstack/api/v2/ip_pb.js +137 -0
  55. package/js/metalstack/api/v2/ip_pb.ts +650 -0
  56. package/js/metalstack/api/v2/machine_pb.d.ts +1831 -0
  57. package/js/metalstack/api/v2/machine_pb.js +459 -0
  58. package/js/metalstack/api/v2/machine_pb.ts +2155 -0
  59. package/js/metalstack/api/v2/method_pb.d.ts +122 -0
  60. package/js/metalstack/api/v2/method_pb.js +38 -0
  61. package/js/metalstack/api/v2/method_pb.ts +149 -0
  62. package/js/metalstack/api/v2/network_pb.d.ts +820 -0
  63. package/js/metalstack/api/v2/network_pb.js +244 -0
  64. package/js/metalstack/api/v2/network_pb.ts +954 -0
  65. package/js/metalstack/api/v2/partition_pb.d.ts +251 -0
  66. package/js/metalstack/api/v2/partition_pb.js +62 -0
  67. package/js/metalstack/api/v2/partition_pb.ts +300 -0
  68. package/js/metalstack/api/v2/predefined_rules_pb.d.ts +54 -0
  69. package/js/metalstack/api/v2/predefined_rules_pb.js +57 -0
  70. package/js/metalstack/api/v2/predefined_rules_pb.ts +79 -0
  71. package/js/metalstack/api/v2/project_pb.d.ts +862 -0
  72. package/js/metalstack/api/v2/project_pb.js +163 -0
  73. package/js/metalstack/api/v2/project_pb.ts +1001 -0
  74. package/js/metalstack/api/v2/size_pb.d.ts +261 -0
  75. package/js/metalstack/api/v2/size_pb.js +94 -0
  76. package/js/metalstack/api/v2/size_pb.ts +312 -0
  77. package/js/metalstack/api/v2/switch_pb.d.ts +508 -0
  78. package/js/metalstack/api/v2/switch_pb.js +207 -0
  79. package/js/metalstack/api/v2/switch_pb.ts +653 -0
  80. package/js/metalstack/api/v2/tenant_pb.d.ts +864 -0
  81. package/js/metalstack/api/v2/tenant_pb.js +163 -0
  82. package/js/metalstack/api/v2/tenant_pb.ts +1004 -0
  83. package/js/metalstack/api/v2/token_pb.d.ts +540 -0
  84. package/js/metalstack/api/v2/token_pb.js +118 -0
  85. package/js/metalstack/api/v2/token_pb.ts +621 -0
  86. package/js/metalstack/api/v2/user_pb.d.ts +108 -0
  87. package/js/metalstack/api/v2/user_pb.js +34 -0
  88. package/js/metalstack/api/v2/user_pb.ts +139 -0
  89. package/js/metalstack/api/v2/version_pb.d.ts +88 -0
  90. package/js/metalstack/api/v2/version_pb.js +30 -0
  91. package/js/metalstack/api/v2/version_pb.ts +112 -0
  92. package/js/metalstack/api/v2/vpn_pb.ts +72 -0
  93. package/js/metalstack/infra/v2/bmc_pb.d.ts +45 -0
  94. package/js/metalstack/infra/v2/bmc_pb.js +25 -0
  95. package/js/metalstack/infra/v2/bmc_pb.ts +104 -0
  96. package/js/metalstack/infra/v2/event_pb.d.ts +181 -0
  97. package/js/metalstack/infra/v2/event_pb.js +116 -0
  98. package/js/metalstack/infra/v2/event_pb.ts +218 -0
  99. package/js/metalstack/infra/v2/switch_pb.d.ts +223 -0
  100. package/js/metalstack/infra/v2/switch_pb.js +54 -0
  101. package/js/metalstack/infra/v2/switch_pb.ts +228 -0
  102. package/js/tsconfig.json +70 -0
  103. package/package.json +21 -0
@@ -0,0 +1,2155 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
2
+ // @generated from file metalstack/api/v2/machine.proto (package metalstack.api.v2, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
8
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
9
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
10
+ import type { Labels, Meta, UpdateLabels, UpdateMeta } from "./common_pb";
11
+ import { file_metalstack_api_v2_common } from "./common_pb";
12
+ import type { FilesystemLayout } from "./filesystem_pb";
13
+ import { file_metalstack_api_v2_filesystem } from "./filesystem_pb";
14
+ import type { Image } from "./image_pb";
15
+ import { file_metalstack_api_v2_image } from "./image_pb";
16
+ import type { NATType, NetworkType } from "./network_pb";
17
+ import { file_metalstack_api_v2_network } from "./network_pb";
18
+ import type { DNSServer, NTPServer, Partition } from "./partition_pb";
19
+ import { file_metalstack_api_v2_partition } from "./partition_pb";
20
+ import { file_metalstack_api_v2_predefined_rules } from "./predefined_rules_pb";
21
+ import type { Size } from "./size_pb";
22
+ import { file_metalstack_api_v2_size } from "./size_pb";
23
+ import type { Message } from "@bufbuild/protobuf";
24
+
25
+ /**
26
+ * Describes the file metalstack/api/v2/machine.proto.
27
+ */
28
+ export const file_metalstack_api_v2_machine: GenFile = /*@__PURE__*/
29
+ fileD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jaGluZVNlcnZpY2VMaXN0UmVxdWVzdBotLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVTZXJ2aWNlTGlzdFJlc3BvbnNlIgvK8xgDAQID4PMYAhJxCgZEZWxldGUSLi5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lU2VydmljZURlbGV0ZVJlcXVlc3QaLy5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lU2VydmljZURlbGV0ZVJlc3BvbnNlIgbK8xgCAQJCwgEKFWNvbS5tZXRhbHN0YWNrLmFwaS52MkIMTWFjaGluZVByb3RvUAFaNWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYXBpL3YyO2FwaXYyogIDTUFYqgIRTWV0YWxzdGFjay5BcGkuVjLKAhFNZXRhbHN0YWNrXEFwaVxWMuICHU1ldGFsc3RhY2tcQXBpXFYyXEdQQk1ldGFkYXRh6gITTWV0YWxzdGFjazo6QXBpOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_filesystem, file_metalstack_api_v2_image, file_metalstack_api_v2_network, file_metalstack_api_v2_partition, file_metalstack_api_v2_predefined_rules, file_metalstack_api_v2_size]);
30
+
31
+ /**
32
+ * MachineServiceGetRequest is the request payload for a machine get request
33
+ *
34
+ * @generated from message metalstack.api.v2.MachineServiceGetRequest
35
+ */
36
+ export type MachineServiceGetRequest = Message<"metalstack.api.v2.MachineServiceGetRequest"> & {
37
+ /**
38
+ * UUID of the machine to get
39
+ *
40
+ * @generated from field: string uuid = 1;
41
+ */
42
+ uuid: string;
43
+
44
+ /**
45
+ * Project of the machine
46
+ *
47
+ * @generated from field: string project = 2;
48
+ */
49
+ project: string;
50
+ };
51
+
52
+ /**
53
+ * Describes the message metalstack.api.v2.MachineServiceGetRequest.
54
+ * Use `create(MachineServiceGetRequestSchema)` to create a new message.
55
+ */
56
+ export const MachineServiceGetRequestSchema: GenMessage<MachineServiceGetRequest> = /*@__PURE__*/
57
+ messageDesc(file_metalstack_api_v2_machine, 0);
58
+
59
+ /**
60
+ * MachineServiceGetResponse is the request payload for a machine get response
61
+ *
62
+ * @generated from message metalstack.api.v2.MachineServiceGetResponse
63
+ */
64
+ export type MachineServiceGetResponse = Message<"metalstack.api.v2.MachineServiceGetResponse"> & {
65
+ /**
66
+ * Machine is the machine requested
67
+ *
68
+ * @generated from field: metalstack.api.v2.Machine machine = 1;
69
+ */
70
+ machine?: Machine;
71
+ };
72
+
73
+ /**
74
+ * Describes the message metalstack.api.v2.MachineServiceGetResponse.
75
+ * Use `create(MachineServiceGetResponseSchema)` to create a new message.
76
+ */
77
+ export const MachineServiceGetResponseSchema: GenMessage<MachineServiceGetResponse> = /*@__PURE__*/
78
+ messageDesc(file_metalstack_api_v2_machine, 1);
79
+
80
+ /**
81
+ * MachineServiceCreateRequest is the request payload for a machine create request
82
+ *
83
+ * @generated from message metalstack.api.v2.MachineServiceCreateRequest
84
+ */
85
+ export type MachineServiceCreateRequest = Message<"metalstack.api.v2.MachineServiceCreateRequest"> & {
86
+ /**
87
+ * Project of the machine
88
+ *
89
+ * @generated from field: string project = 1;
90
+ */
91
+ project: string;
92
+
93
+ /**
94
+ * UUID if this field is set, this specific machine will be allocated if it is not in available state and not currently allocated.
95
+ * this field overrules size and partition
96
+ *
97
+ * @generated from field: optional string uuid = 2;
98
+ */
99
+ uuid?: string;
100
+
101
+ /**
102
+ * Name of this machine
103
+ *
104
+ * @generated from field: string name = 3;
105
+ */
106
+ name: string;
107
+
108
+ /**
109
+ * Description for this machine
110
+ *
111
+ * @generated from field: optional string description = 4;
112
+ */
113
+ description?: string;
114
+
115
+ /**
116
+ * Hostname the hostname for the allocated machine (defaults to metal)
117
+ *
118
+ * @generated from field: optional string hostname = 5;
119
+ */
120
+ hostname?: string;
121
+
122
+ /**
123
+ * Partition the partition id to assign this machine to
124
+ *
125
+ * @generated from field: string partition = 6;
126
+ */
127
+ partition: string;
128
+
129
+ /**
130
+ * Size of the machine to create
131
+ *
132
+ * @generated from field: string size = 7;
133
+ */
134
+ size: string;
135
+
136
+ /**
137
+ * Image which should be installed on this machine
138
+ *
139
+ * @generated from field: string image = 8;
140
+ */
141
+ image: string;
142
+
143
+ /**
144
+ * FilesystemLayout which should be applied for the operating system installation
145
+ * Is defaulted by a lookup at the available fsls for this size and image.
146
+ * Can be specified to test new fsls during development of fsls
147
+ *
148
+ * @generated from field: optional string filesystem_layout = 9;
149
+ */
150
+ filesystemLayout?: string;
151
+
152
+ /**
153
+ * SSHPublicKeys defines the ssh public key to be installed on the machine to access it via ssh
154
+ *
155
+ * @generated from field: repeated string ssh_public_keys = 10;
156
+ */
157
+ sshPublicKeys: string[];
158
+
159
+ /**
160
+ * Userdata contains instructions required to bootstrap the machine
161
+ * AWS limits the max userdata size to 16k, lets allow twice as much
162
+ *
163
+ * @generated from field: optional string userdata = 11;
164
+ */
165
+ userdata?: string;
166
+
167
+ /**
168
+ * Labels to be attached to this machine allocation
169
+ *
170
+ * @generated from field: metalstack.api.v2.Labels labels = 12;
171
+ */
172
+ labels?: Labels;
173
+
174
+ /**
175
+ * Networks the networks that this machine will be placed in.
176
+ *
177
+ * @generated from field: repeated metalstack.api.v2.MachineAllocationNetwork networks = 13;
178
+ */
179
+ networks: MachineAllocationNetwork[];
180
+
181
+ /**
182
+ * IPs to to attach to this machine additionally
183
+ *
184
+ * @generated from field: repeated string ips = 14;
185
+ */
186
+ ips: string[];
187
+
188
+ /**
189
+ * PlacementTags by default machines are spread across the racks inside a partition for every project.
190
+ * if placement tags are provided, the machine candidate has an additional anti-affinity to other machines having the same tags
191
+ *
192
+ * @generated from field: repeated string placement_tags = 15;
193
+ */
194
+ placementTags: string[];
195
+
196
+ /**
197
+ * DNSServer the dns servers used for the machine
198
+ *
199
+ * @generated from field: repeated metalstack.api.v2.DNSServer dns_server = 16;
200
+ */
201
+ dnsServer: DNSServer[];
202
+
203
+ /**
204
+ * NTPServer the ntp servers used for the machine
205
+ *
206
+ * @generated from field: repeated metalstack.api.v2.NTPServer ntp_server = 17;
207
+ */
208
+ ntpServer: NTPServer[];
209
+
210
+ /**
211
+ * AllocationType of this machine
212
+ *
213
+ * @generated from field: metalstack.api.v2.MachineAllocationType allocation_type = 18;
214
+ */
215
+ allocationType: MachineAllocationType;
216
+
217
+ /**
218
+ * FirewallSpec provides firewall specific parameters if allocationType is firewall
219
+ *
220
+ * @generated from field: metalstack.api.v2.FirewallSpec firewall_spec = 19;
221
+ */
222
+ firewallSpec?: FirewallSpec;
223
+ };
224
+
225
+ /**
226
+ * Describes the message metalstack.api.v2.MachineServiceCreateRequest.
227
+ * Use `create(MachineServiceCreateRequestSchema)` to create a new message.
228
+ */
229
+ export const MachineServiceCreateRequestSchema: GenMessage<MachineServiceCreateRequest> = /*@__PURE__*/
230
+ messageDesc(file_metalstack_api_v2_machine, 2);
231
+
232
+ /**
233
+ * FirewallSpec contains firewall specific firewall creation parameters
234
+ *
235
+ * @generated from message metalstack.api.v2.FirewallSpec
236
+ */
237
+ export type FirewallSpec = Message<"metalstack.api.v2.FirewallSpec"> & {
238
+ /**
239
+ * FirewallRules to be applied if this is a firewall
240
+ *
241
+ * @generated from field: metalstack.api.v2.FirewallRules firewall_rules = 19;
242
+ */
243
+ firewallRules?: FirewallRules;
244
+ };
245
+
246
+ /**
247
+ * Describes the message metalstack.api.v2.FirewallSpec.
248
+ * Use `create(FirewallSpecSchema)` to create a new message.
249
+ */
250
+ export const FirewallSpecSchema: GenMessage<FirewallSpec> = /*@__PURE__*/
251
+ messageDesc(file_metalstack_api_v2_machine, 3);
252
+
253
+ /**
254
+ * MachineServiceCreateResponse is the request payload for a machine create response
255
+ *
256
+ * @generated from message metalstack.api.v2.MachineServiceCreateResponse
257
+ */
258
+ export type MachineServiceCreateResponse = Message<"metalstack.api.v2.MachineServiceCreateResponse"> & {
259
+ /**
260
+ * Machine which was created
261
+ *
262
+ * @generated from field: metalstack.api.v2.Machine machine = 1;
263
+ */
264
+ machine?: Machine;
265
+ };
266
+
267
+ /**
268
+ * Describes the message metalstack.api.v2.MachineServiceCreateResponse.
269
+ * Use `create(MachineServiceCreateResponseSchema)` to create a new message.
270
+ */
271
+ export const MachineServiceCreateResponseSchema: GenMessage<MachineServiceCreateResponse> = /*@__PURE__*/
272
+ messageDesc(file_metalstack_api_v2_machine, 4);
273
+
274
+ /**
275
+ * MachineServiceUpdateRequest is the request payload for a machine update request
276
+ *
277
+ * @generated from message metalstack.api.v2.MachineServiceUpdateRequest
278
+ */
279
+ export type MachineServiceUpdateRequest = Message<"metalstack.api.v2.MachineServiceUpdateRequest"> & {
280
+ /**
281
+ * UUID of the machine to modify
282
+ *
283
+ * @generated from field: string uuid = 1;
284
+ */
285
+ uuid: string;
286
+
287
+ /**
288
+ * UpdateMeta contains the timestamp and strategy to be used in this update request
289
+ *
290
+ * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
291
+ */
292
+ updateMeta?: UpdateMeta;
293
+
294
+ /**
295
+ * Project of the machine
296
+ *
297
+ * @generated from field: string project = 3;
298
+ */
299
+ project: string;
300
+
301
+ /**
302
+ * Description of this machine allocation
303
+ *
304
+ * @generated from field: optional string description = 4;
305
+ */
306
+ description?: string;
307
+
308
+ /**
309
+ * Labels to update on this machine allocation
310
+ *
311
+ * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 5;
312
+ */
313
+ labels?: UpdateLabels;
314
+
315
+ /**
316
+ * SSHPublicKeys which should be update of this machine allocation
317
+ *
318
+ * @generated from field: repeated string ssh_public_keys = 6;
319
+ */
320
+ sshPublicKeys: string[];
321
+ };
322
+
323
+ /**
324
+ * Describes the message metalstack.api.v2.MachineServiceUpdateRequest.
325
+ * Use `create(MachineServiceUpdateRequestSchema)` to create a new message.
326
+ */
327
+ export const MachineServiceUpdateRequestSchema: GenMessage<MachineServiceUpdateRequest> = /*@__PURE__*/
328
+ messageDesc(file_metalstack_api_v2_machine, 5);
329
+
330
+ /**
331
+ * MachineServiceUpdateResponse is the request payload for a machine update response
332
+ *
333
+ * @generated from message metalstack.api.v2.MachineServiceUpdateResponse
334
+ */
335
+ export type MachineServiceUpdateResponse = Message<"metalstack.api.v2.MachineServiceUpdateResponse"> & {
336
+ /**
337
+ * Machine which was updated
338
+ *
339
+ * @generated from field: metalstack.api.v2.Machine machine = 1;
340
+ */
341
+ machine?: Machine;
342
+ };
343
+
344
+ /**
345
+ * Describes the message metalstack.api.v2.MachineServiceUpdateResponse.
346
+ * Use `create(MachineServiceUpdateResponseSchema)` to create a new message.
347
+ */
348
+ export const MachineServiceUpdateResponseSchema: GenMessage<MachineServiceUpdateResponse> = /*@__PURE__*/
349
+ messageDesc(file_metalstack_api_v2_machine, 6);
350
+
351
+ /**
352
+ * MachineServiceListRequest is the request payload for a machine list request
353
+ *
354
+ * @generated from message metalstack.api.v2.MachineServiceListRequest
355
+ */
356
+ export type MachineServiceListRequest = Message<"metalstack.api.v2.MachineServiceListRequest"> & {
357
+ /**
358
+ * Project of the machines to list
359
+ *
360
+ * @generated from field: string project = 1;
361
+ */
362
+ project: string;
363
+
364
+ /**
365
+ * Query to list one ore more machines
366
+ *
367
+ * @generated from field: metalstack.api.v2.MachineQuery query = 2;
368
+ */
369
+ query?: MachineQuery;
370
+ };
371
+
372
+ /**
373
+ * Describes the message metalstack.api.v2.MachineServiceListRequest.
374
+ * Use `create(MachineServiceListRequestSchema)` to create a new message.
375
+ */
376
+ export const MachineServiceListRequestSchema: GenMessage<MachineServiceListRequest> = /*@__PURE__*/
377
+ messageDesc(file_metalstack_api_v2_machine, 7);
378
+
379
+ /**
380
+ * MachineServiceListResponse is the request payload for a machine list response
381
+ *
382
+ * @generated from message metalstack.api.v2.MachineServiceListResponse
383
+ */
384
+ export type MachineServiceListResponse = Message<"metalstack.api.v2.MachineServiceListResponse"> & {
385
+ /**
386
+ * Machines are the machines requested by a list request
387
+ *
388
+ * @generated from field: repeated metalstack.api.v2.Machine machines = 1;
389
+ */
390
+ machines: Machine[];
391
+ };
392
+
393
+ /**
394
+ * Describes the message metalstack.api.v2.MachineServiceListResponse.
395
+ * Use `create(MachineServiceListResponseSchema)` to create a new message.
396
+ */
397
+ export const MachineServiceListResponseSchema: GenMessage<MachineServiceListResponse> = /*@__PURE__*/
398
+ messageDesc(file_metalstack_api_v2_machine, 8);
399
+
400
+ /**
401
+ * MachineServiceDeleteRequest is the request payload for a machine delete request
402
+ *
403
+ * @generated from message metalstack.api.v2.MachineServiceDeleteRequest
404
+ */
405
+ export type MachineServiceDeleteRequest = Message<"metalstack.api.v2.MachineServiceDeleteRequest"> & {
406
+ /**
407
+ * UUID of the machine to delete
408
+ *
409
+ * @generated from field: string uuid = 1;
410
+ */
411
+ uuid: string;
412
+
413
+ /**
414
+ * Project of the machine
415
+ *
416
+ * @generated from field: string project = 2;
417
+ */
418
+ project: string;
419
+ };
420
+
421
+ /**
422
+ * Describes the message metalstack.api.v2.MachineServiceDeleteRequest.
423
+ * Use `create(MachineServiceDeleteRequestSchema)` to create a new message.
424
+ */
425
+ export const MachineServiceDeleteRequestSchema: GenMessage<MachineServiceDeleteRequest> = /*@__PURE__*/
426
+ messageDesc(file_metalstack_api_v2_machine, 9);
427
+
428
+ /**
429
+ * MachineServiceDeleteResponse is the request payload for a machine delete response
430
+ *
431
+ * @generated from message metalstack.api.v2.MachineServiceDeleteResponse
432
+ */
433
+ export type MachineServiceDeleteResponse = Message<"metalstack.api.v2.MachineServiceDeleteResponse"> & {
434
+ /**
435
+ * Machine which was deleteds
436
+ *
437
+ * @generated from field: metalstack.api.v2.Machine machine = 1;
438
+ */
439
+ machine?: Machine;
440
+ };
441
+
442
+ /**
443
+ * Describes the message metalstack.api.v2.MachineServiceDeleteResponse.
444
+ * Use `create(MachineServiceDeleteResponseSchema)` to create a new message.
445
+ */
446
+ export const MachineServiceDeleteResponseSchema: GenMessage<MachineServiceDeleteResponse> = /*@__PURE__*/
447
+ messageDesc(file_metalstack_api_v2_machine, 10);
448
+
449
+ /**
450
+ * Machine represents a physical bare metal machine.
451
+ *
452
+ * @generated from message metalstack.api.v2.Machine
453
+ */
454
+ export type Machine = Message<"metalstack.api.v2.Machine"> & {
455
+ /**
456
+ * UUID of this machine
457
+ *
458
+ * @generated from field: string uuid = 1;
459
+ */
460
+ uuid: string;
461
+
462
+ /**
463
+ * Meta for this machine
464
+ *
465
+ * @generated from field: metalstack.api.v2.Meta meta = 2;
466
+ */
467
+ meta?: Meta;
468
+
469
+ /**
470
+ * Partition where this machine resides
471
+ *
472
+ * @generated from field: metalstack.api.v2.Partition partition = 3;
473
+ */
474
+ partition?: Partition;
475
+
476
+ /**
477
+ * Rack where this machine is located
478
+ *
479
+ * @generated from field: string rack = 4;
480
+ */
481
+ rack: string;
482
+
483
+ /**
484
+ * Size of this machine
485
+ *
486
+ * @generated from field: metalstack.api.v2.Size size = 5;
487
+ */
488
+ size?: Size;
489
+
490
+ /**
491
+ * Hardware specs of this machine
492
+ *
493
+ * @generated from field: metalstack.api.v2.MachineHardware hardware = 6;
494
+ */
495
+ hardware?: MachineHardware;
496
+
497
+ /**
498
+ * Bios details for this machine
499
+ *
500
+ * @generated from field: metalstack.api.v2.MachineBios bios = 7;
501
+ */
502
+ bios?: MachineBios;
503
+
504
+ /**
505
+ * Allocation details
506
+ *
507
+ * @generated from field: metalstack.api.v2.MachineAllocation allocation = 8;
508
+ */
509
+ allocation?: MachineAllocation;
510
+
511
+ /**
512
+ * Status contains several status details related to this machine
513
+ *
514
+ * @generated from field: metalstack.api.v2.MachineStatus status = 9;
515
+ */
516
+ status?: MachineStatus;
517
+
518
+ /**
519
+ * MachineRecentProvisioningEvents contains the recent provisioning events
520
+ *
521
+ * @generated from field: metalstack.api.v2.MachineRecentProvisioningEvents recent_provisioning_events = 10;
522
+ */
523
+ recentProvisioningEvents?: MachineRecentProvisioningEvents;
524
+ };
525
+
526
+ /**
527
+ * Describes the message metalstack.api.v2.Machine.
528
+ * Use `create(MachineSchema)` to create a new message.
529
+ */
530
+ export const MachineSchema: GenMessage<Machine> = /*@__PURE__*/
531
+ messageDesc(file_metalstack_api_v2_machine, 11);
532
+
533
+ /**
534
+ * MachineStatus contains several status details related to this machine
535
+ *
536
+ * @generated from message metalstack.api.v2.MachineStatus
537
+ */
538
+ export type MachineStatus = Message<"metalstack.api.v2.MachineStatus"> & {
539
+ /**
540
+ * Condition describes the availability
541
+ *
542
+ * @generated from field: metalstack.api.v2.MachineCondition condition = 1;
543
+ */
544
+ condition?: MachineCondition;
545
+
546
+ /**
547
+ * LEDState indicates the state of the indicator LED on this machine
548
+ *
549
+ * @generated from field: metalstack.api.v2.MachineChassisIdentifyLEDState led_state = 2;
550
+ */
551
+ ledState?: MachineChassisIdentifyLEDState;
552
+
553
+ /**
554
+ * Liveliness of this machine
555
+ *
556
+ * @generated from field: metalstack.api.v2.MachineLiveliness liveliness = 3;
557
+ */
558
+ liveliness: MachineLiveliness;
559
+
560
+ /**
561
+ * MetalHammerVersion the version of metal hammer which put the machine in waiting state
562
+ *
563
+ * @generated from field: string metal_hammer_version = 4;
564
+ */
565
+ metalHammerVersion: string;
566
+ };
567
+
568
+ /**
569
+ * Describes the message metalstack.api.v2.MachineStatus.
570
+ * Use `create(MachineStatusSchema)` to create a new message.
571
+ */
572
+ export const MachineStatusSchema: GenMessage<MachineStatus> = /*@__PURE__*/
573
+ messageDesc(file_metalstack_api_v2_machine, 12);
574
+
575
+ /**
576
+ * MachineCondition describes the availability of this machine
577
+ *
578
+ * @generated from message metalstack.api.v2.MachineCondition
579
+ */
580
+ export type MachineCondition = Message<"metalstack.api.v2.MachineCondition"> & {
581
+ /**
582
+ * State the state of this machine. empty means available for all
583
+ *
584
+ * @generated from field: metalstack.api.v2.MachineState state = 1;
585
+ */
586
+ state: MachineState;
587
+
588
+ /**
589
+ * Description a description why this machine is in the given state
590
+ *
591
+ * @generated from field: string description = 2;
592
+ */
593
+ description: string;
594
+
595
+ /**
596
+ * Issuer the user that changed the state
597
+ *
598
+ * @generated from field: string issuer = 3;
599
+ */
600
+ issuer: string;
601
+ };
602
+
603
+ /**
604
+ * Describes the message metalstack.api.v2.MachineCondition.
605
+ * Use `create(MachineConditionSchema)` to create a new message.
606
+ */
607
+ export const MachineConditionSchema: GenMessage<MachineCondition> = /*@__PURE__*/
608
+ messageDesc(file_metalstack_api_v2_machine, 13);
609
+
610
+ /**
611
+ * MachineAllocation contains properties if this machine is allocated
612
+ *
613
+ * @generated from message metalstack.api.v2.MachineAllocation
614
+ */
615
+ export type MachineAllocation = Message<"metalstack.api.v2.MachineAllocation"> & {
616
+ /**
617
+ * UUID of this machine allocation
618
+ *
619
+ * @generated from field: string uuid = 1;
620
+ */
621
+ uuid: string;
622
+
623
+ /**
624
+ * Meta for this machine allocation
625
+ *
626
+ * @generated from field: metalstack.api.v2.Meta meta = 2;
627
+ */
628
+ meta?: Meta;
629
+
630
+ /**
631
+ * Name of this allocation
632
+ *
633
+ * @generated from field: string name = 3;
634
+ */
635
+ name: string;
636
+
637
+ /**
638
+ * Description of this allocation
639
+ *
640
+ * @generated from field: string description = 4;
641
+ */
642
+ description: string;
643
+
644
+ /**
645
+ * Created By indicates who created this machine allocation
646
+ *
647
+ * @generated from field: string created_by = 5;
648
+ */
649
+ createdBy: string;
650
+
651
+ /**
652
+ * Project of the allocation
653
+ *
654
+ * @generated from field: string project = 6;
655
+ */
656
+ project: string;
657
+
658
+ /**
659
+ * Image to be used to install on this machine
660
+ *
661
+ * @generated from field: metalstack.api.v2.Image image = 7;
662
+ */
663
+ image?: Image;
664
+
665
+ /**
666
+ * FilesystemLayout to create on the disks
667
+ *
668
+ * @generated from field: metalstack.api.v2.FilesystemLayout filesystem_layout = 8;
669
+ */
670
+ filesystemLayout?: FilesystemLayout;
671
+
672
+ /**
673
+ * Networks this machine should be attached to
674
+ *
675
+ * @generated from field: repeated metalstack.api.v2.MachineNetwork networks = 9;
676
+ */
677
+ networks: MachineNetwork[];
678
+
679
+ /**
680
+ * Hostname of the allocated machine
681
+ *
682
+ * @generated from field: string hostname = 10;
683
+ */
684
+ hostname: string;
685
+
686
+ /**
687
+ * SSHPublicKeys which should be installed on this machine
688
+ *
689
+ * @generated from field: repeated string ssh_public_keys = 11;
690
+ */
691
+ sshPublicKeys: string[];
692
+
693
+ /**
694
+ * Userdata contains instructions required to bootstrap the machine.
695
+ * AWS limits the max userdata size to 16k, lets allow twice as much
696
+ *
697
+ * @generated from field: string userdata = 12;
698
+ */
699
+ userdata: string;
700
+
701
+ /**
702
+ * AllocationType of this machine
703
+ *
704
+ * @generated from field: metalstack.api.v2.MachineAllocationType allocation_type = 13;
705
+ */
706
+ allocationType: MachineAllocationType;
707
+
708
+ /**
709
+ * FirewallRules to be applied if this is a firewall
710
+ *
711
+ * @generated from field: metalstack.api.v2.FirewallRules firewall_rules = 14;
712
+ */
713
+ firewallRules?: FirewallRules;
714
+
715
+ /**
716
+ * DNSServers for this machine
717
+ *
718
+ * @generated from field: repeated metalstack.api.v2.DNSServer dns_server = 15;
719
+ */
720
+ dnsServer: DNSServer[];
721
+
722
+ /**
723
+ * NTPServers for this machine
724
+ *
725
+ * @generated from field: repeated metalstack.api.v2.NTPServer ntp_server = 16;
726
+ */
727
+ ntpServer: NTPServer[];
728
+
729
+ /**
730
+ * VPN connection configuration
731
+ *
732
+ * @generated from field: metalstack.api.v2.MachineVPN vpn = 17;
733
+ */
734
+ vpn?: MachineVPN;
735
+ };
736
+
737
+ /**
738
+ * Describes the message metalstack.api.v2.MachineAllocation.
739
+ * Use `create(MachineAllocationSchema)` to create a new message.
740
+ */
741
+ export const MachineAllocationSchema: GenMessage<MachineAllocation> = /*@__PURE__*/
742
+ messageDesc(file_metalstack_api_v2_machine, 14);
743
+
744
+ /**
745
+ * MachineAllocationNetwork defines which network should be attached to a machine and if ips should be autoacquired
746
+ *
747
+ * @generated from message metalstack.api.v2.MachineAllocationNetwork
748
+ */
749
+ export type MachineAllocationNetwork = Message<"metalstack.api.v2.MachineAllocationNetwork"> & {
750
+ /**
751
+ * Network the id of the network that this machine will be placed in
752
+ *
753
+ * @generated from field: string network = 1;
754
+ */
755
+ network: string;
756
+
757
+ /**
758
+ * NoAutoAcquireIp will prevent automatic ip acquirement per network if set to true.
759
+ * By default one ip address is acquired per network for the machine
760
+ *
761
+ * @generated from field: optional bool no_auto_acquire_ip = 2;
762
+ */
763
+ noAutoAcquireIp?: boolean;
764
+ };
765
+
766
+ /**
767
+ * Describes the message metalstack.api.v2.MachineAllocationNetwork.
768
+ * Use `create(MachineAllocationNetworkSchema)` to create a new message.
769
+ */
770
+ export const MachineAllocationNetworkSchema: GenMessage<MachineAllocationNetwork> = /*@__PURE__*/
771
+ messageDesc(file_metalstack_api_v2_machine, 15);
772
+
773
+ /**
774
+ * FirewallRules can be defined during firewall allocation
775
+ *
776
+ * @generated from message metalstack.api.v2.FirewallRules
777
+ */
778
+ export type FirewallRules = Message<"metalstack.api.v2.FirewallRules"> & {
779
+ /**
780
+ * Egress list of egress rules to be deployed during firewall allocation
781
+ *
782
+ * @generated from field: repeated metalstack.api.v2.FirewallEgressRule egress = 1;
783
+ */
784
+ egress: FirewallEgressRule[];
785
+
786
+ /**
787
+ * Ingress list of ingress rules to be deployed during firewall allocation
788
+ *
789
+ * @generated from field: repeated metalstack.api.v2.FirewallIngressRule ingress = 2;
790
+ */
791
+ ingress: FirewallIngressRule[];
792
+ };
793
+
794
+ /**
795
+ * Describes the message metalstack.api.v2.FirewallRules.
796
+ * Use `create(FirewallRulesSchema)` to create a new message.
797
+ */
798
+ export const FirewallRulesSchema: GenMessage<FirewallRules> = /*@__PURE__*/
799
+ messageDesc(file_metalstack_api_v2_machine, 16);
800
+
801
+ /**
802
+ * FirewallEgressRule defines rules for outgoing traffic
803
+ *
804
+ * @generated from message metalstack.api.v2.FirewallEgressRule
805
+ */
806
+ export type FirewallEgressRule = Message<"metalstack.api.v2.FirewallEgressRule"> & {
807
+ /**
808
+ * Protocol the protocol for the rule, defaults to tcp
809
+ *
810
+ * @generated from field: metalstack.api.v2.IPProtocol protocol = 1;
811
+ */
812
+ protocol: IPProtocol;
813
+
814
+ /**
815
+ * Ports the ports affected by this rule
816
+ *
817
+ * @generated from field: repeated uint32 ports = 2;
818
+ */
819
+ ports: number[];
820
+
821
+ /**
822
+ * To the destination cidrs affected by this rule
823
+ *
824
+ * @generated from field: repeated string to = 3;
825
+ */
826
+ to: string[];
827
+
828
+ /**
829
+ * Comment for this rule
830
+ *
831
+ * @generated from field: string comment = 4;
832
+ */
833
+ comment: string;
834
+ };
835
+
836
+ /**
837
+ * Describes the message metalstack.api.v2.FirewallEgressRule.
838
+ * Use `create(FirewallEgressRuleSchema)` to create a new message.
839
+ */
840
+ export const FirewallEgressRuleSchema: GenMessage<FirewallEgressRule> = /*@__PURE__*/
841
+ messageDesc(file_metalstack_api_v2_machine, 17);
842
+
843
+ /**
844
+ * FirewallIngressRule defines rules for incoming traffic
845
+ *
846
+ * @generated from message metalstack.api.v2.FirewallIngressRule
847
+ */
848
+ export type FirewallIngressRule = Message<"metalstack.api.v2.FirewallIngressRule"> & {
849
+ /**
850
+ * Protocol the protocol for the rule, defaults to tcp
851
+ *
852
+ * @generated from field: metalstack.api.v2.IPProtocol protocol = 1;
853
+ */
854
+ protocol: IPProtocol;
855
+
856
+ /**
857
+ * Ports the ports affected by this rule
858
+ *
859
+ * @generated from field: repeated uint32 ports = 2;
860
+ */
861
+ ports: number[];
862
+
863
+ /**
864
+ * To the destination cidrs affected by this rule
865
+ *
866
+ * @generated from field: repeated string to = 3;
867
+ */
868
+ to: string[];
869
+
870
+ /**
871
+ * From the source cidrs affected by this rule
872
+ *
873
+ * @generated from field: repeated string from = 4;
874
+ */
875
+ from: string[];
876
+
877
+ /**
878
+ * Comment for this rule
879
+ *
880
+ * @generated from field: string comment = 5;
881
+ */
882
+ comment: string;
883
+ };
884
+
885
+ /**
886
+ * Describes the message metalstack.api.v2.FirewallIngressRule.
887
+ * Use `create(FirewallIngressRuleSchema)` to create a new message.
888
+ */
889
+ export const FirewallIngressRuleSchema: GenMessage<FirewallIngressRule> = /*@__PURE__*/
890
+ messageDesc(file_metalstack_api_v2_machine, 18);
891
+
892
+ /**
893
+ * MachineNetwork contains details which network should be created on a allocated machine
894
+ *
895
+ * @generated from message metalstack.api.v2.MachineNetwork
896
+ */
897
+ export type MachineNetwork = Message<"metalstack.api.v2.MachineNetwork"> & {
898
+ /**
899
+ * Network the networkID of the allocated machine in this vrf
900
+ *
901
+ * @generated from field: string network = 1;
902
+ */
903
+ network: string;
904
+
905
+ /**
906
+ * Prefixes the prefixes of this network
907
+ *
908
+ * @generated from field: repeated string prefixes = 2;
909
+ */
910
+ prefixes: string[];
911
+
912
+ /**
913
+ * DestinationPrefixes prefixes that are reachable within this network
914
+ *
915
+ * @generated from field: repeated string destination_prefixes = 3;
916
+ */
917
+ destinationPrefixes: string[];
918
+
919
+ /**
920
+ * IPs the ip addresses of the allocated machine in this vrf
921
+ *
922
+ * @generated from field: repeated string ips = 4;
923
+ */
924
+ ips: string[];
925
+
926
+ /**
927
+ * NetworkType the type of network of this vrf
928
+ *
929
+ * @generated from field: metalstack.api.v2.NetworkType network_type = 5;
930
+ */
931
+ networkType: NetworkType;
932
+
933
+ /**
934
+ * NatType what type of nat if any should be used
935
+ *
936
+ * @generated from field: metalstack.api.v2.NATType nat_type = 6;
937
+ */
938
+ natType: NATType;
939
+
940
+ /**
941
+ * VRF the vrf id
942
+ *
943
+ * @generated from field: uint64 vrf = 7;
944
+ */
945
+ vrf: bigint;
946
+
947
+ /**
948
+ * ASN the autonomous system number for this network
949
+ *
950
+ * @generated from field: uint32 asn = 8;
951
+ */
952
+ asn: number;
953
+ };
954
+
955
+ /**
956
+ * Describes the message metalstack.api.v2.MachineNetwork.
957
+ * Use `create(MachineNetworkSchema)` to create a new message.
958
+ */
959
+ export const MachineNetworkSchema: GenMessage<MachineNetwork> = /*@__PURE__*/
960
+ messageDesc(file_metalstack_api_v2_machine, 19);
961
+
962
+ /**
963
+ * MachineHardware contains hardware details
964
+ *
965
+ * @generated from message metalstack.api.v2.MachineHardware
966
+ */
967
+ export type MachineHardware = Message<"metalstack.api.v2.MachineHardware"> & {
968
+ /**
969
+ * Memory the total memory of the machine in bytes
970
+ *
971
+ * @generated from field: uint64 memory = 1;
972
+ */
973
+ memory: bigint;
974
+
975
+ /**
976
+ * Disks the list of block devices of this machine
977
+ *
978
+ * @generated from field: repeated metalstack.api.v2.MachineBlockDevice disks = 3;
979
+ */
980
+ disks: MachineBlockDevice[];
981
+
982
+ /**
983
+ * CPUs the cpu details
984
+ *
985
+ * @generated from field: repeated metalstack.api.v2.MetalCPU cpus = 4;
986
+ */
987
+ cpus: MetalCPU[];
988
+
989
+ /**
990
+ * GPUs the gpu details
991
+ *
992
+ * @generated from field: repeated metalstack.api.v2.MetalGPU gpus = 5;
993
+ */
994
+ gpus: MetalGPU[];
995
+
996
+ /**
997
+ * Nics the list of network interfaces of this machine
998
+ *
999
+ * @generated from field: repeated metalstack.api.v2.MachineNic nics = 6;
1000
+ */
1001
+ nics: MachineNic[];
1002
+ };
1003
+
1004
+ /**
1005
+ * Describes the message metalstack.api.v2.MachineHardware.
1006
+ * Use `create(MachineHardwareSchema)` to create a new message.
1007
+ */
1008
+ export const MachineHardwareSchema: GenMessage<MachineHardware> = /*@__PURE__*/
1009
+ messageDesc(file_metalstack_api_v2_machine, 20);
1010
+
1011
+ /**
1012
+ * MetalCPU contains details of a cpu in this machine
1013
+ *
1014
+ * @generated from message metalstack.api.v2.MetalCPU
1015
+ */
1016
+ export type MetalCPU = Message<"metalstack.api.v2.MetalCPU"> & {
1017
+ /**
1018
+ * Vendor of this cpu
1019
+ *
1020
+ * @generated from field: string vendor = 1;
1021
+ */
1022
+ vendor: string;
1023
+
1024
+ /**
1025
+ * Model of this cpu
1026
+ *
1027
+ * @generated from field: string model = 2;
1028
+ */
1029
+ model: string;
1030
+
1031
+ /**
1032
+ * Cores of this cpu
1033
+ *
1034
+ * @generated from field: uint32 cores = 3;
1035
+ */
1036
+ cores: number;
1037
+
1038
+ /**
1039
+ * Threads of this cpu
1040
+ *
1041
+ * @generated from field: uint32 threads = 4;
1042
+ */
1043
+ threads: number;
1044
+ };
1045
+
1046
+ /**
1047
+ * Describes the message metalstack.api.v2.MetalCPU.
1048
+ * Use `create(MetalCPUSchema)` to create a new message.
1049
+ */
1050
+ export const MetalCPUSchema: GenMessage<MetalCPU> = /*@__PURE__*/
1051
+ messageDesc(file_metalstack_api_v2_machine, 21);
1052
+
1053
+ /**
1054
+ * MetalGPU contains details of a gpu in this machine
1055
+ *
1056
+ * @generated from message metalstack.api.v2.MetalGPU
1057
+ */
1058
+ export type MetalGPU = Message<"metalstack.api.v2.MetalGPU"> & {
1059
+ /**
1060
+ * Vendor of this gpu
1061
+ *
1062
+ * @generated from field: string vendor = 1;
1063
+ */
1064
+ vendor: string;
1065
+
1066
+ /**
1067
+ * Model of this gpu
1068
+ *
1069
+ * @generated from field: string model = 2;
1070
+ */
1071
+ model: string;
1072
+ };
1073
+
1074
+ /**
1075
+ * Describes the message metalstack.api.v2.MetalGPU.
1076
+ * Use `create(MetalGPUSchema)` to create a new message.
1077
+ */
1078
+ export const MetalGPUSchema: GenMessage<MetalGPU> = /*@__PURE__*/
1079
+ messageDesc(file_metalstack_api_v2_machine, 22);
1080
+
1081
+ /**
1082
+ * MachineNic contains details of a network interface of this machine
1083
+ *
1084
+ * @generated from message metalstack.api.v2.MachineNic
1085
+ */
1086
+ export type MachineNic = Message<"metalstack.api.v2.MachineNic"> & {
1087
+ /**
1088
+ * Mac the macaddress of this interface
1089
+ *
1090
+ * @generated from field: string mac = 1;
1091
+ */
1092
+ mac: string;
1093
+
1094
+ /**
1095
+ * Name of this interface
1096
+ *
1097
+ * @generated from field: string name = 2;
1098
+ */
1099
+ name: string;
1100
+
1101
+ /**
1102
+ * Identifier the unique identifier of this network interface
1103
+ *
1104
+ * @generated from field: string identifier = 3;
1105
+ */
1106
+ identifier: string;
1107
+
1108
+ /**
1109
+ * Vendor of this network card
1110
+ *
1111
+ * @generated from field: string vendor = 4;
1112
+ */
1113
+ vendor: string;
1114
+
1115
+ /**
1116
+ * Model of this network card
1117
+ *
1118
+ * @generated from field: string model = 5;
1119
+ */
1120
+ model: string;
1121
+
1122
+ /**
1123
+ * Speed in bits/second of this network card
1124
+ *
1125
+ * @generated from field: uint64 speed = 6;
1126
+ */
1127
+ speed: bigint;
1128
+
1129
+ /**
1130
+ * Neighbors the neighbors visible to this network interface
1131
+ *
1132
+ * @generated from field: repeated metalstack.api.v2.MachineNic neighbors = 7;
1133
+ */
1134
+ neighbors: MachineNic[];
1135
+
1136
+ /**
1137
+ * Hostname the nic belongs to
1138
+ *
1139
+ * @generated from field: string hostname = 8;
1140
+ */
1141
+ hostname: string;
1142
+ };
1143
+
1144
+ /**
1145
+ * Describes the message metalstack.api.v2.MachineNic.
1146
+ * Use `create(MachineNicSchema)` to create a new message.
1147
+ */
1148
+ export const MachineNicSchema: GenMessage<MachineNic> = /*@__PURE__*/
1149
+ messageDesc(file_metalstack_api_v2_machine, 23);
1150
+
1151
+ /**
1152
+ * MachineBlockDevice contains details of a block device of this machine
1153
+ *
1154
+ * @generated from message metalstack.api.v2.MachineBlockDevice
1155
+ */
1156
+ export type MachineBlockDevice = Message<"metalstack.api.v2.MachineBlockDevice"> & {
1157
+ /**
1158
+ * Name of this block device
1159
+ *
1160
+ * @generated from field: string name = 1;
1161
+ */
1162
+ name: string;
1163
+
1164
+ /**
1165
+ * Size of this block device in bytes
1166
+ *
1167
+ * @generated from field: uint64 size = 2;
1168
+ */
1169
+ size: bigint;
1170
+ };
1171
+
1172
+ /**
1173
+ * Describes the message metalstack.api.v2.MachineBlockDevice.
1174
+ * Use `create(MachineBlockDeviceSchema)` to create a new message.
1175
+ */
1176
+ export const MachineBlockDeviceSchema: GenMessage<MachineBlockDevice> = /*@__PURE__*/
1177
+ messageDesc(file_metalstack_api_v2_machine, 24);
1178
+
1179
+ /**
1180
+ * MachineChassisIdentifyLEDState describes the identifier led state
1181
+ *
1182
+ * @generated from message metalstack.api.v2.MachineChassisIdentifyLEDState
1183
+ */
1184
+ export type MachineChassisIdentifyLEDState = Message<"metalstack.api.v2.MachineChassisIdentifyLEDState"> & {
1185
+ /**
1186
+ * Value the state of this chassis identify LED. empty means LED-OFF
1187
+ *
1188
+ * @generated from field: string value = 1;
1189
+ */
1190
+ value: string;
1191
+
1192
+ /**
1193
+ * Description a description why this chassis identify LED is in the given state
1194
+ *
1195
+ * @generated from field: string description = 2;
1196
+ */
1197
+ description: string;
1198
+ };
1199
+
1200
+ /**
1201
+ * Describes the message metalstack.api.v2.MachineChassisIdentifyLEDState.
1202
+ * Use `create(MachineChassisIdentifyLEDStateSchema)` to create a new message.
1203
+ */
1204
+ export const MachineChassisIdentifyLEDStateSchema: GenMessage<MachineChassisIdentifyLEDState> = /*@__PURE__*/
1205
+ messageDesc(file_metalstack_api_v2_machine, 25);
1206
+
1207
+ /**
1208
+ * MachineBios contains BIOS details of this machine
1209
+ *
1210
+ * @generated from message metalstack.api.v2.MachineBios
1211
+ */
1212
+ export type MachineBios = Message<"metalstack.api.v2.MachineBios"> & {
1213
+ /**
1214
+ * Version the bios version
1215
+ *
1216
+ * @generated from field: string version = 1;
1217
+ */
1218
+ version: string;
1219
+
1220
+ /**
1221
+ * Vendor the bios vendor
1222
+ *
1223
+ * @generated from field: string vendor = 2;
1224
+ */
1225
+ vendor: string;
1226
+
1227
+ /**
1228
+ * Date the bios date as string because every vendor has different ideas howto describe the date
1229
+ *
1230
+ * @generated from field: string date = 3;
1231
+ */
1232
+ date: string;
1233
+ };
1234
+
1235
+ /**
1236
+ * Describes the message metalstack.api.v2.MachineBios.
1237
+ * Use `create(MachineBiosSchema)` to create a new message.
1238
+ */
1239
+ export const MachineBiosSchema: GenMessage<MachineBios> = /*@__PURE__*/
1240
+ messageDesc(file_metalstack_api_v2_machine, 26);
1241
+
1242
+ /**
1243
+ * MachineRecentProvisioningEvents the recent provisioning events for this machine
1244
+ *
1245
+ * @generated from message metalstack.api.v2.MachineRecentProvisioningEvents
1246
+ */
1247
+ export type MachineRecentProvisioningEvents = Message<"metalstack.api.v2.MachineRecentProvisioningEvents"> & {
1248
+ /**
1249
+ * Events the log of recent machine provisioning events
1250
+ *
1251
+ * @generated from field: repeated metalstack.api.v2.MachineProvisioningEvent events = 1;
1252
+ */
1253
+ events: MachineProvisioningEvent[];
1254
+
1255
+ /**
1256
+ * LastEventTime the time where the last event was received
1257
+ *
1258
+ * @generated from field: google.protobuf.Timestamp last_event_time = 2;
1259
+ */
1260
+ lastEventTime?: Timestamp;
1261
+
1262
+ /**
1263
+ * LastErrorEvent the last erroneous event received
1264
+ *
1265
+ * @generated from field: metalstack.api.v2.MachineProvisioningEvent last_error_event = 3;
1266
+ */
1267
+ lastErrorEvent?: MachineProvisioningEvent;
1268
+
1269
+ /**
1270
+ * State can be either CrashLoop, FailedReclaim or something else
1271
+ *
1272
+ * @generated from field: metalstack.api.v2.MachineProvisioningEventState state = 4;
1273
+ */
1274
+ state: MachineProvisioningEventState;
1275
+ };
1276
+
1277
+ /**
1278
+ * Describes the message metalstack.api.v2.MachineRecentProvisioningEvents.
1279
+ * Use `create(MachineRecentProvisioningEventsSchema)` to create a new message.
1280
+ */
1281
+ export const MachineRecentProvisioningEventsSchema: GenMessage<MachineRecentProvisioningEvents> = /*@__PURE__*/
1282
+ messageDesc(file_metalstack_api_v2_machine, 27);
1283
+
1284
+ /**
1285
+ * MachineProvisioningEvent is a event which has occurred during provisioning
1286
+ *
1287
+ * @generated from message metalstack.api.v2.MachineProvisioningEvent
1288
+ */
1289
+ export type MachineProvisioningEvent = Message<"metalstack.api.v2.MachineProvisioningEvent"> & {
1290
+ /**
1291
+ * Time the time that this event was received
1292
+ *
1293
+ * @generated from field: google.protobuf.Timestamp time = 1;
1294
+ */
1295
+ time?: Timestamp;
1296
+
1297
+ /**
1298
+ * Event the event emitted by the machine
1299
+ *
1300
+ * @generated from field: metalstack.api.v2.MachineProvisioningEventType event = 2;
1301
+ */
1302
+ event: MachineProvisioningEventType;
1303
+
1304
+ /**
1305
+ * Message an additional message to add to the event
1306
+ *
1307
+ * @generated from field: string message = 3;
1308
+ */
1309
+ message: string;
1310
+ };
1311
+
1312
+ /**
1313
+ * Describes the message metalstack.api.v2.MachineProvisioningEvent.
1314
+ * Use `create(MachineProvisioningEventSchema)` to create a new message.
1315
+ */
1316
+ export const MachineProvisioningEventSchema: GenMessage<MachineProvisioningEvent> = /*@__PURE__*/
1317
+ messageDesc(file_metalstack_api_v2_machine, 28);
1318
+
1319
+ /**
1320
+ * MachineVPN contains configuration data for the VPN connection
1321
+ *
1322
+ * @generated from message metalstack.api.v2.MachineVPN
1323
+ */
1324
+ export type MachineVPN = Message<"metalstack.api.v2.MachineVPN"> & {
1325
+ /**
1326
+ * Address of VPN control plane
1327
+ *
1328
+ * @generated from field: string control_plane_address = 1;
1329
+ */
1330
+ controlPlaneAddress: string;
1331
+
1332
+ /**
1333
+ * Auth key used to connect to VPN
1334
+ *
1335
+ * @generated from field: string auth_key = 2;
1336
+ */
1337
+ authKey: string;
1338
+
1339
+ /**
1340
+ * Connected indicate if this machine is connected to the VPN
1341
+ *
1342
+ * @generated from field: bool connected = 3;
1343
+ */
1344
+ connected: boolean;
1345
+
1346
+ /**
1347
+ * IPs of the machine connected to the vpn
1348
+ *
1349
+ * @generated from field: repeated string ips = 5;
1350
+ */
1351
+ ips: string[];
1352
+ };
1353
+
1354
+ /**
1355
+ * Describes the message metalstack.api.v2.MachineVPN.
1356
+ * Use `create(MachineVPNSchema)` to create a new message.
1357
+ */
1358
+ export const MachineVPNSchema: GenMessage<MachineVPN> = /*@__PURE__*/
1359
+ messageDesc(file_metalstack_api_v2_machine, 29);
1360
+
1361
+ /**
1362
+ * MachineQuery contains fields which can be specified to list specific machines.
1363
+ *
1364
+ * @generated from message metalstack.api.v2.MachineQuery
1365
+ */
1366
+ export type MachineQuery = Message<"metalstack.api.v2.MachineQuery"> & {
1367
+ /**
1368
+ * UUID of the machine to get
1369
+ *
1370
+ * @generated from field: optional string uuid = 1;
1371
+ */
1372
+ uuid?: string;
1373
+
1374
+ /**
1375
+ * Name of the machine to get
1376
+ *
1377
+ * @generated from field: optional string name = 2;
1378
+ */
1379
+ name?: string;
1380
+
1381
+ /**
1382
+ * Partition of the machine to get
1383
+ *
1384
+ * @generated from field: optional string partition = 3;
1385
+ */
1386
+ partition?: string;
1387
+
1388
+ /**
1389
+ * Size of the machine to get
1390
+ *
1391
+ * @generated from field: optional string size = 4;
1392
+ */
1393
+ size?: string;
1394
+
1395
+ /**
1396
+ * Rack of the machine to get
1397
+ *
1398
+ * @generated from field: optional string rack = 5;
1399
+ */
1400
+ rack?: string;
1401
+
1402
+ /**
1403
+ * Labels for which this machine should get filtered
1404
+ *
1405
+ * @generated from field: optional metalstack.api.v2.Labels labels = 6;
1406
+ */
1407
+ labels?: Labels;
1408
+
1409
+ /**
1410
+ * Allocation specific machine queries
1411
+ *
1412
+ * @generated from field: optional metalstack.api.v2.MachineAllocationQuery allocation = 7;
1413
+ */
1414
+ allocation?: MachineAllocationQuery;
1415
+
1416
+ /**
1417
+ * Network specific machine queries
1418
+ *
1419
+ * @generated from field: optional metalstack.api.v2.MachineNetworkQuery network = 8;
1420
+ */
1421
+ network?: MachineNetworkQuery;
1422
+
1423
+ /**
1424
+ * Nic specific machine queries
1425
+ *
1426
+ * @generated from field: optional metalstack.api.v2.MachineNicQuery nic = 9;
1427
+ */
1428
+ nic?: MachineNicQuery;
1429
+
1430
+ /**
1431
+ * Disk specific machine queries
1432
+ *
1433
+ * @generated from field: optional metalstack.api.v2.MachineDiskQuery disk = 10;
1434
+ */
1435
+ disk?: MachineDiskQuery;
1436
+
1437
+ /**
1438
+ * IPMI specific machine queries
1439
+ *
1440
+ * @generated from field: optional metalstack.api.v2.MachineIPMIQuery ipmi = 11;
1441
+ */
1442
+ ipmi?: MachineIPMIQuery;
1443
+
1444
+ /**
1445
+ * FRU specific machine queries
1446
+ *
1447
+ * @generated from field: optional metalstack.api.v2.MachineFRUQuery fru = 12;
1448
+ */
1449
+ fru?: MachineFRUQuery;
1450
+
1451
+ /**
1452
+ * Hardware specific machine query
1453
+ *
1454
+ * @generated from field: optional metalstack.api.v2.MachineHardwareQuery hardware = 13;
1455
+ */
1456
+ hardware?: MachineHardwareQuery;
1457
+
1458
+ /**
1459
+ * State this machine has
1460
+ *
1461
+ * @generated from field: optional metalstack.api.v2.MachineState state = 14;
1462
+ */
1463
+ state?: MachineState;
1464
+ };
1465
+
1466
+ /**
1467
+ * Describes the message metalstack.api.v2.MachineQuery.
1468
+ * Use `create(MachineQuerySchema)` to create a new message.
1469
+ */
1470
+ export const MachineQuerySchema: GenMessage<MachineQuery> = /*@__PURE__*/
1471
+ messageDesc(file_metalstack_api_v2_machine, 30);
1472
+
1473
+ /**
1474
+ * MachineAllocationQuery allocation specific query parameters
1475
+ *
1476
+ * @generated from message metalstack.api.v2.MachineAllocationQuery
1477
+ */
1478
+ export type MachineAllocationQuery = Message<"metalstack.api.v2.MachineAllocationQuery"> & {
1479
+ /**
1480
+ * UUID of the allocation of the machine to get
1481
+ *
1482
+ * @generated from field: optional string uuid = 1;
1483
+ */
1484
+ uuid?: string;
1485
+
1486
+ /**
1487
+ * Name of the machine to get
1488
+ *
1489
+ * @generated from field: optional string name = 2;
1490
+ */
1491
+ name?: string;
1492
+
1493
+ /**
1494
+ * Project of the machine to get
1495
+ *
1496
+ * @generated from field: optional string project = 3;
1497
+ */
1498
+ project?: string;
1499
+
1500
+ /**
1501
+ * Image of the machine to get
1502
+ *
1503
+ * @generated from field: optional string image = 4;
1504
+ */
1505
+ image?: string;
1506
+
1507
+ /**
1508
+ * FilesystemLayout of the machine to get
1509
+ *
1510
+ * @generated from field: optional string filesystem_layout = 5;
1511
+ */
1512
+ filesystemLayout?: string;
1513
+
1514
+ /**
1515
+ * Hostname of the machine to get
1516
+ *
1517
+ * @generated from field: optional string hostname = 6;
1518
+ */
1519
+ hostname?: string;
1520
+
1521
+ /**
1522
+ * AllocationType of this machine
1523
+ *
1524
+ * @generated from field: optional metalstack.api.v2.MachineAllocationType allocation_type = 7;
1525
+ */
1526
+ allocationType?: MachineAllocationType;
1527
+
1528
+ /**
1529
+ * Labels for which this machine allocation should get filtered
1530
+ *
1531
+ * @generated from field: optional metalstack.api.v2.Labels labels = 8;
1532
+ */
1533
+ labels?: Labels;
1534
+
1535
+ /**
1536
+ * VPN query if this machine has a vpn configuration
1537
+ *
1538
+ * @generated from field: optional metalstack.api.v2.MachineVPN vpn = 9;
1539
+ */
1540
+ vpn?: MachineVPN;
1541
+ };
1542
+
1543
+ /**
1544
+ * Describes the message metalstack.api.v2.MachineAllocationQuery.
1545
+ * Use `create(MachineAllocationQuerySchema)` to create a new message.
1546
+ */
1547
+ export const MachineAllocationQuerySchema: GenMessage<MachineAllocationQuery> = /*@__PURE__*/
1548
+ messageDesc(file_metalstack_api_v2_machine, 31);
1549
+
1550
+ /**
1551
+ * MachineNetworkQuery network specific machine queries
1552
+ *
1553
+ * @generated from message metalstack.api.v2.MachineNetworkQuery
1554
+ */
1555
+ export type MachineNetworkQuery = Message<"metalstack.api.v2.MachineNetworkQuery"> & {
1556
+ /**
1557
+ * Networks this machine is connected to
1558
+ *
1559
+ * @generated from field: repeated string networks = 1;
1560
+ */
1561
+ networks: string[];
1562
+
1563
+ /**
1564
+ * Prefixes this machine is connected to
1565
+ *
1566
+ * @generated from field: repeated string prefixes = 2;
1567
+ */
1568
+ prefixes: string[];
1569
+
1570
+ /**
1571
+ * DestinationPrefixes this machine is connected to
1572
+ *
1573
+ * @generated from field: repeated string destination_prefixes = 3;
1574
+ */
1575
+ destinationPrefixes: string[];
1576
+
1577
+ /**
1578
+ * IPs this machine has
1579
+ *
1580
+ * @generated from field: repeated string ips = 4;
1581
+ */
1582
+ ips: string[];
1583
+
1584
+ /**
1585
+ * VRFs this machine is connected to
1586
+ *
1587
+ * @generated from field: repeated uint64 vrfs = 5;
1588
+ */
1589
+ vrfs: bigint[];
1590
+
1591
+ /**
1592
+ * ASNs this machine is connected to
1593
+ *
1594
+ * @generated from field: repeated uint32 asns = 6;
1595
+ */
1596
+ asns: number[];
1597
+ };
1598
+
1599
+ /**
1600
+ * Describes the message metalstack.api.v2.MachineNetworkQuery.
1601
+ * Use `create(MachineNetworkQuerySchema)` to create a new message.
1602
+ */
1603
+ export const MachineNetworkQuerySchema: GenMessage<MachineNetworkQuery> = /*@__PURE__*/
1604
+ messageDesc(file_metalstack_api_v2_machine, 32);
1605
+
1606
+ /**
1607
+ * MachineNicQuery nic specific machine queries
1608
+ *
1609
+ * @generated from message metalstack.api.v2.MachineNicQuery
1610
+ */
1611
+ export type MachineNicQuery = Message<"metalstack.api.v2.MachineNicQuery"> & {
1612
+ /**
1613
+ * Macs this machine nic has
1614
+ *
1615
+ * @generated from field: repeated string macs = 1;
1616
+ */
1617
+ macs: string[];
1618
+
1619
+ /**
1620
+ * Names this machine nic has
1621
+ *
1622
+ * @generated from field: repeated string names = 2;
1623
+ */
1624
+ names: string[];
1625
+
1626
+ /**
1627
+ * NeighborMacs this machine nic has
1628
+ *
1629
+ * @generated from field: repeated string neighbor_macs = 3;
1630
+ */
1631
+ neighborMacs: string[];
1632
+
1633
+ /**
1634
+ * NeighborNames this machine nic has
1635
+ *
1636
+ * @generated from field: repeated string neighbor_names = 4;
1637
+ */
1638
+ neighborNames: string[];
1639
+ };
1640
+
1641
+ /**
1642
+ * Describes the message metalstack.api.v2.MachineNicQuery.
1643
+ * Use `create(MachineNicQuerySchema)` to create a new message.
1644
+ */
1645
+ export const MachineNicQuerySchema: GenMessage<MachineNicQuery> = /*@__PURE__*/
1646
+ messageDesc(file_metalstack_api_v2_machine, 33);
1647
+
1648
+ /**
1649
+ * MachineDiskQuery disk specific machine queries
1650
+ *
1651
+ * @generated from message metalstack.api.v2.MachineDiskQuery
1652
+ */
1653
+ export type MachineDiskQuery = Message<"metalstack.api.v2.MachineDiskQuery"> & {
1654
+ /**
1655
+ * Names of disks in this machine
1656
+ *
1657
+ * @generated from field: repeated string names = 1;
1658
+ */
1659
+ names: string[];
1660
+
1661
+ /**
1662
+ * Sizes of disks in this machine
1663
+ *
1664
+ * @generated from field: repeated uint64 sizes = 2;
1665
+ */
1666
+ sizes: bigint[];
1667
+ };
1668
+
1669
+ /**
1670
+ * Describes the message metalstack.api.v2.MachineDiskQuery.
1671
+ * Use `create(MachineDiskQuerySchema)` to create a new message.
1672
+ */
1673
+ export const MachineDiskQuerySchema: GenMessage<MachineDiskQuery> = /*@__PURE__*/
1674
+ messageDesc(file_metalstack_api_v2_machine, 34);
1675
+
1676
+ /**
1677
+ * MachineIPMIQuery machine ipmi specific machine queries
1678
+ *
1679
+ * @generated from message metalstack.api.v2.MachineIPMIQuery
1680
+ */
1681
+ export type MachineIPMIQuery = Message<"metalstack.api.v2.MachineIPMIQuery"> & {
1682
+ /**
1683
+ * Address of the ipmi system of this machine
1684
+ *
1685
+ * @generated from field: optional string address = 1;
1686
+ */
1687
+ address?: string;
1688
+
1689
+ /**
1690
+ * Mac of the ipmi system of this machine
1691
+ *
1692
+ * @generated from field: optional string mac = 2;
1693
+ */
1694
+ mac?: string;
1695
+
1696
+ /**
1697
+ * User of the ipmi system of this machine
1698
+ *
1699
+ * @generated from field: optional string user = 3;
1700
+ */
1701
+ user?: string;
1702
+
1703
+ /**
1704
+ * Interface of the ipmi system of this machine
1705
+ *
1706
+ * @generated from field: optional string interface = 4;
1707
+ */
1708
+ interface?: string;
1709
+ };
1710
+
1711
+ /**
1712
+ * Describes the message metalstack.api.v2.MachineIPMIQuery.
1713
+ * Use `create(MachineIPMIQuerySchema)` to create a new message.
1714
+ */
1715
+ export const MachineIPMIQuerySchema: GenMessage<MachineIPMIQuery> = /*@__PURE__*/
1716
+ messageDesc(file_metalstack_api_v2_machine, 35);
1717
+
1718
+ /**
1719
+ * MachineFRUQuery machine fru specific machine queries
1720
+ *
1721
+ * @generated from message metalstack.api.v2.MachineFRUQuery
1722
+ */
1723
+ export type MachineFRUQuery = Message<"metalstack.api.v2.MachineFRUQuery"> & {
1724
+ /**
1725
+ * ChassisPartNumber of this machine
1726
+ *
1727
+ * @generated from field: optional string chassis_part_number = 1;
1728
+ */
1729
+ chassisPartNumber?: string;
1730
+
1731
+ /**
1732
+ * ChassisPartSerial of this machine
1733
+ *
1734
+ * @generated from field: optional string chassis_part_serial = 2;
1735
+ */
1736
+ chassisPartSerial?: string;
1737
+
1738
+ /**
1739
+ * BoardMFG of this machine
1740
+ *
1741
+ * @generated from field: optional string board_mfg = 3;
1742
+ */
1743
+ boardMfg?: string;
1744
+
1745
+ /**
1746
+ * BoardSerial of this machine
1747
+ *
1748
+ * @generated from field: optional string board_serial = 4;
1749
+ */
1750
+ boardSerial?: string;
1751
+
1752
+ /**
1753
+ * BoardPartNumber of this machine
1754
+ *
1755
+ * @generated from field: optional string board_part_number = 5;
1756
+ */
1757
+ boardPartNumber?: string;
1758
+
1759
+ /**
1760
+ * ProductManufacturer of this machine
1761
+ *
1762
+ * @generated from field: optional string product_manufacturer = 6;
1763
+ */
1764
+ productManufacturer?: string;
1765
+
1766
+ /**
1767
+ * ProductPartNumber of this machine
1768
+ *
1769
+ * @generated from field: optional string product_part_number = 7;
1770
+ */
1771
+ productPartNumber?: string;
1772
+
1773
+ /**
1774
+ * ProductSerial of this machine
1775
+ *
1776
+ * @generated from field: optional string product_serial = 8;
1777
+ */
1778
+ productSerial?: string;
1779
+ };
1780
+
1781
+ /**
1782
+ * Describes the message metalstack.api.v2.MachineFRUQuery.
1783
+ * Use `create(MachineFRUQuerySchema)` to create a new message.
1784
+ */
1785
+ export const MachineFRUQuerySchema: GenMessage<MachineFRUQuery> = /*@__PURE__*/
1786
+ messageDesc(file_metalstack_api_v2_machine, 36);
1787
+
1788
+ /**
1789
+ * MachineHardwareQuery machine hardware specific machine queries
1790
+ *
1791
+ * @generated from message metalstack.api.v2.MachineHardwareQuery
1792
+ */
1793
+ export type MachineHardwareQuery = Message<"metalstack.api.v2.MachineHardwareQuery"> & {
1794
+ /**
1795
+ * Memory the total memory of the machine in bytes
1796
+ *
1797
+ * @generated from field: optional uint64 memory = 1;
1798
+ */
1799
+ memory?: bigint;
1800
+
1801
+ /**
1802
+ * CPUCores the number of cpu cores
1803
+ *
1804
+ * @generated from field: optional uint32 cpu_cores = 2;
1805
+ */
1806
+ cpuCores?: number;
1807
+ };
1808
+
1809
+ /**
1810
+ * Describes the message metalstack.api.v2.MachineHardwareQuery.
1811
+ * Use `create(MachineHardwareQuerySchema)` to create a new message.
1812
+ */
1813
+ export const MachineHardwareQuerySchema: GenMessage<MachineHardwareQuery> = /*@__PURE__*/
1814
+ messageDesc(file_metalstack_api_v2_machine, 37);
1815
+
1816
+ /**
1817
+ * IPProtocol defines tcp|udp
1818
+ *
1819
+ * @generated from enum metalstack.api.v2.IPProtocol
1820
+ */
1821
+ export enum IPProtocol {
1822
+ /**
1823
+ * IP_PROTOCOL_UNSPECIFIED is not specified
1824
+ *
1825
+ * @generated from enum value: IP_PROTOCOL_UNSPECIFIED = 0;
1826
+ */
1827
+ IP_PROTOCOL_UNSPECIFIED = 0,
1828
+
1829
+ /**
1830
+ * IP_PROTOCOL_TCP is tcp
1831
+ *
1832
+ * @generated from enum value: IP_PROTOCOL_TCP = 1;
1833
+ */
1834
+ IP_PROTOCOL_TCP = 1,
1835
+
1836
+ /**
1837
+ * IP_PROTOCOL_UDP is udp
1838
+ *
1839
+ * @generated from enum value: IP_PROTOCOL_UDP = 2;
1840
+ */
1841
+ IP_PROTOCOL_UDP = 2,
1842
+ }
1843
+
1844
+ /**
1845
+ * Describes the enum metalstack.api.v2.IPProtocol.
1846
+ */
1847
+ export const IPProtocolSchema: GenEnum<IPProtocol> = /*@__PURE__*/
1848
+ enumDesc(file_metalstack_api_v2_machine, 0);
1849
+
1850
+ /**
1851
+ * MachineState defines if the machine was locked or reserved from a operator
1852
+ *
1853
+ * @generated from enum metalstack.api.v2.MachineState
1854
+ */
1855
+ export enum MachineState {
1856
+ /**
1857
+ * MACHINE_STATE_UNSPECIFIED is not specified
1858
+ *
1859
+ * @generated from enum value: MACHINE_STATE_UNSPECIFIED = 0;
1860
+ */
1861
+ UNSPECIFIED = 0,
1862
+
1863
+ /**
1864
+ * MACHINE_STATE_RESERVED this machine is reserved
1865
+ *
1866
+ * @generated from enum value: MACHINE_STATE_RESERVED = 1;
1867
+ */
1868
+ RESERVED = 1,
1869
+
1870
+ /**
1871
+ * MACHINE_STATE_LOCKED this machine is locked
1872
+ *
1873
+ * @generated from enum value: MACHINE_STATE_LOCKED = 2;
1874
+ */
1875
+ LOCKED = 2,
1876
+
1877
+ /**
1878
+ * MACHINE_STATE_LOCKED this machine is available for all
1879
+ *
1880
+ * @generated from enum value: MACHINE_STATE_AVAILABLE = 3;
1881
+ */
1882
+ AVAILABLE = 3,
1883
+ }
1884
+
1885
+ /**
1886
+ * Describes the enum metalstack.api.v2.MachineState.
1887
+ */
1888
+ export const MachineStateSchema: GenEnum<MachineState> = /*@__PURE__*/
1889
+ enumDesc(file_metalstack_api_v2_machine, 1);
1890
+
1891
+ /**
1892
+ * MachineProvisioningEventState possible event states
1893
+ *
1894
+ * @generated from enum metalstack.api.v2.MachineProvisioningEventState
1895
+ */
1896
+ export enum MachineProvisioningEventState {
1897
+ /**
1898
+ * MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED is not specified
1899
+ *
1900
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED = 0;
1901
+ */
1902
+ UNSPECIFIED = 0,
1903
+
1904
+ /**
1905
+ * MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP machine is in crash loop
1906
+ *
1907
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP = 1;
1908
+ */
1909
+ CRASHLOOP = 1,
1910
+
1911
+ /**
1912
+ * MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM machine is in failed reclaim
1913
+ *
1914
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM = 2;
1915
+ */
1916
+ FAILED_RECLAIM = 2,
1917
+ }
1918
+
1919
+ /**
1920
+ * Describes the enum metalstack.api.v2.MachineProvisioningEventState.
1921
+ */
1922
+ export const MachineProvisioningEventStateSchema: GenEnum<MachineProvisioningEventState> = /*@__PURE__*/
1923
+ enumDesc(file_metalstack_api_v2_machine, 2);
1924
+
1925
+ /**
1926
+ * MachineProvisioningEventType defines in which phase the machine actually is
1927
+ *
1928
+ * @generated from enum metalstack.api.v2.MachineProvisioningEventType
1929
+ */
1930
+ export enum MachineProvisioningEventType {
1931
+ /**
1932
+ * MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED is not specified
1933
+ *
1934
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED = 0;
1935
+ */
1936
+ UNSPECIFIED = 0,
1937
+
1938
+ /**
1939
+ * MACHINE_PROVISIONING_EVENT_TYPE_ALIVE machine is alive
1940
+ *
1941
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_ALIVE = 1;
1942
+ */
1943
+ ALIVE = 1,
1944
+
1945
+ /**
1946
+ * MACHINE_PROVISIONING_EVENT_TYPE_CRASHED machine crashed
1947
+ *
1948
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_CRASHED = 2;
1949
+ */
1950
+ CRASHED = 2,
1951
+
1952
+ /**
1953
+ * MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING machine is pxe booting into metal-hammer
1954
+ *
1955
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING = 3;
1956
+ */
1957
+ PXE_BOOTING = 3,
1958
+
1959
+ /**
1960
+ * MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT machine got a reboot instruction
1961
+ *
1962
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT = 4;
1963
+ */
1964
+ PLANNED_REBOOT = 4,
1965
+
1966
+ /**
1967
+ * MACHINE_PROVISIONING_EVENT_TYPE_PREPARING metal-hammer is preparing the machine
1968
+ *
1969
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_PREPARING = 5;
1970
+ */
1971
+ PREPARING = 5,
1972
+
1973
+ /**
1974
+ * MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING metal-hammer registers machine at the apiserver
1975
+ *
1976
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING = 6;
1977
+ */
1978
+ REGISTERING = 6,
1979
+
1980
+ /**
1981
+ * MACHINE_PROVISIONING_EVENT_TYPE_WAITING machine is waiting for installation
1982
+ *
1983
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_WAITING = 7;
1984
+ */
1985
+ WAITING = 7,
1986
+
1987
+ /**
1988
+ * MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING metal-hammer is installing the desired os
1989
+ *
1990
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING = 8;
1991
+ */
1992
+ INSTALLING = 8,
1993
+
1994
+ /**
1995
+ * MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL metal-hammer completed installation and boots into target os
1996
+ *
1997
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL = 9;
1998
+ */
1999
+ BOOTING_NEW_KERNEL = 9,
2000
+
2001
+ /**
2002
+ * MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME machine is installed and phones home
2003
+ *
2004
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME = 10;
2005
+ */
2006
+ PHONED_HOME = 10,
2007
+
2008
+ /**
2009
+ * MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM machine is not allocated, but phones home
2010
+ *
2011
+ * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM = 11;
2012
+ */
2013
+ MACHINE_RECLAIM = 11,
2014
+ }
2015
+
2016
+ /**
2017
+ * Describes the enum metalstack.api.v2.MachineProvisioningEventType.
2018
+ */
2019
+ export const MachineProvisioningEventTypeSchema: GenEnum<MachineProvisioningEventType> = /*@__PURE__*/
2020
+ enumDesc(file_metalstack_api_v2_machine, 3);
2021
+
2022
+ /**
2023
+ * MachineLiveliness specifies the liveliness of a machine
2024
+ *
2025
+ * @generated from enum metalstack.api.v2.MachineLiveliness
2026
+ */
2027
+ export enum MachineLiveliness {
2028
+ /**
2029
+ * MACHINE_LIVELINESS_UNSPECIFIED is not defined
2030
+ *
2031
+ * @generated from enum value: MACHINE_LIVELINESS_UNSPECIFIED = 0;
2032
+ */
2033
+ UNSPECIFIED = 0,
2034
+
2035
+ /**
2036
+ * MACHINE_LIVELINESS_ALIVE liveliness is alive
2037
+ *
2038
+ * @generated from enum value: MACHINE_LIVELINESS_ALIVE = 1;
2039
+ */
2040
+ ALIVE = 1,
2041
+
2042
+ /**
2043
+ * MACHINE_LIVELINESS_DEAD liveliness is dead
2044
+ *
2045
+ * @generated from enum value: MACHINE_LIVELINESS_DEAD = 2;
2046
+ */
2047
+ DEAD = 2,
2048
+
2049
+ /**
2050
+ * MACHINE_LIVELINESS_UNKNOWN liveliness is unknown
2051
+ *
2052
+ * @generated from enum value: MACHINE_LIVELINESS_UNKNOWN = 3;
2053
+ */
2054
+ UNKNOWN = 3,
2055
+ }
2056
+
2057
+ /**
2058
+ * Describes the enum metalstack.api.v2.MachineLiveliness.
2059
+ */
2060
+ export const MachineLivelinessSchema: GenEnum<MachineLiveliness> = /*@__PURE__*/
2061
+ enumDesc(file_metalstack_api_v2_machine, 4);
2062
+
2063
+ /**
2064
+ * MachineAllocationType defines if this is a machine or a firewall
2065
+ *
2066
+ * @generated from enum metalstack.api.v2.MachineAllocationType
2067
+ */
2068
+ export enum MachineAllocationType {
2069
+ /**
2070
+ * MACHINE_ALLOCATION_TYPE_UNSPECIFIED is unspecified
2071
+ *
2072
+ * @generated from enum value: MACHINE_ALLOCATION_TYPE_UNSPECIFIED = 0;
2073
+ */
2074
+ UNSPECIFIED = 0,
2075
+
2076
+ /**
2077
+ * MACHINE_ALLOCATION_TYPE_MACHINE is a machine
2078
+ *
2079
+ * @generated from enum value: MACHINE_ALLOCATION_TYPE_MACHINE = 1;
2080
+ */
2081
+ MACHINE = 1,
2082
+
2083
+ /**
2084
+ * MACHINE_ALLOCATION_TYPE_FIREWALL is a firewall
2085
+ *
2086
+ * @generated from enum value: MACHINE_ALLOCATION_TYPE_FIREWALL = 2;
2087
+ */
2088
+ FIREWALL = 2,
2089
+ }
2090
+
2091
+ /**
2092
+ * Describes the enum metalstack.api.v2.MachineAllocationType.
2093
+ */
2094
+ export const MachineAllocationTypeSchema: GenEnum<MachineAllocationType> = /*@__PURE__*/
2095
+ enumDesc(file_metalstack_api_v2_machine, 5);
2096
+
2097
+ /**
2098
+ * MachineService serves machine related functions
2099
+ *
2100
+ * @generated from service metalstack.api.v2.MachineService
2101
+ */
2102
+ export const MachineService: GenService<{
2103
+ /**
2104
+ * Get a machine
2105
+ *
2106
+ * @generated from rpc metalstack.api.v2.MachineService.Get
2107
+ */
2108
+ get: {
2109
+ methodKind: "unary";
2110
+ input: typeof MachineServiceGetRequestSchema;
2111
+ output: typeof MachineServiceGetResponseSchema;
2112
+ },
2113
+ /**
2114
+ * Create a machine
2115
+ *
2116
+ * @generated from rpc metalstack.api.v2.MachineService.Create
2117
+ */
2118
+ create: {
2119
+ methodKind: "unary";
2120
+ input: typeof MachineServiceCreateRequestSchema;
2121
+ output: typeof MachineServiceCreateResponseSchema;
2122
+ },
2123
+ /**
2124
+ * Update a machine
2125
+ *
2126
+ * @generated from rpc metalstack.api.v2.MachineService.Update
2127
+ */
2128
+ update: {
2129
+ methodKind: "unary";
2130
+ input: typeof MachineServiceUpdateRequestSchema;
2131
+ output: typeof MachineServiceUpdateResponseSchema;
2132
+ },
2133
+ /**
2134
+ * List all machines
2135
+ *
2136
+ * @generated from rpc metalstack.api.v2.MachineService.List
2137
+ */
2138
+ list: {
2139
+ methodKind: "unary";
2140
+ input: typeof MachineServiceListRequestSchema;
2141
+ output: typeof MachineServiceListResponseSchema;
2142
+ },
2143
+ /**
2144
+ * Delete a machine
2145
+ *
2146
+ * @generated from rpc metalstack.api.v2.MachineService.Delete
2147
+ */
2148
+ delete: {
2149
+ methodKind: "unary";
2150
+ input: typeof MachineServiceDeleteRequestSchema;
2151
+ output: typeof MachineServiceDeleteResponseSchema;
2152
+ },
2153
+ }> = /*@__PURE__*/
2154
+ serviceDesc(file_metalstack_api_v2_machine, 0);
2155
+