@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,407 @@
1
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Labels, UpdateLabels, UpdateMeta } from "../../api/v2/common_pb";
3
+ import type { ChildPrefixLength, NATType, Network, NetworkAddressFamily, NetworkQuery, NetworkType } from "../../api/v2/network_pb";
4
+ import type { Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file metalstack/admin/v2/network.proto.
7
+ */
8
+ export declare const file_metalstack_admin_v2_network: GenFile;
9
+ /**
10
+ * NetworkServiceGetRequest
11
+ *
12
+ * @generated from message metalstack.admin.v2.NetworkServiceGetRequest
13
+ */
14
+ export type NetworkServiceGetRequest = Message<"metalstack.admin.v2.NetworkServiceGetRequest"> & {
15
+ /**
16
+ * ID of the network to get
17
+ *
18
+ * @generated from field: string id = 1;
19
+ */
20
+ id: string;
21
+ };
22
+ /**
23
+ * Describes the message metalstack.admin.v2.NetworkServiceGetRequest.
24
+ * Use `create(NetworkServiceGetRequestSchema)` to create a new message.
25
+ */
26
+ export declare const NetworkServiceGetRequestSchema: GenMessage<NetworkServiceGetRequest>;
27
+ /**
28
+ * NetworkServiceGetResponse
29
+ *
30
+ * @generated from message metalstack.admin.v2.NetworkServiceGetResponse
31
+ */
32
+ export type NetworkServiceGetResponse = Message<"metalstack.admin.v2.NetworkServiceGetResponse"> & {
33
+ /**
34
+ * Network which was requested to get
35
+ *
36
+ * @generated from field: metalstack.api.v2.Network network = 1;
37
+ */
38
+ network?: Network;
39
+ };
40
+ /**
41
+ * Describes the message metalstack.admin.v2.NetworkServiceGetResponse.
42
+ * Use `create(NetworkServiceGetResponseSchema)` to create a new message.
43
+ */
44
+ export declare const NetworkServiceGetResponseSchema: GenMessage<NetworkServiceGetResponse>;
45
+ /**
46
+ * NetworkServiceCreateRequest
47
+ *
48
+ * @generated from message metalstack.admin.v2.NetworkServiceCreateRequest
49
+ */
50
+ export type NetworkServiceCreateRequest = Message<"metalstack.admin.v2.NetworkServiceCreateRequest"> & {
51
+ /**
52
+ * Id of this network
53
+ *
54
+ * @generated from field: optional string id = 1;
55
+ */
56
+ id?: string;
57
+ /**
58
+ * Name of this network
59
+ *
60
+ * @generated from field: optional string name = 2;
61
+ */
62
+ name?: string;
63
+ /**
64
+ * Description of this network
65
+ *
66
+ * @generated from field: optional string description = 3;
67
+ */
68
+ description?: string;
69
+ /**
70
+ * Partition where this network will be created
71
+ *
72
+ * @generated from field: optional string partition = 4;
73
+ */
74
+ partition?: string;
75
+ /**
76
+ * Project where this network belongs to
77
+ *
78
+ * @generated from field: optional string project = 5;
79
+ */
80
+ project?: string;
81
+ /**
82
+ * Type of the network to create
83
+ *
84
+ * @generated from field: metalstack.api.v2.NetworkType type = 6;
85
+ */
86
+ type: NetworkType;
87
+ /**
88
+ * Labels on this network
89
+ *
90
+ * @generated from field: optional metalstack.api.v2.Labels labels = 7;
91
+ */
92
+ labels?: Labels;
93
+ /**
94
+ * Prefixes in this network
95
+ *
96
+ * @generated from field: repeated string prefixes = 8;
97
+ */
98
+ prefixes: string[];
99
+ /**
100
+ * Destination Prefixes in this network
101
+ *
102
+ * @generated from field: repeated string destination_prefixes = 9;
103
+ */
104
+ destinationPrefixes: string[];
105
+ /**
106
+ * Default Child Prefix length defines the bitlength of a child network created per addressfamily, if not specified during the allocate request
107
+ *
108
+ * @generated from field: metalstack.api.v2.ChildPrefixLength default_child_prefix_length = 10;
109
+ */
110
+ defaultChildPrefixLength?: ChildPrefixLength;
111
+ /**
112
+ * Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length
113
+ *
114
+ * @generated from field: metalstack.api.v2.ChildPrefixLength min_child_prefix_length = 11;
115
+ */
116
+ minChildPrefixLength?: ChildPrefixLength;
117
+ /**
118
+ * NATType of this network
119
+ *
120
+ * @generated from field: optional metalstack.api.v2.NATType nat_type = 12;
121
+ */
122
+ natType?: NATType;
123
+ /**
124
+ * VRF of this network has this VNI.
125
+ *
126
+ * @generated from field: optional uint32 vrf = 13;
127
+ */
128
+ vrf?: number;
129
+ /**
130
+ * Parent Network points to the id of the parent network if any
131
+ *
132
+ * @generated from field: optional string parent_network = 14;
133
+ */
134
+ parentNetwork?: string;
135
+ /**
136
+ * AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced
137
+ *
138
+ * @generated from field: repeated string additional_announcable_cidrs = 15;
139
+ */
140
+ additionalAnnouncableCidrs: string[];
141
+ /**
142
+ * Length per addressfamily
143
+ *
144
+ * @generated from field: optional metalstack.api.v2.ChildPrefixLength length = 16;
145
+ */
146
+ length?: ChildPrefixLength;
147
+ /**
148
+ * AddressFamily to create, defaults to the same as the parent
149
+ *
150
+ * @generated from field: optional metalstack.api.v2.NetworkAddressFamily address_family = 17;
151
+ */
152
+ addressFamily?: NetworkAddressFamily;
153
+ };
154
+ /**
155
+ * Describes the message metalstack.admin.v2.NetworkServiceCreateRequest.
156
+ * Use `create(NetworkServiceCreateRequestSchema)` to create a new message.
157
+ */
158
+ export declare const NetworkServiceCreateRequestSchema: GenMessage<NetworkServiceCreateRequest>;
159
+ /**
160
+ * NetworkServiceUpdateRequest is the request payload for a network update request
161
+ *
162
+ * @generated from message metalstack.admin.v2.NetworkServiceUpdateRequest
163
+ */
164
+ export type NetworkServiceUpdateRequest = Message<"metalstack.admin.v2.NetworkServiceUpdateRequest"> & {
165
+ /**
166
+ * Id of this network
167
+ *
168
+ * @generated from field: string id = 1;
169
+ */
170
+ id: string;
171
+ /**
172
+ * UpdateMeta contains the timestamp and strategy to be used in this update request
173
+ *
174
+ * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
175
+ */
176
+ updateMeta?: UpdateMeta;
177
+ /**
178
+ * Name of this network
179
+ *
180
+ * @generated from field: optional string name = 3;
181
+ */
182
+ name?: string;
183
+ /**
184
+ * Description of this network
185
+ *
186
+ * @generated from field: optional string description = 4;
187
+ */
188
+ description?: string;
189
+ /**
190
+ * Labels to update on this network
191
+ *
192
+ * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 5;
193
+ */
194
+ labels?: UpdateLabels;
195
+ /**
196
+ * Prefixes in this network
197
+ *
198
+ * @generated from field: repeated string prefixes = 6;
199
+ */
200
+ prefixes: string[];
201
+ /**
202
+ * Destination Prefixes in this network
203
+ *
204
+ * @generated from field: repeated string destination_prefixes = 7;
205
+ */
206
+ destinationPrefixes: string[];
207
+ /**
208
+ * Default Child Prefix length defines the bit length of a child network created per addressfamily, of not specified during the allocate request
209
+ *
210
+ * @generated from field: optional metalstack.api.v2.ChildPrefixLength default_child_prefix_length = 10;
211
+ */
212
+ defaultChildPrefixLength?: ChildPrefixLength;
213
+ /**
214
+ * Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length
215
+ *
216
+ * @generated from field: optional metalstack.api.v2.ChildPrefixLength min_child_prefix_length = 11;
217
+ */
218
+ minChildPrefixLength?: ChildPrefixLength;
219
+ /**
220
+ * NATType of this network
221
+ *
222
+ * @generated from field: optional metalstack.api.v2.NATType nat_type = 13;
223
+ */
224
+ natType?: NATType;
225
+ /**
226
+ * AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced
227
+ *
228
+ * @generated from field: repeated string additional_announcable_cidrs = 16;
229
+ */
230
+ additionalAnnouncableCidrs: string[];
231
+ /**
232
+ * Force update, actually only prevents accidental removal of additional_announcable_cidrs which will destroy your dataplane in fact.
233
+ *
234
+ * @generated from field: bool force = 20;
235
+ */
236
+ force: boolean;
237
+ };
238
+ /**
239
+ * Describes the message metalstack.admin.v2.NetworkServiceUpdateRequest.
240
+ * Use `create(NetworkServiceUpdateRequestSchema)` to create a new message.
241
+ */
242
+ export declare const NetworkServiceUpdateRequestSchema: GenMessage<NetworkServiceUpdateRequest>;
243
+ /**
244
+ * NetworkServiceDeleteRequest is the request payload for a network delete request
245
+ *
246
+ * @generated from message metalstack.admin.v2.NetworkServiceDeleteRequest
247
+ */
248
+ export type NetworkServiceDeleteRequest = Message<"metalstack.admin.v2.NetworkServiceDeleteRequest"> & {
249
+ /**
250
+ * ID of the network to get
251
+ *
252
+ * @generated from field: string id = 1;
253
+ */
254
+ id: string;
255
+ };
256
+ /**
257
+ * Describes the message metalstack.admin.v2.NetworkServiceDeleteRequest.
258
+ * Use `create(NetworkServiceDeleteRequestSchema)` to create a new message.
259
+ */
260
+ export declare const NetworkServiceDeleteRequestSchema: GenMessage<NetworkServiceDeleteRequest>;
261
+ /**
262
+ * NetworkServiceListRequest
263
+ *
264
+ * @generated from message metalstack.admin.v2.NetworkServiceListRequest
265
+ */
266
+ export type NetworkServiceListRequest = Message<"metalstack.admin.v2.NetworkServiceListRequest"> & {
267
+ /**
268
+ * Query which specifies which networks to return
269
+ *
270
+ * @generated from field: metalstack.api.v2.NetworkQuery query = 2;
271
+ */
272
+ query?: NetworkQuery;
273
+ };
274
+ /**
275
+ * Describes the message metalstack.admin.v2.NetworkServiceListRequest.
276
+ * Use `create(NetworkServiceListRequestSchema)` to create a new message.
277
+ */
278
+ export declare const NetworkServiceListRequestSchema: GenMessage<NetworkServiceListRequest>;
279
+ /**
280
+ * NetworkServiceCreateResponse is the response payload for a network create request
281
+ *
282
+ * @generated from message metalstack.admin.v2.NetworkServiceCreateResponse
283
+ */
284
+ export type NetworkServiceCreateResponse = Message<"metalstack.admin.v2.NetworkServiceCreateResponse"> & {
285
+ /**
286
+ * Network the network
287
+ *
288
+ * @generated from field: metalstack.api.v2.Network network = 1;
289
+ */
290
+ network?: Network;
291
+ };
292
+ /**
293
+ * Describes the message metalstack.admin.v2.NetworkServiceCreateResponse.
294
+ * Use `create(NetworkServiceCreateResponseSchema)` to create a new message.
295
+ */
296
+ export declare const NetworkServiceCreateResponseSchema: GenMessage<NetworkServiceCreateResponse>;
297
+ /**
298
+ * NetworkServiceUpdateResponse is the response payload for a network update request
299
+ *
300
+ * @generated from message metalstack.admin.v2.NetworkServiceUpdateResponse
301
+ */
302
+ export type NetworkServiceUpdateResponse = Message<"metalstack.admin.v2.NetworkServiceUpdateResponse"> & {
303
+ /**
304
+ * Network the network
305
+ *
306
+ * @generated from field: metalstack.api.v2.Network network = 1;
307
+ */
308
+ network?: Network;
309
+ };
310
+ /**
311
+ * Describes the message metalstack.admin.v2.NetworkServiceUpdateResponse.
312
+ * Use `create(NetworkServiceUpdateResponseSchema)` to create a new message.
313
+ */
314
+ export declare const NetworkServiceUpdateResponseSchema: GenMessage<NetworkServiceUpdateResponse>;
315
+ /**
316
+ * NetworkServiceCapacityResponse is the response payload for a network delete request
317
+ *
318
+ * @generated from message metalstack.admin.v2.NetworkServiceDeleteResponse
319
+ */
320
+ export type NetworkServiceDeleteResponse = Message<"metalstack.admin.v2.NetworkServiceDeleteResponse"> & {
321
+ /**
322
+ * Network the network
323
+ *
324
+ * @generated from field: metalstack.api.v2.Network network = 1;
325
+ */
326
+ network?: Network;
327
+ };
328
+ /**
329
+ * Describes the message metalstack.admin.v2.NetworkServiceDeleteResponse.
330
+ * Use `create(NetworkServiceDeleteResponseSchema)` to create a new message.
331
+ */
332
+ export declare const NetworkServiceDeleteResponseSchema: GenMessage<NetworkServiceDeleteResponse>;
333
+ /**
334
+ * NetworkServiceListResponse
335
+ *
336
+ * @generated from message metalstack.admin.v2.NetworkServiceListResponse
337
+ */
338
+ export type NetworkServiceListResponse = Message<"metalstack.admin.v2.NetworkServiceListResponse"> & {
339
+ /**
340
+ * Networks are the requested networks
341
+ *
342
+ * @generated from field: repeated metalstack.api.v2.Network networks = 1;
343
+ */
344
+ networks: Network[];
345
+ };
346
+ /**
347
+ * Describes the message metalstack.admin.v2.NetworkServiceListResponse.
348
+ * Use `create(NetworkServiceListResponseSchema)` to create a new message.
349
+ */
350
+ export declare const NetworkServiceListResponseSchema: GenMessage<NetworkServiceListResponse>;
351
+ /**
352
+ * NetworkService serves network address related functions
353
+ *
354
+ * @generated from service metalstack.admin.v2.NetworkService
355
+ */
356
+ export declare const NetworkService: GenService<{
357
+ /**
358
+ * Get a network
359
+ *
360
+ * @generated from rpc metalstack.admin.v2.NetworkService.Get
361
+ */
362
+ get: {
363
+ methodKind: "unary";
364
+ input: typeof NetworkServiceGetRequestSchema;
365
+ output: typeof NetworkServiceGetResponseSchema;
366
+ };
367
+ /**
368
+ * Create a network
369
+ *
370
+ * @generated from rpc metalstack.admin.v2.NetworkService.Create
371
+ */
372
+ create: {
373
+ methodKind: "unary";
374
+ input: typeof NetworkServiceCreateRequestSchema;
375
+ output: typeof NetworkServiceCreateResponseSchema;
376
+ };
377
+ /**
378
+ * Update a network
379
+ *
380
+ * @generated from rpc metalstack.admin.v2.NetworkService.Update
381
+ */
382
+ update: {
383
+ methodKind: "unary";
384
+ input: typeof NetworkServiceUpdateRequestSchema;
385
+ output: typeof NetworkServiceUpdateResponseSchema;
386
+ };
387
+ /**
388
+ * Delete a network
389
+ *
390
+ * @generated from rpc metalstack.admin.v2.NetworkService.Delete
391
+ */
392
+ delete: {
393
+ methodKind: "unary";
394
+ input: typeof NetworkServiceDeleteRequestSchema;
395
+ output: typeof NetworkServiceDeleteResponseSchema;
396
+ };
397
+ /**
398
+ * List all networks
399
+ *
400
+ * @generated from rpc metalstack.admin.v2.NetworkService.List
401
+ */
402
+ list: {
403
+ methodKind: "unary";
404
+ input: typeof NetworkServiceListRequestSchema;
405
+ output: typeof NetworkServiceListResponseSchema;
406
+ };
407
+ }>;
@@ -0,0 +1,68 @@
1
+ // @generated by protoc-gen-es v2.10.2 with parameter "target=ts"
2
+ // @generated from file metalstack/admin/v2/network.proto (package metalstack.admin.v2, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
+ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
6
+ import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
7
+ import { file_metalstack_api_v2_network } from "../../api/v2/network_pb";
8
+ import { file_metalstack_api_v2_predefined_rules } from "../../api/v2/predefined_rules_pb";
9
+ /**
10
+ * Describes the file metalstack/admin/v2/network.proto.
11
+ */
12
+ export const file_metalstack_admin_v2_network = /*@__PURE__*/ fileDesc("CiFtZXRhbHN0YWNrL2FkbWluL3YyL25ldHdvcmsucHJvdG8SE21ldGFsc3RhY2suYWRtaW4udjIiMgoYTmV0d29ya1NlcnZpY2VHZXRSZXF1ZXN0EhYKAmlkGAEgASgJQgq6SAdyBRACGIABIkgKGU5ldHdvcmtTZXJ2aWNlR2V0UmVzcG9uc2USKwoHbmV0d29yaxgBIAEoCzIaLm1ldGFsc3RhY2suYXBpLnYyLk5ldHdvcmsizwcKG05ldHdvcmtTZXJ2aWNlQ3JlYXRlUmVxdWVzdBIbCgJpZBgBIAEoCUIKukgHcgUQAhiAAUgAiAEBEh4KBG5hbWUYAiABKAlCC7pICHIGwLOusQIBSAGIAQESJQoLZGVzY3JpcHRpb24YAyABKAlCC7pICHIGyLOusQIBSAKIAQESIwoJcGFydGl0aW9uGAQgASgJQgu6SAhyBtCzrrECAUgDiAEBEh4KB3Byb2plY3QYBSABKAlCCLpIBXIDsAEBSASIAQESNgoEdHlwZRgGIAEoDjIeLm1ldGFsc3RhY2suYXBpLnYyLk5ldHdvcmtUeXBlQgi6SAWCAQIQARIuCgZsYWJlbHMYByABKAsyGS5tZXRhbHN0YWNrLmFwaS52Mi5MYWJlbHNIBYgBARIeCghwcmVmaXhlcxgIIAMoCUIMukgJkgEG4LOusQIBEioKFGRlc3RpbmF0aW9uX3ByZWZpeGVzGAkgAygJQgy6SAmSAQbgs66xAgESSQobZGVmYXVsdF9jaGlsZF9wcmVmaXhfbGVuZ3RoGAogASgLMiQubWV0YWxzdGFjay5hcGkudjIuQ2hpbGRQcmVmaXhMZW5nd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lYyygITTWV0YWxzdGFja1xBZG1pblxWMuICH01ldGFsc3RhY2tcQWRtaW5cVjJcR1BCTWV0YWRhdGHqAhVNZXRhbHN0YWNrOjpBZG1pbjo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_network, file_metalstack_api_v2_predefined_rules]);
13
+ /**
14
+ * Describes the message metalstack.admin.v2.NetworkServiceGetRequest.
15
+ * Use `create(NetworkServiceGetRequestSchema)` to create a new message.
16
+ */
17
+ export const NetworkServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network, 0);
18
+ /**
19
+ * Describes the message metalstack.admin.v2.NetworkServiceGetResponse.
20
+ * Use `create(NetworkServiceGetResponseSchema)` to create a new message.
21
+ */
22
+ export const NetworkServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network, 1);
23
+ /**
24
+ * Describes the message metalstack.admin.v2.NetworkServiceCreateRequest.
25
+ * Use `create(NetworkServiceCreateRequestSchema)` to create a new message.
26
+ */
27
+ export const NetworkServiceCreateRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network, 2);
28
+ /**
29
+ * Describes the message metalstack.admin.v2.NetworkServiceUpdateRequest.
30
+ * Use `create(NetworkServiceUpdateRequestSchema)` to create a new message.
31
+ */
32
+ export const NetworkServiceUpdateRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network, 3);
33
+ /**
34
+ * Describes the message metalstack.admin.v2.NetworkServiceDeleteRequest.
35
+ * Use `create(NetworkServiceDeleteRequestSchema)` to create a new message.
36
+ */
37
+ export const NetworkServiceDeleteRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network, 4);
38
+ /**
39
+ * Describes the message metalstack.admin.v2.NetworkServiceListRequest.
40
+ * Use `create(NetworkServiceListRequestSchema)` to create a new message.
41
+ */
42
+ export const NetworkServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network, 5);
43
+ /**
44
+ * Describes the message metalstack.admin.v2.NetworkServiceCreateResponse.
45
+ * Use `create(NetworkServiceCreateResponseSchema)` to create a new message.
46
+ */
47
+ export const NetworkServiceCreateResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network, 6);
48
+ /**
49
+ * Describes the message metalstack.admin.v2.NetworkServiceUpdateResponse.
50
+ * Use `create(NetworkServiceUpdateResponseSchema)` to create a new message.
51
+ */
52
+ export const NetworkServiceUpdateResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network, 7);
53
+ /**
54
+ * Describes the message metalstack.admin.v2.NetworkServiceDeleteResponse.
55
+ * Use `create(NetworkServiceDeleteResponseSchema)` to create a new message.
56
+ */
57
+ export const NetworkServiceDeleteResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network, 8);
58
+ /**
59
+ * Describes the message metalstack.admin.v2.NetworkServiceListResponse.
60
+ * Use `create(NetworkServiceListResponseSchema)` to create a new message.
61
+ */
62
+ export const NetworkServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network, 9);
63
+ /**
64
+ * NetworkService serves network address related functions
65
+ *
66
+ * @generated from service metalstack.admin.v2.NetworkService
67
+ */
68
+ export const NetworkService = /*@__PURE__*/ serviceDesc(file_metalstack_admin_v2_network, 0);