@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
|
@@ -20,13 +20,13 @@ export const file_metalstack_infra_v2_switch: GenFile = /*@__PURE__*/
|
|
|
20
20
|
fileDesc("CiBtZXRhbHN0YWNrL2luZnJhL3YyL3N3aXRjaC5wcm90bxITbWV0YWxzdGFjay5pbmZyYS52MiI0ChdTd2l0Y2hTZXJ2aWNlR2V0UmVxdWVzdBIZCgJpZBgBIAEoCUINukgKcgjAs66xAgFoASJFChhTd2l0Y2hTZXJ2aWNlR2V0UmVzcG9uc2USKQoGc3dpdGNoGAEgASgLMhkubWV0YWxzdGFjay5hcGkudjIuU3dpdGNoIkkKHFN3a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DVN3aXRjaFNlcnZpY2USbgoDR2V0EiwubWV0YWxzdGFjay5pbmZyYS52Mi5Td2l0Y2hTZXJ2aWNlR2V0UmVxdWVzdBotLm1ldGFsc3RhY2suaW5mcmEudjIuU3dpdGNoU2VydmljZUdldFJlc3BvbnNlIgrg8xgC6vMYAgECEnwKCFJlZ2lzdGVyEjEubWV0YWxzdGFjay5pbmZyYS52Mi5Td2l0Y2hTZXJ2aWNlUmVnaXN0ZXJSZXF1ZXN0GjIubWV0YWxzdGFjay5pbmZyYS52Mi5Td2l0Y2hTZXJ2aWNlUmVnaXN0ZXJSZXNwb25zZSIJ4PMYAurzGAEBEn8KCUhlYXJ0YmVhdBIyLm1ldGFsc3RhY2suaW5mcmEudjIuU3dpdGNoU2VydmljZUhlYXJ0YmVhdFJlcXVlc3QaMy5tZXRhbHN0YWNrLmluZnJhLnYyLlN3aXRjaFNlcnZpY2VIZWFydGJlYXRSZXNwb25zZSIJ4PMYAurzGAEBQs8BChdjb20ubWV0YWxzdGFjay5pbmZyYS52MkILU3dpdGNoUHJvdG9QAVo5Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9pbmZyYS92MjtpbmZyYXYyogIDTUlYqgITTWV0YWxzdGFjay5JbmZyYS5WMsoCE01ldGFsc3RhY2tcSW5mcmFcVjLiAh9NZXRhbHN0YWNrXEluZnJhXFYyXEdQQk1ldGFkYXRh6gIVTWV0YWxzdGFjazo6SW5mcmE6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_google_protobuf_duration, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules, file_metalstack_api_v2_switch]);
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* SwitchServiceGetRequest.
|
|
23
|
+
* SwitchServiceGetRequest is the request payload for getting a switch.
|
|
24
24
|
*
|
|
25
25
|
* @generated from message metalstack.infra.v2.SwitchServiceGetRequest
|
|
26
26
|
*/
|
|
27
27
|
export type SwitchServiceGetRequest = Message<"metalstack.infra.v2.SwitchServiceGetRequest"> & {
|
|
28
28
|
/**
|
|
29
|
-
* Id of the switch
|
|
29
|
+
* Id of the switch
|
|
30
30
|
*
|
|
31
31
|
* @generated from field: string id = 1;
|
|
32
32
|
*/
|
|
@@ -41,13 +41,13 @@ export const SwitchServiceGetRequestSchema: GenMessage<SwitchServiceGetRequest>
|
|
|
41
41
|
messageDesc(file_metalstack_infra_v2_switch, 0);
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
* SwitchServiceGetResponse.
|
|
44
|
+
* SwitchServiceGetResponse is the response payload for getting a switch.
|
|
45
45
|
*
|
|
46
46
|
* @generated from message metalstack.infra.v2.SwitchServiceGetResponse
|
|
47
47
|
*/
|
|
48
48
|
export type SwitchServiceGetResponse = Message<"metalstack.infra.v2.SwitchServiceGetResponse"> & {
|
|
49
49
|
/**
|
|
50
|
-
* Switch
|
|
50
|
+
* Switch contains the requested switch
|
|
51
51
|
*
|
|
52
52
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
53
53
|
*/
|
|
@@ -62,13 +62,13 @@ export const SwitchServiceGetResponseSchema: GenMessage<SwitchServiceGetResponse
|
|
|
62
62
|
messageDesc(file_metalstack_infra_v2_switch, 1);
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
|
-
* SwitchServiceRegisterRequest.
|
|
65
|
+
* SwitchServiceRegisterRequest is the request payload for registering a switch.
|
|
66
66
|
*
|
|
67
67
|
* @generated from message metalstack.infra.v2.SwitchServiceRegisterRequest
|
|
68
68
|
*/
|
|
69
69
|
export type SwitchServiceRegisterRequest = Message<"metalstack.infra.v2.SwitchServiceRegisterRequest"> & {
|
|
70
70
|
/**
|
|
71
|
-
* Switch to register
|
|
71
|
+
* Switch to register
|
|
72
72
|
*
|
|
73
73
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
74
74
|
*/
|
|
@@ -83,13 +83,13 @@ export const SwitchServiceRegisterRequestSchema: GenMessage<SwitchServiceRegiste
|
|
|
83
83
|
messageDesc(file_metalstack_infra_v2_switch, 2);
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
|
-
* SwitchServiceRegisterResponse.
|
|
86
|
+
* SwitchServiceRegisterResponse is the response payload for registering a switch.
|
|
87
87
|
*
|
|
88
88
|
* @generated from message metalstack.infra.v2.SwitchServiceRegisterResponse
|
|
89
89
|
*/
|
|
90
90
|
export type SwitchServiceRegisterResponse = Message<"metalstack.infra.v2.SwitchServiceRegisterResponse"> & {
|
|
91
91
|
/**
|
|
92
|
-
* Switch
|
|
92
|
+
* Switch contains the registered switch
|
|
93
93
|
*
|
|
94
94
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
95
95
|
*/
|
|
@@ -104,41 +104,41 @@ export const SwitchServiceRegisterResponseSchema: GenMessage<SwitchServiceRegist
|
|
|
104
104
|
messageDesc(file_metalstack_infra_v2_switch, 3);
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
|
-
* SwitchServiceHeartbeatRequest.
|
|
107
|
+
* SwitchServiceHeartbeatRequest is the request payload for sending a switch heartbeat.
|
|
108
108
|
*
|
|
109
109
|
* @generated from message metalstack.infra.v2.SwitchServiceHeartbeatRequest
|
|
110
110
|
*/
|
|
111
111
|
export type SwitchServiceHeartbeatRequest = Message<"metalstack.infra.v2.SwitchServiceHeartbeatRequest"> & {
|
|
112
112
|
/**
|
|
113
|
-
* Id of the switch
|
|
113
|
+
* Id of the switch
|
|
114
114
|
*
|
|
115
115
|
* @generated from field: string id = 1;
|
|
116
116
|
*/
|
|
117
117
|
id: string;
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
|
-
* Duration of the sync
|
|
120
|
+
* Duration of the sync
|
|
121
121
|
*
|
|
122
122
|
* @generated from field: google.protobuf.Duration duration = 2;
|
|
123
123
|
*/
|
|
124
124
|
duration?: Duration;
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
|
-
* Error if any occurred during the sync
|
|
127
|
+
* Error if any occurred during the sync
|
|
128
128
|
*
|
|
129
129
|
* @generated from field: optional string error = 3;
|
|
130
130
|
*/
|
|
131
131
|
error?: string;
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
|
-
* PortStates maps port identifiers to the respective port's operational state
|
|
134
|
+
* PortStates maps port identifiers to the respective port's operational state
|
|
135
135
|
*
|
|
136
136
|
* @generated from field: map<string, metalstack.api.v2.SwitchPortStatus> port_states = 4;
|
|
137
137
|
*/
|
|
138
138
|
portStates: { [key: string]: SwitchPortStatus };
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
|
-
* BgpPortStates maps port identifiers to the respective port's BGP state
|
|
141
|
+
* BgpPortStates maps port identifiers to the respective port's BGP state
|
|
142
142
|
*
|
|
143
143
|
* @generated from field: map<string, metalstack.api.v2.SwitchBGPPortState> bgp_port_states = 5;
|
|
144
144
|
*/
|
|
@@ -153,27 +153,27 @@ export const SwitchServiceHeartbeatRequestSchema: GenMessage<SwitchServiceHeartb
|
|
|
153
153
|
messageDesc(file_metalstack_infra_v2_switch, 4);
|
|
154
154
|
|
|
155
155
|
/**
|
|
156
|
-
* SwitchServiceHeartbeatResponse.
|
|
156
|
+
* SwitchServiceHeartbeatResponse is the response payload for sending a switch heartbeat.
|
|
157
157
|
*
|
|
158
158
|
* @generated from message metalstack.infra.v2.SwitchServiceHeartbeatResponse
|
|
159
159
|
*/
|
|
160
160
|
export type SwitchServiceHeartbeatResponse = Message<"metalstack.infra.v2.SwitchServiceHeartbeatResponse"> & {
|
|
161
161
|
/**
|
|
162
|
-
* Id of the switch
|
|
162
|
+
* Id of the switch
|
|
163
163
|
*
|
|
164
164
|
* @generated from field: string id = 1;
|
|
165
165
|
*/
|
|
166
166
|
id: string;
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
|
-
* LastSync holds information about the last sync
|
|
169
|
+
* LastSync holds information about the last sync
|
|
170
170
|
*
|
|
171
171
|
* @generated from field: metalstack.api.v2.SwitchSync last_sync = 2;
|
|
172
172
|
*/
|
|
173
173
|
lastSync?: SwitchSync;
|
|
174
174
|
|
|
175
175
|
/**
|
|
176
|
-
* LastSyncError holds information about the last erroneous sync
|
|
176
|
+
* LastSyncError holds information about the last erroneous sync
|
|
177
177
|
*
|
|
178
178
|
* @generated from field: metalstack.api.v2.SwitchSync last_sync_error = 3;
|
|
179
179
|
*/
|
|
@@ -188,13 +188,13 @@ export const SwitchServiceHeartbeatResponseSchema: GenMessage<SwitchServiceHeart
|
|
|
188
188
|
messageDesc(file_metalstack_infra_v2_switch, 5);
|
|
189
189
|
|
|
190
190
|
/**
|
|
191
|
-
* SwitchService
|
|
191
|
+
* SwitchService provides infrastructure switch management operations.
|
|
192
192
|
*
|
|
193
193
|
* @generated from service metalstack.infra.v2.SwitchService
|
|
194
194
|
*/
|
|
195
195
|
export const SwitchService: GenService<{
|
|
196
196
|
/**
|
|
197
|
-
*
|
|
197
|
+
* Returns the switch with the specified ID.
|
|
198
198
|
*
|
|
199
199
|
* @generated from rpc metalstack.infra.v2.SwitchService.Get
|
|
200
200
|
*/
|
|
@@ -204,7 +204,7 @@ export const SwitchService: GenService<{
|
|
|
204
204
|
output: typeof SwitchServiceGetResponseSchema;
|
|
205
205
|
},
|
|
206
206
|
/**
|
|
207
|
-
*
|
|
207
|
+
* Registers a switch.
|
|
208
208
|
*
|
|
209
209
|
* @generated from rpc metalstack.infra.v2.SwitchService.Register
|
|
210
210
|
*/
|
|
@@ -214,7 +214,7 @@ export const SwitchService: GenService<{
|
|
|
214
214
|
output: typeof SwitchServiceRegisterResponseSchema;
|
|
215
215
|
},
|
|
216
216
|
/**
|
|
217
|
-
* Heartbeat a switch.
|
|
217
|
+
* Heartbeat sends a heartbeat from a switch.
|
|
218
218
|
*
|
|
219
219
|
* @generated from rpc metalstack.infra.v2.SwitchService.Heartbeat
|
|
220
220
|
*/
|
package/package.json
CHANGED