@metal-stack/api 0.0.59 → 0.0.61
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/metalstack/admin/v2/audit_pb.d.ts +8 -8
- package/js/metalstack/admin/v2/audit_pb.js +1 -1
- package/js/metalstack/admin/v2/audit_pb.ts +8 -8
- package/js/metalstack/admin/v2/component_pb.d.ts +14 -14
- package/js/metalstack/admin/v2/component_pb.js +1 -1
- package/js/metalstack/admin/v2/component_pb.ts +14 -14
- package/js/metalstack/admin/v2/filesystem_pb.d.ts +15 -15
- package/js/metalstack/admin/v2/filesystem_pb.js +1 -1
- package/js/metalstack/admin/v2/filesystem_pb.ts +15 -15
- package/js/metalstack/admin/v2/image_pb.d.ts +20 -20
- package/js/metalstack/admin/v2/image_pb.js +1 -1
- package/js/metalstack/admin/v2/image_pb.ts +20 -20
- package/js/metalstack/admin/v2/ip_pb.d.ts +6 -6
- package/js/metalstack/admin/v2/ip_pb.js +1 -1
- package/js/metalstack/admin/v2/ip_pb.ts +6 -6
- package/js/metalstack/admin/v2/machine_pb.d.ts +10 -10
- package/js/metalstack/admin/v2/machine_pb.js +1 -1
- package/js/metalstack/admin/v2/machine_pb.ts +10 -10
- package/js/metalstack/admin/v2/network_pb.d.ts +25 -25
- package/js/metalstack/admin/v2/network_pb.js +1 -1
- package/js/metalstack/admin/v2/network_pb.ts +25 -25
- package/js/metalstack/admin/v2/partition_pb.d.ts +10 -11
- package/js/metalstack/admin/v2/partition_pb.js +2 -2
- package/js/metalstack/admin/v2/partition_pb.ts +11 -12
- package/js/metalstack/admin/v2/project_pb.d.ts +7 -7
- package/js/metalstack/admin/v2/project_pb.js +1 -1
- package/js/metalstack/admin/v2/project_pb.ts +7 -7
- package/js/metalstack/admin/v2/size_imageconstraint_pb.d.ts +21 -21
- package/js/metalstack/admin/v2/size_imageconstraint_pb.js +1 -1
- package/js/metalstack/admin/v2/size_imageconstraint_pb.ts +21 -21
- package/js/metalstack/admin/v2/size_pb.d.ts +13 -13
- package/js/metalstack/admin/v2/size_pb.js +1 -1
- package/js/metalstack/admin/v2/size_pb.ts +13 -13
- package/js/metalstack/admin/v2/size_reservation_pb.d.ts +17 -17
- package/js/metalstack/admin/v2/size_reservation_pb.js +1 -1
- package/js/metalstack/admin/v2/size_reservation_pb.ts +17 -17
- package/js/metalstack/admin/v2/switch_pb.d.ts +51 -51
- package/js/metalstack/admin/v2/switch_pb.js +1 -1
- package/js/metalstack/admin/v2/switch_pb.ts +51 -51
- package/js/metalstack/admin/v2/task_pb.d.ts +58 -58
- package/js/metalstack/admin/v2/task_pb.js +10 -10
- package/js/metalstack/admin/v2/task_pb.ts +58 -58
- package/js/metalstack/admin/v2/tenant_pb.d.ts +14 -14
- package/js/metalstack/admin/v2/tenant_pb.js +1 -1
- package/js/metalstack/admin/v2/tenant_pb.ts +14 -14
- package/js/metalstack/admin/v2/token_pb.d.ts +13 -13
- package/js/metalstack/admin/v2/token_pb.js +1 -1
- package/js/metalstack/admin/v2/token_pb.ts +13 -13
- package/js/metalstack/admin/v2/vpn_pb.d.ts +20 -20
- package/js/metalstack/admin/v2/vpn_pb.js +1 -1
- package/js/metalstack/admin/v2/vpn_pb.ts +20 -20
- package/js/metalstack/api/v2/audit_pb.d.ts +14 -14
- package/js/metalstack/api/v2/audit_pb.js +3 -3
- package/js/metalstack/api/v2/audit_pb.ts +14 -14
- package/js/metalstack/api/v2/common_pb.d.ts +2 -2
- package/js/metalstack/api/v2/common_pb.js +4 -3
- package/js/metalstack/api/v2/common_pb.ts +4 -3
- package/js/metalstack/api/v2/filesystem_pb.d.ts +4 -4
- package/js/metalstack/api/v2/filesystem_pb.js +2 -2
- package/js/metalstack/api/v2/filesystem_pb.ts +5 -5
- package/js/metalstack/api/v2/health_pb.d.ts +20 -20
- package/js/metalstack/api/v2/health_pb.js +9 -9
- package/js/metalstack/api/v2/health_pb.ts +20 -20
- package/js/metalstack/api/v2/image_pb.d.ts +10 -4
- package/js/metalstack/api/v2/image_pb.js +2 -2
- package/js/metalstack/api/v2/image_pb.ts +12 -5
- package/js/metalstack/api/v2/ip_pb.d.ts +6 -6
- package/js/metalstack/api/v2/ip_pb.js +1 -1
- package/js/metalstack/api/v2/ip_pb.ts +6 -6
- package/js/metalstack/api/v2/machine_pb.d.ts +35 -58
- package/js/metalstack/api/v2/machine_pb.js +33 -38
- package/js/metalstack/api/v2/machine_pb.ts +63 -91
- package/js/metalstack/api/v2/method_pb.d.ts +11 -11
- package/js/metalstack/api/v2/method_pb.js +3 -3
- package/js/metalstack/api/v2/method_pb.ts +12 -12
- package/js/metalstack/api/v2/network_pb.d.ts +7 -7
- package/js/metalstack/api/v2/network_pb.js +1 -1
- package/js/metalstack/api/v2/network_pb.ts +7 -7
- package/js/metalstack/api/v2/partition_pb.d.ts +3 -3
- package/js/metalstack/api/v2/partition_pb.js +2 -2
- package/js/metalstack/api/v2/partition_pb.ts +4 -4
- package/js/metalstack/api/v2/predefined_rules_pb.d.ts +22 -4
- package/js/metalstack/api/v2/predefined_rules_pb.js +23 -5
- package/js/metalstack/api/v2/predefined_rules_pb.ts +30 -6
- package/js/metalstack/api/v2/project_pb.d.ts +3 -3
- package/js/metalstack/api/v2/project_pb.js +2 -2
- package/js/metalstack/api/v2/project_pb.ts +4 -4
- package/js/metalstack/api/v2/size_imageconstraint_pb.d.ts +2 -2
- package/js/metalstack/api/v2/size_imageconstraint_pb.js +2 -2
- package/js/metalstack/api/v2/size_imageconstraint_pb.ts +3 -3
- package/js/metalstack/api/v2/size_pb.d.ts +3 -3
- package/js/metalstack/api/v2/size_pb.js +2 -2
- package/js/metalstack/api/v2/size_pb.ts +4 -4
- package/js/metalstack/api/v2/size_reservation_pb.d.ts +3 -3
- package/js/metalstack/api/v2/size_reservation_pb.js +1 -1
- package/js/metalstack/api/v2/size_reservation_pb.ts +3 -3
- package/js/metalstack/api/v2/tenant_pb.d.ts +3 -3
- package/js/metalstack/api/v2/tenant_pb.js +2 -2
- package/js/metalstack/api/v2/tenant_pb.ts +4 -4
- package/js/metalstack/api/v2/token_pb.d.ts +7 -7
- package/js/metalstack/api/v2/token_pb.js +2 -2
- package/js/metalstack/api/v2/token_pb.ts +8 -8
- package/js/metalstack/api/v2/user_pb.d.ts +7 -7
- package/js/metalstack/api/v2/user_pb.js +2 -2
- package/js/metalstack/api/v2/user_pb.ts +8 -8
- package/js/metalstack/api/v2/version_pb.d.ts +6 -6
- package/js/metalstack/api/v2/version_pb.js +1 -1
- package/js/metalstack/api/v2/version_pb.ts +6 -6
- package/js/metalstack/api/v2/vpn_pb.d.ts +4 -4
- package/js/metalstack/api/v2/vpn_pb.ts +4 -4
- package/js/metalstack/infra/v2/bmc_pb.d.ts +19 -19
- package/js/metalstack/infra/v2/bmc_pb.js +1 -1
- package/js/metalstack/infra/v2/bmc_pb.ts +19 -19
- package/js/metalstack/infra/v2/boot_pb.d.ts +7 -7
- package/js/metalstack/infra/v2/boot_pb.js +1 -1
- package/js/metalstack/infra/v2/boot_pb.ts +7 -7
- package/js/metalstack/infra/v2/component_pb.d.ts +7 -10
- package/js/metalstack/infra/v2/component_pb.js +1 -1
- package/js/metalstack/infra/v2/component_pb.ts +7 -10
- package/js/metalstack/infra/v2/event_pb.d.ts +22 -22
- package/js/metalstack/infra/v2/event_pb.js +13 -13
- package/js/metalstack/infra/v2/event_pb.ts +22 -22
- package/js/metalstack/infra/v2/switch_pb.d.ts +22 -22
- package/js/metalstack/infra/v2/switch_pb.js +1 -1
- package/js/metalstack/infra/v2/switch_pb.ts +22 -22
- package/package.json +1 -1
|
@@ -23,13 +23,13 @@ export const file_metalstack_admin_v2_switch: GenFile = /*@__PURE__*/
|
|
|
23
23
|
fileDesc("CiBtZXRhbHN0YWNrL2FkbWluL3YyL3N3aXRjaC5wcm90bxITbWV0YWxzdGFjay5hZG1pbi52MiI0ChdTd2l0Y2hTZXJ2aWNlR2V0UmVxdWVzdBIZCgJpZBgBIAEoCUINukgKcgjAs66xAgFoASJFChhTd2l0Y2hT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ChFDb25uZWN0ZWRNYWNoaW5lcxI6Lm1ldGFsc3RhY2suYWRtaW4udjIuU3dpdGNoU2VydmljZUNvbm5lY3RlZE1hY2hpbmVzUmVxdWVzdBo7Lm1ldGFsc3RhY2suYWRtaW4udjIuU3dpdGNoU2VydmljZUNvbm5lY3RlZE1hY2hpbmVzUmVzcG9uc2UiCtLzGAIBAuDzGAJCzwEKF2NvbS5tZXRhbHN0YWNrLmFkbWluLnYyQgtTd2l0Y2hQcm90b1ABWjlnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FkbWluL3YyO2FkbWludjKiAgNNQViqAhNNZXRhbHN0YWNrLkFkbWluLlYyygITTWV0YWxzdGFja1xBZG1pblxWMuICH01ldGFsc3RhY2tcQWRtaW5cVjJcR1BCTWV0YWRhdGHqAhVNZXRhbHN0YWNrOjpBZG1pbjo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_machine, file_metalstack_api_v2_predefined_rules, file_metalstack_api_v2_switch]);
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
|
-
* SwitchServiceGetRequest.
|
|
26
|
+
* SwitchServiceGetRequest is the request payload for getting a switch.
|
|
27
27
|
*
|
|
28
28
|
* @generated from message metalstack.admin.v2.SwitchServiceGetRequest
|
|
29
29
|
*/
|
|
30
30
|
export type SwitchServiceGetRequest = Message<"metalstack.admin.v2.SwitchServiceGetRequest"> & {
|
|
31
31
|
/**
|
|
32
|
-
* Id of the switch to get
|
|
32
|
+
* Id of the switch to get
|
|
33
33
|
*
|
|
34
34
|
* @generated from field: string id = 1;
|
|
35
35
|
*/
|
|
@@ -44,13 +44,13 @@ export const SwitchServiceGetRequestSchema: GenMessage<SwitchServiceGetRequest>
|
|
|
44
44
|
messageDesc(file_metalstack_admin_v2_switch, 0);
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
* SwitchServiceGetResponse.
|
|
47
|
+
* SwitchServiceGetResponse is the response payload for getting a switch.
|
|
48
48
|
*
|
|
49
49
|
* @generated from message metalstack.admin.v2.SwitchServiceGetResponse
|
|
50
50
|
*/
|
|
51
51
|
export type SwitchServiceGetResponse = Message<"metalstack.admin.v2.SwitchServiceGetResponse"> & {
|
|
52
52
|
/**
|
|
53
|
-
* Switch
|
|
53
|
+
* Switch contains the requested switch
|
|
54
54
|
*
|
|
55
55
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
56
56
|
*/
|
|
@@ -65,13 +65,13 @@ export const SwitchServiceGetResponseSchema: GenMessage<SwitchServiceGetResponse
|
|
|
65
65
|
messageDesc(file_metalstack_admin_v2_switch, 1);
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
|
-
* SwitchServiceListRequest.
|
|
68
|
+
* SwitchServiceListRequest is the request payload for listing switches.
|
|
69
69
|
*
|
|
70
70
|
* @generated from message metalstack.admin.v2.SwitchServiceListRequest
|
|
71
71
|
*/
|
|
72
72
|
export type SwitchServiceListRequest = Message<"metalstack.admin.v2.SwitchServiceListRequest"> & {
|
|
73
73
|
/**
|
|
74
|
-
* Query to filter the results
|
|
74
|
+
* Query to filter the results
|
|
75
75
|
*
|
|
76
76
|
* @generated from field: metalstack.api.v2.SwitchQuery query = 1;
|
|
77
77
|
*/
|
|
@@ -86,13 +86,13 @@ export const SwitchServiceListRequestSchema: GenMessage<SwitchServiceListRequest
|
|
|
86
86
|
messageDesc(file_metalstack_admin_v2_switch, 2);
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
|
-
* SwitchServiceListResponse.
|
|
89
|
+
* SwitchServiceListResponse is the response payload for listing switches.
|
|
90
90
|
*
|
|
91
91
|
* @generated from message metalstack.admin.v2.SwitchServiceListResponse
|
|
92
92
|
*/
|
|
93
93
|
export type SwitchServiceListResponse = Message<"metalstack.admin.v2.SwitchServiceListResponse"> & {
|
|
94
94
|
/**
|
|
95
|
-
* Switches that match the request query
|
|
95
|
+
* Switches that match the request query
|
|
96
96
|
*
|
|
97
97
|
* @generated from field: repeated metalstack.api.v2.Switch switches = 1;
|
|
98
98
|
*/
|
|
@@ -107,77 +107,77 @@ export const SwitchServiceListResponseSchema: GenMessage<SwitchServiceListRespon
|
|
|
107
107
|
messageDesc(file_metalstack_admin_v2_switch, 3);
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
|
-
* SwitchServiceUpdateRequest.
|
|
110
|
+
* SwitchServiceUpdateRequest is the request payload for updating a switch.
|
|
111
111
|
*
|
|
112
112
|
* @generated from message metalstack.admin.v2.SwitchServiceUpdateRequest
|
|
113
113
|
*/
|
|
114
114
|
export type SwitchServiceUpdateRequest = Message<"metalstack.admin.v2.SwitchServiceUpdateRequest"> & {
|
|
115
115
|
/**
|
|
116
|
-
* ID of the switch
|
|
116
|
+
* ID of the switch
|
|
117
117
|
*
|
|
118
118
|
* @generated from field: string id = 1;
|
|
119
119
|
*/
|
|
120
120
|
id: string;
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
|
-
* UpdateMeta contains the timestamp and strategy to be used in this update request
|
|
123
|
+
* UpdateMeta contains the timestamp and strategy to be used in this update request
|
|
124
124
|
*
|
|
125
125
|
* @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
|
|
126
126
|
*/
|
|
127
127
|
updateMeta?: UpdateMeta;
|
|
128
128
|
|
|
129
129
|
/**
|
|
130
|
-
* UpdatedAt is the date when this entity was updated
|
|
131
|
-
*
|
|
130
|
+
* UpdatedAt is the date when this entity was updated
|
|
131
|
+
* Must be part of the update request to ensure optimistic locking
|
|
132
132
|
*
|
|
133
133
|
* @generated from field: google.protobuf.Timestamp updated_at = 3;
|
|
134
134
|
*/
|
|
135
135
|
updatedAt?: Timestamp;
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
|
-
* Description of the switch
|
|
138
|
+
* Description of the switch
|
|
139
139
|
*
|
|
140
140
|
* @generated from field: optional string description = 4;
|
|
141
141
|
*/
|
|
142
142
|
description?: string;
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
|
-
*
|
|
145
|
+
* ReplaceMode is used to mark a switch ready for replacement
|
|
146
146
|
*
|
|
147
147
|
* @generated from field: optional metalstack.api.v2.SwitchReplaceMode replace_mode = 5;
|
|
148
148
|
*/
|
|
149
149
|
replaceMode?: SwitchReplaceMode;
|
|
150
150
|
|
|
151
151
|
/**
|
|
152
|
-
*
|
|
152
|
+
* ManagementIp is the switch's IP for management access
|
|
153
153
|
*
|
|
154
154
|
* @generated from field: optional string management_ip = 6;
|
|
155
155
|
*/
|
|
156
156
|
managementIp?: string;
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
|
-
*
|
|
159
|
+
* ManagementUser is the user name to use for management access
|
|
160
160
|
*
|
|
161
161
|
* @generated from field: optional string management_user = 7;
|
|
162
162
|
*/
|
|
163
163
|
managementUser?: string;
|
|
164
164
|
|
|
165
165
|
/**
|
|
166
|
-
*
|
|
166
|
+
* ConsoleCommand is the command for accessing the switch's console
|
|
167
167
|
*
|
|
168
168
|
* @generated from field: optional string console_command = 8;
|
|
169
169
|
*/
|
|
170
170
|
consoleCommand?: string;
|
|
171
171
|
|
|
172
172
|
/**
|
|
173
|
-
* Nics are the front panel ports of the switch
|
|
173
|
+
* Nics are the front panel ports of the switch
|
|
174
174
|
*
|
|
175
175
|
* @generated from field: repeated metalstack.api.v2.SwitchNic nics = 9;
|
|
176
176
|
*/
|
|
177
177
|
nics: SwitchNic[];
|
|
178
178
|
|
|
179
179
|
/**
|
|
180
|
-
* SwitchOs is the OS running on the switch
|
|
180
|
+
* SwitchOs is the OS running on the switch
|
|
181
181
|
*
|
|
182
182
|
* @generated from field: optional metalstack.api.v2.SwitchOS os = 10;
|
|
183
183
|
*/
|
|
@@ -192,13 +192,13 @@ export const SwitchServiceUpdateRequestSchema: GenMessage<SwitchServiceUpdateReq
|
|
|
192
192
|
messageDesc(file_metalstack_admin_v2_switch, 4);
|
|
193
193
|
|
|
194
194
|
/**
|
|
195
|
-
* SwitchServiceUpdateResponse.
|
|
195
|
+
* SwitchServiceUpdateResponse is the response payload for updating a switch.
|
|
196
196
|
*
|
|
197
197
|
* @generated from message metalstack.admin.v2.SwitchServiceUpdateResponse
|
|
198
198
|
*/
|
|
199
199
|
export type SwitchServiceUpdateResponse = Message<"metalstack.admin.v2.SwitchServiceUpdateResponse"> & {
|
|
200
200
|
/**
|
|
201
|
-
* Switch
|
|
201
|
+
* Switch contains the updated switch
|
|
202
202
|
*
|
|
203
203
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
204
204
|
*/
|
|
@@ -213,20 +213,20 @@ export const SwitchServiceUpdateResponseSchema: GenMessage<SwitchServiceUpdateRe
|
|
|
213
213
|
messageDesc(file_metalstack_admin_v2_switch, 5);
|
|
214
214
|
|
|
215
215
|
/**
|
|
216
|
-
* SwitchServiceDeleteRequest.
|
|
216
|
+
* SwitchServiceDeleteRequest is the request payload for deleting a switch.
|
|
217
217
|
*
|
|
218
218
|
* @generated from message metalstack.admin.v2.SwitchServiceDeleteRequest
|
|
219
219
|
*/
|
|
220
220
|
export type SwitchServiceDeleteRequest = Message<"metalstack.admin.v2.SwitchServiceDeleteRequest"> & {
|
|
221
221
|
/**
|
|
222
|
-
* Id of the switch
|
|
222
|
+
* Id of the switch
|
|
223
223
|
*
|
|
224
224
|
* @generated from field: string id = 1;
|
|
225
225
|
*/
|
|
226
226
|
id: string;
|
|
227
227
|
|
|
228
228
|
/**
|
|
229
|
-
* Force will allow switch deletion despite existing machine connections
|
|
229
|
+
* Force will allow switch deletion despite existing machine connections
|
|
230
230
|
*
|
|
231
231
|
* @generated from field: bool force = 2;
|
|
232
232
|
*/
|
|
@@ -241,13 +241,13 @@ export const SwitchServiceDeleteRequestSchema: GenMessage<SwitchServiceDeleteReq
|
|
|
241
241
|
messageDesc(file_metalstack_admin_v2_switch, 6);
|
|
242
242
|
|
|
243
243
|
/**
|
|
244
|
-
* SwitchServiceDeleteResponse.
|
|
244
|
+
* SwitchServiceDeleteResponse is the response payload for deleting a switch.
|
|
245
245
|
*
|
|
246
246
|
* @generated from message metalstack.admin.v2.SwitchServiceDeleteResponse
|
|
247
247
|
*/
|
|
248
248
|
export type SwitchServiceDeleteResponse = Message<"metalstack.admin.v2.SwitchServiceDeleteResponse"> & {
|
|
249
249
|
/**
|
|
250
|
-
* Switch
|
|
250
|
+
* Switch contains the deleted switch
|
|
251
251
|
*
|
|
252
252
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
253
253
|
*/
|
|
@@ -262,20 +262,20 @@ export const SwitchServiceDeleteResponseSchema: GenMessage<SwitchServiceDeleteRe
|
|
|
262
262
|
messageDesc(file_metalstack_admin_v2_switch, 7);
|
|
263
263
|
|
|
264
264
|
/**
|
|
265
|
-
* SwitchServiceMigrateRequest.
|
|
265
|
+
* SwitchServiceMigrateRequest is the request payload for migrating a switch.
|
|
266
266
|
*
|
|
267
267
|
* @generated from message metalstack.admin.v2.SwitchServiceMigrateRequest
|
|
268
268
|
*/
|
|
269
269
|
export type SwitchServiceMigrateRequest = Message<"metalstack.admin.v2.SwitchServiceMigrateRequest"> & {
|
|
270
270
|
/**
|
|
271
|
-
* OldSwitch
|
|
271
|
+
* OldSwitch is the switch to migrate away from
|
|
272
272
|
*
|
|
273
273
|
* @generated from field: string old_switch = 1;
|
|
274
274
|
*/
|
|
275
275
|
oldSwitch: string;
|
|
276
276
|
|
|
277
277
|
/**
|
|
278
|
-
* NewSwitch
|
|
278
|
+
* NewSwitch is the switch to migrate to
|
|
279
279
|
*
|
|
280
280
|
* @generated from field: string new_switch = 2;
|
|
281
281
|
*/
|
|
@@ -290,13 +290,13 @@ export const SwitchServiceMigrateRequestSchema: GenMessage<SwitchServiceMigrateR
|
|
|
290
290
|
messageDesc(file_metalstack_admin_v2_switch, 8);
|
|
291
291
|
|
|
292
292
|
/**
|
|
293
|
-
* SwitchServiceMigrateResponse.
|
|
293
|
+
* SwitchServiceMigrateResponse is the response payload for migrating a switch.
|
|
294
294
|
*
|
|
295
295
|
* @generated from message metalstack.admin.v2.SwitchServiceMigrateResponse
|
|
296
296
|
*/
|
|
297
297
|
export type SwitchServiceMigrateResponse = Message<"metalstack.admin.v2.SwitchServiceMigrateResponse"> & {
|
|
298
298
|
/**
|
|
299
|
-
* Switch
|
|
299
|
+
* Switch contains the switch was migrated to
|
|
300
300
|
*
|
|
301
301
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
302
302
|
*/
|
|
@@ -311,27 +311,27 @@ export const SwitchServiceMigrateResponseSchema: GenMessage<SwitchServiceMigrate
|
|
|
311
311
|
messageDesc(file_metalstack_admin_v2_switch, 9);
|
|
312
312
|
|
|
313
313
|
/**
|
|
314
|
-
* SwitchServicePortRequest.
|
|
314
|
+
* SwitchServicePortRequest is the request payload for setting the port status of a switch port.
|
|
315
315
|
*
|
|
316
316
|
* @generated from message metalstack.admin.v2.SwitchServicePortRequest
|
|
317
317
|
*/
|
|
318
318
|
export type SwitchServicePortRequest = Message<"metalstack.admin.v2.SwitchServicePortRequest"> & {
|
|
319
319
|
/**
|
|
320
|
-
* Id of the switch
|
|
320
|
+
* Id of the switch
|
|
321
321
|
*
|
|
322
322
|
* @generated from field: string id = 1;
|
|
323
323
|
*/
|
|
324
324
|
id: string;
|
|
325
325
|
|
|
326
326
|
/**
|
|
327
|
-
* NicName of the port whose status should be changed
|
|
327
|
+
* NicName of the port whose status should be changed
|
|
328
328
|
*
|
|
329
329
|
* @generated from field: string nic_name = 2;
|
|
330
330
|
*/
|
|
331
331
|
nicName: string;
|
|
332
332
|
|
|
333
333
|
/**
|
|
334
|
-
* Status that the port should have
|
|
334
|
+
* Status that the port should have
|
|
335
335
|
*
|
|
336
336
|
* @generated from field: metalstack.api.v2.SwitchPortStatus status = 3;
|
|
337
337
|
*/
|
|
@@ -346,13 +346,13 @@ export const SwitchServicePortRequestSchema: GenMessage<SwitchServicePortRequest
|
|
|
346
346
|
messageDesc(file_metalstack_admin_v2_switch, 10);
|
|
347
347
|
|
|
348
348
|
/**
|
|
349
|
-
* SwitchServicePortResponse.
|
|
349
|
+
* SwitchServicePortResponse is the response payload for setting the port status of a switch port.
|
|
350
350
|
*
|
|
351
351
|
* @generated from message metalstack.admin.v2.SwitchServicePortResponse
|
|
352
352
|
*/
|
|
353
353
|
export type SwitchServicePortResponse = Message<"metalstack.admin.v2.SwitchServicePortResponse"> & {
|
|
354
354
|
/**
|
|
355
|
-
* Switch after the port status toggle
|
|
355
|
+
* Switch after the port status toggle
|
|
356
356
|
*
|
|
357
357
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
358
358
|
*/
|
|
@@ -367,20 +367,20 @@ export const SwitchServicePortResponseSchema: GenMessage<SwitchServicePortRespon
|
|
|
367
367
|
messageDesc(file_metalstack_admin_v2_switch, 11);
|
|
368
368
|
|
|
369
369
|
/**
|
|
370
|
-
* SwitchServiceConnectedMachinesRequest.
|
|
370
|
+
* SwitchServiceConnectedMachinesRequest is the request payload for listing switches with machine connections.
|
|
371
371
|
*
|
|
372
372
|
* @generated from message metalstack.admin.v2.SwitchServiceConnectedMachinesRequest
|
|
373
373
|
*/
|
|
374
374
|
export type SwitchServiceConnectedMachinesRequest = Message<"metalstack.admin.v2.SwitchServiceConnectedMachinesRequest"> & {
|
|
375
375
|
/**
|
|
376
|
-
* Query to filter the switch results
|
|
376
|
+
* Query to filter the switch results
|
|
377
377
|
*
|
|
378
378
|
* @generated from field: metalstack.api.v2.SwitchQuery query = 1;
|
|
379
379
|
*/
|
|
380
380
|
query?: SwitchQuery;
|
|
381
381
|
|
|
382
382
|
/**
|
|
383
|
-
* MachineQuery to filter the machine results
|
|
383
|
+
* MachineQuery to filter the machine results
|
|
384
384
|
*
|
|
385
385
|
* @generated from field: metalstack.api.v2.MachineQuery machine_query = 2;
|
|
386
386
|
*/
|
|
@@ -395,13 +395,13 @@ export const SwitchServiceConnectedMachinesRequestSchema: GenMessage<SwitchServi
|
|
|
395
395
|
messageDesc(file_metalstack_admin_v2_switch, 12);
|
|
396
396
|
|
|
397
397
|
/**
|
|
398
|
-
* SwitchServiceConnectedMachinesResponse.
|
|
398
|
+
* SwitchServiceConnectedMachinesResponse is the response payload for listing switches with machine connections.
|
|
399
399
|
*
|
|
400
400
|
* @generated from message metalstack.admin.v2.SwitchServiceConnectedMachinesResponse
|
|
401
401
|
*/
|
|
402
402
|
export type SwitchServiceConnectedMachinesResponse = Message<"metalstack.admin.v2.SwitchServiceConnectedMachinesResponse"> & {
|
|
403
403
|
/**
|
|
404
|
-
* SwitchesWithMachines contains all switches with their machine connections
|
|
404
|
+
* SwitchesWithMachines contains all switches with their machine connections
|
|
405
405
|
*
|
|
406
406
|
* @generated from field: repeated metalstack.api.v2.SwitchWithMachines switches_with_machines = 1;
|
|
407
407
|
*/
|
|
@@ -416,13 +416,13 @@ export const SwitchServiceConnectedMachinesResponseSchema: GenMessage<SwitchServ
|
|
|
416
416
|
messageDesc(file_metalstack_admin_v2_switch, 13);
|
|
417
417
|
|
|
418
418
|
/**
|
|
419
|
-
* SwitchService
|
|
419
|
+
* SwitchService provides switch management operations.
|
|
420
420
|
*
|
|
421
421
|
* @generated from service metalstack.admin.v2.SwitchService
|
|
422
422
|
*/
|
|
423
423
|
export const SwitchService: GenService<{
|
|
424
424
|
/**
|
|
425
|
-
*
|
|
425
|
+
* Returns the switch with the specified ID.
|
|
426
426
|
*
|
|
427
427
|
* @generated from rpc metalstack.admin.v2.SwitchService.Get
|
|
428
428
|
*/
|
|
@@ -432,7 +432,7 @@ export const SwitchService: GenService<{
|
|
|
432
432
|
output: typeof SwitchServiceGetResponseSchema;
|
|
433
433
|
},
|
|
434
434
|
/**
|
|
435
|
-
*
|
|
435
|
+
* Returns the list of switches.
|
|
436
436
|
*
|
|
437
437
|
* @generated from rpc metalstack.admin.v2.SwitchService.List
|
|
438
438
|
*/
|
|
@@ -442,7 +442,7 @@ export const SwitchService: GenService<{
|
|
|
442
442
|
output: typeof SwitchServiceListResponseSchema;
|
|
443
443
|
},
|
|
444
444
|
/**
|
|
445
|
-
*
|
|
445
|
+
* Updates a switch.
|
|
446
446
|
*
|
|
447
447
|
* @generated from rpc metalstack.admin.v2.SwitchService.Update
|
|
448
448
|
*/
|
|
@@ -452,7 +452,7 @@ export const SwitchService: GenService<{
|
|
|
452
452
|
output: typeof SwitchServiceUpdateResponseSchema;
|
|
453
453
|
},
|
|
454
454
|
/**
|
|
455
|
-
*
|
|
455
|
+
* Deletes a switch.
|
|
456
456
|
*
|
|
457
457
|
* @generated from rpc metalstack.admin.v2.SwitchService.Delete
|
|
458
458
|
*/
|
|
@@ -462,7 +462,7 @@ export const SwitchService: GenService<{
|
|
|
462
462
|
output: typeof SwitchServiceDeleteResponseSchema;
|
|
463
463
|
},
|
|
464
464
|
/**
|
|
465
|
-
*
|
|
465
|
+
* Migrates a switch.
|
|
466
466
|
*
|
|
467
467
|
* @generated from rpc metalstack.admin.v2.SwitchService.Migrate
|
|
468
468
|
*/
|
|
@@ -472,7 +472,7 @@ export const SwitchService: GenService<{
|
|
|
472
472
|
output: typeof SwitchServiceMigrateResponseSchema;
|
|
473
473
|
},
|
|
474
474
|
/**
|
|
475
|
-
*
|
|
475
|
+
* Sets the port status of a switch port.
|
|
476
476
|
*
|
|
477
477
|
* @generated from rpc metalstack.admin.v2.SwitchService.Port
|
|
478
478
|
*/
|
|
@@ -482,7 +482,7 @@ export const SwitchService: GenService<{
|
|
|
482
482
|
output: typeof SwitchServicePortResponseSchema;
|
|
483
483
|
},
|
|
484
484
|
/**
|
|
485
|
-
*
|
|
485
|
+
* Returns all switches with their machine connections.
|
|
486
486
|
*
|
|
487
487
|
* @generated from rpc metalstack.admin.v2.SwitchService.ConnectedMachines
|
|
488
488
|
*/
|