@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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { Labels, UpdateLabels, UpdateMeta } from "../../api/v2/common_pb";
|
|
3
|
-
import type { ChildPrefixLength, NATType, Network, NetworkAddressFamily, NetworkQuery, NetworkType } from "../../api/v2/network_pb";
|
|
3
|
+
import type { ChildPrefixLength, ExternalNetworkMember, ExternalNetworkMemberQuery, NATType, Network, NetworkAddressFamily, NetworkQuery, NetworkType } from "../../api/v2/network_pb";
|
|
4
|
+
import type { Switch } from "../../api/v2/switch_pb";
|
|
4
5
|
import type { Message } from "@bufbuild/protobuf";
|
|
5
6
|
/**
|
|
6
7
|
* Describes the file metalstack/admin/v2/network.proto.
|
|
@@ -13,7 +14,7 @@ export declare const file_metalstack_admin_v2_network: GenFile;
|
|
|
13
14
|
*/
|
|
14
15
|
export type NetworkServiceGetRequest = Message<"metalstack.admin.v2.NetworkServiceGetRequest"> & {
|
|
15
16
|
/**
|
|
16
|
-
* ID of the network to get
|
|
17
|
+
* ID of the network to get.
|
|
17
18
|
*
|
|
18
19
|
* @generated from field: string id = 1;
|
|
19
20
|
*/
|
|
@@ -31,7 +32,7 @@ export declare const NetworkServiceGetRequestSchema: GenMessage<NetworkServiceGe
|
|
|
31
32
|
*/
|
|
32
33
|
export type NetworkServiceGetResponse = Message<"metalstack.admin.v2.NetworkServiceGetResponse"> & {
|
|
33
34
|
/**
|
|
34
|
-
* Network contains the requested network
|
|
35
|
+
* Network contains the requested network.
|
|
35
36
|
*
|
|
36
37
|
* @generated from field: metalstack.api.v2.Network network = 1;
|
|
37
38
|
*/
|
|
@@ -49,103 +50,103 @@ export declare const NetworkServiceGetResponseSchema: GenMessage<NetworkServiceG
|
|
|
49
50
|
*/
|
|
50
51
|
export type NetworkServiceCreateRequest = Message<"metalstack.admin.v2.NetworkServiceCreateRequest"> & {
|
|
51
52
|
/**
|
|
52
|
-
* Id of this network
|
|
53
|
+
* Id of this network.
|
|
53
54
|
*
|
|
54
55
|
* @generated from field: optional string id = 1;
|
|
55
56
|
*/
|
|
56
57
|
id?: string | undefined;
|
|
57
58
|
/**
|
|
58
|
-
* Name of this network
|
|
59
|
+
* Name of this network.
|
|
59
60
|
*
|
|
60
61
|
* @generated from field: optional string name = 2;
|
|
61
62
|
*/
|
|
62
63
|
name?: string | undefined;
|
|
63
64
|
/**
|
|
64
|
-
* Description of this network
|
|
65
|
+
* Description of this network.
|
|
65
66
|
*
|
|
66
67
|
* @generated from field: optional string description = 3;
|
|
67
68
|
*/
|
|
68
69
|
description?: string | undefined;
|
|
69
70
|
/**
|
|
70
|
-
* Partition where this network will be created
|
|
71
|
+
* Partition where this network will be created.
|
|
71
72
|
*
|
|
72
73
|
* @generated from field: optional string partition = 4;
|
|
73
74
|
*/
|
|
74
75
|
partition?: string | undefined;
|
|
75
76
|
/**
|
|
76
|
-
* Project where this network belongs to
|
|
77
|
+
* Project where this network belongs to.
|
|
77
78
|
*
|
|
78
79
|
* @generated from field: optional string project = 5;
|
|
79
80
|
*/
|
|
80
81
|
project?: string | undefined;
|
|
81
82
|
/**
|
|
82
|
-
* Type of the network to create
|
|
83
|
+
* Type of the network to create.
|
|
83
84
|
*
|
|
84
85
|
* @generated from field: metalstack.api.v2.NetworkType type = 6;
|
|
85
86
|
*/
|
|
86
87
|
type: NetworkType;
|
|
87
88
|
/**
|
|
88
|
-
* Labels on this network
|
|
89
|
+
* Labels on this network.
|
|
89
90
|
*
|
|
90
91
|
* @generated from field: optional metalstack.api.v2.Labels labels = 7;
|
|
91
92
|
*/
|
|
92
93
|
labels?: Labels | undefined;
|
|
93
94
|
/**
|
|
94
|
-
* Prefixes in this network
|
|
95
|
+
* Prefixes in this network.
|
|
95
96
|
*
|
|
96
97
|
* @generated from field: repeated string prefixes = 8;
|
|
97
98
|
*/
|
|
98
99
|
prefixes: string[];
|
|
99
100
|
/**
|
|
100
|
-
* Destination Prefixes in this network
|
|
101
|
+
* Destination Prefixes in this network.
|
|
101
102
|
*
|
|
102
103
|
* @generated from field: repeated string destination_prefixes = 9;
|
|
103
104
|
*/
|
|
104
105
|
destinationPrefixes: string[];
|
|
105
106
|
/**
|
|
106
|
-
* Default Child Prefix length defines the bitlength of a child network created per addressfamily, if not specified during the allocate request
|
|
107
|
+
* Default Child Prefix length defines the bitlength of a child network created per addressfamily, if not specified during the allocate request.
|
|
107
108
|
*
|
|
108
109
|
* @generated from field: metalstack.api.v2.ChildPrefixLength default_child_prefix_length = 10;
|
|
109
110
|
*/
|
|
110
111
|
defaultChildPrefixLength?: ChildPrefixLength | undefined;
|
|
111
112
|
/**
|
|
112
|
-
* Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length
|
|
113
|
+
* Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length.
|
|
113
114
|
*
|
|
114
115
|
* @generated from field: metalstack.api.v2.ChildPrefixLength min_child_prefix_length = 11;
|
|
115
116
|
*/
|
|
116
117
|
minChildPrefixLength?: ChildPrefixLength | undefined;
|
|
117
118
|
/**
|
|
118
|
-
* NATType of this network
|
|
119
|
+
* NATType of this network.
|
|
119
120
|
*
|
|
120
121
|
* @generated from field: optional metalstack.api.v2.NATType nat_type = 12;
|
|
121
122
|
*/
|
|
122
123
|
natType?: NATType | undefined;
|
|
123
124
|
/**
|
|
124
|
-
* VRF of this network has this VNI
|
|
125
|
+
* VRF of this network has this VNI.
|
|
125
126
|
*
|
|
126
127
|
* @generated from field: optional uint32 vrf = 13;
|
|
127
128
|
*/
|
|
128
129
|
vrf?: number | undefined;
|
|
129
130
|
/**
|
|
130
|
-
* Parent Network points to the id of the parent network if any
|
|
131
|
+
* Parent Network points to the id of the parent network if any.
|
|
131
132
|
*
|
|
132
133
|
* @generated from field: optional string parent_network = 14;
|
|
133
134
|
*/
|
|
134
135
|
parentNetwork?: string | undefined;
|
|
135
136
|
/**
|
|
136
|
-
* AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced
|
|
137
|
+
* AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced.
|
|
137
138
|
*
|
|
138
139
|
* @generated from field: repeated string additional_announcable_cidrs = 15;
|
|
139
140
|
*/
|
|
140
141
|
additionalAnnouncableCidrs: string[];
|
|
141
142
|
/**
|
|
142
|
-
* Length per addressfamily
|
|
143
|
+
* Length per addressfamily.
|
|
143
144
|
*
|
|
144
145
|
* @generated from field: optional metalstack.api.v2.ChildPrefixLength length = 16;
|
|
145
146
|
*/
|
|
146
147
|
length?: ChildPrefixLength | undefined;
|
|
147
148
|
/**
|
|
148
|
-
* AddressFamily to create, defaults to the same as the parent
|
|
149
|
+
* AddressFamily to create, defaults to the same as the parent.
|
|
149
150
|
*
|
|
150
151
|
* @generated from field: optional metalstack.api.v2.NetworkAddressFamily address_family = 17;
|
|
151
152
|
*/
|
|
@@ -163,67 +164,67 @@ export declare const NetworkServiceCreateRequestSchema: GenMessage<NetworkServic
|
|
|
163
164
|
*/
|
|
164
165
|
export type NetworkServiceUpdateRequest = Message<"metalstack.admin.v2.NetworkServiceUpdateRequest"> & {
|
|
165
166
|
/**
|
|
166
|
-
* Id of this network
|
|
167
|
+
* Id of this network.
|
|
167
168
|
*
|
|
168
169
|
* @generated from field: string id = 1;
|
|
169
170
|
*/
|
|
170
171
|
id: string;
|
|
171
172
|
/**
|
|
172
|
-
* UpdateMeta contains the timestamp and strategy to be used in this update request
|
|
173
|
+
* UpdateMeta contains the timestamp and strategy to be used in this update request.
|
|
173
174
|
*
|
|
174
175
|
* @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
|
|
175
176
|
*/
|
|
176
177
|
updateMeta?: UpdateMeta | undefined;
|
|
177
178
|
/**
|
|
178
|
-
* Name of this network
|
|
179
|
+
* Name of this network.
|
|
179
180
|
*
|
|
180
181
|
* @generated from field: optional string name = 3;
|
|
181
182
|
*/
|
|
182
183
|
name?: string | undefined;
|
|
183
184
|
/**
|
|
184
|
-
* Description of this network
|
|
185
|
+
* Description of this network.
|
|
185
186
|
*
|
|
186
187
|
* @generated from field: optional string description = 4;
|
|
187
188
|
*/
|
|
188
189
|
description?: string | undefined;
|
|
189
190
|
/**
|
|
190
|
-
* Labels to update on this network
|
|
191
|
+
* Labels to update on this network.
|
|
191
192
|
*
|
|
192
193
|
* @generated from field: optional metalstack.api.v2.UpdateLabels labels = 5;
|
|
193
194
|
*/
|
|
194
195
|
labels?: UpdateLabels | undefined;
|
|
195
196
|
/**
|
|
196
|
-
* Prefixes in this network
|
|
197
|
+
* Prefixes in this network.
|
|
197
198
|
*
|
|
198
199
|
* @generated from field: repeated string prefixes = 6;
|
|
199
200
|
*/
|
|
200
201
|
prefixes: string[];
|
|
201
202
|
/**
|
|
202
|
-
* Destination Prefixes in this network
|
|
203
|
+
* Destination Prefixes in this network.
|
|
203
204
|
*
|
|
204
205
|
* @generated from field: repeated string destination_prefixes = 7;
|
|
205
206
|
*/
|
|
206
207
|
destinationPrefixes: string[];
|
|
207
208
|
/**
|
|
208
|
-
* Default Child Prefix length defines the bit length of a child network created per addressfamily, if not specified during the allocate request
|
|
209
|
+
* Default Child Prefix length defines the bit length of a child network created per addressfamily, if not specified during the allocate request.
|
|
209
210
|
*
|
|
210
211
|
* @generated from field: optional metalstack.api.v2.ChildPrefixLength default_child_prefix_length = 8;
|
|
211
212
|
*/
|
|
212
213
|
defaultChildPrefixLength?: ChildPrefixLength | undefined;
|
|
213
214
|
/**
|
|
214
|
-
* Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length
|
|
215
|
+
* Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length.
|
|
215
216
|
*
|
|
216
217
|
* @generated from field: optional metalstack.api.v2.ChildPrefixLength min_child_prefix_length = 9;
|
|
217
218
|
*/
|
|
218
219
|
minChildPrefixLength?: ChildPrefixLength | undefined;
|
|
219
220
|
/**
|
|
220
|
-
* NATType of this network
|
|
221
|
+
* NATType of this network.
|
|
221
222
|
*
|
|
222
223
|
* @generated from field: optional metalstack.api.v2.NATType nat_type = 10;
|
|
223
224
|
*/
|
|
224
225
|
natType?: NATType | undefined;
|
|
225
226
|
/**
|
|
226
|
-
* AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced
|
|
227
|
+
* AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced.
|
|
227
228
|
*
|
|
228
229
|
* @generated from field: repeated string additional_announcable_cidrs = 11;
|
|
229
230
|
*/
|
|
@@ -247,7 +248,7 @@ export declare const NetworkServiceUpdateRequestSchema: GenMessage<NetworkServic
|
|
|
247
248
|
*/
|
|
248
249
|
export type NetworkServiceDeleteRequest = Message<"metalstack.admin.v2.NetworkServiceDeleteRequest"> & {
|
|
249
250
|
/**
|
|
250
|
-
* ID of the network to get
|
|
251
|
+
* ID of the network to get.
|
|
251
252
|
*
|
|
252
253
|
* @generated from field: string id = 1;
|
|
253
254
|
*/
|
|
@@ -265,7 +266,7 @@ export declare const NetworkServiceDeleteRequestSchema: GenMessage<NetworkServic
|
|
|
265
266
|
*/
|
|
266
267
|
export type NetworkServiceListRequest = Message<"metalstack.admin.v2.NetworkServiceListRequest"> & {
|
|
267
268
|
/**
|
|
268
|
-
* Query specifies which networks to return
|
|
269
|
+
* Query specifies which networks to return.
|
|
269
270
|
*
|
|
270
271
|
* @generated from field: metalstack.api.v2.NetworkQuery query = 1;
|
|
271
272
|
*/
|
|
@@ -276,6 +277,79 @@ export type NetworkServiceListRequest = Message<"metalstack.admin.v2.NetworkServ
|
|
|
276
277
|
* Use `create(NetworkServiceListRequestSchema)` to create a new message.
|
|
277
278
|
*/
|
|
278
279
|
export declare const NetworkServiceListRequestSchema: GenMessage<NetworkServiceListRequest>;
|
|
280
|
+
/**
|
|
281
|
+
* NetworkServiceListExternalMembersRequest is the request payload for listing external members of a network.
|
|
282
|
+
*
|
|
283
|
+
* @generated from message metalstack.admin.v2.NetworkServiceListExternalMembersRequest
|
|
284
|
+
*/
|
|
285
|
+
export type NetworkServiceListExternalMembersRequest = Message<"metalstack.admin.v2.NetworkServiceListExternalMembersRequest"> & {
|
|
286
|
+
/**
|
|
287
|
+
* Network to list the members for.
|
|
288
|
+
*
|
|
289
|
+
* @generated from field: string network = 1;
|
|
290
|
+
*/
|
|
291
|
+
network: string;
|
|
292
|
+
/**
|
|
293
|
+
* Query specifies additional filters for the list request.
|
|
294
|
+
*
|
|
295
|
+
* @generated from field: metalstack.api.v2.ExternalNetworkMemberQuery query = 2;
|
|
296
|
+
*/
|
|
297
|
+
query?: ExternalNetworkMemberQuery | undefined;
|
|
298
|
+
};
|
|
299
|
+
/**
|
|
300
|
+
* Describes the message metalstack.admin.v2.NetworkServiceListExternalMembersRequest.
|
|
301
|
+
* Use `create(NetworkServiceListExternalMembersRequestSchema)` to create a new message.
|
|
302
|
+
*/
|
|
303
|
+
export declare const NetworkServiceListExternalMembersRequestSchema: GenMessage<NetworkServiceListExternalMembersRequest>;
|
|
304
|
+
/**
|
|
305
|
+
* NetworkServiceAddExternalMemberRequest is the request payload for adding an external member to a network.
|
|
306
|
+
*
|
|
307
|
+
* @generated from message metalstack.admin.v2.NetworkServiceAddExternalMemberRequest
|
|
308
|
+
*/
|
|
309
|
+
export type NetworkServiceAddExternalMemberRequest = Message<"metalstack.admin.v2.NetworkServiceAddExternalMemberRequest"> & {
|
|
310
|
+
/**
|
|
311
|
+
* Network to add the member to.
|
|
312
|
+
*
|
|
313
|
+
* @generated from field: string network = 1;
|
|
314
|
+
*/
|
|
315
|
+
network: string;
|
|
316
|
+
/**
|
|
317
|
+
* SwitchPorts contains the ports of a switch that should be added to the network.
|
|
318
|
+
* Make sure to add both switches of a rack and the same ports of both in the same request.
|
|
319
|
+
*
|
|
320
|
+
* @generated from field: repeated metalstack.api.v2.ExternalNetworkMember switch_ports = 2;
|
|
321
|
+
*/
|
|
322
|
+
switchPorts: ExternalNetworkMember[];
|
|
323
|
+
};
|
|
324
|
+
/**
|
|
325
|
+
* Describes the message metalstack.admin.v2.NetworkServiceAddExternalMemberRequest.
|
|
326
|
+
* Use `create(NetworkServiceAddExternalMemberRequestSchema)` to create a new message.
|
|
327
|
+
*/
|
|
328
|
+
export declare const NetworkServiceAddExternalMemberRequestSchema: GenMessage<NetworkServiceAddExternalMemberRequest>;
|
|
329
|
+
/**
|
|
330
|
+
* NetworkServiceRemoveExternalMemberRequest is the request payload for removing an external member from a network.
|
|
331
|
+
*
|
|
332
|
+
* @generated from message metalstack.admin.v2.NetworkServiceRemoveExternalMemberRequest
|
|
333
|
+
*/
|
|
334
|
+
export type NetworkServiceRemoveExternalMemberRequest = Message<"metalstack.admin.v2.NetworkServiceRemoveExternalMemberRequest"> & {
|
|
335
|
+
/**
|
|
336
|
+
* Network to remove the member from.
|
|
337
|
+
*
|
|
338
|
+
* @generated from field: string network = 1;
|
|
339
|
+
*/
|
|
340
|
+
network: string;
|
|
341
|
+
/**
|
|
342
|
+
* SwitchPorts contains the ports of a switch that should be removed from the network.
|
|
343
|
+
*
|
|
344
|
+
* @generated from field: repeated metalstack.api.v2.ExternalNetworkMember switch_ports = 2;
|
|
345
|
+
*/
|
|
346
|
+
switchPorts: ExternalNetworkMember[];
|
|
347
|
+
};
|
|
348
|
+
/**
|
|
349
|
+
* Describes the message metalstack.admin.v2.NetworkServiceRemoveExternalMemberRequest.
|
|
350
|
+
* Use `create(NetworkServiceRemoveExternalMemberRequestSchema)` to create a new message.
|
|
351
|
+
*/
|
|
352
|
+
export declare const NetworkServiceRemoveExternalMemberRequestSchema: GenMessage<NetworkServiceRemoveExternalMemberRequest>;
|
|
279
353
|
/**
|
|
280
354
|
* NetworkServiceCreateResponse is the response payload for creating a network.
|
|
281
355
|
*
|
|
@@ -283,7 +357,7 @@ export declare const NetworkServiceListRequestSchema: GenMessage<NetworkServiceL
|
|
|
283
357
|
*/
|
|
284
358
|
export type NetworkServiceCreateResponse = Message<"metalstack.admin.v2.NetworkServiceCreateResponse"> & {
|
|
285
359
|
/**
|
|
286
|
-
* Network contains the created network
|
|
360
|
+
* Network contains the created network.
|
|
287
361
|
*
|
|
288
362
|
* @generated from field: metalstack.api.v2.Network network = 1;
|
|
289
363
|
*/
|
|
@@ -301,7 +375,7 @@ export declare const NetworkServiceCreateResponseSchema: GenMessage<NetworkServi
|
|
|
301
375
|
*/
|
|
302
376
|
export type NetworkServiceUpdateResponse = Message<"metalstack.admin.v2.NetworkServiceUpdateResponse"> & {
|
|
303
377
|
/**
|
|
304
|
-
* Network contains the updated network
|
|
378
|
+
* Network contains the updated network.
|
|
305
379
|
*
|
|
306
380
|
* @generated from field: metalstack.api.v2.Network network = 1;
|
|
307
381
|
*/
|
|
@@ -319,7 +393,7 @@ export declare const NetworkServiceUpdateResponseSchema: GenMessage<NetworkServi
|
|
|
319
393
|
*/
|
|
320
394
|
export type NetworkServiceDeleteResponse = Message<"metalstack.admin.v2.NetworkServiceDeleteResponse"> & {
|
|
321
395
|
/**
|
|
322
|
-
* Network contains the deleted network
|
|
396
|
+
* Network contains the deleted network.
|
|
323
397
|
*
|
|
324
398
|
* @generated from field: metalstack.api.v2.Network network = 1;
|
|
325
399
|
*/
|
|
@@ -337,7 +411,7 @@ export declare const NetworkServiceDeleteResponseSchema: GenMessage<NetworkServi
|
|
|
337
411
|
*/
|
|
338
412
|
export type NetworkServiceListResponse = Message<"metalstack.admin.v2.NetworkServiceListResponse"> & {
|
|
339
413
|
/**
|
|
340
|
-
* Networks contains the list of networks
|
|
414
|
+
* Networks contains the list of networks.
|
|
341
415
|
*
|
|
342
416
|
* @generated from field: repeated metalstack.api.v2.Network networks = 1;
|
|
343
417
|
*/
|
|
@@ -348,6 +422,60 @@ export type NetworkServiceListResponse = Message<"metalstack.admin.v2.NetworkSer
|
|
|
348
422
|
* Use `create(NetworkServiceListResponseSchema)` to create a new message.
|
|
349
423
|
*/
|
|
350
424
|
export declare const NetworkServiceListResponseSchema: GenMessage<NetworkServiceListResponse>;
|
|
425
|
+
/**
|
|
426
|
+
* NetworkServiceListExternalMembersResponse is the response payload for listing external members of a network.
|
|
427
|
+
*
|
|
428
|
+
* @generated from message metalstack.admin.v2.NetworkServiceListExternalMembersResponse
|
|
429
|
+
*/
|
|
430
|
+
export type NetworkServiceListExternalMembersResponse = Message<"metalstack.admin.v2.NetworkServiceListExternalMembersResponse"> & {
|
|
431
|
+
/**
|
|
432
|
+
* Members are the queried external members of the network.
|
|
433
|
+
*
|
|
434
|
+
* @generated from field: repeated metalstack.api.v2.ExternalNetworkMember members = 1;
|
|
435
|
+
*/
|
|
436
|
+
members: ExternalNetworkMember[];
|
|
437
|
+
};
|
|
438
|
+
/**
|
|
439
|
+
* Describes the message metalstack.admin.v2.NetworkServiceListExternalMembersResponse.
|
|
440
|
+
* Use `create(NetworkServiceListExternalMembersResponseSchema)` to create a new message.
|
|
441
|
+
*/
|
|
442
|
+
export declare const NetworkServiceListExternalMembersResponseSchema: GenMessage<NetworkServiceListExternalMembersResponse>;
|
|
443
|
+
/**
|
|
444
|
+
* NetworkServiceAddExternalMemberResponse is the response payload for adding an external member to a network.
|
|
445
|
+
*
|
|
446
|
+
* @generated from message metalstack.admin.v2.NetworkServiceAddExternalMemberResponse
|
|
447
|
+
*/
|
|
448
|
+
export type NetworkServiceAddExternalMemberResponse = Message<"metalstack.admin.v2.NetworkServiceAddExternalMemberResponse"> & {
|
|
449
|
+
/**
|
|
450
|
+
* Switch contains the updated switch.
|
|
451
|
+
*
|
|
452
|
+
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
453
|
+
*/
|
|
454
|
+
switch?: Switch | undefined;
|
|
455
|
+
};
|
|
456
|
+
/**
|
|
457
|
+
* Describes the message metalstack.admin.v2.NetworkServiceAddExternalMemberResponse.
|
|
458
|
+
* Use `create(NetworkServiceAddExternalMemberResponseSchema)` to create a new message.
|
|
459
|
+
*/
|
|
460
|
+
export declare const NetworkServiceAddExternalMemberResponseSchema: GenMessage<NetworkServiceAddExternalMemberResponse>;
|
|
461
|
+
/**
|
|
462
|
+
* NetworkServiceRemoveExternalMemberResponse is the response payload for removing an external member from a network.
|
|
463
|
+
*
|
|
464
|
+
* @generated from message metalstack.admin.v2.NetworkServiceRemoveExternalMemberResponse
|
|
465
|
+
*/
|
|
466
|
+
export type NetworkServiceRemoveExternalMemberResponse = Message<"metalstack.admin.v2.NetworkServiceRemoveExternalMemberResponse"> & {
|
|
467
|
+
/**
|
|
468
|
+
* Switch contains the updated switch.
|
|
469
|
+
*
|
|
470
|
+
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
471
|
+
*/
|
|
472
|
+
switch?: Switch | undefined;
|
|
473
|
+
};
|
|
474
|
+
/**
|
|
475
|
+
* Describes the message metalstack.admin.v2.NetworkServiceRemoveExternalMemberResponse.
|
|
476
|
+
* Use `create(NetworkServiceRemoveExternalMemberResponseSchema)` to create a new message.
|
|
477
|
+
*/
|
|
478
|
+
export declare const NetworkServiceRemoveExternalMemberResponseSchema: GenMessage<NetworkServiceRemoveExternalMemberResponse>;
|
|
351
479
|
/**
|
|
352
480
|
* NetworkService provides network management operations.
|
|
353
481
|
*
|
|
@@ -404,4 +532,34 @@ export declare const NetworkService: GenService<{
|
|
|
404
532
|
input: typeof NetworkServiceListRequestSchema;
|
|
405
533
|
output: typeof NetworkServiceListResponseSchema;
|
|
406
534
|
};
|
|
535
|
+
/**
|
|
536
|
+
* Lists external members of a network.
|
|
537
|
+
*
|
|
538
|
+
* @generated from rpc metalstack.admin.v2.NetworkService.ListExternalMembers
|
|
539
|
+
*/
|
|
540
|
+
listExternalMembers: {
|
|
541
|
+
methodKind: "unary";
|
|
542
|
+
input: typeof NetworkServiceListExternalMembersRequestSchema;
|
|
543
|
+
output: typeof NetworkServiceListExternalMembersResponseSchema;
|
|
544
|
+
};
|
|
545
|
+
/**
|
|
546
|
+
* Adds an external member to a network.
|
|
547
|
+
*
|
|
548
|
+
* @generated from rpc metalstack.admin.v2.NetworkService.AddExternalMember
|
|
549
|
+
*/
|
|
550
|
+
addExternalMember: {
|
|
551
|
+
methodKind: "unary";
|
|
552
|
+
input: typeof NetworkServiceAddExternalMemberRequestSchema;
|
|
553
|
+
output: typeof NetworkServiceAddExternalMemberResponseSchema;
|
|
554
|
+
};
|
|
555
|
+
/**
|
|
556
|
+
* Removes an external member from a network.
|
|
557
|
+
*
|
|
558
|
+
* @generated from rpc metalstack.admin.v2.NetworkService.RemoveExternalMember
|
|
559
|
+
*/
|
|
560
|
+
removeExternalMember: {
|
|
561
|
+
methodKind: "unary";
|
|
562
|
+
input: typeof NetworkServiceRemoveExternalMemberRequestSchema;
|
|
563
|
+
output: typeof NetworkServiceRemoveExternalMemberResponseSchema;
|
|
564
|
+
};
|
|
407
565
|
}>;
|
|
@@ -6,10 +6,11 @@ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
|
6
6
|
import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
|
|
7
7
|
import { file_metalstack_api_v2_network } from "../../api/v2/network_pb";
|
|
8
8
|
import { file_metalstack_api_v2_predefined_rules } from "../../api/v2/predefined_rules_pb";
|
|
9
|
+
import { file_metalstack_api_v2_switch } from "../../api/v2/switch_pb";
|
|
9
10
|
/**
|
|
10
11
|
* Describes the file metalstack/admin/v2/network.proto.
|
|
11
12
|
*/
|
|
12
|
-
export const file_metalstack_admin_v2_network = /*@__PURE__*/ fileDesc("
|
|
13
|
+
export const file_metalstack_admin_v2_network = /*@__PURE__*/ fileDesc("CiFtZXRhbHN0YWNrL2FkbWluL3YyL25ldHdvcmsucHJvdG8SE21ldGFsc3RhY2suYWRtaW4udjIiMwoYTmV0d29ya1NlcnZ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ZUV4dGVybmFsTWVtYmVyUmVzcG9uc2UiCdLzGAEB4PMYAULQAQoXY29tLm1ldGFsc3RhY2suYWRtaW4udjJCDE5ldHdvcmtQcm90b1ABWjlnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FkbWluL3YyO2FkbWludjKiAgNNQViqAhNNZXRhbHN0YWNrLkFkbWluLlYyygITTWV0YWxzdGFja1xBZG1pblxWMuICH01ldGFsc3RhY2tcQWRtaW5cVjJcR1BCTWV0YWRhdGHqAhVNZXRhbHN0YWNrOjpBZG1pbjo6VjJiBnByb3RvMw", [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]);
|
|
13
14
|
/**
|
|
14
15
|
* Describes the message metalstack.admin.v2.NetworkServiceGetRequest.
|
|
15
16
|
* Use `create(NetworkServiceGetRequestSchema)` to create a new message.
|
|
@@ -40,26 +41,56 @@ export const NetworkServiceDeleteRequestSchema = /*@__PURE__*/ messageDesc(file_
|
|
|
40
41
|
* Use `create(NetworkServiceListRequestSchema)` to create a new message.
|
|
41
42
|
*/
|
|
42
43
|
export const NetworkServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network, 5);
|
|
44
|
+
/**
|
|
45
|
+
* Describes the message metalstack.admin.v2.NetworkServiceListExternalMembersRequest.
|
|
46
|
+
* Use `create(NetworkServiceListExternalMembersRequestSchema)` to create a new message.
|
|
47
|
+
*/
|
|
48
|
+
export const NetworkServiceListExternalMembersRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network, 6);
|
|
49
|
+
/**
|
|
50
|
+
* Describes the message metalstack.admin.v2.NetworkServiceAddExternalMemberRequest.
|
|
51
|
+
* Use `create(NetworkServiceAddExternalMemberRequestSchema)` to create a new message.
|
|
52
|
+
*/
|
|
53
|
+
export const NetworkServiceAddExternalMemberRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network, 7);
|
|
54
|
+
/**
|
|
55
|
+
* Describes the message metalstack.admin.v2.NetworkServiceRemoveExternalMemberRequest.
|
|
56
|
+
* Use `create(NetworkServiceRemoveExternalMemberRequestSchema)` to create a new message.
|
|
57
|
+
*/
|
|
58
|
+
export const NetworkServiceRemoveExternalMemberRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network, 8);
|
|
43
59
|
/**
|
|
44
60
|
* Describes the message metalstack.admin.v2.NetworkServiceCreateResponse.
|
|
45
61
|
* Use `create(NetworkServiceCreateResponseSchema)` to create a new message.
|
|
46
62
|
*/
|
|
47
|
-
export const NetworkServiceCreateResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network,
|
|
63
|
+
export const NetworkServiceCreateResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network, 9);
|
|
48
64
|
/**
|
|
49
65
|
* Describes the message metalstack.admin.v2.NetworkServiceUpdateResponse.
|
|
50
66
|
* Use `create(NetworkServiceUpdateResponseSchema)` to create a new message.
|
|
51
67
|
*/
|
|
52
|
-
export const NetworkServiceUpdateResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network,
|
|
68
|
+
export const NetworkServiceUpdateResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network, 10);
|
|
53
69
|
/**
|
|
54
70
|
* Describes the message metalstack.admin.v2.NetworkServiceDeleteResponse.
|
|
55
71
|
* Use `create(NetworkServiceDeleteResponseSchema)` to create a new message.
|
|
56
72
|
*/
|
|
57
|
-
export const NetworkServiceDeleteResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network,
|
|
73
|
+
export const NetworkServiceDeleteResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network, 11);
|
|
58
74
|
/**
|
|
59
75
|
* Describes the message metalstack.admin.v2.NetworkServiceListResponse.
|
|
60
76
|
* Use `create(NetworkServiceListResponseSchema)` to create a new message.
|
|
61
77
|
*/
|
|
62
|
-
export const NetworkServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network,
|
|
78
|
+
export const NetworkServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network, 12);
|
|
79
|
+
/**
|
|
80
|
+
* Describes the message metalstack.admin.v2.NetworkServiceListExternalMembersResponse.
|
|
81
|
+
* Use `create(NetworkServiceListExternalMembersResponseSchema)` to create a new message.
|
|
82
|
+
*/
|
|
83
|
+
export const NetworkServiceListExternalMembersResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network, 13);
|
|
84
|
+
/**
|
|
85
|
+
* Describes the message metalstack.admin.v2.NetworkServiceAddExternalMemberResponse.
|
|
86
|
+
* Use `create(NetworkServiceAddExternalMemberResponseSchema)` to create a new message.
|
|
87
|
+
*/
|
|
88
|
+
export const NetworkServiceAddExternalMemberResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network, 14);
|
|
89
|
+
/**
|
|
90
|
+
* Describes the message metalstack.admin.v2.NetworkServiceRemoveExternalMemberResponse.
|
|
91
|
+
* Use `create(NetworkServiceRemoveExternalMemberResponseSchema)` to create a new message.
|
|
92
|
+
*/
|
|
93
|
+
export const NetworkServiceRemoveExternalMemberResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_network, 15);
|
|
63
94
|
/**
|
|
64
95
|
* NetworkService provides network management operations.
|
|
65
96
|
*
|