@metal-stack/api 0.4.4 → 0.5.2
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 +16 -16
- package/{js/metalstack → metalstack}/admin/v2/image_pb.ts +16 -16
- 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 +195 -37
- package/{js/metalstack → metalstack}/admin/v2/network_pb.js +36 -5
- package/{js/metalstack → metalstack}/admin/v2/network_pb.ts +222 -42
- 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 +146 -98
- package/{js/metalstack → metalstack}/api/v2/network_pb.js +30 -20
- package/{js/metalstack → metalstack}/api/v2/network_pb.ts +158 -102
- 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/image_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/ip_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
|
@@ -7,16 +7,18 @@ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2
|
|
|
7
7
|
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
8
8
|
import type { Labels, UpdateLabels, UpdateMeta } from "../../api/v2/common_pb";
|
|
9
9
|
import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
|
|
10
|
-
import type { ChildPrefixLength, NATType, Network, NetworkAddressFamily, NetworkQuery, NetworkType } from "../../api/v2/network_pb";
|
|
10
|
+
import type { ChildPrefixLength, ExternalNetworkMember, ExternalNetworkMemberQuery, NATType, Network, NetworkAddressFamily, NetworkQuery, NetworkType } from "../../api/v2/network_pb";
|
|
11
11
|
import { file_metalstack_api_v2_network } from "../../api/v2/network_pb";
|
|
12
12
|
import { file_metalstack_api_v2_predefined_rules } from "../../api/v2/predefined_rules_pb";
|
|
13
|
+
import type { Switch } from "../../api/v2/switch_pb";
|
|
14
|
+
import { file_metalstack_api_v2_switch } from "../../api/v2/switch_pb";
|
|
13
15
|
import type { Message } from "@bufbuild/protobuf";
|
|
14
16
|
|
|
15
17
|
/**
|
|
16
18
|
* Describes the file metalstack/admin/v2/network.proto.
|
|
17
19
|
*/
|
|
18
20
|
export const file_metalstack_admin_v2_network: GenFile = /*@__PURE__*/
|
|
19
|
-
fileDesc("
|
|
21
|
+
fileDesc("CiFtZXRhbHN0YWNrL2FkbWluL3YyL25ldHdvcmsucHJvdG8SE21ldGFsc3RhY2suYWRtaW4udjIiMwoYTmV0d29ya1Nlc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W92ZUV4dGVybmFsTWVtYmVyUmVzcG9uc2UiCdLzGAEB4PMYAULQAQoXY29tLm1ldGFsc3RhY2suYWRtaW4udjJCDE5ldHdvcmtQcm90b1ABWjlnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FkbWluL3YyO2FkbWludjKiAgNNQViqAhNNZXRhbHN0YWNrLkFkbWluLlYyygITTWV0YWxzdGFja1xBZG1pblxWMuICH01ldGFsc3RhY2tcQWRtaW5cVjJcR1BCTWV0YWRhdGHqAhVNZXRhbHN0YWNrOjpBZG1pbjo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_network, file_metalstack_api_v2_predefined_rules, file_metalstack_api_v2_switch]);
|
|
20
22
|
|
|
21
23
|
/**
|
|
22
24
|
* NetworkServiceGetRequest is the request payload for getting a network.
|
|
@@ -25,7 +27,7 @@ export const file_metalstack_admin_v2_network: GenFile = /*@__PURE__*/
|
|
|
25
27
|
*/
|
|
26
28
|
export type NetworkServiceGetRequest = Message<"metalstack.admin.v2.NetworkServiceGetRequest"> & {
|
|
27
29
|
/**
|
|
28
|
-
* ID of the network to get
|
|
30
|
+
* ID of the network to get.
|
|
29
31
|
*
|
|
30
32
|
* @generated from field: string id = 1;
|
|
31
33
|
*/
|
|
@@ -46,7 +48,7 @@ export const NetworkServiceGetRequestSchema: GenMessage<NetworkServiceGetRequest
|
|
|
46
48
|
*/
|
|
47
49
|
export type NetworkServiceGetResponse = Message<"metalstack.admin.v2.NetworkServiceGetResponse"> & {
|
|
48
50
|
/**
|
|
49
|
-
* Network contains the requested network
|
|
51
|
+
* Network contains the requested network.
|
|
50
52
|
*
|
|
51
53
|
* @generated from field: metalstack.api.v2.Network network = 1;
|
|
52
54
|
*/
|
|
@@ -67,119 +69,119 @@ export const NetworkServiceGetResponseSchema: GenMessage<NetworkServiceGetRespon
|
|
|
67
69
|
*/
|
|
68
70
|
export type NetworkServiceCreateRequest = Message<"metalstack.admin.v2.NetworkServiceCreateRequest"> & {
|
|
69
71
|
/**
|
|
70
|
-
* Id of this network
|
|
72
|
+
* Id of this network.
|
|
71
73
|
*
|
|
72
74
|
* @generated from field: optional string id = 1;
|
|
73
75
|
*/
|
|
74
76
|
id?: string | undefined;
|
|
75
77
|
|
|
76
78
|
/**
|
|
77
|
-
* Name of this network
|
|
79
|
+
* Name of this network.
|
|
78
80
|
*
|
|
79
81
|
* @generated from field: optional string name = 2;
|
|
80
82
|
*/
|
|
81
83
|
name?: string | undefined;
|
|
82
84
|
|
|
83
85
|
/**
|
|
84
|
-
* Description of this network
|
|
86
|
+
* Description of this network.
|
|
85
87
|
*
|
|
86
88
|
* @generated from field: optional string description = 3;
|
|
87
89
|
*/
|
|
88
90
|
description?: string | undefined;
|
|
89
91
|
|
|
90
92
|
/**
|
|
91
|
-
* Partition where this network will be created
|
|
93
|
+
* Partition where this network will be created.
|
|
92
94
|
*
|
|
93
95
|
* @generated from field: optional string partition = 4;
|
|
94
96
|
*/
|
|
95
97
|
partition?: string | undefined;
|
|
96
98
|
|
|
97
99
|
/**
|
|
98
|
-
* Project where this network belongs to
|
|
100
|
+
* Project where this network belongs to.
|
|
99
101
|
*
|
|
100
102
|
* @generated from field: optional string project = 5;
|
|
101
103
|
*/
|
|
102
104
|
project?: string | undefined;
|
|
103
105
|
|
|
104
106
|
/**
|
|
105
|
-
* Type of the network to create
|
|
107
|
+
* Type of the network to create.
|
|
106
108
|
*
|
|
107
109
|
* @generated from field: metalstack.api.v2.NetworkType type = 6;
|
|
108
110
|
*/
|
|
109
111
|
type: NetworkType;
|
|
110
112
|
|
|
111
113
|
/**
|
|
112
|
-
* Labels on this network
|
|
114
|
+
* Labels on this network.
|
|
113
115
|
*
|
|
114
116
|
* @generated from field: optional metalstack.api.v2.Labels labels = 7;
|
|
115
117
|
*/
|
|
116
118
|
labels?: Labels | undefined;
|
|
117
119
|
|
|
118
120
|
/**
|
|
119
|
-
* Prefixes in this network
|
|
121
|
+
* Prefixes in this network.
|
|
120
122
|
*
|
|
121
123
|
* @generated from field: repeated string prefixes = 8;
|
|
122
124
|
*/
|
|
123
125
|
prefixes: string[];
|
|
124
126
|
|
|
125
127
|
/**
|
|
126
|
-
* Destination Prefixes in this network
|
|
128
|
+
* Destination Prefixes in this network.
|
|
127
129
|
*
|
|
128
130
|
* @generated from field: repeated string destination_prefixes = 9;
|
|
129
131
|
*/
|
|
130
132
|
destinationPrefixes: string[];
|
|
131
133
|
|
|
132
134
|
/**
|
|
133
|
-
* Default Child Prefix length defines the bitlength of a child network created per addressfamily, if not specified during the allocate request
|
|
135
|
+
* Default Child Prefix length defines the bitlength of a child network created per addressfamily, if not specified during the allocate request.
|
|
134
136
|
*
|
|
135
137
|
* @generated from field: metalstack.api.v2.ChildPrefixLength default_child_prefix_length = 10;
|
|
136
138
|
*/
|
|
137
139
|
defaultChildPrefixLength?: ChildPrefixLength | undefined;
|
|
138
140
|
|
|
139
141
|
/**
|
|
140
|
-
* Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length
|
|
142
|
+
* Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length.
|
|
141
143
|
*
|
|
142
144
|
* @generated from field: metalstack.api.v2.ChildPrefixLength min_child_prefix_length = 11;
|
|
143
145
|
*/
|
|
144
146
|
minChildPrefixLength?: ChildPrefixLength | undefined;
|
|
145
147
|
|
|
146
148
|
/**
|
|
147
|
-
* NATType of this network
|
|
149
|
+
* NATType of this network.
|
|
148
150
|
*
|
|
149
151
|
* @generated from field: optional metalstack.api.v2.NATType nat_type = 12;
|
|
150
152
|
*/
|
|
151
153
|
natType?: NATType | undefined;
|
|
152
154
|
|
|
153
155
|
/**
|
|
154
|
-
* VRF of this network has this VNI
|
|
156
|
+
* VRF of this network has this VNI.
|
|
155
157
|
*
|
|
156
158
|
* @generated from field: optional uint32 vrf = 13;
|
|
157
159
|
*/
|
|
158
160
|
vrf?: number | undefined;
|
|
159
161
|
|
|
160
162
|
/**
|
|
161
|
-
* Parent Network points to the id of the parent network if any
|
|
163
|
+
* Parent Network points to the id of the parent network if any.
|
|
162
164
|
*
|
|
163
165
|
* @generated from field: optional string parent_network = 14;
|
|
164
166
|
*/
|
|
165
167
|
parentNetwork?: string | undefined;
|
|
166
168
|
|
|
167
169
|
/**
|
|
168
|
-
* AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced
|
|
170
|
+
* AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced.
|
|
169
171
|
*
|
|
170
172
|
* @generated from field: repeated string additional_announcable_cidrs = 15;
|
|
171
173
|
*/
|
|
172
174
|
additionalAnnouncableCidrs: string[];
|
|
173
175
|
|
|
174
176
|
/**
|
|
175
|
-
* Length per addressfamily
|
|
177
|
+
* Length per addressfamily.
|
|
176
178
|
*
|
|
177
179
|
* @generated from field: optional metalstack.api.v2.ChildPrefixLength length = 16;
|
|
178
180
|
*/
|
|
179
181
|
length?: ChildPrefixLength | undefined;
|
|
180
182
|
|
|
181
183
|
/**
|
|
182
|
-
* AddressFamily to create, defaults to the same as the parent
|
|
184
|
+
* AddressFamily to create, defaults to the same as the parent.
|
|
183
185
|
*
|
|
184
186
|
* @generated from field: optional metalstack.api.v2.NetworkAddressFamily address_family = 17;
|
|
185
187
|
*/
|
|
@@ -200,77 +202,77 @@ export const NetworkServiceCreateRequestSchema: GenMessage<NetworkServiceCreateR
|
|
|
200
202
|
*/
|
|
201
203
|
export type NetworkServiceUpdateRequest = Message<"metalstack.admin.v2.NetworkServiceUpdateRequest"> & {
|
|
202
204
|
/**
|
|
203
|
-
* Id of this network
|
|
205
|
+
* Id of this network.
|
|
204
206
|
*
|
|
205
207
|
* @generated from field: string id = 1;
|
|
206
208
|
*/
|
|
207
209
|
id: string;
|
|
208
210
|
|
|
209
211
|
/**
|
|
210
|
-
* UpdateMeta contains the timestamp and strategy to be used in this update request
|
|
212
|
+
* UpdateMeta contains the timestamp and strategy to be used in this update request.
|
|
211
213
|
*
|
|
212
214
|
* @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
|
|
213
215
|
*/
|
|
214
216
|
updateMeta?: UpdateMeta | undefined;
|
|
215
217
|
|
|
216
218
|
/**
|
|
217
|
-
* Name of this network
|
|
219
|
+
* Name of this network.
|
|
218
220
|
*
|
|
219
221
|
* @generated from field: optional string name = 3;
|
|
220
222
|
*/
|
|
221
223
|
name?: string | undefined;
|
|
222
224
|
|
|
223
225
|
/**
|
|
224
|
-
* Description of this network
|
|
226
|
+
* Description of this network.
|
|
225
227
|
*
|
|
226
228
|
* @generated from field: optional string description = 4;
|
|
227
229
|
*/
|
|
228
230
|
description?: string | undefined;
|
|
229
231
|
|
|
230
232
|
/**
|
|
231
|
-
* Labels to update on this network
|
|
233
|
+
* Labels to update on this network.
|
|
232
234
|
*
|
|
233
235
|
* @generated from field: optional metalstack.api.v2.UpdateLabels labels = 5;
|
|
234
236
|
*/
|
|
235
237
|
labels?: UpdateLabels | undefined;
|
|
236
238
|
|
|
237
239
|
/**
|
|
238
|
-
* Prefixes in this network
|
|
240
|
+
* Prefixes in this network.
|
|
239
241
|
*
|
|
240
242
|
* @generated from field: repeated string prefixes = 6;
|
|
241
243
|
*/
|
|
242
244
|
prefixes: string[];
|
|
243
245
|
|
|
244
246
|
/**
|
|
245
|
-
* Destination Prefixes in this network
|
|
247
|
+
* Destination Prefixes in this network.
|
|
246
248
|
*
|
|
247
249
|
* @generated from field: repeated string destination_prefixes = 7;
|
|
248
250
|
*/
|
|
249
251
|
destinationPrefixes: string[];
|
|
250
252
|
|
|
251
253
|
/**
|
|
252
|
-
* Default Child Prefix length defines the bit length of a child network created per addressfamily, if not specified during the allocate request
|
|
254
|
+
* Default Child Prefix length defines the bit length of a child network created per addressfamily, if not specified during the allocate request.
|
|
253
255
|
*
|
|
254
256
|
* @generated from field: optional metalstack.api.v2.ChildPrefixLength default_child_prefix_length = 8;
|
|
255
257
|
*/
|
|
256
258
|
defaultChildPrefixLength?: ChildPrefixLength | undefined;
|
|
257
259
|
|
|
258
260
|
/**
|
|
259
|
-
* Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length
|
|
261
|
+
* Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length.
|
|
260
262
|
*
|
|
261
263
|
* @generated from field: optional metalstack.api.v2.ChildPrefixLength min_child_prefix_length = 9;
|
|
262
264
|
*/
|
|
263
265
|
minChildPrefixLength?: ChildPrefixLength | undefined;
|
|
264
266
|
|
|
265
267
|
/**
|
|
266
|
-
* NATType of this network
|
|
268
|
+
* NATType of this network.
|
|
267
269
|
*
|
|
268
270
|
* @generated from field: optional metalstack.api.v2.NATType nat_type = 10;
|
|
269
271
|
*/
|
|
270
272
|
natType?: NATType | undefined;
|
|
271
273
|
|
|
272
274
|
/**
|
|
273
|
-
* AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced
|
|
275
|
+
* AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced.
|
|
274
276
|
*
|
|
275
277
|
* @generated from field: repeated string additional_announcable_cidrs = 11;
|
|
276
278
|
*/
|
|
@@ -298,7 +300,7 @@ export const NetworkServiceUpdateRequestSchema: GenMessage<NetworkServiceUpdateR
|
|
|
298
300
|
*/
|
|
299
301
|
export type NetworkServiceDeleteRequest = Message<"metalstack.admin.v2.NetworkServiceDeleteRequest"> & {
|
|
300
302
|
/**
|
|
301
|
-
* ID of the network to get
|
|
303
|
+
* ID of the network to get.
|
|
302
304
|
*
|
|
303
305
|
* @generated from field: string id = 1;
|
|
304
306
|
*/
|
|
@@ -319,7 +321,7 @@ export const NetworkServiceDeleteRequestSchema: GenMessage<NetworkServiceDeleteR
|
|
|
319
321
|
*/
|
|
320
322
|
export type NetworkServiceListRequest = Message<"metalstack.admin.v2.NetworkServiceListRequest"> & {
|
|
321
323
|
/**
|
|
322
|
-
* Query specifies which networks to return
|
|
324
|
+
* Query specifies which networks to return.
|
|
323
325
|
*
|
|
324
326
|
* @generated from field: metalstack.api.v2.NetworkQuery query = 1;
|
|
325
327
|
*/
|
|
@@ -333,6 +335,91 @@ export type NetworkServiceListRequest = Message<"metalstack.admin.v2.NetworkServ
|
|
|
333
335
|
export const NetworkServiceListRequestSchema: GenMessage<NetworkServiceListRequest> = /*@__PURE__*/
|
|
334
336
|
messageDesc(file_metalstack_admin_v2_network, 5);
|
|
335
337
|
|
|
338
|
+
/**
|
|
339
|
+
* NetworkServiceListExternalMembersRequest is the request payload for listing external members of a network.
|
|
340
|
+
*
|
|
341
|
+
* @generated from message metalstack.admin.v2.NetworkServiceListExternalMembersRequest
|
|
342
|
+
*/
|
|
343
|
+
export type NetworkServiceListExternalMembersRequest = Message<"metalstack.admin.v2.NetworkServiceListExternalMembersRequest"> & {
|
|
344
|
+
/**
|
|
345
|
+
* Network to list the members for.
|
|
346
|
+
*
|
|
347
|
+
* @generated from field: string network = 1;
|
|
348
|
+
*/
|
|
349
|
+
network: string;
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Query specifies additional filters for the list request.
|
|
353
|
+
*
|
|
354
|
+
* @generated from field: metalstack.api.v2.ExternalNetworkMemberQuery query = 2;
|
|
355
|
+
*/
|
|
356
|
+
query?: ExternalNetworkMemberQuery | undefined;
|
|
357
|
+
};
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Describes the message metalstack.admin.v2.NetworkServiceListExternalMembersRequest.
|
|
361
|
+
* Use `create(NetworkServiceListExternalMembersRequestSchema)` to create a new message.
|
|
362
|
+
*/
|
|
363
|
+
export const NetworkServiceListExternalMembersRequestSchema: GenMessage<NetworkServiceListExternalMembersRequest> = /*@__PURE__*/
|
|
364
|
+
messageDesc(file_metalstack_admin_v2_network, 6);
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* NetworkServiceAddExternalMemberRequest is the request payload for adding an external member to a network.
|
|
368
|
+
*
|
|
369
|
+
* @generated from message metalstack.admin.v2.NetworkServiceAddExternalMemberRequest
|
|
370
|
+
*/
|
|
371
|
+
export type NetworkServiceAddExternalMemberRequest = Message<"metalstack.admin.v2.NetworkServiceAddExternalMemberRequest"> & {
|
|
372
|
+
/**
|
|
373
|
+
* Network to add the member to.
|
|
374
|
+
*
|
|
375
|
+
* @generated from field: string network = 1;
|
|
376
|
+
*/
|
|
377
|
+
network: string;
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* SwitchPorts contains the ports of a switch that should be added to the network.
|
|
381
|
+
* Make sure to add both switches of a rack and the same ports of both in the same request.
|
|
382
|
+
*
|
|
383
|
+
* @generated from field: repeated metalstack.api.v2.ExternalNetworkMember switch_ports = 2;
|
|
384
|
+
*/
|
|
385
|
+
switchPorts: ExternalNetworkMember[];
|
|
386
|
+
};
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* Describes the message metalstack.admin.v2.NetworkServiceAddExternalMemberRequest.
|
|
390
|
+
* Use `create(NetworkServiceAddExternalMemberRequestSchema)` to create a new message.
|
|
391
|
+
*/
|
|
392
|
+
export const NetworkServiceAddExternalMemberRequestSchema: GenMessage<NetworkServiceAddExternalMemberRequest> = /*@__PURE__*/
|
|
393
|
+
messageDesc(file_metalstack_admin_v2_network, 7);
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* NetworkServiceRemoveExternalMemberRequest is the request payload for removing an external member from a network.
|
|
397
|
+
*
|
|
398
|
+
* @generated from message metalstack.admin.v2.NetworkServiceRemoveExternalMemberRequest
|
|
399
|
+
*/
|
|
400
|
+
export type NetworkServiceRemoveExternalMemberRequest = Message<"metalstack.admin.v2.NetworkServiceRemoveExternalMemberRequest"> & {
|
|
401
|
+
/**
|
|
402
|
+
* Network to remove the member from.
|
|
403
|
+
*
|
|
404
|
+
* @generated from field: string network = 1;
|
|
405
|
+
*/
|
|
406
|
+
network: string;
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* SwitchPorts contains the ports of a switch that should be removed from the network.
|
|
410
|
+
*
|
|
411
|
+
* @generated from field: repeated metalstack.api.v2.ExternalNetworkMember switch_ports = 2;
|
|
412
|
+
*/
|
|
413
|
+
switchPorts: ExternalNetworkMember[];
|
|
414
|
+
};
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* Describes the message metalstack.admin.v2.NetworkServiceRemoveExternalMemberRequest.
|
|
418
|
+
* Use `create(NetworkServiceRemoveExternalMemberRequestSchema)` to create a new message.
|
|
419
|
+
*/
|
|
420
|
+
export const NetworkServiceRemoveExternalMemberRequestSchema: GenMessage<NetworkServiceRemoveExternalMemberRequest> = /*@__PURE__*/
|
|
421
|
+
messageDesc(file_metalstack_admin_v2_network, 8);
|
|
422
|
+
|
|
336
423
|
/**
|
|
337
424
|
* NetworkServiceCreateResponse is the response payload for creating a network.
|
|
338
425
|
*
|
|
@@ -340,7 +427,7 @@ export const NetworkServiceListRequestSchema: GenMessage<NetworkServiceListReque
|
|
|
340
427
|
*/
|
|
341
428
|
export type NetworkServiceCreateResponse = Message<"metalstack.admin.v2.NetworkServiceCreateResponse"> & {
|
|
342
429
|
/**
|
|
343
|
-
* Network contains the created network
|
|
430
|
+
* Network contains the created network.
|
|
344
431
|
*
|
|
345
432
|
* @generated from field: metalstack.api.v2.Network network = 1;
|
|
346
433
|
*/
|
|
@@ -352,7 +439,7 @@ export type NetworkServiceCreateResponse = Message<"metalstack.admin.v2.NetworkS
|
|
|
352
439
|
* Use `create(NetworkServiceCreateResponseSchema)` to create a new message.
|
|
353
440
|
*/
|
|
354
441
|
export const NetworkServiceCreateResponseSchema: GenMessage<NetworkServiceCreateResponse> = /*@__PURE__*/
|
|
355
|
-
messageDesc(file_metalstack_admin_v2_network,
|
|
442
|
+
messageDesc(file_metalstack_admin_v2_network, 9);
|
|
356
443
|
|
|
357
444
|
/**
|
|
358
445
|
* NetworkServiceUpdateResponse is the response payload for updating a network.
|
|
@@ -361,7 +448,7 @@ export const NetworkServiceCreateResponseSchema: GenMessage<NetworkServiceCreate
|
|
|
361
448
|
*/
|
|
362
449
|
export type NetworkServiceUpdateResponse = Message<"metalstack.admin.v2.NetworkServiceUpdateResponse"> & {
|
|
363
450
|
/**
|
|
364
|
-
* Network contains the updated network
|
|
451
|
+
* Network contains the updated network.
|
|
365
452
|
*
|
|
366
453
|
* @generated from field: metalstack.api.v2.Network network = 1;
|
|
367
454
|
*/
|
|
@@ -373,7 +460,7 @@ export type NetworkServiceUpdateResponse = Message<"metalstack.admin.v2.NetworkS
|
|
|
373
460
|
* Use `create(NetworkServiceUpdateResponseSchema)` to create a new message.
|
|
374
461
|
*/
|
|
375
462
|
export const NetworkServiceUpdateResponseSchema: GenMessage<NetworkServiceUpdateResponse> = /*@__PURE__*/
|
|
376
|
-
messageDesc(file_metalstack_admin_v2_network,
|
|
463
|
+
messageDesc(file_metalstack_admin_v2_network, 10);
|
|
377
464
|
|
|
378
465
|
/**
|
|
379
466
|
* NetworkServiceDeleteResponse is the response payload for deleting a network.
|
|
@@ -382,7 +469,7 @@ export const NetworkServiceUpdateResponseSchema: GenMessage<NetworkServiceUpdate
|
|
|
382
469
|
*/
|
|
383
470
|
export type NetworkServiceDeleteResponse = Message<"metalstack.admin.v2.NetworkServiceDeleteResponse"> & {
|
|
384
471
|
/**
|
|
385
|
-
* Network contains the deleted network
|
|
472
|
+
* Network contains the deleted network.
|
|
386
473
|
*
|
|
387
474
|
* @generated from field: metalstack.api.v2.Network network = 1;
|
|
388
475
|
*/
|
|
@@ -394,7 +481,7 @@ export type NetworkServiceDeleteResponse = Message<"metalstack.admin.v2.NetworkS
|
|
|
394
481
|
* Use `create(NetworkServiceDeleteResponseSchema)` to create a new message.
|
|
395
482
|
*/
|
|
396
483
|
export const NetworkServiceDeleteResponseSchema: GenMessage<NetworkServiceDeleteResponse> = /*@__PURE__*/
|
|
397
|
-
messageDesc(file_metalstack_admin_v2_network,
|
|
484
|
+
messageDesc(file_metalstack_admin_v2_network, 11);
|
|
398
485
|
|
|
399
486
|
/**
|
|
400
487
|
* NetworkServiceListResponse is the response payload for listing networks.
|
|
@@ -403,7 +490,7 @@ export const NetworkServiceDeleteResponseSchema: GenMessage<NetworkServiceDelete
|
|
|
403
490
|
*/
|
|
404
491
|
export type NetworkServiceListResponse = Message<"metalstack.admin.v2.NetworkServiceListResponse"> & {
|
|
405
492
|
/**
|
|
406
|
-
* Networks contains the list of networks
|
|
493
|
+
* Networks contains the list of networks.
|
|
407
494
|
*
|
|
408
495
|
* @generated from field: repeated metalstack.api.v2.Network networks = 1;
|
|
409
496
|
*/
|
|
@@ -415,7 +502,70 @@ export type NetworkServiceListResponse = Message<"metalstack.admin.v2.NetworkSer
|
|
|
415
502
|
* Use `create(NetworkServiceListResponseSchema)` to create a new message.
|
|
416
503
|
*/
|
|
417
504
|
export const NetworkServiceListResponseSchema: GenMessage<NetworkServiceListResponse> = /*@__PURE__*/
|
|
418
|
-
messageDesc(file_metalstack_admin_v2_network,
|
|
505
|
+
messageDesc(file_metalstack_admin_v2_network, 12);
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* NetworkServiceListExternalMembersResponse is the response payload for listing external members of a network.
|
|
509
|
+
*
|
|
510
|
+
* @generated from message metalstack.admin.v2.NetworkServiceListExternalMembersResponse
|
|
511
|
+
*/
|
|
512
|
+
export type NetworkServiceListExternalMembersResponse = Message<"metalstack.admin.v2.NetworkServiceListExternalMembersResponse"> & {
|
|
513
|
+
/**
|
|
514
|
+
* Members are the queried external members of the network.
|
|
515
|
+
*
|
|
516
|
+
* @generated from field: repeated metalstack.api.v2.ExternalNetworkMember members = 1;
|
|
517
|
+
*/
|
|
518
|
+
members: ExternalNetworkMember[];
|
|
519
|
+
};
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* Describes the message metalstack.admin.v2.NetworkServiceListExternalMembersResponse.
|
|
523
|
+
* Use `create(NetworkServiceListExternalMembersResponseSchema)` to create a new message.
|
|
524
|
+
*/
|
|
525
|
+
export const NetworkServiceListExternalMembersResponseSchema: GenMessage<NetworkServiceListExternalMembersResponse> = /*@__PURE__*/
|
|
526
|
+
messageDesc(file_metalstack_admin_v2_network, 13);
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* NetworkServiceAddExternalMemberResponse is the response payload for adding an external member to a network.
|
|
530
|
+
*
|
|
531
|
+
* @generated from message metalstack.admin.v2.NetworkServiceAddExternalMemberResponse
|
|
532
|
+
*/
|
|
533
|
+
export type NetworkServiceAddExternalMemberResponse = Message<"metalstack.admin.v2.NetworkServiceAddExternalMemberResponse"> & {
|
|
534
|
+
/**
|
|
535
|
+
* Switch contains the updated switch.
|
|
536
|
+
*
|
|
537
|
+
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
538
|
+
*/
|
|
539
|
+
switch?: Switch | undefined;
|
|
540
|
+
};
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* Describes the message metalstack.admin.v2.NetworkServiceAddExternalMemberResponse.
|
|
544
|
+
* Use `create(NetworkServiceAddExternalMemberResponseSchema)` to create a new message.
|
|
545
|
+
*/
|
|
546
|
+
export const NetworkServiceAddExternalMemberResponseSchema: GenMessage<NetworkServiceAddExternalMemberResponse> = /*@__PURE__*/
|
|
547
|
+
messageDesc(file_metalstack_admin_v2_network, 14);
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* NetworkServiceRemoveExternalMemberResponse is the response payload for removing an external member from a network.
|
|
551
|
+
*
|
|
552
|
+
* @generated from message metalstack.admin.v2.NetworkServiceRemoveExternalMemberResponse
|
|
553
|
+
*/
|
|
554
|
+
export type NetworkServiceRemoveExternalMemberResponse = Message<"metalstack.admin.v2.NetworkServiceRemoveExternalMemberResponse"> & {
|
|
555
|
+
/**
|
|
556
|
+
* Switch contains the updated switch.
|
|
557
|
+
*
|
|
558
|
+
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
559
|
+
*/
|
|
560
|
+
switch?: Switch | undefined;
|
|
561
|
+
};
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* Describes the message metalstack.admin.v2.NetworkServiceRemoveExternalMemberResponse.
|
|
565
|
+
* Use `create(NetworkServiceRemoveExternalMemberResponseSchema)` to create a new message.
|
|
566
|
+
*/
|
|
567
|
+
export const NetworkServiceRemoveExternalMemberResponseSchema: GenMessage<NetworkServiceRemoveExternalMemberResponse> = /*@__PURE__*/
|
|
568
|
+
messageDesc(file_metalstack_admin_v2_network, 15);
|
|
419
569
|
|
|
420
570
|
/**
|
|
421
571
|
* NetworkService provides network management operations.
|
|
@@ -473,6 +623,36 @@ export const NetworkService: GenService<{
|
|
|
473
623
|
input: typeof NetworkServiceListRequestSchema;
|
|
474
624
|
output: typeof NetworkServiceListResponseSchema;
|
|
475
625
|
},
|
|
626
|
+
/**
|
|
627
|
+
* Lists external members of a network.
|
|
628
|
+
*
|
|
629
|
+
* @generated from rpc metalstack.admin.v2.NetworkService.ListExternalMembers
|
|
630
|
+
*/
|
|
631
|
+
listExternalMembers: {
|
|
632
|
+
methodKind: "unary";
|
|
633
|
+
input: typeof NetworkServiceListExternalMembersRequestSchema;
|
|
634
|
+
output: typeof NetworkServiceListExternalMembersResponseSchema;
|
|
635
|
+
},
|
|
636
|
+
/**
|
|
637
|
+
* Adds an external member to a network.
|
|
638
|
+
*
|
|
639
|
+
* @generated from rpc metalstack.admin.v2.NetworkService.AddExternalMember
|
|
640
|
+
*/
|
|
641
|
+
addExternalMember: {
|
|
642
|
+
methodKind: "unary";
|
|
643
|
+
input: typeof NetworkServiceAddExternalMemberRequestSchema;
|
|
644
|
+
output: typeof NetworkServiceAddExternalMemberResponseSchema;
|
|
645
|
+
},
|
|
646
|
+
/**
|
|
647
|
+
* Removes an external member from a network.
|
|
648
|
+
*
|
|
649
|
+
* @generated from rpc metalstack.admin.v2.NetworkService.RemoveExternalMember
|
|
650
|
+
*/
|
|
651
|
+
removeExternalMember: {
|
|
652
|
+
methodKind: "unary";
|
|
653
|
+
input: typeof NetworkServiceRemoveExternalMemberRequestSchema;
|
|
654
|
+
output: typeof NetworkServiceRemoveExternalMemberResponseSchema;
|
|
655
|
+
},
|
|
476
656
|
}> = /*@__PURE__*/
|
|
477
657
|
serviceDesc(file_metalstack_admin_v2_network, 0);
|
|
478
658
|
|