@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.
- package/LICENSE +21 -0
- package/README.md +111 -0
- package/js/Makefile +16 -0
- package/js/buf/validate/validate_pb.d.ts +4597 -0
- package/js/buf/validate/validate_pb.js +351 -0
- package/js/buf/validate/validate_pb.ts +4938 -0
- package/js/metalstack/admin/v2/filesystem_pb.d.ts +207 -0
- package/js/metalstack/admin/v2/filesystem_pb.js +48 -0
- package/js/metalstack/admin/v2/filesystem_pb.ts +248 -0
- package/js/metalstack/admin/v2/image_pb.d.ts +242 -0
- package/js/metalstack/admin/v2/image_pb.js +59 -0
- package/js/metalstack/admin/v2/image_pb.ts +288 -0
- package/js/metalstack/admin/v2/ip_pb.d.ts +60 -0
- package/js/metalstack/admin/v2/ip_pb.js +26 -0
- package/js/metalstack/admin/v2/ip_pb.ts +78 -0
- package/js/metalstack/admin/v2/machine_pb.d.ts +113 -0
- package/js/metalstack/admin/v2/machine_pb.js +38 -0
- package/js/metalstack/admin/v2/machine_pb.ts +140 -0
- package/js/metalstack/admin/v2/network_pb.d.ts +407 -0
- package/js/metalstack/admin/v2/network_pb.js +68 -0
- package/js/metalstack/admin/v2/network_pb.ts +478 -0
- package/js/metalstack/admin/v2/partition_pb.d.ts +341 -0
- package/js/metalstack/admin/v2/partition_pb.js +58 -0
- package/js/metalstack/admin/v2/partition_pb.ts +402 -0
- package/js/metalstack/admin/v2/project_pb.d.ts +67 -0
- package/js/metalstack/admin/v2/project_pb.js +27 -0
- package/js/metalstack/admin/v2/project_pb.ts +87 -0
- package/js/metalstack/admin/v2/size_pb.d.ts +183 -0
- package/js/metalstack/admin/v2/size_pb.js +48 -0
- package/js/metalstack/admin/v2/size_pb.ts +220 -0
- package/js/metalstack/admin/v2/switch_pb.d.ts +377 -0
- package/js/metalstack/admin/v2/switch_pb.js +79 -0
- package/js/metalstack/admin/v2/switch_pb.ts +435 -0
- package/js/metalstack/admin/v2/tenant_pb.d.ts +149 -0
- package/js/metalstack/admin/v2/tenant_pb.js +38 -0
- package/js/metalstack/admin/v2/tenant_pb.ts +182 -0
- package/js/metalstack/admin/v2/token_pb.d.ts +164 -0
- package/js/metalstack/admin/v2/token_pb.js +47 -0
- package/js/metalstack/admin/v2/token_pb.ts +199 -0
- package/js/metalstack/admin/v2/vpn_pb.ts +184 -0
- package/js/metalstack/api/v2/common_pb.d.ts +407 -0
- package/js/metalstack/api/v2/common_pb.js +311 -0
- package/js/metalstack/api/v2/common_pb.ts +488 -0
- package/js/metalstack/api/v2/filesystem_pb.d.ts +704 -0
- package/js/metalstack/api/v2/filesystem_pb.js +259 -0
- package/js/metalstack/api/v2/filesystem_pb.ts +819 -0
- package/js/metalstack/api/v2/health_pb.d.ts +220 -0
- package/js/metalstack/api/v2/health_pb.js +130 -0
- package/js/metalstack/api/v2/health_pb.ts +264 -0
- package/js/metalstack/api/v2/image_pb.d.ts +368 -0
- package/js/metalstack/api/v2/image_pb.js +129 -0
- package/js/metalstack/api/v2/image_pb.ts +436 -0
- package/js/metalstack/api/v2/ip_pb.d.ts +555 -0
- package/js/metalstack/api/v2/ip_pb.js +137 -0
- package/js/metalstack/api/v2/ip_pb.ts +650 -0
- package/js/metalstack/api/v2/machine_pb.d.ts +1831 -0
- package/js/metalstack/api/v2/machine_pb.js +459 -0
- package/js/metalstack/api/v2/machine_pb.ts +2155 -0
- package/js/metalstack/api/v2/method_pb.d.ts +122 -0
- package/js/metalstack/api/v2/method_pb.js +38 -0
- package/js/metalstack/api/v2/method_pb.ts +149 -0
- package/js/metalstack/api/v2/network_pb.d.ts +820 -0
- package/js/metalstack/api/v2/network_pb.js +244 -0
- package/js/metalstack/api/v2/network_pb.ts +954 -0
- package/js/metalstack/api/v2/partition_pb.d.ts +251 -0
- package/js/metalstack/api/v2/partition_pb.js +62 -0
- package/js/metalstack/api/v2/partition_pb.ts +300 -0
- package/js/metalstack/api/v2/predefined_rules_pb.d.ts +54 -0
- package/js/metalstack/api/v2/predefined_rules_pb.js +57 -0
- package/js/metalstack/api/v2/predefined_rules_pb.ts +79 -0
- package/js/metalstack/api/v2/project_pb.d.ts +862 -0
- package/js/metalstack/api/v2/project_pb.js +163 -0
- package/js/metalstack/api/v2/project_pb.ts +1001 -0
- package/js/metalstack/api/v2/size_pb.d.ts +261 -0
- package/js/metalstack/api/v2/size_pb.js +94 -0
- package/js/metalstack/api/v2/size_pb.ts +312 -0
- package/js/metalstack/api/v2/switch_pb.d.ts +508 -0
- package/js/metalstack/api/v2/switch_pb.js +207 -0
- package/js/metalstack/api/v2/switch_pb.ts +653 -0
- package/js/metalstack/api/v2/tenant_pb.d.ts +864 -0
- package/js/metalstack/api/v2/tenant_pb.js +163 -0
- package/js/metalstack/api/v2/tenant_pb.ts +1004 -0
- package/js/metalstack/api/v2/token_pb.d.ts +540 -0
- package/js/metalstack/api/v2/token_pb.js +118 -0
- package/js/metalstack/api/v2/token_pb.ts +621 -0
- package/js/metalstack/api/v2/user_pb.d.ts +108 -0
- package/js/metalstack/api/v2/user_pb.js +34 -0
- package/js/metalstack/api/v2/user_pb.ts +139 -0
- package/js/metalstack/api/v2/version_pb.d.ts +88 -0
- package/js/metalstack/api/v2/version_pb.js +30 -0
- package/js/metalstack/api/v2/version_pb.ts +112 -0
- package/js/metalstack/api/v2/vpn_pb.ts +72 -0
- package/js/metalstack/infra/v2/bmc_pb.d.ts +45 -0
- package/js/metalstack/infra/v2/bmc_pb.js +25 -0
- package/js/metalstack/infra/v2/bmc_pb.ts +104 -0
- package/js/metalstack/infra/v2/event_pb.d.ts +181 -0
- package/js/metalstack/infra/v2/event_pb.js +116 -0
- package/js/metalstack/infra/v2/event_pb.ts +218 -0
- package/js/metalstack/infra/v2/switch_pb.d.ts +223 -0
- package/js/metalstack/infra/v2/switch_pb.js +54 -0
- package/js/metalstack/infra/v2/switch_pb.ts +228 -0
- package/js/tsconfig.json +70 -0
- package/package.json +21 -0
|
@@ -0,0 +1,954 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/api/v2/network.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 { Labels, Meta, UpdateLabels, UpdateMeta } from "./common_pb";
|
|
9
|
+
import { file_metalstack_api_v2_common } from "./common_pb";
|
|
10
|
+
import { file_metalstack_api_v2_predefined_rules } from "./predefined_rules_pb";
|
|
11
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the file metalstack/api/v2/network.proto.
|
|
15
|
+
*/
|
|
16
|
+
export const file_metalstack_api_v2_network: GenFile = /*@__PURE__*/
|
|
17
|
+
fileDesc("Ch9tZXRhbHN0YWNrL2FwaS92Mi9uZXR3b3JrLnByb3RvEhFtZXRhbHN0YWNrLmFwaS52MiJQChhOZXR3b3JrU2VydmljZUdldFJlcXVlc3QSFgoCaWQYASABKAlCCrpIB3IFEAIYgAESHAoHcHJvamVjdBgCIAEoCUILukgI2AEBcgOwAQEiSAoZTmV0d29ya1NlcnZpY2VHZXRSZXNwb25zZRIrCgduZXR3b3JrGAEgASgLMhoubWV0YWxzdGFjay5hcGkudjIuTmV0d29yayLcAwobTmV0d29ya1NlcnZpY2VDcmVhdGVSZXF1ZXN0EhkKB3Byb2plY3QYASABKAlCCLpIBXIDsAEBEh4KBG5hbWUYAiABKAlCC7pICHIGwLOusQIBSACIAQESJQoLZGVzY3JpcHRpb24YAyABKAlCC7pICHIGyLOusQIBSAGIAQESIwoJcGFydGl0aW9uGAQgASgJQgu6SAhyBtCzrrECAUgCi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gZwcm90bzM", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]);
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* NetworkServiceGetRequest
|
|
21
|
+
*
|
|
22
|
+
* @generated from message metalstack.api.v2.NetworkServiceGetRequest
|
|
23
|
+
*/
|
|
24
|
+
export type NetworkServiceGetRequest = Message<"metalstack.api.v2.NetworkServiceGetRequest"> & {
|
|
25
|
+
/**
|
|
26
|
+
* ID of the network to get
|
|
27
|
+
*
|
|
28
|
+
* @generated from field: string id = 1;
|
|
29
|
+
*/
|
|
30
|
+
id: string;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Project of the network
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: string project = 2;
|
|
36
|
+
*/
|
|
37
|
+
project: string;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message metalstack.api.v2.NetworkServiceGetRequest.
|
|
42
|
+
* Use `create(NetworkServiceGetRequestSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export const NetworkServiceGetRequestSchema: GenMessage<NetworkServiceGetRequest> = /*@__PURE__*/
|
|
45
|
+
messageDesc(file_metalstack_api_v2_network, 0);
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* NetworkServiceGetResponse
|
|
49
|
+
*
|
|
50
|
+
* @generated from message metalstack.api.v2.NetworkServiceGetResponse
|
|
51
|
+
*/
|
|
52
|
+
export type NetworkServiceGetResponse = Message<"metalstack.api.v2.NetworkServiceGetResponse"> & {
|
|
53
|
+
/**
|
|
54
|
+
* Network which was requested to get
|
|
55
|
+
*
|
|
56
|
+
* @generated from field: metalstack.api.v2.Network network = 1;
|
|
57
|
+
*/
|
|
58
|
+
network?: Network;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Describes the message metalstack.api.v2.NetworkServiceGetResponse.
|
|
63
|
+
* Use `create(NetworkServiceGetResponseSchema)` to create a new message.
|
|
64
|
+
*/
|
|
65
|
+
export const NetworkServiceGetResponseSchema: GenMessage<NetworkServiceGetResponse> = /*@__PURE__*/
|
|
66
|
+
messageDesc(file_metalstack_api_v2_network, 1);
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* NetworkServiceCreateRequest
|
|
70
|
+
*
|
|
71
|
+
* @generated from message metalstack.api.v2.NetworkServiceCreateRequest
|
|
72
|
+
*/
|
|
73
|
+
export type NetworkServiceCreateRequest = Message<"metalstack.api.v2.NetworkServiceCreateRequest"> & {
|
|
74
|
+
/**
|
|
75
|
+
* Project where this network belongs to
|
|
76
|
+
*
|
|
77
|
+
* @generated from field: string project = 1;
|
|
78
|
+
*/
|
|
79
|
+
project: string;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Name of this network
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: optional string name = 2;
|
|
85
|
+
*/
|
|
86
|
+
name?: string;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Description of this network
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: optional string description = 3;
|
|
92
|
+
*/
|
|
93
|
+
description?: string;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Partition where this network will be created
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: optional string partition = 4;
|
|
99
|
+
*/
|
|
100
|
+
partition?: string;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Labels on this network
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: metalstack.api.v2.Labels labels = 5;
|
|
106
|
+
*/
|
|
107
|
+
labels?: Labels;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Parent Network points to the id of the parent network if any
|
|
111
|
+
*
|
|
112
|
+
* @generated from field: optional string parent_network = 6;
|
|
113
|
+
*/
|
|
114
|
+
parentNetwork?: string;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Length per addressfamily
|
|
118
|
+
*
|
|
119
|
+
* @generated from field: optional metalstack.api.v2.ChildPrefixLength length = 7;
|
|
120
|
+
*/
|
|
121
|
+
length?: ChildPrefixLength;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* AddressFamily to create, defaults to the same as the parent
|
|
125
|
+
*
|
|
126
|
+
* @generated from field: optional metalstack.api.v2.NetworkAddressFamily address_family = 8;
|
|
127
|
+
*/
|
|
128
|
+
addressFamily?: NetworkAddressFamily;
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Describes the message metalstack.api.v2.NetworkServiceCreateRequest.
|
|
133
|
+
* Use `create(NetworkServiceCreateRequestSchema)` to create a new message.
|
|
134
|
+
*/
|
|
135
|
+
export const NetworkServiceCreateRequestSchema: GenMessage<NetworkServiceCreateRequest> = /*@__PURE__*/
|
|
136
|
+
messageDesc(file_metalstack_api_v2_network, 2);
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* NetworkServiceCreateResponse
|
|
140
|
+
*
|
|
141
|
+
* @generated from message metalstack.api.v2.NetworkServiceCreateResponse
|
|
142
|
+
*/
|
|
143
|
+
export type NetworkServiceCreateResponse = Message<"metalstack.api.v2.NetworkServiceCreateResponse"> & {
|
|
144
|
+
/**
|
|
145
|
+
* Network is the created network
|
|
146
|
+
*
|
|
147
|
+
* @generated from field: metalstack.api.v2.Network network = 1;
|
|
148
|
+
*/
|
|
149
|
+
network?: Network;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Describes the message metalstack.api.v2.NetworkServiceCreateResponse.
|
|
154
|
+
* Use `create(NetworkServiceCreateResponseSchema)` to create a new message.
|
|
155
|
+
*/
|
|
156
|
+
export const NetworkServiceCreateResponseSchema: GenMessage<NetworkServiceCreateResponse> = /*@__PURE__*/
|
|
157
|
+
messageDesc(file_metalstack_api_v2_network, 3);
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* NetworkServiceUpdateRequest
|
|
161
|
+
*
|
|
162
|
+
* @generated from message metalstack.api.v2.NetworkServiceUpdateRequest
|
|
163
|
+
*/
|
|
164
|
+
export type NetworkServiceUpdateRequest = Message<"metalstack.api.v2.NetworkServiceUpdateRequest"> & {
|
|
165
|
+
/**
|
|
166
|
+
* ID of the network to get
|
|
167
|
+
*
|
|
168
|
+
* @generated from field: string id = 1;
|
|
169
|
+
*/
|
|
170
|
+
id: string;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* UpdateMeta contains the timestamp and strategy to be used in this update request
|
|
174
|
+
*
|
|
175
|
+
* @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
|
|
176
|
+
*/
|
|
177
|
+
updateMeta?: UpdateMeta;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Project of the network
|
|
181
|
+
*
|
|
182
|
+
* @generated from field: string project = 3;
|
|
183
|
+
*/
|
|
184
|
+
project: string;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Name of this network
|
|
188
|
+
*
|
|
189
|
+
* @generated from field: optional string name = 4;
|
|
190
|
+
*/
|
|
191
|
+
name?: string;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Description of this network
|
|
195
|
+
*
|
|
196
|
+
* @generated from field: optional string description = 5;
|
|
197
|
+
*/
|
|
198
|
+
description?: string;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Labels on this network
|
|
202
|
+
*
|
|
203
|
+
* @generated from field: optional metalstack.api.v2.UpdateLabels labels = 6;
|
|
204
|
+
*/
|
|
205
|
+
labels?: UpdateLabels;
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Describes the message metalstack.api.v2.NetworkServiceUpdateRequest.
|
|
210
|
+
* Use `create(NetworkServiceUpdateRequestSchema)` to create a new message.
|
|
211
|
+
*/
|
|
212
|
+
export const NetworkServiceUpdateRequestSchema: GenMessage<NetworkServiceUpdateRequest> = /*@__PURE__*/
|
|
213
|
+
messageDesc(file_metalstack_api_v2_network, 4);
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* NetworkServiceUpdateResponse
|
|
217
|
+
*
|
|
218
|
+
* @generated from message metalstack.api.v2.NetworkServiceUpdateResponse
|
|
219
|
+
*/
|
|
220
|
+
export type NetworkServiceUpdateResponse = Message<"metalstack.api.v2.NetworkServiceUpdateResponse"> & {
|
|
221
|
+
/**
|
|
222
|
+
* Network is the updated network
|
|
223
|
+
*
|
|
224
|
+
* @generated from field: metalstack.api.v2.Network network = 1;
|
|
225
|
+
*/
|
|
226
|
+
network?: Network;
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Describes the message metalstack.api.v2.NetworkServiceUpdateResponse.
|
|
231
|
+
* Use `create(NetworkServiceUpdateResponseSchema)` to create a new message.
|
|
232
|
+
*/
|
|
233
|
+
export const NetworkServiceUpdateResponseSchema: GenMessage<NetworkServiceUpdateResponse> = /*@__PURE__*/
|
|
234
|
+
messageDesc(file_metalstack_api_v2_network, 5);
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* NetworkServiceListRequest
|
|
238
|
+
*
|
|
239
|
+
* @generated from message metalstack.api.v2.NetworkServiceListRequest
|
|
240
|
+
*/
|
|
241
|
+
export type NetworkServiceListRequest = Message<"metalstack.api.v2.NetworkServiceListRequest"> & {
|
|
242
|
+
/**
|
|
243
|
+
* Project of the networks to list
|
|
244
|
+
*
|
|
245
|
+
* @generated from field: string project = 1;
|
|
246
|
+
*/
|
|
247
|
+
project: string;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Query which specifies which networks to return
|
|
251
|
+
*
|
|
252
|
+
* @generated from field: metalstack.api.v2.NetworkQuery query = 2;
|
|
253
|
+
*/
|
|
254
|
+
query?: NetworkQuery;
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Describes the message metalstack.api.v2.NetworkServiceListRequest.
|
|
259
|
+
* Use `create(NetworkServiceListRequestSchema)` to create a new message.
|
|
260
|
+
*/
|
|
261
|
+
export const NetworkServiceListRequestSchema: GenMessage<NetworkServiceListRequest> = /*@__PURE__*/
|
|
262
|
+
messageDesc(file_metalstack_api_v2_network, 6);
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* NetworkServiceListResponse
|
|
266
|
+
*
|
|
267
|
+
* @generated from message metalstack.api.v2.NetworkServiceListResponse
|
|
268
|
+
*/
|
|
269
|
+
export type NetworkServiceListResponse = Message<"metalstack.api.v2.NetworkServiceListResponse"> & {
|
|
270
|
+
/**
|
|
271
|
+
* Networks are the requested networks
|
|
272
|
+
*
|
|
273
|
+
* @generated from field: repeated metalstack.api.v2.Network networks = 1;
|
|
274
|
+
*/
|
|
275
|
+
networks: Network[];
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* Describes the message metalstack.api.v2.NetworkServiceListResponse.
|
|
280
|
+
* Use `create(NetworkServiceListResponseSchema)` to create a new message.
|
|
281
|
+
*/
|
|
282
|
+
export const NetworkServiceListResponseSchema: GenMessage<NetworkServiceListResponse> = /*@__PURE__*/
|
|
283
|
+
messageDesc(file_metalstack_api_v2_network, 7);
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* NetworkServiceListRequest
|
|
287
|
+
*
|
|
288
|
+
* @generated from message metalstack.api.v2.NetworkServiceListBaseNetworksRequest
|
|
289
|
+
*/
|
|
290
|
+
export type NetworkServiceListBaseNetworksRequest = Message<"metalstack.api.v2.NetworkServiceListBaseNetworksRequest"> & {
|
|
291
|
+
/**
|
|
292
|
+
* Project of the base networks to list
|
|
293
|
+
*
|
|
294
|
+
* @generated from field: string project = 1;
|
|
295
|
+
*/
|
|
296
|
+
project: string;
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Query which specifies which networks to return
|
|
300
|
+
*
|
|
301
|
+
* @generated from field: metalstack.api.v2.NetworkQuery query = 2;
|
|
302
|
+
*/
|
|
303
|
+
query?: NetworkQuery;
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Describes the message metalstack.api.v2.NetworkServiceListBaseNetworksRequest.
|
|
308
|
+
* Use `create(NetworkServiceListBaseNetworksRequestSchema)` to create a new message.
|
|
309
|
+
*/
|
|
310
|
+
export const NetworkServiceListBaseNetworksRequestSchema: GenMessage<NetworkServiceListBaseNetworksRequest> = /*@__PURE__*/
|
|
311
|
+
messageDesc(file_metalstack_api_v2_network, 8);
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* NetworkServiceListResponse
|
|
315
|
+
*
|
|
316
|
+
* @generated from message metalstack.api.v2.NetworkServiceListBaseNetworksResponse
|
|
317
|
+
*/
|
|
318
|
+
export type NetworkServiceListBaseNetworksResponse = Message<"metalstack.api.v2.NetworkServiceListBaseNetworksResponse"> & {
|
|
319
|
+
/**
|
|
320
|
+
* Networks are the requested networks
|
|
321
|
+
*
|
|
322
|
+
* @generated from field: repeated metalstack.api.v2.Network networks = 1;
|
|
323
|
+
*/
|
|
324
|
+
networks: Network[];
|
|
325
|
+
};
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Describes the message metalstack.api.v2.NetworkServiceListBaseNetworksResponse.
|
|
329
|
+
* Use `create(NetworkServiceListBaseNetworksResponseSchema)` to create a new message.
|
|
330
|
+
*/
|
|
331
|
+
export const NetworkServiceListBaseNetworksResponseSchema: GenMessage<NetworkServiceListBaseNetworksResponse> = /*@__PURE__*/
|
|
332
|
+
messageDesc(file_metalstack_api_v2_network, 9);
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* NetworkServiceDeleteRequest
|
|
336
|
+
*
|
|
337
|
+
* @generated from message metalstack.api.v2.NetworkServiceDeleteRequest
|
|
338
|
+
*/
|
|
339
|
+
export type NetworkServiceDeleteRequest = Message<"metalstack.api.v2.NetworkServiceDeleteRequest"> & {
|
|
340
|
+
/**
|
|
341
|
+
* ID of the network to get
|
|
342
|
+
*
|
|
343
|
+
* @generated from field: string id = 1;
|
|
344
|
+
*/
|
|
345
|
+
id: string;
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* Project of the network
|
|
349
|
+
*
|
|
350
|
+
* @generated from field: string project = 2;
|
|
351
|
+
*/
|
|
352
|
+
project: string;
|
|
353
|
+
};
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* Describes the message metalstack.api.v2.NetworkServiceDeleteRequest.
|
|
357
|
+
* Use `create(NetworkServiceDeleteRequestSchema)` to create a new message.
|
|
358
|
+
*/
|
|
359
|
+
export const NetworkServiceDeleteRequestSchema: GenMessage<NetworkServiceDeleteRequest> = /*@__PURE__*/
|
|
360
|
+
messageDesc(file_metalstack_api_v2_network, 10);
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* NetworkServiceDeleteResponse
|
|
364
|
+
*
|
|
365
|
+
* @generated from message metalstack.api.v2.NetworkServiceDeleteResponse
|
|
366
|
+
*/
|
|
367
|
+
export type NetworkServiceDeleteResponse = Message<"metalstack.api.v2.NetworkServiceDeleteResponse"> & {
|
|
368
|
+
/**
|
|
369
|
+
* Network is the deleted network
|
|
370
|
+
*
|
|
371
|
+
* @generated from field: metalstack.api.v2.Network network = 1;
|
|
372
|
+
*/
|
|
373
|
+
network?: Network;
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Describes the message metalstack.api.v2.NetworkServiceDeleteResponse.
|
|
378
|
+
* Use `create(NetworkServiceDeleteResponseSchema)` to create a new message.
|
|
379
|
+
*/
|
|
380
|
+
export const NetworkServiceDeleteResponseSchema: GenMessage<NetworkServiceDeleteResponse> = /*@__PURE__*/
|
|
381
|
+
messageDesc(file_metalstack_api_v2_network, 11);
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* Network
|
|
385
|
+
*
|
|
386
|
+
* @generated from message metalstack.api.v2.Network
|
|
387
|
+
*/
|
|
388
|
+
export type Network = Message<"metalstack.api.v2.Network"> & {
|
|
389
|
+
/**
|
|
390
|
+
* Id of this network
|
|
391
|
+
*
|
|
392
|
+
* @generated from field: string id = 1;
|
|
393
|
+
*/
|
|
394
|
+
id: string;
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* Meta for this network
|
|
398
|
+
*
|
|
399
|
+
* @generated from field: metalstack.api.v2.Meta meta = 2;
|
|
400
|
+
*/
|
|
401
|
+
meta?: Meta;
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* Name of this network
|
|
405
|
+
*
|
|
406
|
+
* @generated from field: optional string name = 3;
|
|
407
|
+
*/
|
|
408
|
+
name?: string;
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* Description of this network
|
|
412
|
+
*
|
|
413
|
+
* @generated from field: optional string description = 4;
|
|
414
|
+
*/
|
|
415
|
+
description?: string;
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Partition where this network will be created
|
|
419
|
+
*
|
|
420
|
+
* @generated from field: optional string partition = 5;
|
|
421
|
+
*/
|
|
422
|
+
partition?: string;
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* Project where this network belongs to
|
|
426
|
+
*
|
|
427
|
+
* @generated from field: optional string project = 6;
|
|
428
|
+
*/
|
|
429
|
+
project?: string;
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Namespace if specified, this network is namespaced and can therefore overlap with others
|
|
433
|
+
* Will be equal with project most of the time
|
|
434
|
+
*
|
|
435
|
+
* @generated from field: optional string namespace = 7;
|
|
436
|
+
*/
|
|
437
|
+
namespace?: string;
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* Prefixes in this network
|
|
441
|
+
*
|
|
442
|
+
* @generated from field: repeated string prefixes = 8;
|
|
443
|
+
*/
|
|
444
|
+
prefixes: string[];
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Destination Prefixes in this network
|
|
448
|
+
*
|
|
449
|
+
* @generated from field: repeated string destination_prefixes = 9;
|
|
450
|
+
*/
|
|
451
|
+
destinationPrefixes: string[];
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* Default Child Prefix length defines the bitlength of a child network created per addressfamily, of not specified during the allocate request
|
|
455
|
+
*
|
|
456
|
+
* @generated from field: metalstack.api.v2.ChildPrefixLength default_child_prefix_length = 10;
|
|
457
|
+
*/
|
|
458
|
+
defaultChildPrefixLength?: ChildPrefixLength;
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length
|
|
462
|
+
*
|
|
463
|
+
* @generated from field: metalstack.api.v2.ChildPrefixLength min_child_prefix_length = 11;
|
|
464
|
+
*/
|
|
465
|
+
minChildPrefixLength?: ChildPrefixLength;
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* Type of the network
|
|
469
|
+
*
|
|
470
|
+
* @generated from field: optional metalstack.api.v2.NetworkType type = 12;
|
|
471
|
+
*/
|
|
472
|
+
type?: NetworkType;
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* NATType of this network
|
|
476
|
+
*
|
|
477
|
+
* @generated from field: optional metalstack.api.v2.NATType nat_type = 13;
|
|
478
|
+
*/
|
|
479
|
+
natType?: NATType;
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* VRF of this network has this VNI.
|
|
483
|
+
*
|
|
484
|
+
* @generated from field: optional uint32 vrf = 14;
|
|
485
|
+
*/
|
|
486
|
+
vrf?: number;
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* Parent Network points to the id of the parent network if any
|
|
490
|
+
*
|
|
491
|
+
* @generated from field: optional string parent_network = 15;
|
|
492
|
+
*/
|
|
493
|
+
parentNetwork?: string;
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced
|
|
497
|
+
*
|
|
498
|
+
* @generated from field: repeated string additional_announcable_cidrs = 16;
|
|
499
|
+
*/
|
|
500
|
+
additionalAnnouncableCidrs: string[];
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
* Consumption of ips and prefixes in this networks
|
|
504
|
+
*
|
|
505
|
+
* @generated from field: metalstack.api.v2.NetworkConsumption consumption = 17;
|
|
506
|
+
*/
|
|
507
|
+
consumption?: NetworkConsumption;
|
|
508
|
+
};
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* Describes the message metalstack.api.v2.Network.
|
|
512
|
+
* Use `create(NetworkSchema)` to create a new message.
|
|
513
|
+
*/
|
|
514
|
+
export const NetworkSchema: GenMessage<Network> = /*@__PURE__*/
|
|
515
|
+
messageDesc(file_metalstack_api_v2_network, 12);
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* NetworkQuery defines which networks to query
|
|
519
|
+
*
|
|
520
|
+
* @generated from message metalstack.api.v2.NetworkQuery
|
|
521
|
+
*/
|
|
522
|
+
export type NetworkQuery = Message<"metalstack.api.v2.NetworkQuery"> & {
|
|
523
|
+
/**
|
|
524
|
+
* Id of the network to query
|
|
525
|
+
*
|
|
526
|
+
* @generated from field: optional string id = 1;
|
|
527
|
+
*/
|
|
528
|
+
id?: string;
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* Name of this network
|
|
532
|
+
*
|
|
533
|
+
* @generated from field: optional string name = 2;
|
|
534
|
+
*/
|
|
535
|
+
name?: string;
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* Description of this network
|
|
539
|
+
*
|
|
540
|
+
* @generated from field: optional string description = 3;
|
|
541
|
+
*/
|
|
542
|
+
description?: string;
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* Partition where this network will be created
|
|
546
|
+
*
|
|
547
|
+
* @generated from field: optional string partition = 4;
|
|
548
|
+
*/
|
|
549
|
+
partition?: string;
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* Project where this network belongs to
|
|
553
|
+
*
|
|
554
|
+
* @generated from field: optional string project = 5;
|
|
555
|
+
*/
|
|
556
|
+
project?: string;
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Namespace where this network belongs to
|
|
560
|
+
*
|
|
561
|
+
* @generated from field: optional string namespace = 6;
|
|
562
|
+
*/
|
|
563
|
+
namespace?: string;
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* Prefixes in this network
|
|
567
|
+
*
|
|
568
|
+
* @generated from field: repeated string prefixes = 7;
|
|
569
|
+
*/
|
|
570
|
+
prefixes: string[];
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* Destination Prefixes in this network
|
|
574
|
+
*
|
|
575
|
+
* @generated from field: repeated string destination_prefixes = 8;
|
|
576
|
+
*/
|
|
577
|
+
destinationPrefixes: string[];
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* VRF of this network has this VNI.
|
|
581
|
+
*
|
|
582
|
+
* @generated from field: optional uint32 vrf = 9;
|
|
583
|
+
*/
|
|
584
|
+
vrf?: number;
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* Parent Network points to the id of the parent network if any
|
|
588
|
+
*
|
|
589
|
+
* @generated from field: optional string parent_network = 10;
|
|
590
|
+
*/
|
|
591
|
+
parentNetwork?: string;
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* Addressfamily to query
|
|
595
|
+
*
|
|
596
|
+
* @generated from field: optional metalstack.api.v2.NetworkAddressFamily address_family = 11;
|
|
597
|
+
*/
|
|
598
|
+
addressFamily?: NetworkAddressFamily;
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* Type of the network to query for
|
|
602
|
+
*
|
|
603
|
+
* @generated from field: optional metalstack.api.v2.NetworkType type = 12;
|
|
604
|
+
*/
|
|
605
|
+
type?: NetworkType;
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* NATType configured
|
|
609
|
+
*
|
|
610
|
+
* @generated from field: optional metalstack.api.v2.NATType nat_type = 13;
|
|
611
|
+
*/
|
|
612
|
+
natType?: NATType;
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* Labels on this network
|
|
616
|
+
*
|
|
617
|
+
* @generated from field: optional metalstack.api.v2.Labels labels = 14;
|
|
618
|
+
*/
|
|
619
|
+
labels?: Labels;
|
|
620
|
+
};
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* Describes the message metalstack.api.v2.NetworkQuery.
|
|
624
|
+
* Use `create(NetworkQuerySchema)` to create a new message.
|
|
625
|
+
*/
|
|
626
|
+
export const NetworkQuerySchema: GenMessage<NetworkQuery> = /*@__PURE__*/
|
|
627
|
+
messageDesc(file_metalstack_api_v2_network, 13);
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* ChildPrefixLength
|
|
631
|
+
*
|
|
632
|
+
* @generated from message metalstack.api.v2.ChildPrefixLength
|
|
633
|
+
*/
|
|
634
|
+
export type ChildPrefixLength = Message<"metalstack.api.v2.ChildPrefixLength"> & {
|
|
635
|
+
/**
|
|
636
|
+
* IPv4 bit length of this network in this addressfamily
|
|
637
|
+
*
|
|
638
|
+
* @generated from field: optional uint32 ipv4 = 1;
|
|
639
|
+
*/
|
|
640
|
+
ipv4?: number;
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* IPv6 bit length of this network in this addressfamily
|
|
644
|
+
*
|
|
645
|
+
* @generated from field: optional uint32 ipv6 = 2;
|
|
646
|
+
*/
|
|
647
|
+
ipv6?: number;
|
|
648
|
+
};
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* Describes the message metalstack.api.v2.ChildPrefixLength.
|
|
652
|
+
* Use `create(ChildPrefixLengthSchema)` to create a new message.
|
|
653
|
+
*/
|
|
654
|
+
export const ChildPrefixLengthSchema: GenMessage<ChildPrefixLength> = /*@__PURE__*/
|
|
655
|
+
messageDesc(file_metalstack_api_v2_network, 14);
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* NetworkConsumption contains ip and prefix usage by addressfamily
|
|
659
|
+
*
|
|
660
|
+
* @generated from message metalstack.api.v2.NetworkConsumption
|
|
661
|
+
*/
|
|
662
|
+
export type NetworkConsumption = Message<"metalstack.api.v2.NetworkConsumption"> & {
|
|
663
|
+
/**
|
|
664
|
+
* IPv4 network usage
|
|
665
|
+
*
|
|
666
|
+
* @generated from field: metalstack.api.v2.NetworkUsage ipv4 = 1;
|
|
667
|
+
*/
|
|
668
|
+
ipv4?: NetworkUsage;
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* IPv6 network usage, this can be approximated for high numbers
|
|
672
|
+
*
|
|
673
|
+
* @generated from field: metalstack.api.v2.NetworkUsage ipv6 = 2;
|
|
674
|
+
*/
|
|
675
|
+
ipv6?: NetworkUsage;
|
|
676
|
+
};
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* Describes the message metalstack.api.v2.NetworkConsumption.
|
|
680
|
+
* Use `create(NetworkConsumptionSchema)` to create a new message.
|
|
681
|
+
*/
|
|
682
|
+
export const NetworkConsumptionSchema: GenMessage<NetworkConsumption> = /*@__PURE__*/
|
|
683
|
+
messageDesc(file_metalstack_api_v2_network, 15);
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* NetworkUsage reports core metrics about available and used IPs or Prefixes in a Network.
|
|
687
|
+
*
|
|
688
|
+
* @generated from message metalstack.api.v2.NetworkUsage
|
|
689
|
+
*/
|
|
690
|
+
export type NetworkUsage = Message<"metalstack.api.v2.NetworkUsage"> & {
|
|
691
|
+
/**
|
|
692
|
+
* the total available IPs
|
|
693
|
+
*
|
|
694
|
+
* @generated from field: uint64 available_ips = 2;
|
|
695
|
+
*/
|
|
696
|
+
availableIps: bigint;
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* the total used IPs
|
|
700
|
+
*
|
|
701
|
+
* @generated from field: uint64 used_ips = 3;
|
|
702
|
+
*/
|
|
703
|
+
usedIps: bigint;
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* the total available 2 bit Prefixes
|
|
707
|
+
*
|
|
708
|
+
* @generated from field: uint64 available_prefixes = 4;
|
|
709
|
+
*/
|
|
710
|
+
availablePrefixes: bigint;
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* the total used Prefixes
|
|
714
|
+
*
|
|
715
|
+
* @generated from field: uint64 used_prefixes = 5;
|
|
716
|
+
*/
|
|
717
|
+
usedPrefixes: bigint;
|
|
718
|
+
};
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* Describes the message metalstack.api.v2.NetworkUsage.
|
|
722
|
+
* Use `create(NetworkUsageSchema)` to create a new message.
|
|
723
|
+
*/
|
|
724
|
+
export const NetworkUsageSchema: GenMessage<NetworkUsage> = /*@__PURE__*/
|
|
725
|
+
messageDesc(file_metalstack_api_v2_network, 16);
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* NATType defines how and if outgoing traffic is translated
|
|
729
|
+
*
|
|
730
|
+
* @generated from enum metalstack.api.v2.NATType
|
|
731
|
+
*/
|
|
732
|
+
export enum NATType {
|
|
733
|
+
/**
|
|
734
|
+
* NAT_TYPE_UNSPECIFIED indicates a unspecified nat type
|
|
735
|
+
*
|
|
736
|
+
* @generated from enum value: NAT_TYPE_UNSPECIFIED = 0;
|
|
737
|
+
*/
|
|
738
|
+
NAT_TYPE_UNSPECIFIED = 0,
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* NAT_TYPE_NONE indicates that no nat is configured
|
|
742
|
+
*
|
|
743
|
+
* @generated from enum value: NAT_TYPE_NONE = 1;
|
|
744
|
+
*/
|
|
745
|
+
NAT_TYPE_NONE = 1,
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* NAT_TYPE_IPV4_MASQUERADE masquerade ipv4 behind gateway ip when traffic enters this network
|
|
749
|
+
*
|
|
750
|
+
* @generated from enum value: NAT_TYPE_IPV4_MASQUERADE = 2;
|
|
751
|
+
*/
|
|
752
|
+
NAT_TYPE_IPV4_MASQUERADE = 2,
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* Describes the enum metalstack.api.v2.NATType.
|
|
757
|
+
*/
|
|
758
|
+
export const NATTypeSchema: GenEnum<NATType> = /*@__PURE__*/
|
|
759
|
+
enumDesc(file_metalstack_api_v2_network, 0);
|
|
760
|
+
|
|
761
|
+
/**
|
|
762
|
+
* NetworkType indicates the purpose of the network, it cannot be changed after creation
|
|
763
|
+
*
|
|
764
|
+
* @generated from enum metalstack.api.v2.NetworkType
|
|
765
|
+
*/
|
|
766
|
+
export enum NetworkType {
|
|
767
|
+
/**
|
|
768
|
+
* NETWORK_TYPE_UNSPECIFIED indicates a unknown network type
|
|
769
|
+
*
|
|
770
|
+
* @generated from enum value: NETWORK_TYPE_UNSPECIFIED = 0;
|
|
771
|
+
*/
|
|
772
|
+
UNSPECIFIED = 0,
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* NETWORK_TYPE_EXTERNAL indicates network where multiple projects can allocate ips, it offers connectivity to other external networks
|
|
776
|
+
* In most cases this is the internet network or a network which offers connectivity to legacy datacenter networks.
|
|
777
|
+
* If it is not project scoped everyone can allocate Ips in this network, otherwise only from the same project ip allocation is possible.
|
|
778
|
+
*
|
|
779
|
+
* @generated from enum value: NETWORK_TYPE_EXTERNAL = 1;
|
|
780
|
+
*/
|
|
781
|
+
EXTERNAL = 1,
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* NETWORK_TYPE_UNDERLAY indicates a underlay network
|
|
785
|
+
* The underlay network connects all switches and the firewalls to build a EVPN dataplane
|
|
786
|
+
* It is not project scoped. Is part of the dataplane and reserved for administrative purposes.
|
|
787
|
+
*
|
|
788
|
+
* @generated from enum value: NETWORK_TYPE_UNDERLAY = 2;
|
|
789
|
+
*/
|
|
790
|
+
UNDERLAY = 2,
|
|
791
|
+
|
|
792
|
+
/**
|
|
793
|
+
* NETWORK_TYPE_SUPER indicates a super network which is only used to create child networks
|
|
794
|
+
* If the vrf id is given, child networks will inherit this vrf.
|
|
795
|
+
* If the vrf id is nil in this network, child vrf is taken from the pool.
|
|
796
|
+
* If the partition is given, child networks inherit the partition.
|
|
797
|
+
* If the partition is nil, child networks also do not have a partition (i.e. requires vrf is distributed across all partitions).
|
|
798
|
+
* If the partition is given, only one super network in that partition can be created.
|
|
799
|
+
* If the partition is nil, multiple super networks can exist. Then, for child network creation the network id must be specified (base networks can be queried by label selector).
|
|
800
|
+
* For child creation destination prefixes will be inherited
|
|
801
|
+
* If this is project scoped, the child project must match, otherwise can be freely specified.
|
|
802
|
+
*
|
|
803
|
+
* @generated from enum value: NETWORK_TYPE_SUPER = 3;
|
|
804
|
+
*/
|
|
805
|
+
SUPER = 3,
|
|
806
|
+
|
|
807
|
+
/**
|
|
808
|
+
* NETWORK_TYPE_SUPER_NAMESPACED indicates a super network which is only used to create child networks.
|
|
809
|
+
* All rules from NETWORK_TYPE_SUPER apply for them as well.
|
|
810
|
+
* In addition, a network namespace will be created for every project. Child networks per project will have disjunct prefixes.
|
|
811
|
+
* Prefix allocation will start again with the same base cidr for every project / namespace.
|
|
812
|
+
* This will allow the creation of much more child networks from a given super network size.
|
|
813
|
+
*
|
|
814
|
+
* @generated from enum value: NETWORK_TYPE_SUPER_NAMESPACED = 4;
|
|
815
|
+
*/
|
|
816
|
+
SUPER_NAMESPACED = 4,
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
* NETWORK_TYPE_CHILD indicates a child network of a project.
|
|
820
|
+
* This is the only network type that can be created by a user.
|
|
821
|
+
* Connectivity to external networks is not possible without going through an additional firewall in this network which creates connectivity to other networks.
|
|
822
|
+
* Such a network will be created either from a super, or super namespaced.
|
|
823
|
+
*
|
|
824
|
+
* @generated from enum value: NETWORK_TYPE_CHILD = 5;
|
|
825
|
+
*/
|
|
826
|
+
CHILD = 5,
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* NETWORK_TYPE_CHILD_SHARED indicates a child network of a project which allows the allocation of ips from different projects.
|
|
830
|
+
* Connectivity to external networks is not possible, as for normal child networks.
|
|
831
|
+
* These networks are usually used to provide connectivity to shared services which are created in child networks, e.g. storage.
|
|
832
|
+
* With this approach the number of hops can be reduced to the bare minimum in order to increase availability and performance.
|
|
833
|
+
*
|
|
834
|
+
* @generated from enum value: NETWORK_TYPE_CHILD_SHARED = 6;
|
|
835
|
+
*/
|
|
836
|
+
CHILD_SHARED = 6,
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* Describes the enum metalstack.api.v2.NetworkType.
|
|
841
|
+
*/
|
|
842
|
+
export const NetworkTypeSchema: GenEnum<NetworkType> = /*@__PURE__*/
|
|
843
|
+
enumDesc(file_metalstack_api_v2_network, 1);
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* NetworkAddressFamily defines the address family of a network
|
|
847
|
+
*
|
|
848
|
+
* @generated from enum metalstack.api.v2.NetworkAddressFamily
|
|
849
|
+
*/
|
|
850
|
+
export enum NetworkAddressFamily {
|
|
851
|
+
/**
|
|
852
|
+
* NETWORK_ADDRESS_FAMILY_UNSPECIFIED is not specified
|
|
853
|
+
*
|
|
854
|
+
* @generated from enum value: NETWORK_ADDRESS_FAMILY_UNSPECIFIED = 0;
|
|
855
|
+
*/
|
|
856
|
+
UNSPECIFIED = 0,
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* NETWORK_ADDRESS_FAMILY_V4 defines a network with IPv4 address prefixes
|
|
860
|
+
*
|
|
861
|
+
* @generated from enum value: NETWORK_ADDRESS_FAMILY_V4 = 1;
|
|
862
|
+
*/
|
|
863
|
+
V4 = 1,
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* NETWORK_ADDRESS_FAMILY_V6 defines a network with IPv6 address prefixes
|
|
867
|
+
*
|
|
868
|
+
* @generated from enum value: NETWORK_ADDRESS_FAMILY_V6 = 2;
|
|
869
|
+
*/
|
|
870
|
+
V6 = 2,
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* NETWORK_ADDRESS_FAMILY_DUAL_STACK defines a network with both IPv4 and IPv6 address prefixes
|
|
874
|
+
*
|
|
875
|
+
* @generated from enum value: NETWORK_ADDRESS_FAMILY_DUAL_STACK = 3;
|
|
876
|
+
*/
|
|
877
|
+
DUAL_STACK = 3,
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* Describes the enum metalstack.api.v2.NetworkAddressFamily.
|
|
882
|
+
*/
|
|
883
|
+
export const NetworkAddressFamilySchema: GenEnum<NetworkAddressFamily> = /*@__PURE__*/
|
|
884
|
+
enumDesc(file_metalstack_api_v2_network, 2);
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* NetworkService serves network address related functions for end users, e.g. with project scope
|
|
888
|
+
*
|
|
889
|
+
* @generated from service metalstack.api.v2.NetworkService
|
|
890
|
+
*/
|
|
891
|
+
export const NetworkService: GenService<{
|
|
892
|
+
/**
|
|
893
|
+
* Get a network
|
|
894
|
+
*
|
|
895
|
+
* @generated from rpc metalstack.api.v2.NetworkService.Get
|
|
896
|
+
*/
|
|
897
|
+
get: {
|
|
898
|
+
methodKind: "unary";
|
|
899
|
+
input: typeof NetworkServiceGetRequestSchema;
|
|
900
|
+
output: typeof NetworkServiceGetResponseSchema;
|
|
901
|
+
},
|
|
902
|
+
/**
|
|
903
|
+
* Create a child network from a super network.
|
|
904
|
+
*
|
|
905
|
+
* @generated from rpc metalstack.api.v2.NetworkService.Create
|
|
906
|
+
*/
|
|
907
|
+
create: {
|
|
908
|
+
methodKind: "unary";
|
|
909
|
+
input: typeof NetworkServiceCreateRequestSchema;
|
|
910
|
+
output: typeof NetworkServiceCreateResponseSchema;
|
|
911
|
+
},
|
|
912
|
+
/**
|
|
913
|
+
* Update a network
|
|
914
|
+
*
|
|
915
|
+
* @generated from rpc metalstack.api.v2.NetworkService.Update
|
|
916
|
+
*/
|
|
917
|
+
update: {
|
|
918
|
+
methodKind: "unary";
|
|
919
|
+
input: typeof NetworkServiceUpdateRequestSchema;
|
|
920
|
+
output: typeof NetworkServiceUpdateResponseSchema;
|
|
921
|
+
},
|
|
922
|
+
/**
|
|
923
|
+
* List all project networks
|
|
924
|
+
*
|
|
925
|
+
* @generated from rpc metalstack.api.v2.NetworkService.List
|
|
926
|
+
*/
|
|
927
|
+
list: {
|
|
928
|
+
methodKind: "unary";
|
|
929
|
+
input: typeof NetworkServiceListRequestSchema;
|
|
930
|
+
output: typeof NetworkServiceListResponseSchema;
|
|
931
|
+
},
|
|
932
|
+
/**
|
|
933
|
+
* ListBaseNetworks all base networks that can be used for either child network or ip allocation
|
|
934
|
+
*
|
|
935
|
+
* @generated from rpc metalstack.api.v2.NetworkService.ListBaseNetworks
|
|
936
|
+
*/
|
|
937
|
+
listBaseNetworks: {
|
|
938
|
+
methodKind: "unary";
|
|
939
|
+
input: typeof NetworkServiceListBaseNetworksRequestSchema;
|
|
940
|
+
output: typeof NetworkServiceListBaseNetworksResponseSchema;
|
|
941
|
+
},
|
|
942
|
+
/**
|
|
943
|
+
* Delete a network
|
|
944
|
+
*
|
|
945
|
+
* @generated from rpc metalstack.api.v2.NetworkService.Delete
|
|
946
|
+
*/
|
|
947
|
+
delete: {
|
|
948
|
+
methodKind: "unary";
|
|
949
|
+
input: typeof NetworkServiceDeleteRequestSchema;
|
|
950
|
+
output: typeof NetworkServiceDeleteResponseSchema;
|
|
951
|
+
},
|
|
952
|
+
}> = /*@__PURE__*/
|
|
953
|
+
serviceDesc(file_metalstack_api_v2_network, 0);
|
|
954
|
+
|