@metal-stack/api 0.0.58 → 0.0.60
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 +30 -30
- package/js/metalstack/admin/v2/network_pb.js +2 -2
- package/js/metalstack/admin/v2/network_pb.ts +31 -31
- 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 +15 -15
- package/js/metalstack/admin/v2/tenant_pb.js +2 -2
- package/js/metalstack/admin/v2/tenant_pb.ts +16 -16
- 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/filesystem_pb.d.ts +4 -4
- package/js/metalstack/api/v2/filesystem_pb.js +1 -1
- package/js/metalstack/api/v2/filesystem_pb.ts +4 -4
- 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 +18 -18
- package/js/metalstack/api/v2/machine_pb.js +2 -2
- package/js/metalstack/api/v2/machine_pb.ts +19 -19
- package/js/metalstack/api/v2/method_pb.d.ts +16 -16
- package/js/metalstack/api/v2/method_pb.js +3 -3
- package/js/metalstack/api/v2/method_pb.ts +17 -17
- 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 +18 -0
- package/js/metalstack/api/v2/predefined_rules_pb.js +21 -3
- package/js/metalstack/api/v2/predefined_rules_pb.ts +27 -3
- package/js/metalstack/api/v2/project_pb.d.ts +8 -8
- package/js/metalstack/api/v2/project_pb.js +2 -2
- package/js/metalstack/api/v2/project_pb.ts +9 -9
- package/js/metalstack/api/v2/size_imageconstraint_pb.d.ts +2 -2
- package/js/metalstack/api/v2/size_imageconstraint_pb.js +1 -1
- package/js/metalstack/api/v2/size_imageconstraint_pb.ts +2 -2
- package/js/metalstack/api/v2/size_pb.d.ts +6 -6
- package/js/metalstack/api/v2/size_pb.js +2 -2
- package/js/metalstack/api/v2/size_pb.ts +7 -7
- 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 +8 -8
- package/js/metalstack/api/v2/tenant_pb.js +2 -2
- package/js/metalstack/api/v2/tenant_pb.ts +9 -9
- package/js/metalstack/api/v2/token_pb.d.ts +15 -15
- package/js/metalstack/api/v2/token_pb.js +2 -2
- package/js/metalstack/api/v2/token_pb.ts +16 -16
- package/js/metalstack/api/v2/user_pb.d.ts +11 -11
- package/js/metalstack/api/v2/user_pb.js +2 -2
- package/js/metalstack/api/v2/user_pb.ts +12 -12
- 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
|
@@ -9,13 +9,13 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare const file_metalstack_admin_v2_switch: GenFile;
|
|
11
11
|
/**
|
|
12
|
-
* SwitchServiceGetRequest.
|
|
12
|
+
* SwitchServiceGetRequest is the request payload for getting a switch.
|
|
13
13
|
*
|
|
14
14
|
* @generated from message metalstack.admin.v2.SwitchServiceGetRequest
|
|
15
15
|
*/
|
|
16
16
|
export type SwitchServiceGetRequest = Message<"metalstack.admin.v2.SwitchServiceGetRequest"> & {
|
|
17
17
|
/**
|
|
18
|
-
* Id of the switch to get
|
|
18
|
+
* Id of the switch to get
|
|
19
19
|
*
|
|
20
20
|
* @generated from field: string id = 1;
|
|
21
21
|
*/
|
|
@@ -27,13 +27,13 @@ export type SwitchServiceGetRequest = Message<"metalstack.admin.v2.SwitchService
|
|
|
27
27
|
*/
|
|
28
28
|
export declare const SwitchServiceGetRequestSchema: GenMessage<SwitchServiceGetRequest>;
|
|
29
29
|
/**
|
|
30
|
-
* SwitchServiceGetResponse.
|
|
30
|
+
* SwitchServiceGetResponse is the response payload for getting a switch.
|
|
31
31
|
*
|
|
32
32
|
* @generated from message metalstack.admin.v2.SwitchServiceGetResponse
|
|
33
33
|
*/
|
|
34
34
|
export type SwitchServiceGetResponse = Message<"metalstack.admin.v2.SwitchServiceGetResponse"> & {
|
|
35
35
|
/**
|
|
36
|
-
* Switch
|
|
36
|
+
* Switch contains the requested switch
|
|
37
37
|
*
|
|
38
38
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
39
39
|
*/
|
|
@@ -45,13 +45,13 @@ export type SwitchServiceGetResponse = Message<"metalstack.admin.v2.SwitchServic
|
|
|
45
45
|
*/
|
|
46
46
|
export declare const SwitchServiceGetResponseSchema: GenMessage<SwitchServiceGetResponse>;
|
|
47
47
|
/**
|
|
48
|
-
* SwitchServiceListRequest.
|
|
48
|
+
* SwitchServiceListRequest is the request payload for listing switches.
|
|
49
49
|
*
|
|
50
50
|
* @generated from message metalstack.admin.v2.SwitchServiceListRequest
|
|
51
51
|
*/
|
|
52
52
|
export type SwitchServiceListRequest = Message<"metalstack.admin.v2.SwitchServiceListRequest"> & {
|
|
53
53
|
/**
|
|
54
|
-
* Query to filter the results
|
|
54
|
+
* Query to filter the results
|
|
55
55
|
*
|
|
56
56
|
* @generated from field: metalstack.api.v2.SwitchQuery query = 1;
|
|
57
57
|
*/
|
|
@@ -63,13 +63,13 @@ export type SwitchServiceListRequest = Message<"metalstack.admin.v2.SwitchServic
|
|
|
63
63
|
*/
|
|
64
64
|
export declare const SwitchServiceListRequestSchema: GenMessage<SwitchServiceListRequest>;
|
|
65
65
|
/**
|
|
66
|
-
* SwitchServiceListResponse.
|
|
66
|
+
* SwitchServiceListResponse is the response payload for listing switches.
|
|
67
67
|
*
|
|
68
68
|
* @generated from message metalstack.admin.v2.SwitchServiceListResponse
|
|
69
69
|
*/
|
|
70
70
|
export type SwitchServiceListResponse = Message<"metalstack.admin.v2.SwitchServiceListResponse"> & {
|
|
71
71
|
/**
|
|
72
|
-
* Switches that match the request query
|
|
72
|
+
* Switches that match the request query
|
|
73
73
|
*
|
|
74
74
|
* @generated from field: repeated metalstack.api.v2.Switch switches = 1;
|
|
75
75
|
*/
|
|
@@ -81,68 +81,68 @@ export type SwitchServiceListResponse = Message<"metalstack.admin.v2.SwitchServi
|
|
|
81
81
|
*/
|
|
82
82
|
export declare const SwitchServiceListResponseSchema: GenMessage<SwitchServiceListResponse>;
|
|
83
83
|
/**
|
|
84
|
-
* SwitchServiceUpdateRequest.
|
|
84
|
+
* SwitchServiceUpdateRequest is the request payload for updating a switch.
|
|
85
85
|
*
|
|
86
86
|
* @generated from message metalstack.admin.v2.SwitchServiceUpdateRequest
|
|
87
87
|
*/
|
|
88
88
|
export type SwitchServiceUpdateRequest = Message<"metalstack.admin.v2.SwitchServiceUpdateRequest"> & {
|
|
89
89
|
/**
|
|
90
|
-
* ID of the switch
|
|
90
|
+
* ID of the switch
|
|
91
91
|
*
|
|
92
92
|
* @generated from field: string id = 1;
|
|
93
93
|
*/
|
|
94
94
|
id: string;
|
|
95
95
|
/**
|
|
96
|
-
* UpdateMeta contains the timestamp and strategy to be used in this update request
|
|
96
|
+
* UpdateMeta contains the timestamp and strategy to be used in this update request
|
|
97
97
|
*
|
|
98
98
|
* @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
|
|
99
99
|
*/
|
|
100
100
|
updateMeta?: UpdateMeta;
|
|
101
101
|
/**
|
|
102
|
-
* UpdatedAt is the date when this entity was updated
|
|
103
|
-
*
|
|
102
|
+
* UpdatedAt is the date when this entity was updated
|
|
103
|
+
* Must be part of the update request to ensure optimistic locking
|
|
104
104
|
*
|
|
105
105
|
* @generated from field: google.protobuf.Timestamp updated_at = 3;
|
|
106
106
|
*/
|
|
107
107
|
updatedAt?: Timestamp;
|
|
108
108
|
/**
|
|
109
|
-
* Description of the switch
|
|
109
|
+
* Description of the switch
|
|
110
110
|
*
|
|
111
111
|
* @generated from field: optional string description = 4;
|
|
112
112
|
*/
|
|
113
113
|
description?: string;
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* ReplaceMode is used to mark a switch ready for replacement
|
|
116
116
|
*
|
|
117
117
|
* @generated from field: optional metalstack.api.v2.SwitchReplaceMode replace_mode = 5;
|
|
118
118
|
*/
|
|
119
119
|
replaceMode?: SwitchReplaceMode;
|
|
120
120
|
/**
|
|
121
|
-
*
|
|
121
|
+
* ManagementIp is the switch's IP for management access
|
|
122
122
|
*
|
|
123
123
|
* @generated from field: optional string management_ip = 6;
|
|
124
124
|
*/
|
|
125
125
|
managementIp?: string;
|
|
126
126
|
/**
|
|
127
|
-
*
|
|
127
|
+
* ManagementUser is the user name to use for management access
|
|
128
128
|
*
|
|
129
129
|
* @generated from field: optional string management_user = 7;
|
|
130
130
|
*/
|
|
131
131
|
managementUser?: string;
|
|
132
132
|
/**
|
|
133
|
-
*
|
|
133
|
+
* ConsoleCommand is the command for accessing the switch's console
|
|
134
134
|
*
|
|
135
135
|
* @generated from field: optional string console_command = 8;
|
|
136
136
|
*/
|
|
137
137
|
consoleCommand?: string;
|
|
138
138
|
/**
|
|
139
|
-
* Nics are the front panel ports of the switch
|
|
139
|
+
* Nics are the front panel ports of the switch
|
|
140
140
|
*
|
|
141
141
|
* @generated from field: repeated metalstack.api.v2.SwitchNic nics = 9;
|
|
142
142
|
*/
|
|
143
143
|
nics: SwitchNic[];
|
|
144
144
|
/**
|
|
145
|
-
* SwitchOs is the OS running on the switch
|
|
145
|
+
* SwitchOs is the OS running on the switch
|
|
146
146
|
*
|
|
147
147
|
* @generated from field: optional metalstack.api.v2.SwitchOS os = 10;
|
|
148
148
|
*/
|
|
@@ -154,13 +154,13 @@ export type SwitchServiceUpdateRequest = Message<"metalstack.admin.v2.SwitchServ
|
|
|
154
154
|
*/
|
|
155
155
|
export declare const SwitchServiceUpdateRequestSchema: GenMessage<SwitchServiceUpdateRequest>;
|
|
156
156
|
/**
|
|
157
|
-
* SwitchServiceUpdateResponse.
|
|
157
|
+
* SwitchServiceUpdateResponse is the response payload for updating a switch.
|
|
158
158
|
*
|
|
159
159
|
* @generated from message metalstack.admin.v2.SwitchServiceUpdateResponse
|
|
160
160
|
*/
|
|
161
161
|
export type SwitchServiceUpdateResponse = Message<"metalstack.admin.v2.SwitchServiceUpdateResponse"> & {
|
|
162
162
|
/**
|
|
163
|
-
* Switch
|
|
163
|
+
* Switch contains the updated switch
|
|
164
164
|
*
|
|
165
165
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
166
166
|
*/
|
|
@@ -172,19 +172,19 @@ export type SwitchServiceUpdateResponse = Message<"metalstack.admin.v2.SwitchSer
|
|
|
172
172
|
*/
|
|
173
173
|
export declare const SwitchServiceUpdateResponseSchema: GenMessage<SwitchServiceUpdateResponse>;
|
|
174
174
|
/**
|
|
175
|
-
* SwitchServiceDeleteRequest.
|
|
175
|
+
* SwitchServiceDeleteRequest is the request payload for deleting a switch.
|
|
176
176
|
*
|
|
177
177
|
* @generated from message metalstack.admin.v2.SwitchServiceDeleteRequest
|
|
178
178
|
*/
|
|
179
179
|
export type SwitchServiceDeleteRequest = Message<"metalstack.admin.v2.SwitchServiceDeleteRequest"> & {
|
|
180
180
|
/**
|
|
181
|
-
* Id of the switch
|
|
181
|
+
* Id of the switch
|
|
182
182
|
*
|
|
183
183
|
* @generated from field: string id = 1;
|
|
184
184
|
*/
|
|
185
185
|
id: string;
|
|
186
186
|
/**
|
|
187
|
-
* Force will allow switch deletion despite existing machine connections
|
|
187
|
+
* Force will allow switch deletion despite existing machine connections
|
|
188
188
|
*
|
|
189
189
|
* @generated from field: bool force = 2;
|
|
190
190
|
*/
|
|
@@ -196,13 +196,13 @@ export type SwitchServiceDeleteRequest = Message<"metalstack.admin.v2.SwitchServ
|
|
|
196
196
|
*/
|
|
197
197
|
export declare const SwitchServiceDeleteRequestSchema: GenMessage<SwitchServiceDeleteRequest>;
|
|
198
198
|
/**
|
|
199
|
-
* SwitchServiceDeleteResponse.
|
|
199
|
+
* SwitchServiceDeleteResponse is the response payload for deleting a switch.
|
|
200
200
|
*
|
|
201
201
|
* @generated from message metalstack.admin.v2.SwitchServiceDeleteResponse
|
|
202
202
|
*/
|
|
203
203
|
export type SwitchServiceDeleteResponse = Message<"metalstack.admin.v2.SwitchServiceDeleteResponse"> & {
|
|
204
204
|
/**
|
|
205
|
-
* Switch
|
|
205
|
+
* Switch contains the deleted switch
|
|
206
206
|
*
|
|
207
207
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
208
208
|
*/
|
|
@@ -214,19 +214,19 @@ export type SwitchServiceDeleteResponse = Message<"metalstack.admin.v2.SwitchSer
|
|
|
214
214
|
*/
|
|
215
215
|
export declare const SwitchServiceDeleteResponseSchema: GenMessage<SwitchServiceDeleteResponse>;
|
|
216
216
|
/**
|
|
217
|
-
* SwitchServiceMigrateRequest.
|
|
217
|
+
* SwitchServiceMigrateRequest is the request payload for migrating a switch.
|
|
218
218
|
*
|
|
219
219
|
* @generated from message metalstack.admin.v2.SwitchServiceMigrateRequest
|
|
220
220
|
*/
|
|
221
221
|
export type SwitchServiceMigrateRequest = Message<"metalstack.admin.v2.SwitchServiceMigrateRequest"> & {
|
|
222
222
|
/**
|
|
223
|
-
* OldSwitch
|
|
223
|
+
* OldSwitch is the switch to migrate away from
|
|
224
224
|
*
|
|
225
225
|
* @generated from field: string old_switch = 1;
|
|
226
226
|
*/
|
|
227
227
|
oldSwitch: string;
|
|
228
228
|
/**
|
|
229
|
-
* NewSwitch
|
|
229
|
+
* NewSwitch is the switch to migrate to
|
|
230
230
|
*
|
|
231
231
|
* @generated from field: string new_switch = 2;
|
|
232
232
|
*/
|
|
@@ -238,13 +238,13 @@ export type SwitchServiceMigrateRequest = Message<"metalstack.admin.v2.SwitchSer
|
|
|
238
238
|
*/
|
|
239
239
|
export declare const SwitchServiceMigrateRequestSchema: GenMessage<SwitchServiceMigrateRequest>;
|
|
240
240
|
/**
|
|
241
|
-
* SwitchServiceMigrateResponse.
|
|
241
|
+
* SwitchServiceMigrateResponse is the response payload for migrating a switch.
|
|
242
242
|
*
|
|
243
243
|
* @generated from message metalstack.admin.v2.SwitchServiceMigrateResponse
|
|
244
244
|
*/
|
|
245
245
|
export type SwitchServiceMigrateResponse = Message<"metalstack.admin.v2.SwitchServiceMigrateResponse"> & {
|
|
246
246
|
/**
|
|
247
|
-
* Switch
|
|
247
|
+
* Switch contains the switch was migrated to
|
|
248
248
|
*
|
|
249
249
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
250
250
|
*/
|
|
@@ -256,25 +256,25 @@ export type SwitchServiceMigrateResponse = Message<"metalstack.admin.v2.SwitchSe
|
|
|
256
256
|
*/
|
|
257
257
|
export declare const SwitchServiceMigrateResponseSchema: GenMessage<SwitchServiceMigrateResponse>;
|
|
258
258
|
/**
|
|
259
|
-
* SwitchServicePortRequest.
|
|
259
|
+
* SwitchServicePortRequest is the request payload for setting the port status of a switch port.
|
|
260
260
|
*
|
|
261
261
|
* @generated from message metalstack.admin.v2.SwitchServicePortRequest
|
|
262
262
|
*/
|
|
263
263
|
export type SwitchServicePortRequest = Message<"metalstack.admin.v2.SwitchServicePortRequest"> & {
|
|
264
264
|
/**
|
|
265
|
-
* Id of the switch
|
|
265
|
+
* Id of the switch
|
|
266
266
|
*
|
|
267
267
|
* @generated from field: string id = 1;
|
|
268
268
|
*/
|
|
269
269
|
id: string;
|
|
270
270
|
/**
|
|
271
|
-
* NicName of the port whose status should be changed
|
|
271
|
+
* NicName of the port whose status should be changed
|
|
272
272
|
*
|
|
273
273
|
* @generated from field: string nic_name = 2;
|
|
274
274
|
*/
|
|
275
275
|
nicName: string;
|
|
276
276
|
/**
|
|
277
|
-
* Status that the port should have
|
|
277
|
+
* Status that the port should have
|
|
278
278
|
*
|
|
279
279
|
* @generated from field: metalstack.api.v2.SwitchPortStatus status = 3;
|
|
280
280
|
*/
|
|
@@ -286,13 +286,13 @@ export type SwitchServicePortRequest = Message<"metalstack.admin.v2.SwitchServic
|
|
|
286
286
|
*/
|
|
287
287
|
export declare const SwitchServicePortRequestSchema: GenMessage<SwitchServicePortRequest>;
|
|
288
288
|
/**
|
|
289
|
-
* SwitchServicePortResponse.
|
|
289
|
+
* SwitchServicePortResponse is the response payload for setting the port status of a switch port.
|
|
290
290
|
*
|
|
291
291
|
* @generated from message metalstack.admin.v2.SwitchServicePortResponse
|
|
292
292
|
*/
|
|
293
293
|
export type SwitchServicePortResponse = Message<"metalstack.admin.v2.SwitchServicePortResponse"> & {
|
|
294
294
|
/**
|
|
295
|
-
* Switch after the port status toggle
|
|
295
|
+
* Switch after the port status toggle
|
|
296
296
|
*
|
|
297
297
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
298
298
|
*/
|
|
@@ -304,19 +304,19 @@ export type SwitchServicePortResponse = Message<"metalstack.admin.v2.SwitchServi
|
|
|
304
304
|
*/
|
|
305
305
|
export declare const SwitchServicePortResponseSchema: GenMessage<SwitchServicePortResponse>;
|
|
306
306
|
/**
|
|
307
|
-
* SwitchServiceConnectedMachinesRequest.
|
|
307
|
+
* SwitchServiceConnectedMachinesRequest is the request payload for listing switches with machine connections.
|
|
308
308
|
*
|
|
309
309
|
* @generated from message metalstack.admin.v2.SwitchServiceConnectedMachinesRequest
|
|
310
310
|
*/
|
|
311
311
|
export type SwitchServiceConnectedMachinesRequest = Message<"metalstack.admin.v2.SwitchServiceConnectedMachinesRequest"> & {
|
|
312
312
|
/**
|
|
313
|
-
* Query to filter the switch results
|
|
313
|
+
* Query to filter the switch results
|
|
314
314
|
*
|
|
315
315
|
* @generated from field: metalstack.api.v2.SwitchQuery query = 1;
|
|
316
316
|
*/
|
|
317
317
|
query?: SwitchQuery;
|
|
318
318
|
/**
|
|
319
|
-
* MachineQuery to filter the machine results
|
|
319
|
+
* MachineQuery to filter the machine results
|
|
320
320
|
*
|
|
321
321
|
* @generated from field: metalstack.api.v2.MachineQuery machine_query = 2;
|
|
322
322
|
*/
|
|
@@ -328,13 +328,13 @@ export type SwitchServiceConnectedMachinesRequest = Message<"metalstack.admin.v2
|
|
|
328
328
|
*/
|
|
329
329
|
export declare const SwitchServiceConnectedMachinesRequestSchema: GenMessage<SwitchServiceConnectedMachinesRequest>;
|
|
330
330
|
/**
|
|
331
|
-
* SwitchServiceConnectedMachinesResponse.
|
|
331
|
+
* SwitchServiceConnectedMachinesResponse is the response payload for listing switches with machine connections.
|
|
332
332
|
*
|
|
333
333
|
* @generated from message metalstack.admin.v2.SwitchServiceConnectedMachinesResponse
|
|
334
334
|
*/
|
|
335
335
|
export type SwitchServiceConnectedMachinesResponse = Message<"metalstack.admin.v2.SwitchServiceConnectedMachinesResponse"> & {
|
|
336
336
|
/**
|
|
337
|
-
* SwitchesWithMachines contains all switches with their machine connections
|
|
337
|
+
* SwitchesWithMachines contains all switches with their machine connections
|
|
338
338
|
*
|
|
339
339
|
* @generated from field: repeated metalstack.api.v2.SwitchWithMachines switches_with_machines = 1;
|
|
340
340
|
*/
|
|
@@ -346,13 +346,13 @@ export type SwitchServiceConnectedMachinesResponse = Message<"metalstack.admin.v
|
|
|
346
346
|
*/
|
|
347
347
|
export declare const SwitchServiceConnectedMachinesResponseSchema: GenMessage<SwitchServiceConnectedMachinesResponse>;
|
|
348
348
|
/**
|
|
349
|
-
* SwitchService
|
|
349
|
+
* SwitchService provides switch management operations.
|
|
350
350
|
*
|
|
351
351
|
* @generated from service metalstack.admin.v2.SwitchService
|
|
352
352
|
*/
|
|
353
353
|
export declare const SwitchService: GenService<{
|
|
354
354
|
/**
|
|
355
|
-
*
|
|
355
|
+
* Returns the switch with the specified ID.
|
|
356
356
|
*
|
|
357
357
|
* @generated from rpc metalstack.admin.v2.SwitchService.Get
|
|
358
358
|
*/
|
|
@@ -362,7 +362,7 @@ export declare const SwitchService: GenService<{
|
|
|
362
362
|
output: typeof SwitchServiceGetResponseSchema;
|
|
363
363
|
};
|
|
364
364
|
/**
|
|
365
|
-
*
|
|
365
|
+
* Returns the list of switches.
|
|
366
366
|
*
|
|
367
367
|
* @generated from rpc metalstack.admin.v2.SwitchService.List
|
|
368
368
|
*/
|
|
@@ -372,7 +372,7 @@ export declare const SwitchService: GenService<{
|
|
|
372
372
|
output: typeof SwitchServiceListResponseSchema;
|
|
373
373
|
};
|
|
374
374
|
/**
|
|
375
|
-
*
|
|
375
|
+
* Updates a switch.
|
|
376
376
|
*
|
|
377
377
|
* @generated from rpc metalstack.admin.v2.SwitchService.Update
|
|
378
378
|
*/
|
|
@@ -382,7 +382,7 @@ export declare const SwitchService: GenService<{
|
|
|
382
382
|
output: typeof SwitchServiceUpdateResponseSchema;
|
|
383
383
|
};
|
|
384
384
|
/**
|
|
385
|
-
*
|
|
385
|
+
* Deletes a switch.
|
|
386
386
|
*
|
|
387
387
|
* @generated from rpc metalstack.admin.v2.SwitchService.Delete
|
|
388
388
|
*/
|
|
@@ -392,7 +392,7 @@ export declare const SwitchService: GenService<{
|
|
|
392
392
|
output: typeof SwitchServiceDeleteResponseSchema;
|
|
393
393
|
};
|
|
394
394
|
/**
|
|
395
|
-
*
|
|
395
|
+
* Migrates a switch.
|
|
396
396
|
*
|
|
397
397
|
* @generated from rpc metalstack.admin.v2.SwitchService.Migrate
|
|
398
398
|
*/
|
|
@@ -402,7 +402,7 @@ export declare const SwitchService: GenService<{
|
|
|
402
402
|
output: typeof SwitchServiceMigrateResponseSchema;
|
|
403
403
|
};
|
|
404
404
|
/**
|
|
405
|
-
*
|
|
405
|
+
* Sets the port status of a switch port.
|
|
406
406
|
*
|
|
407
407
|
* @generated from rpc metalstack.admin.v2.SwitchService.Port
|
|
408
408
|
*/
|
|
@@ -412,7 +412,7 @@ export declare const SwitchService: GenService<{
|
|
|
412
412
|
output: typeof SwitchServicePortResponseSchema;
|
|
413
413
|
};
|
|
414
414
|
/**
|
|
415
|
-
*
|
|
415
|
+
* Returns all switches with their machine connections.
|
|
416
416
|
*
|
|
417
417
|
* @generated from rpc metalstack.admin.v2.SwitchService.ConnectedMachines
|
|
418
418
|
*/
|
|
@@ -83,7 +83,7 @@ export const SwitchServiceConnectedMachinesRequestSchema = /*@__PURE__*/ message
|
|
|
83
83
|
*/
|
|
84
84
|
export const SwitchServiceConnectedMachinesResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_switch, 13);
|
|
85
85
|
/**
|
|
86
|
-
* SwitchService
|
|
86
|
+
* SwitchService provides switch management operations.
|
|
87
87
|
*
|
|
88
88
|
* @generated from service metalstack.admin.v2.SwitchService
|
|
89
89
|
*/
|