@metal-stack/api 0.4.3 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{js/Makefile → Makefile} +5 -2
- package/bun.lock +74 -0
- package/client-test.d.ts +1 -0
- package/client-test.js +45 -0
- package/client-test.ts +49 -0
- package/client.d.ts +97 -0
- package/client.js +347 -0
- package/client.ts +662 -0
- package/{js/metalstack → metalstack}/admin/v2/audit_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/admin/v2/audit_pb.ts +5 -5
- package/{js/metalstack → metalstack}/admin/v2/component_pb.d.ts +6 -6
- package/{js/metalstack → metalstack}/admin/v2/component_pb.ts +6 -6
- package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.d.ts +28 -28
- package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.ts +28 -28
- package/{js/metalstack → metalstack}/admin/v2/image_pb.d.ts +22 -16
- package/{js/metalstack → metalstack}/admin/v2/image_pb.js +1 -1
- package/{js/metalstack → metalstack}/admin/v2/image_pb.ts +24 -17
- package/{js/metalstack → metalstack}/admin/v2/ip_pb.d.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/ip_pb.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.d.ts +47 -55
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.js +1 -1
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.ts +48 -55
- package/{js/metalstack → metalstack}/admin/v2/network_pb.d.ts +36 -36
- package/{js/metalstack → metalstack}/admin/v2/network_pb.ts +36 -36
- package/{js/metalstack → metalstack}/admin/v2/partition_pb.d.ts +26 -26
- package/{js/metalstack → metalstack}/admin/v2/partition_pb.ts +26 -26
- package/{js/metalstack → metalstack}/admin/v2/project_pb.d.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/project_pb.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.d.ts +18 -18
- package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.ts +18 -18
- package/{js/metalstack → metalstack}/admin/v2/size_pb.d.ts +11 -11
- package/{js/metalstack → metalstack}/admin/v2/size_pb.ts +11 -11
- package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.d.ts +14 -14
- package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.ts +14 -14
- package/{js/metalstack → metalstack}/admin/v2/switch_pb.d.ts +29 -29
- package/{js/metalstack → metalstack}/admin/v2/switch_pb.ts +29 -29
- package/{js/metalstack → metalstack}/admin/v2/task_pb.d.ts +47 -47
- package/{js/metalstack → metalstack}/admin/v2/task_pb.js +8 -8
- package/{js/metalstack → metalstack}/admin/v2/task_pb.ts +47 -47
- package/{js/metalstack → metalstack}/admin/v2/tenant_pb.d.ts +22 -22
- package/{js/metalstack → metalstack}/admin/v2/tenant_pb.ts +22 -22
- package/{js/metalstack → metalstack}/admin/v2/token_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/admin/v2/token_pb.ts +8 -8
- package/{js/metalstack → metalstack}/admin/v2/vpn_pb.d.ts +13 -13
- package/{js/metalstack → metalstack}/admin/v2/vpn_pb.ts +13 -13
- package/{js/metalstack → metalstack}/api/v2/audit_pb.d.ts +37 -37
- package/{js/metalstack → metalstack}/api/v2/audit_pb.js +3 -3
- package/{js/metalstack → metalstack}/api/v2/audit_pb.ts +37 -37
- package/{js/metalstack → metalstack}/api/v2/common_pb.d.ts +68 -68
- package/{js/metalstack → metalstack}/api/v2/common_pb.js +47 -47
- package/{js/metalstack → metalstack}/api/v2/common_pb.ts +68 -68
- package/{js/metalstack → metalstack}/api/v2/component_pb.d.ts +17 -17
- package/{js/metalstack → metalstack}/api/v2/component_pb.js +8 -8
- package/{js/metalstack → metalstack}/api/v2/component_pb.ts +17 -17
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.d.ts +82 -82
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.js +23 -23
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.ts +82 -82
- package/{js/metalstack → metalstack}/api/v2/health_pb.d.ts +21 -21
- package/{js/metalstack → metalstack}/api/v2/health_pb.js +13 -13
- package/{js/metalstack → metalstack}/api/v2/health_pb.ts +21 -21
- package/{js/metalstack → metalstack}/api/v2/image_pb.d.ts +45 -45
- package/{js/metalstack → metalstack}/api/v2/image_pb.js +9 -9
- package/{js/metalstack → metalstack}/api/v2/image_pb.ts +45 -45
- package/{js/metalstack → metalstack}/api/v2/ip_pb.d.ts +67 -67
- package/{js/metalstack → metalstack}/api/v2/ip_pb.js +8 -8
- package/{js/metalstack → metalstack}/api/v2/ip_pb.ts +67 -67
- package/{js/metalstack → metalstack}/api/v2/machine_pb.d.ts +422 -374
- package/{js/metalstack → metalstack}/api/v2/machine_pb.js +94 -89
- package/{js/metalstack → metalstack}/api/v2/machine_pb.ts +453 -396
- package/{js/metalstack → metalstack}/api/v2/method_pb.d.ts +7 -7
- package/{js/metalstack → metalstack}/api/v2/method_pb.ts +7 -7
- package/{js/metalstack → metalstack}/api/v2/network_pb.d.ts +98 -98
- package/{js/metalstack → metalstack}/api/v2/network_pb.js +16 -16
- package/{js/metalstack → metalstack}/api/v2/network_pb.ts +98 -98
- package/{js/metalstack → metalstack}/api/v2/partition_pb.d.ts +28 -28
- package/{js/metalstack → metalstack}/api/v2/partition_pb.ts +28 -28
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.d.ts +30 -24
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.js +40 -34
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.ts +42 -34
- package/{js/metalstack → metalstack}/api/v2/project_pb.d.ts +114 -114
- package/{js/metalstack → metalstack}/api/v2/project_pb.ts +114 -114
- package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.d.ts +21 -22
- package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.ts +21 -22
- package/{js/metalstack → metalstack}/api/v2/size_pb.d.ts +29 -29
- package/{js/metalstack → metalstack}/api/v2/size_pb.js +6 -6
- package/{js/metalstack → metalstack}/api/v2/size_pb.ts +29 -29
- package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.d.ts +27 -27
- package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.ts +27 -27
- package/{js/metalstack → metalstack}/api/v2/switch_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/switch_pb.js +1 -1
- package/{js/metalstack → metalstack}/api/v2/switch_pb.ts +9 -9
- package/{js/metalstack → metalstack}/api/v2/tenant_pb.d.ts +114 -116
- package/{js/metalstack → metalstack}/api/v2/tenant_pb.ts +114 -116
- package/{js/metalstack → metalstack}/api/v2/token_pb.d.ts +103 -103
- package/{js/metalstack → metalstack}/api/v2/token_pb.js +3 -3
- package/{js/metalstack → metalstack}/api/v2/token_pb.ts +103 -103
- package/{js/metalstack → metalstack}/api/v2/user_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/user_pb.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/version_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/api/v2/version_pb.ts +5 -5
- package/{js/metalstack → metalstack}/api/v2/vpn_pb.d.ts +6 -6
- package/{js/metalstack → metalstack}/api/v2/vpn_pb.ts +6 -6
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.d.ts +15 -17
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.js +1 -1
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.ts +16 -16
- package/{js/metalstack → metalstack}/infra/v2/boot_pb.d.ts +36 -36
- package/{js/metalstack → metalstack}/infra/v2/boot_pb.ts +36 -36
- package/{js/metalstack → metalstack}/infra/v2/component_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/infra/v2/component_pb.ts +5 -5
- package/{js/metalstack → metalstack}/infra/v2/event_pb.d.ts +3 -3
- package/{js/metalstack → metalstack}/infra/v2/event_pb.ts +3 -3
- package/{js/metalstack → metalstack}/infra/v2/switch_pb.d.ts +12 -12
- package/{js/metalstack → metalstack}/infra/v2/switch_pb.ts +12 -12
- package/package.json +4 -3
- package/test-interceptor.d.ts +9 -0
- package/test-interceptor.js +33 -0
- package/test-interceptor.ts +49 -0
- package/tsconfig.json +14 -0
- package/LICENSE +0 -21
- package/README.md +0 -117
- package/js/tsconfig.json +0 -70
- /package/{js/buf → buf}/validate/validate_pb.d.ts +0 -0
- /package/{js/buf → buf}/validate/validate_pb.js +0 -0
- /package/{js/buf → buf}/validate/validate_pb.ts +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/audit_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/component_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/ip_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/network_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/partition_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/project_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/switch_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/tenant_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/token_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/vpn_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/method_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/partition_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/project_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/tenant_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/user_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/version_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/vpn_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/boot_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/component_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/event_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/switch_pb.js +0 -0
|
@@ -25,7 +25,7 @@ export const file_metalstack_admin_v2_network: GenFile = /*@__PURE__*/
|
|
|
25
25
|
*/
|
|
26
26
|
export type NetworkServiceGetRequest = Message<"metalstack.admin.v2.NetworkServiceGetRequest"> & {
|
|
27
27
|
/**
|
|
28
|
-
* ID of the network to get
|
|
28
|
+
* ID of the network to get.
|
|
29
29
|
*
|
|
30
30
|
* @generated from field: string id = 1;
|
|
31
31
|
*/
|
|
@@ -46,7 +46,7 @@ export const NetworkServiceGetRequestSchema: GenMessage<NetworkServiceGetRequest
|
|
|
46
46
|
*/
|
|
47
47
|
export type NetworkServiceGetResponse = Message<"metalstack.admin.v2.NetworkServiceGetResponse"> & {
|
|
48
48
|
/**
|
|
49
|
-
* Network contains the requested network
|
|
49
|
+
* Network contains the requested network.
|
|
50
50
|
*
|
|
51
51
|
* @generated from field: metalstack.api.v2.Network network = 1;
|
|
52
52
|
*/
|
|
@@ -67,119 +67,119 @@ export const NetworkServiceGetResponseSchema: GenMessage<NetworkServiceGetRespon
|
|
|
67
67
|
*/
|
|
68
68
|
export type NetworkServiceCreateRequest = Message<"metalstack.admin.v2.NetworkServiceCreateRequest"> & {
|
|
69
69
|
/**
|
|
70
|
-
* Id of this network
|
|
70
|
+
* Id of this network.
|
|
71
71
|
*
|
|
72
72
|
* @generated from field: optional string id = 1;
|
|
73
73
|
*/
|
|
74
74
|
id?: string | undefined;
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
|
-
* Name of this network
|
|
77
|
+
* Name of this network.
|
|
78
78
|
*
|
|
79
79
|
* @generated from field: optional string name = 2;
|
|
80
80
|
*/
|
|
81
81
|
name?: string | undefined;
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
* Description of this network
|
|
84
|
+
* Description of this network.
|
|
85
85
|
*
|
|
86
86
|
* @generated from field: optional string description = 3;
|
|
87
87
|
*/
|
|
88
88
|
description?: string | undefined;
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
|
-
* Partition where this network will be created
|
|
91
|
+
* Partition where this network will be created.
|
|
92
92
|
*
|
|
93
93
|
* @generated from field: optional string partition = 4;
|
|
94
94
|
*/
|
|
95
95
|
partition?: string | undefined;
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
|
-
* Project where this network belongs to
|
|
98
|
+
* Project where this network belongs to.
|
|
99
99
|
*
|
|
100
100
|
* @generated from field: optional string project = 5;
|
|
101
101
|
*/
|
|
102
102
|
project?: string | undefined;
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
|
-
* Type of the network to create
|
|
105
|
+
* Type of the network to create.
|
|
106
106
|
*
|
|
107
107
|
* @generated from field: metalstack.api.v2.NetworkType type = 6;
|
|
108
108
|
*/
|
|
109
109
|
type: NetworkType;
|
|
110
110
|
|
|
111
111
|
/**
|
|
112
|
-
* Labels on this network
|
|
112
|
+
* Labels on this network.
|
|
113
113
|
*
|
|
114
114
|
* @generated from field: optional metalstack.api.v2.Labels labels = 7;
|
|
115
115
|
*/
|
|
116
116
|
labels?: Labels | undefined;
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
|
-
* Prefixes in this network
|
|
119
|
+
* Prefixes in this network.
|
|
120
120
|
*
|
|
121
121
|
* @generated from field: repeated string prefixes = 8;
|
|
122
122
|
*/
|
|
123
123
|
prefixes: string[];
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
|
-
* Destination Prefixes in this network
|
|
126
|
+
* Destination Prefixes in this network.
|
|
127
127
|
*
|
|
128
128
|
* @generated from field: repeated string destination_prefixes = 9;
|
|
129
129
|
*/
|
|
130
130
|
destinationPrefixes: string[];
|
|
131
131
|
|
|
132
132
|
/**
|
|
133
|
-
* Default Child Prefix length defines the bitlength of a child network created per addressfamily, if not specified during the allocate request
|
|
133
|
+
* Default Child Prefix length defines the bitlength of a child network created per addressfamily, if not specified during the allocate request.
|
|
134
134
|
*
|
|
135
135
|
* @generated from field: metalstack.api.v2.ChildPrefixLength default_child_prefix_length = 10;
|
|
136
136
|
*/
|
|
137
137
|
defaultChildPrefixLength?: ChildPrefixLength | undefined;
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
|
-
* Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length
|
|
140
|
+
* Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length.
|
|
141
141
|
*
|
|
142
142
|
* @generated from field: metalstack.api.v2.ChildPrefixLength min_child_prefix_length = 11;
|
|
143
143
|
*/
|
|
144
144
|
minChildPrefixLength?: ChildPrefixLength | undefined;
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
|
-
* NATType of this network
|
|
147
|
+
* NATType of this network.
|
|
148
148
|
*
|
|
149
149
|
* @generated from field: optional metalstack.api.v2.NATType nat_type = 12;
|
|
150
150
|
*/
|
|
151
151
|
natType?: NATType | undefined;
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
|
-
* VRF of this network has this VNI
|
|
154
|
+
* VRF of this network has this VNI.
|
|
155
155
|
*
|
|
156
156
|
* @generated from field: optional uint32 vrf = 13;
|
|
157
157
|
*/
|
|
158
158
|
vrf?: number | undefined;
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
|
-
* Parent Network points to the id of the parent network if any
|
|
161
|
+
* Parent Network points to the id of the parent network if any.
|
|
162
162
|
*
|
|
163
163
|
* @generated from field: optional string parent_network = 14;
|
|
164
164
|
*/
|
|
165
165
|
parentNetwork?: string | undefined;
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
|
-
* AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced
|
|
168
|
+
* AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced.
|
|
169
169
|
*
|
|
170
170
|
* @generated from field: repeated string additional_announcable_cidrs = 15;
|
|
171
171
|
*/
|
|
172
172
|
additionalAnnouncableCidrs: string[];
|
|
173
173
|
|
|
174
174
|
/**
|
|
175
|
-
* Length per addressfamily
|
|
175
|
+
* Length per addressfamily.
|
|
176
176
|
*
|
|
177
177
|
* @generated from field: optional metalstack.api.v2.ChildPrefixLength length = 16;
|
|
178
178
|
*/
|
|
179
179
|
length?: ChildPrefixLength | undefined;
|
|
180
180
|
|
|
181
181
|
/**
|
|
182
|
-
* AddressFamily to create, defaults to the same as the parent
|
|
182
|
+
* AddressFamily to create, defaults to the same as the parent.
|
|
183
183
|
*
|
|
184
184
|
* @generated from field: optional metalstack.api.v2.NetworkAddressFamily address_family = 17;
|
|
185
185
|
*/
|
|
@@ -200,77 +200,77 @@ export const NetworkServiceCreateRequestSchema: GenMessage<NetworkServiceCreateR
|
|
|
200
200
|
*/
|
|
201
201
|
export type NetworkServiceUpdateRequest = Message<"metalstack.admin.v2.NetworkServiceUpdateRequest"> & {
|
|
202
202
|
/**
|
|
203
|
-
* Id of this network
|
|
203
|
+
* Id of this network.
|
|
204
204
|
*
|
|
205
205
|
* @generated from field: string id = 1;
|
|
206
206
|
*/
|
|
207
207
|
id: string;
|
|
208
208
|
|
|
209
209
|
/**
|
|
210
|
-
* UpdateMeta contains the timestamp and strategy to be used in this update request
|
|
210
|
+
* UpdateMeta contains the timestamp and strategy to be used in this update request.
|
|
211
211
|
*
|
|
212
212
|
* @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
|
|
213
213
|
*/
|
|
214
214
|
updateMeta?: UpdateMeta | undefined;
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
|
-
* Name of this network
|
|
217
|
+
* Name of this network.
|
|
218
218
|
*
|
|
219
219
|
* @generated from field: optional string name = 3;
|
|
220
220
|
*/
|
|
221
221
|
name?: string | undefined;
|
|
222
222
|
|
|
223
223
|
/**
|
|
224
|
-
* Description of this network
|
|
224
|
+
* Description of this network.
|
|
225
225
|
*
|
|
226
226
|
* @generated from field: optional string description = 4;
|
|
227
227
|
*/
|
|
228
228
|
description?: string | undefined;
|
|
229
229
|
|
|
230
230
|
/**
|
|
231
|
-
* Labels to update on this network
|
|
231
|
+
* Labels to update on this network.
|
|
232
232
|
*
|
|
233
233
|
* @generated from field: optional metalstack.api.v2.UpdateLabels labels = 5;
|
|
234
234
|
*/
|
|
235
235
|
labels?: UpdateLabels | undefined;
|
|
236
236
|
|
|
237
237
|
/**
|
|
238
|
-
* Prefixes in this network
|
|
238
|
+
* Prefixes in this network.
|
|
239
239
|
*
|
|
240
240
|
* @generated from field: repeated string prefixes = 6;
|
|
241
241
|
*/
|
|
242
242
|
prefixes: string[];
|
|
243
243
|
|
|
244
244
|
/**
|
|
245
|
-
* Destination Prefixes in this network
|
|
245
|
+
* Destination Prefixes in this network.
|
|
246
246
|
*
|
|
247
247
|
* @generated from field: repeated string destination_prefixes = 7;
|
|
248
248
|
*/
|
|
249
249
|
destinationPrefixes: string[];
|
|
250
250
|
|
|
251
251
|
/**
|
|
252
|
-
* Default Child Prefix length defines the bit length of a child network created per addressfamily, if not specified during the allocate request
|
|
252
|
+
* Default Child Prefix length defines the bit length of a child network created per addressfamily, if not specified during the allocate request.
|
|
253
253
|
*
|
|
254
254
|
* @generated from field: optional metalstack.api.v2.ChildPrefixLength default_child_prefix_length = 8;
|
|
255
255
|
*/
|
|
256
256
|
defaultChildPrefixLength?: ChildPrefixLength | undefined;
|
|
257
257
|
|
|
258
258
|
/**
|
|
259
|
-
* Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length
|
|
259
|
+
* Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length.
|
|
260
260
|
*
|
|
261
261
|
* @generated from field: optional metalstack.api.v2.ChildPrefixLength min_child_prefix_length = 9;
|
|
262
262
|
*/
|
|
263
263
|
minChildPrefixLength?: ChildPrefixLength | undefined;
|
|
264
264
|
|
|
265
265
|
/**
|
|
266
|
-
* NATType of this network
|
|
266
|
+
* NATType of this network.
|
|
267
267
|
*
|
|
268
268
|
* @generated from field: optional metalstack.api.v2.NATType nat_type = 10;
|
|
269
269
|
*/
|
|
270
270
|
natType?: NATType | undefined;
|
|
271
271
|
|
|
272
272
|
/**
|
|
273
|
-
* AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced
|
|
273
|
+
* AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced.
|
|
274
274
|
*
|
|
275
275
|
* @generated from field: repeated string additional_announcable_cidrs = 11;
|
|
276
276
|
*/
|
|
@@ -298,7 +298,7 @@ export const NetworkServiceUpdateRequestSchema: GenMessage<NetworkServiceUpdateR
|
|
|
298
298
|
*/
|
|
299
299
|
export type NetworkServiceDeleteRequest = Message<"metalstack.admin.v2.NetworkServiceDeleteRequest"> & {
|
|
300
300
|
/**
|
|
301
|
-
* ID of the network to get
|
|
301
|
+
* ID of the network to get.
|
|
302
302
|
*
|
|
303
303
|
* @generated from field: string id = 1;
|
|
304
304
|
*/
|
|
@@ -319,7 +319,7 @@ export const NetworkServiceDeleteRequestSchema: GenMessage<NetworkServiceDeleteR
|
|
|
319
319
|
*/
|
|
320
320
|
export type NetworkServiceListRequest = Message<"metalstack.admin.v2.NetworkServiceListRequest"> & {
|
|
321
321
|
/**
|
|
322
|
-
* Query specifies which networks to return
|
|
322
|
+
* Query specifies which networks to return.
|
|
323
323
|
*
|
|
324
324
|
* @generated from field: metalstack.api.v2.NetworkQuery query = 1;
|
|
325
325
|
*/
|
|
@@ -340,7 +340,7 @@ export const NetworkServiceListRequestSchema: GenMessage<NetworkServiceListReque
|
|
|
340
340
|
*/
|
|
341
341
|
export type NetworkServiceCreateResponse = Message<"metalstack.admin.v2.NetworkServiceCreateResponse"> & {
|
|
342
342
|
/**
|
|
343
|
-
* Network contains the created network
|
|
343
|
+
* Network contains the created network.
|
|
344
344
|
*
|
|
345
345
|
* @generated from field: metalstack.api.v2.Network network = 1;
|
|
346
346
|
*/
|
|
@@ -361,7 +361,7 @@ export const NetworkServiceCreateResponseSchema: GenMessage<NetworkServiceCreate
|
|
|
361
361
|
*/
|
|
362
362
|
export type NetworkServiceUpdateResponse = Message<"metalstack.admin.v2.NetworkServiceUpdateResponse"> & {
|
|
363
363
|
/**
|
|
364
|
-
* Network contains the updated network
|
|
364
|
+
* Network contains the updated network.
|
|
365
365
|
*
|
|
366
366
|
* @generated from field: metalstack.api.v2.Network network = 1;
|
|
367
367
|
*/
|
|
@@ -382,7 +382,7 @@ export const NetworkServiceUpdateResponseSchema: GenMessage<NetworkServiceUpdate
|
|
|
382
382
|
*/
|
|
383
383
|
export type NetworkServiceDeleteResponse = Message<"metalstack.admin.v2.NetworkServiceDeleteResponse"> & {
|
|
384
384
|
/**
|
|
385
|
-
* Network contains the deleted network
|
|
385
|
+
* Network contains the deleted network.
|
|
386
386
|
*
|
|
387
387
|
* @generated from field: metalstack.api.v2.Network network = 1;
|
|
388
388
|
*/
|
|
@@ -403,7 +403,7 @@ export const NetworkServiceDeleteResponseSchema: GenMessage<NetworkServiceDelete
|
|
|
403
403
|
*/
|
|
404
404
|
export type NetworkServiceListResponse = Message<"metalstack.admin.v2.NetworkServiceListResponse"> & {
|
|
405
405
|
/**
|
|
406
|
-
* Networks contains the list of networks
|
|
406
|
+
* Networks contains the list of networks.
|
|
407
407
|
*
|
|
408
408
|
* @generated from field: repeated metalstack.api.v2.Network networks = 1;
|
|
409
409
|
*/
|
|
@@ -7,13 +7,13 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare const file_metalstack_admin_v2_partition: GenFile;
|
|
9
9
|
/**
|
|
10
|
-
* PartitionServiceCreateRequest is the request payload for a partition create request
|
|
10
|
+
* PartitionServiceCreateRequest is the request payload for a partition create request.
|
|
11
11
|
*
|
|
12
12
|
* @generated from message metalstack.admin.v2.PartitionServiceCreateRequest
|
|
13
13
|
*/
|
|
14
14
|
export type PartitionServiceCreateRequest = Message<"metalstack.admin.v2.PartitionServiceCreateRequest"> & {
|
|
15
15
|
/**
|
|
16
|
-
* Partition the partition
|
|
16
|
+
* Partition the partition.
|
|
17
17
|
*
|
|
18
18
|
* @generated from field: metalstack.api.v2.Partition partition = 1;
|
|
19
19
|
*/
|
|
@@ -31,50 +31,50 @@ export declare const PartitionServiceCreateRequestSchema: GenMessage<PartitionSe
|
|
|
31
31
|
*/
|
|
32
32
|
export type PartitionServiceUpdateRequest = Message<"metalstack.admin.v2.PartitionServiceUpdateRequest"> & {
|
|
33
33
|
/**
|
|
34
|
-
* ID of this partition
|
|
34
|
+
* ID of this partition.
|
|
35
35
|
*
|
|
36
36
|
* @generated from field: string id = 1;
|
|
37
37
|
*/
|
|
38
38
|
id: string;
|
|
39
39
|
/**
|
|
40
|
-
* UpdateMeta contains the timestamp and strategy to be used in this update request
|
|
40
|
+
* UpdateMeta contains the timestamp and strategy to be used in this update request.
|
|
41
41
|
*
|
|
42
42
|
* @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
|
|
43
43
|
*/
|
|
44
44
|
updateMeta?: UpdateMeta | undefined;
|
|
45
45
|
/**
|
|
46
|
-
* Description of this partition
|
|
46
|
+
* Description of this partition.
|
|
47
47
|
*
|
|
48
48
|
* @generated from field: optional string description = 3;
|
|
49
49
|
*/
|
|
50
50
|
description?: string | undefined;
|
|
51
51
|
/**
|
|
52
|
-
* PartitionBootConfiguration defines how metal-hammer boots
|
|
52
|
+
* PartitionBootConfiguration defines how metal-hammer boots.
|
|
53
53
|
*
|
|
54
54
|
* @generated from field: metalstack.api.v2.PartitionBootConfiguration boot_configuration = 4;
|
|
55
55
|
*/
|
|
56
56
|
bootConfiguration?: PartitionBootConfiguration | undefined;
|
|
57
57
|
/**
|
|
58
|
-
* DNSServers for this partition
|
|
58
|
+
* DNSServers for this partition.
|
|
59
59
|
*
|
|
60
60
|
* @generated from field: repeated metalstack.api.v2.DNSServer dns_servers = 5;
|
|
61
61
|
*/
|
|
62
62
|
dnsServers: DNSServer[];
|
|
63
63
|
/**
|
|
64
|
-
* NTPServers for this partition
|
|
64
|
+
* NTPServers for this partition.
|
|
65
65
|
*
|
|
66
66
|
* @generated from field: repeated metalstack.api.v2.NTPServer ntp_servers = 6;
|
|
67
67
|
*/
|
|
68
68
|
ntpServers: NTPServer[];
|
|
69
69
|
/**
|
|
70
|
-
* ManagementServiceAddresses defines where the management is reachable
|
|
71
|
-
* must be in the form <ip|host>:<port
|
|
70
|
+
* ManagementServiceAddresses defines where the management is reachable.
|
|
71
|
+
* must be in the form <ip|host>:<port>.
|
|
72
72
|
*
|
|
73
73
|
* @generated from field: repeated string mgmt_service_addresses = 7;
|
|
74
74
|
*/
|
|
75
75
|
mgmtServiceAddresses: string[];
|
|
76
76
|
/**
|
|
77
|
-
* Labels to update on this network
|
|
77
|
+
* Labels to update on this network.
|
|
78
78
|
*
|
|
79
79
|
* @generated from field: optional metalstack.api.v2.UpdateLabels labels = 8;
|
|
80
80
|
*/
|
|
@@ -86,13 +86,13 @@ export type PartitionServiceUpdateRequest = Message<"metalstack.admin.v2.Partiti
|
|
|
86
86
|
*/
|
|
87
87
|
export declare const PartitionServiceUpdateRequestSchema: GenMessage<PartitionServiceUpdateRequest>;
|
|
88
88
|
/**
|
|
89
|
-
* PartitionServiceDeleteRequest is the request payload for a partition delete request
|
|
89
|
+
* PartitionServiceDeleteRequest is the request payload for a partition delete request.
|
|
90
90
|
*
|
|
91
91
|
* @generated from message metalstack.admin.v2.PartitionServiceDeleteRequest
|
|
92
92
|
*/
|
|
93
93
|
export type PartitionServiceDeleteRequest = Message<"metalstack.admin.v2.PartitionServiceDeleteRequest"> & {
|
|
94
94
|
/**
|
|
95
|
-
* ID of the partition to delete
|
|
95
|
+
* ID of the partition to delete.
|
|
96
96
|
*
|
|
97
97
|
* @generated from field: string id = 1;
|
|
98
98
|
*/
|
|
@@ -104,13 +104,13 @@ export type PartitionServiceDeleteRequest = Message<"metalstack.admin.v2.Partiti
|
|
|
104
104
|
*/
|
|
105
105
|
export declare const PartitionServiceDeleteRequestSchema: GenMessage<PartitionServiceDeleteRequest>;
|
|
106
106
|
/**
|
|
107
|
-
* PartitionServiceCreateResponse is the response payload for a partition create request
|
|
107
|
+
* PartitionServiceCreateResponse is the response payload for a partition create request.
|
|
108
108
|
*
|
|
109
109
|
* @generated from message metalstack.admin.v2.PartitionServiceCreateResponse
|
|
110
110
|
*/
|
|
111
111
|
export type PartitionServiceCreateResponse = Message<"metalstack.admin.v2.PartitionServiceCreateResponse"> & {
|
|
112
112
|
/**
|
|
113
|
-
* Partition the partition
|
|
113
|
+
* Partition the partition.
|
|
114
114
|
*
|
|
115
115
|
* @generated from field: metalstack.api.v2.Partition partition = 1;
|
|
116
116
|
*/
|
|
@@ -122,13 +122,13 @@ export type PartitionServiceCreateResponse = Message<"metalstack.admin.v2.Partit
|
|
|
122
122
|
*/
|
|
123
123
|
export declare const PartitionServiceCreateResponseSchema: GenMessage<PartitionServiceCreateResponse>;
|
|
124
124
|
/**
|
|
125
|
-
* PartitionServiceUpdateResponse is the response payload for a partition update request
|
|
125
|
+
* PartitionServiceUpdateResponse is the response payload for a partition update request.
|
|
126
126
|
*
|
|
127
127
|
* @generated from message metalstack.admin.v2.PartitionServiceUpdateResponse
|
|
128
128
|
*/
|
|
129
129
|
export type PartitionServiceUpdateResponse = Message<"metalstack.admin.v2.PartitionServiceUpdateResponse"> & {
|
|
130
130
|
/**
|
|
131
|
-
* Partition the partition
|
|
131
|
+
* Partition the partition.
|
|
132
132
|
*
|
|
133
133
|
* @generated from field: metalstack.api.v2.Partition partition = 1;
|
|
134
134
|
*/
|
|
@@ -146,7 +146,7 @@ export declare const PartitionServiceUpdateResponseSchema: GenMessage<PartitionS
|
|
|
146
146
|
*/
|
|
147
147
|
export type PartitionServiceDeleteResponse = Message<"metalstack.admin.v2.PartitionServiceDeleteResponse"> & {
|
|
148
148
|
/**
|
|
149
|
-
* Partition contains the deleted partition
|
|
149
|
+
* Partition contains the deleted partition.
|
|
150
150
|
*
|
|
151
151
|
* @generated from field: metalstack.api.v2.Partition partition = 1;
|
|
152
152
|
*/
|
|
@@ -164,19 +164,19 @@ export declare const PartitionServiceDeleteResponseSchema: GenMessage<PartitionS
|
|
|
164
164
|
*/
|
|
165
165
|
export type PartitionServiceCapacityRequest = Message<"metalstack.admin.v2.PartitionServiceCapacityRequest"> & {
|
|
166
166
|
/**
|
|
167
|
-
* ID of the partition to get
|
|
167
|
+
* ID of the partition to get.
|
|
168
168
|
*
|
|
169
169
|
* @generated from field: optional string id = 1;
|
|
170
170
|
*/
|
|
171
171
|
id?: string | undefined;
|
|
172
172
|
/**
|
|
173
|
-
* Size of machines to show the capacity
|
|
173
|
+
* Size of machines to show the capacity.
|
|
174
174
|
*
|
|
175
175
|
* @generated from field: optional string size = 2;
|
|
176
176
|
*/
|
|
177
177
|
size?: string | undefined;
|
|
178
178
|
/**
|
|
179
|
-
* Project of machines to show the capacity
|
|
179
|
+
* Project of machines to show the capacity.
|
|
180
180
|
*
|
|
181
181
|
* @generated from field: optional string project = 3;
|
|
182
182
|
*/
|
|
@@ -188,13 +188,13 @@ export type PartitionServiceCapacityRequest = Message<"metalstack.admin.v2.Parti
|
|
|
188
188
|
*/
|
|
189
189
|
export declare const PartitionServiceCapacityRequestSchema: GenMessage<PartitionServiceCapacityRequest>;
|
|
190
190
|
/**
|
|
191
|
-
* PartitionServiceCapacityResponse is the response payload for a partition capacity request
|
|
191
|
+
* PartitionServiceCapacityResponse is the response payload for a partition capacity request.
|
|
192
192
|
*
|
|
193
193
|
* @generated from message metalstack.admin.v2.PartitionServiceCapacityResponse
|
|
194
194
|
*/
|
|
195
195
|
export type PartitionServiceCapacityResponse = Message<"metalstack.admin.v2.PartitionServiceCapacityResponse"> & {
|
|
196
196
|
/**
|
|
197
|
-
* PartitionCapacity is a capacity report per partition
|
|
197
|
+
* PartitionCapacity is a capacity report per partition.
|
|
198
198
|
*
|
|
199
199
|
* @generated from field: repeated metalstack.admin.v2.PartitionCapacity partition_capacity = 1;
|
|
200
200
|
*/
|
|
@@ -206,7 +206,7 @@ export type PartitionServiceCapacityResponse = Message<"metalstack.admin.v2.Part
|
|
|
206
206
|
*/
|
|
207
207
|
export declare const PartitionServiceCapacityResponseSchema: GenMessage<PartitionServiceCapacityResponse>;
|
|
208
208
|
/**
|
|
209
|
-
* PartitionCapacity is the capacity of one partition
|
|
209
|
+
* PartitionCapacity is the capacity of one partition.
|
|
210
210
|
*
|
|
211
211
|
* @generated from message metalstack.admin.v2.PartitionCapacity
|
|
212
212
|
*/
|
|
@@ -230,7 +230,7 @@ export type PartitionCapacity = Message<"metalstack.admin.v2.PartitionCapacity">
|
|
|
230
230
|
*/
|
|
231
231
|
export declare const PartitionCapacitySchema: GenMessage<PartitionCapacity>;
|
|
232
232
|
/**
|
|
233
|
-
* ServerCapacity is the capacity of one server type, eg machine size
|
|
233
|
+
* ServerCapacity is the capacity of one server type, eg machine size.
|
|
234
234
|
*
|
|
235
235
|
* @generated from message metalstack.admin.v2.MachineSizeCapacity
|
|
236
236
|
*/
|
|
@@ -292,7 +292,7 @@ export type MachineSizeCapacity = Message<"metalstack.admin.v2.MachineSizeCapaci
|
|
|
292
292
|
*/
|
|
293
293
|
free: bigint;
|
|
294
294
|
/**
|
|
295
|
-
* Unavailable is the amount of machine in a partition that are currently not allocatable because they are not waiting or
|
|
295
|
+
* Unavailable is the amount of machine in a partition that are currently not allocatable because they are not waiting or.
|
|
296
296
|
* not in the machine state "available", e.g. locked or reserved.
|
|
297
297
|
*
|
|
298
298
|
* @generated from field: int64 unavailable = 11;
|