@metal-stack/api 0.0.51 → 0.0.54
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/partition_pb.d.ts +4 -4
- package/js/metalstack/admin/v2/partition_pb.js +1 -1
- package/js/metalstack/admin/v2/partition_pb.ts +5 -5
- package/js/metalstack/admin/v2/size_imageconstraint_pb.d.ts +293 -0
- package/js/metalstack/admin/v2/size_imageconstraint_pb.js +68 -0
- package/js/metalstack/admin/v2/size_imageconstraint_pb.ts +345 -0
- package/js/metalstack/admin/v2/switch_pb.d.ts +54 -1
- package/js/metalstack/admin/v2/switch_pb.js +12 -1
- package/js/metalstack/admin/v2/switch_pb.ts +63 -2
- package/js/metalstack/api/v2/machine_pb.d.ts +35 -11
- package/js/metalstack/api/v2/machine_pb.js +33 -28
- package/js/metalstack/api/v2/machine_pb.ts +67 -39
- package/js/metalstack/api/v2/partition_pb.d.ts +4 -4
- package/js/metalstack/api/v2/partition_pb.js +1 -1
- package/js/metalstack/api/v2/partition_pb.ts +5 -5
- package/js/metalstack/api/v2/size_imageconstraint_pb.d.ts +165 -0
- package/js/metalstack/api/v2/size_imageconstraint_pb.js +42 -0
- package/js/metalstack/api/v2/size_imageconstraint_pb.ts +202 -0
- package/js/metalstack/api/v2/size_pb.js +1 -1
- package/js/metalstack/api/v2/size_pb.ts +1 -1
- package/js/metalstack/api/v2/switch_pb.d.ts +67 -0
- package/js/metalstack/api/v2/switch_pb.js +12 -1
- package/js/metalstack/api/v2/switch_pb.ts +80 -1
- package/package.json +1 -1
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Meta } from "./common_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file metalstack/api/v2/size_imageconstraint.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_metalstack_api_v2_size_imageconstraint: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* SizeImageConstraintServiceTryRequest is the request payload for a size image constraint try request
|
|
10
|
+
*
|
|
11
|
+
* @generated from message metalstack.api.v2.SizeImageConstraintServiceTryRequest
|
|
12
|
+
*/
|
|
13
|
+
export type SizeImageConstraintServiceTryRequest = Message<"metalstack.api.v2.SizeImageConstraintServiceTryRequest"> & {
|
|
14
|
+
/**
|
|
15
|
+
* Size to try
|
|
16
|
+
*
|
|
17
|
+
* @generated from field: string size = 1;
|
|
18
|
+
*/
|
|
19
|
+
size: string;
|
|
20
|
+
/**
|
|
21
|
+
* Image to try
|
|
22
|
+
*
|
|
23
|
+
* @generated from field: string image = 2;
|
|
24
|
+
*/
|
|
25
|
+
image: string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message metalstack.api.v2.SizeImageConstraintServiceTryRequest.
|
|
29
|
+
* Use `create(SizeImageConstraintServiceTryRequestSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export declare const SizeImageConstraintServiceTryRequestSchema: GenMessage<SizeImageConstraintServiceTryRequest>;
|
|
32
|
+
/**
|
|
33
|
+
* SizeImageConstraintServiceTryResponse is the response payload for a size image constraint try request
|
|
34
|
+
*
|
|
35
|
+
* @generated from message metalstack.api.v2.SizeImageConstraintServiceTryResponse
|
|
36
|
+
*/
|
|
37
|
+
export type SizeImageConstraintServiceTryResponse = Message<"metalstack.api.v2.SizeImageConstraintServiceTryResponse"> & {};
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message metalstack.api.v2.SizeImageConstraintServiceTryResponse.
|
|
40
|
+
* Use `create(SizeImageConstraintServiceTryResponseSchema)` to create a new message.
|
|
41
|
+
*/
|
|
42
|
+
export declare const SizeImageConstraintServiceTryResponseSchema: GenMessage<SizeImageConstraintServiceTryResponse>;
|
|
43
|
+
/**
|
|
44
|
+
* SizeImageConstraint expresses optional restrictions for specific size to image combinations
|
|
45
|
+
* this might be required if the support for a specific hardware in a given size is only supported
|
|
46
|
+
* with a newer version of the image.
|
|
47
|
+
*
|
|
48
|
+
* If the size in question is not found, no restrictions apply.
|
|
49
|
+
* If the image in question is not found, no restrictions apply as well.
|
|
50
|
+
* If the image in question is found, but does not match the given expression, machine creation must be forbidden.
|
|
51
|
+
*
|
|
52
|
+
* @generated from message metalstack.api.v2.SizeImageConstraint
|
|
53
|
+
*/
|
|
54
|
+
export type SizeImageConstraint = Message<"metalstack.api.v2.SizeImageConstraint"> & {
|
|
55
|
+
/**
|
|
56
|
+
* Size where this constraint should apply
|
|
57
|
+
*
|
|
58
|
+
* @generated from field: string size = 1;
|
|
59
|
+
*/
|
|
60
|
+
size: string;
|
|
61
|
+
/**
|
|
62
|
+
* ImageConstraints to apply to this size
|
|
63
|
+
*
|
|
64
|
+
* @generated from field: repeated metalstack.api.v2.ImageConstraint image_constraints = 2;
|
|
65
|
+
*/
|
|
66
|
+
imageConstraints: ImageConstraint[];
|
|
67
|
+
/**
|
|
68
|
+
* Meta for this size image constraint
|
|
69
|
+
*
|
|
70
|
+
* @generated from field: metalstack.api.v2.Meta meta = 3;
|
|
71
|
+
*/
|
|
72
|
+
meta?: Meta;
|
|
73
|
+
/**
|
|
74
|
+
* Name of this size image constraint
|
|
75
|
+
*
|
|
76
|
+
* @generated from field: optional string name = 4;
|
|
77
|
+
*/
|
|
78
|
+
name?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Description of this size image constraint
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: optional string description = 5;
|
|
83
|
+
*/
|
|
84
|
+
description?: string;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Describes the message metalstack.api.v2.SizeImageConstraint.
|
|
88
|
+
* Use `create(SizeImageConstraintSchema)` to create a new message.
|
|
89
|
+
*/
|
|
90
|
+
export declare const SizeImageConstraintSchema: GenMessage<SizeImageConstraint>;
|
|
91
|
+
/**
|
|
92
|
+
* ImageConstraint defines a constraint for a image
|
|
93
|
+
* examples:
|
|
94
|
+
* images:
|
|
95
|
+
* ubuntu: ">= 20.04.20211011"
|
|
96
|
+
* debian: ">= 10.0.20210101"
|
|
97
|
+
*
|
|
98
|
+
* @generated from message metalstack.api.v2.ImageConstraint
|
|
99
|
+
*/
|
|
100
|
+
export type ImageConstraint = Message<"metalstack.api.v2.ImageConstraint"> & {
|
|
101
|
+
/**
|
|
102
|
+
* Image of the constraint
|
|
103
|
+
*
|
|
104
|
+
* @generated from field: string image = 1;
|
|
105
|
+
*/
|
|
106
|
+
image: string;
|
|
107
|
+
/**
|
|
108
|
+
* SemverMatch which defines in semver match format which image version should apply
|
|
109
|
+
*
|
|
110
|
+
* @generated from field: string semver_match = 2;
|
|
111
|
+
*/
|
|
112
|
+
semverMatch: string;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* Describes the message metalstack.api.v2.ImageConstraint.
|
|
116
|
+
* Use `create(ImageConstraintSchema)` to create a new message.
|
|
117
|
+
*/
|
|
118
|
+
export declare const ImageConstraintSchema: GenMessage<ImageConstraint>;
|
|
119
|
+
/**
|
|
120
|
+
* SizeImageConstraintQuery is used to search size image constraints
|
|
121
|
+
*
|
|
122
|
+
* @generated from message metalstack.api.v2.SizeImageConstraintQuery
|
|
123
|
+
*/
|
|
124
|
+
export type SizeImageConstraintQuery = Message<"metalstack.api.v2.SizeImageConstraintQuery"> & {
|
|
125
|
+
/**
|
|
126
|
+
* Size of the size image constraint
|
|
127
|
+
*
|
|
128
|
+
* @generated from field: optional string size = 1;
|
|
129
|
+
*/
|
|
130
|
+
size?: string;
|
|
131
|
+
/**
|
|
132
|
+
* Name of the size image constraint to query
|
|
133
|
+
*
|
|
134
|
+
* @generated from field: optional string name = 2;
|
|
135
|
+
*/
|
|
136
|
+
name?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Description of the size image constraint to query
|
|
139
|
+
*
|
|
140
|
+
* @generated from field: optional string description = 3;
|
|
141
|
+
*/
|
|
142
|
+
description?: string;
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* Describes the message metalstack.api.v2.SizeImageConstraintQuery.
|
|
146
|
+
* Use `create(SizeImageConstraintQuerySchema)` to create a new message.
|
|
147
|
+
*/
|
|
148
|
+
export declare const SizeImageConstraintQuerySchema: GenMessage<SizeImageConstraintQuery>;
|
|
149
|
+
/**
|
|
150
|
+
* SizeImageConstraintService serves size and image constraint related functions
|
|
151
|
+
*
|
|
152
|
+
* @generated from service metalstack.api.v2.SizeImageConstraintService
|
|
153
|
+
*/
|
|
154
|
+
export declare const SizeImageConstraintService: GenService<{
|
|
155
|
+
/**
|
|
156
|
+
* Try if a given combination of size and image is possible
|
|
157
|
+
*
|
|
158
|
+
* @generated from rpc metalstack.api.v2.SizeImageConstraintService.Try
|
|
159
|
+
*/
|
|
160
|
+
try: {
|
|
161
|
+
methodKind: "unary";
|
|
162
|
+
input: typeof SizeImageConstraintServiceTryRequestSchema;
|
|
163
|
+
output: typeof SizeImageConstraintServiceTryResponseSchema;
|
|
164
|
+
};
|
|
165
|
+
}>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/api/v2/size_imageconstraint.proto (package metalstack.api.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
6
|
+
import { file_metalstack_api_v2_common } from "./common_pb";
|
|
7
|
+
import { file_metalstack_api_v2_predefined_rules } from "./predefined_rules_pb";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file metalstack/api/v2/size_imageconstraint.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_metalstack_api_v2_size_imageconstraint = /*@__PURE__*/ fileDesc("CixtZXRhbHN0YWNrL2FwaS92Mi9zaXplX2ltYWdlY29uc3RyYWludC5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VY29tLm1ldGFsc3RhY2suYXBpLnYyQhhTaXplSW1hZ2Vjb25zdHJhaW50UHJvdG9QAVo1Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hcGkvdjI7YXBpdjKiAgNNQViqAhFNZXRhbHN0YWNrLkFwaS5WMsoCEU1ldGFsc3RhY2tcQXBpXFYy4gIdTWV0YWxzdGFja1xBcGlcVjJcR1BCTWV0YWRhdGHqAhNNZXRhbHN0YWNrOjpBcGk6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]);
|
|
12
|
+
/**
|
|
13
|
+
* Describes the message metalstack.api.v2.SizeImageConstraintServiceTryRequest.
|
|
14
|
+
* Use `create(SizeImageConstraintServiceTryRequestSchema)` to create a new message.
|
|
15
|
+
*/
|
|
16
|
+
export const SizeImageConstraintServiceTryRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_size_imageconstraint, 0);
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message metalstack.api.v2.SizeImageConstraintServiceTryResponse.
|
|
19
|
+
* Use `create(SizeImageConstraintServiceTryResponseSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export const SizeImageConstraintServiceTryResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_size_imageconstraint, 1);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message metalstack.api.v2.SizeImageConstraint.
|
|
24
|
+
* Use `create(SizeImageConstraintSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const SizeImageConstraintSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_size_imageconstraint, 2);
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message metalstack.api.v2.ImageConstraint.
|
|
29
|
+
* Use `create(ImageConstraintSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const ImageConstraintSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_size_imageconstraint, 3);
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message metalstack.api.v2.SizeImageConstraintQuery.
|
|
34
|
+
* Use `create(SizeImageConstraintQuerySchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
export const SizeImageConstraintQuerySchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_size_imageconstraint, 4);
|
|
37
|
+
/**
|
|
38
|
+
* SizeImageConstraintService serves size and image constraint related functions
|
|
39
|
+
*
|
|
40
|
+
* @generated from service metalstack.api.v2.SizeImageConstraintService
|
|
41
|
+
*/
|
|
42
|
+
export const SizeImageConstraintService = /*@__PURE__*/ serviceDesc(file_metalstack_api_v2_size_imageconstraint, 0);
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/api/v2/size_imageconstraint.proto (package metalstack.api.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
8
|
+
import type { Meta } from "./common_pb";
|
|
9
|
+
import { file_metalstack_api_v2_common } from "./common_pb";
|
|
10
|
+
import { file_metalstack_api_v2_predefined_rules } from "./predefined_rules_pb";
|
|
11
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the file metalstack/api/v2/size_imageconstraint.proto.
|
|
15
|
+
*/
|
|
16
|
+
export const file_metalstack_api_v2_size_imageconstraint: GenFile = /*@__PURE__*/
|
|
17
|
+
fileDesc("CixtZXRhbHN0YWNrL2FwaS92Mi9zaXplX2ltYWdlY29uc3RyYWludC5wcm90bxIRbWV0YWxzdGFjay5hcGkudjIiXQokU2l6ZUltYWdl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25zdHJhaW50UHJvdG9QAVo1Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hcGkvdjI7YXBpdjKiAgNNQViqAhFNZXRhbHN0YWNrLkFwaS5WMsoCEU1ldGFsc3RhY2tcQXBpXFYy4gIdTWV0YWxzdGFja1xBcGlcVjJcR1BCTWV0YWRhdGHqAhNNZXRhbHN0YWNrOjpBcGk6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]);
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* SizeImageConstraintServiceTryRequest is the request payload for a size image constraint try request
|
|
21
|
+
*
|
|
22
|
+
* @generated from message metalstack.api.v2.SizeImageConstraintServiceTryRequest
|
|
23
|
+
*/
|
|
24
|
+
export type SizeImageConstraintServiceTryRequest = Message<"metalstack.api.v2.SizeImageConstraintServiceTryRequest"> & {
|
|
25
|
+
/**
|
|
26
|
+
* Size to try
|
|
27
|
+
*
|
|
28
|
+
* @generated from field: string size = 1;
|
|
29
|
+
*/
|
|
30
|
+
size: string;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Image to try
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: string image = 2;
|
|
36
|
+
*/
|
|
37
|
+
image: string;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message metalstack.api.v2.SizeImageConstraintServiceTryRequest.
|
|
42
|
+
* Use `create(SizeImageConstraintServiceTryRequestSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export const SizeImageConstraintServiceTryRequestSchema: GenMessage<SizeImageConstraintServiceTryRequest> = /*@__PURE__*/
|
|
45
|
+
messageDesc(file_metalstack_api_v2_size_imageconstraint, 0);
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* SizeImageConstraintServiceTryResponse is the response payload for a size image constraint try request
|
|
49
|
+
*
|
|
50
|
+
* @generated from message metalstack.api.v2.SizeImageConstraintServiceTryResponse
|
|
51
|
+
*/
|
|
52
|
+
export type SizeImageConstraintServiceTryResponse = Message<"metalstack.api.v2.SizeImageConstraintServiceTryResponse"> & {
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message metalstack.api.v2.SizeImageConstraintServiceTryResponse.
|
|
57
|
+
* Use `create(SizeImageConstraintServiceTryResponseSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export const SizeImageConstraintServiceTryResponseSchema: GenMessage<SizeImageConstraintServiceTryResponse> = /*@__PURE__*/
|
|
60
|
+
messageDesc(file_metalstack_api_v2_size_imageconstraint, 1);
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* SizeImageConstraint expresses optional restrictions for specific size to image combinations
|
|
64
|
+
* this might be required if the support for a specific hardware in a given size is only supported
|
|
65
|
+
* with a newer version of the image.
|
|
66
|
+
*
|
|
67
|
+
* If the size in question is not found, no restrictions apply.
|
|
68
|
+
* If the image in question is not found, no restrictions apply as well.
|
|
69
|
+
* If the image in question is found, but does not match the given expression, machine creation must be forbidden.
|
|
70
|
+
*
|
|
71
|
+
* @generated from message metalstack.api.v2.SizeImageConstraint
|
|
72
|
+
*/
|
|
73
|
+
export type SizeImageConstraint = Message<"metalstack.api.v2.SizeImageConstraint"> & {
|
|
74
|
+
/**
|
|
75
|
+
* Size where this constraint should apply
|
|
76
|
+
*
|
|
77
|
+
* @generated from field: string size = 1;
|
|
78
|
+
*/
|
|
79
|
+
size: string;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* ImageConstraints to apply to this size
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: repeated metalstack.api.v2.ImageConstraint image_constraints = 2;
|
|
85
|
+
*/
|
|
86
|
+
imageConstraints: ImageConstraint[];
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Meta for this size image constraint
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: metalstack.api.v2.Meta meta = 3;
|
|
92
|
+
*/
|
|
93
|
+
meta?: Meta;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Name of this size image constraint
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: optional string name = 4;
|
|
99
|
+
*/
|
|
100
|
+
name?: string;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Description of this size image constraint
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: optional string description = 5;
|
|
106
|
+
*/
|
|
107
|
+
description?: string;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Describes the message metalstack.api.v2.SizeImageConstraint.
|
|
112
|
+
* Use `create(SizeImageConstraintSchema)` to create a new message.
|
|
113
|
+
*/
|
|
114
|
+
export const SizeImageConstraintSchema: GenMessage<SizeImageConstraint> = /*@__PURE__*/
|
|
115
|
+
messageDesc(file_metalstack_api_v2_size_imageconstraint, 2);
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* ImageConstraint defines a constraint for a image
|
|
119
|
+
* examples:
|
|
120
|
+
* images:
|
|
121
|
+
* ubuntu: ">= 20.04.20211011"
|
|
122
|
+
* debian: ">= 10.0.20210101"
|
|
123
|
+
*
|
|
124
|
+
* @generated from message metalstack.api.v2.ImageConstraint
|
|
125
|
+
*/
|
|
126
|
+
export type ImageConstraint = Message<"metalstack.api.v2.ImageConstraint"> & {
|
|
127
|
+
/**
|
|
128
|
+
* Image of the constraint
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: string image = 1;
|
|
131
|
+
*/
|
|
132
|
+
image: string;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* SemverMatch which defines in semver match format which image version should apply
|
|
136
|
+
*
|
|
137
|
+
* @generated from field: string semver_match = 2;
|
|
138
|
+
*/
|
|
139
|
+
semverMatch: string;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Describes the message metalstack.api.v2.ImageConstraint.
|
|
144
|
+
* Use `create(ImageConstraintSchema)` to create a new message.
|
|
145
|
+
*/
|
|
146
|
+
export const ImageConstraintSchema: GenMessage<ImageConstraint> = /*@__PURE__*/
|
|
147
|
+
messageDesc(file_metalstack_api_v2_size_imageconstraint, 3);
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* SizeImageConstraintQuery is used to search size image constraints
|
|
151
|
+
*
|
|
152
|
+
* @generated from message metalstack.api.v2.SizeImageConstraintQuery
|
|
153
|
+
*/
|
|
154
|
+
export type SizeImageConstraintQuery = Message<"metalstack.api.v2.SizeImageConstraintQuery"> & {
|
|
155
|
+
/**
|
|
156
|
+
* Size of the size image constraint
|
|
157
|
+
*
|
|
158
|
+
* @generated from field: optional string size = 1;
|
|
159
|
+
*/
|
|
160
|
+
size?: string;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Name of the size image constraint to query
|
|
164
|
+
*
|
|
165
|
+
* @generated from field: optional string name = 2;
|
|
166
|
+
*/
|
|
167
|
+
name?: string;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Description of the size image constraint to query
|
|
171
|
+
*
|
|
172
|
+
* @generated from field: optional string description = 3;
|
|
173
|
+
*/
|
|
174
|
+
description?: string;
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Describes the message metalstack.api.v2.SizeImageConstraintQuery.
|
|
179
|
+
* Use `create(SizeImageConstraintQuerySchema)` to create a new message.
|
|
180
|
+
*/
|
|
181
|
+
export const SizeImageConstraintQuerySchema: GenMessage<SizeImageConstraintQuery> = /*@__PURE__*/
|
|
182
|
+
messageDesc(file_metalstack_api_v2_size_imageconstraint, 4);
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* SizeImageConstraintService serves size and image constraint related functions
|
|
186
|
+
*
|
|
187
|
+
* @generated from service metalstack.api.v2.SizeImageConstraintService
|
|
188
|
+
*/
|
|
189
|
+
export const SizeImageConstraintService: GenService<{
|
|
190
|
+
/**
|
|
191
|
+
* Try if a given combination of size and image is possible
|
|
192
|
+
*
|
|
193
|
+
* @generated from rpc metalstack.api.v2.SizeImageConstraintService.Try
|
|
194
|
+
*/
|
|
195
|
+
try: {
|
|
196
|
+
methodKind: "unary";
|
|
197
|
+
input: typeof SizeImageConstraintServiceTryRequestSchema;
|
|
198
|
+
output: typeof SizeImageConstraintServiceTryResponseSchema;
|
|
199
|
+
},
|
|
200
|
+
}> = /*@__PURE__*/
|
|
201
|
+
serviceDesc(file_metalstack_api_v2_size_imageconstraint, 0);
|
|
202
|
+
|
|
@@ -8,7 +8,7 @@ import { file_metalstack_api_v2_predefined_rules } from "./predefined_rules_pb";
|
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file metalstack/api/v2/size.proto.
|
|
10
10
|
*/
|
|
11
|
-
export const file_metalstack_api_v2_size = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_metalstack_api_v2_size = /*@__PURE__*/ fileDesc("ChxtZXRhbHN0YWNrL2FwaS92Mi9zaXplLnByb3RvEhFtZXRhbHN0YWNrLmFwaS52MiIwChVTaXplU2VydmljZUdldFJlcXVlc3QSFwoCaWQYASABKAlCC7pICHIGwLOusQIBIkUKFlNpemVTZXJ2aWNlTGlzdFJlcXVlc3QSKwoFcXVlcnkYASABKAsyHC5tZXRhbHN0YWNrLmFwaS52Mi5TaXplUXVlcnkiPwoWU2l6ZVNlcnZpY2VHZXRSZXNwb25zZRIlCgRzaXplGAEgASgLMhcubWV0YWxzdGFjay5hcGkudjIuU2l6ZSJBChdTaXplU2VydmljZUxpc3RSZXNwb25zZRImCgVzaXplcxgBIAMoCzIXLm1ldGFsc3RhY2suYXBpLnYyLlNpemUi3gEKBFNpemUSFwoCaWQYASABKAlCC7pICHIGwLOusQIBEiUKBG1ldGEYAiABKAsyFy5tZXRhbHN0YWNrLmFwaS52Mi5NZXRhEh4KBG5hbWUYBCABKAlCC7pICHIGwLOusQIBSACIAQESJQoLZGVzY3JpcHRpb24YBSABKAlCC7pICHIGyLOusQ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0YWxzdGFjay5hcGkudjIuU2l6ZVNlcnZpY2VMaXN0UmVxdWVzdBoqLm1ldGFsc3RhY2suYXBpLnYyLlNpemVTZXJ2aWNlTGlzdFJlc3BvbnNlIgjY8xgD4PMYAkK/AQoVY29tLm1ldGFsc3RhY2suYXBpLnYyQglTaXplUHJvdG9QAVo1Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hcGkvdjI7YXBpdjKiAgNNQViqAhFNZXRhbHN0YWNrLkFwaS5WMsoCEU1ldGFsc3RhY2tcQXBpXFYy4gIdTWV0YWxzdGFja1xBcGlcVjJcR1BCTWV0YWRhdGHqAhNNZXRhbHN0YWNrOjpBcGk6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]);
|
|
12
12
|
/**
|
|
13
13
|
* Describes the message metalstack.api.v2.SizeServiceGetRequest.
|
|
14
14
|
* Use `create(SizeServiceGetRequestSchema)` to create a new message.
|
|
@@ -14,7 +14,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
14
14
|
* Describes the file metalstack/api/v2/size.proto.
|
|
15
15
|
*/
|
|
16
16
|
export const file_metalstack_api_v2_size: GenFile = /*@__PURE__*/
|
|
17
|
-
fileDesc("
|
|
17
|
+
fileDesc("ChxtZXRhbHN0YWNrL2FwaS92Mi9zaXplLnByb3RvEhFtZXRhbHN0YWNrLmFwaS52MiIwChVTaXplU2VydmljZUdldFJlcXVlc3QSFwoCaWQYASABKAlCC7pICHIGwLOusQIBIkUKFlNpemVTZXJ2aWNlTGlzdFJlcXVlc3QSKwoFcXVlcnkYASABKAsyHC5tZXRhbHN0YWNrLmFwaS52Mi5TaXplUXVlcnkiPwoWU2l6ZVNlcnZpY2VHZXRSZXNwb25zZRIlCgRzaXplGAEgASgLMhcubWV0YWxzdGFjay5hcGkudjIuU2l6ZSJBChdTaXplU2VydmljZUxpc3RSZXNwb25zZRImCgVzaXplcxgBIAM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Q09OU1RSQUlOVF9UWVBFX0dQVRAEGgeCshkDZ3B1MtwBCgtTaXplU2VydmljZRJkCgNHZXQSKC5tZXRhbHN0YWNrLmFwaS52Mi5TaXplU2VydmljZUdldFJlcXVlc3QaKS5tZXRhbHN0YWNrLmFwaS52Mi5TaXplU2VydmljZUdldFJlc3BvbnNlIgjY8xgD4PMYAhJnCgRMaXN0EikubWV0YWxzdGFjay5hcGkudjIuU2l6ZVNlcnZpY2VMaXN0UmVxdWVzdBoqLm1ldGFsc3RhY2suYXBpLnYyLlNpemVTZXJ2aWNlTGlzdFJlc3BvbnNlIgjY8xgD4PMYAkK/AQoVY29tLm1ldGFsc3RhY2suYXBpLnYyQglTaXplUHJvdG9QAVo1Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hcGkvdjI7YXBpdjKiAgNNQViqAhFNZXRhbHN0YWNrLkFwaS5WMsoCEU1ldGFsc3RhY2tcQXBpXFYy4gIdTWV0YWxzdGFja1xBcGlcVjJcR1BCTWV0YWRhdGHqAhNNZXRhbHN0YWNrOjpBcGk6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]);
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* SizeServiceGetRequest is the request payload for a size get request
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
3
|
import type { Meta } from "./common_pb";
|
|
4
|
+
import type { Machine, MachineFRU } from "./machine_pb";
|
|
4
5
|
import type { Message } from "@bufbuild/protobuf";
|
|
5
6
|
/**
|
|
6
7
|
* Describes the file metalstack/api/v2/switch.proto.
|
|
@@ -402,6 +403,72 @@ export type SwitchSync = Message<"metalstack.api.v2.SwitchSync"> & {
|
|
|
402
403
|
* Use `create(SwitchSyncSchema)` to create a new message.
|
|
403
404
|
*/
|
|
404
405
|
export declare const SwitchSyncSchema: GenMessage<SwitchSync>;
|
|
406
|
+
/**
|
|
407
|
+
* SwitchWithMachines contains a mapping from switch ports to connected machines.
|
|
408
|
+
*
|
|
409
|
+
* @generated from message metalstack.api.v2.SwitchWithMachines
|
|
410
|
+
*/
|
|
411
|
+
export type SwitchWithMachines = Message<"metalstack.api.v2.SwitchWithMachines"> & {
|
|
412
|
+
/**
|
|
413
|
+
* Id of the switch.
|
|
414
|
+
*
|
|
415
|
+
* @generated from field: string id = 1;
|
|
416
|
+
*/
|
|
417
|
+
id: string;
|
|
418
|
+
/**
|
|
419
|
+
* Partition of the switch.
|
|
420
|
+
*
|
|
421
|
+
* @generated from field: string partition = 2;
|
|
422
|
+
*/
|
|
423
|
+
partition: string;
|
|
424
|
+
/**
|
|
425
|
+
* Rack of the switch.
|
|
426
|
+
*
|
|
427
|
+
* @generated from field: string rack = 3;
|
|
428
|
+
*/
|
|
429
|
+
rack: string;
|
|
430
|
+
/**
|
|
431
|
+
* Connections associates switch ports with the machines connected to them.
|
|
432
|
+
*
|
|
433
|
+
* @generated from field: repeated metalstack.api.v2.SwitchNicWithMachine connections = 4;
|
|
434
|
+
*/
|
|
435
|
+
connections: SwitchNicWithMachine[];
|
|
436
|
+
};
|
|
437
|
+
/**
|
|
438
|
+
* Describes the message metalstack.api.v2.SwitchWithMachines.
|
|
439
|
+
* Use `create(SwitchWithMachinesSchema)` to create a new message.
|
|
440
|
+
*/
|
|
441
|
+
export declare const SwitchWithMachinesSchema: GenMessage<SwitchWithMachines>;
|
|
442
|
+
/**
|
|
443
|
+
* SwitchNicWithMachine associates a switch port with its connected machine.
|
|
444
|
+
*
|
|
445
|
+
* @generated from message metalstack.api.v2.SwitchNicWithMachine
|
|
446
|
+
*/
|
|
447
|
+
export type SwitchNicWithMachine = Message<"metalstack.api.v2.SwitchNicWithMachine"> & {
|
|
448
|
+
/**
|
|
449
|
+
* Nic is the switch nic the machine is connected to.
|
|
450
|
+
*
|
|
451
|
+
* @generated from field: metalstack.api.v2.SwitchNic nic = 1;
|
|
452
|
+
*/
|
|
453
|
+
nic?: SwitchNic;
|
|
454
|
+
/**
|
|
455
|
+
* Machine connected to this nic.
|
|
456
|
+
*
|
|
457
|
+
* @generated from field: metalstack.api.v2.Machine machine = 2;
|
|
458
|
+
*/
|
|
459
|
+
machine?: Machine;
|
|
460
|
+
/**
|
|
461
|
+
* FRU of the connected machine.
|
|
462
|
+
*
|
|
463
|
+
* @generated from field: metalstack.api.v2.MachineFRU fru = 3;
|
|
464
|
+
*/
|
|
465
|
+
fru?: MachineFRU;
|
|
466
|
+
};
|
|
467
|
+
/**
|
|
468
|
+
* Describes the message metalstack.api.v2.SwitchNicWithMachine.
|
|
469
|
+
* Use `create(SwitchNicWithMachineSchema)` to create a new message.
|
|
470
|
+
*/
|
|
471
|
+
export declare const SwitchNicWithMachineSchema: GenMessage<SwitchNicWithMachine>;
|
|
405
472
|
/**
|
|
406
473
|
* BGPState represents the state of a BGP session.
|
|
407
474
|
*
|
|
@@ -5,11 +5,12 @@ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
|
5
5
|
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
6
6
|
import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
7
|
import { file_metalstack_api_v2_common } from "./common_pb";
|
|
8
|
+
import { file_metalstack_api_v2_machine } from "./machine_pb";
|
|
8
9
|
import { file_metalstack_api_v2_predefined_rules } from "./predefined_rules_pb";
|
|
9
10
|
/**
|
|
10
11
|
* Describes the file metalstack/api/v2/switch.proto.
|
|
11
12
|
*/
|
|
12
|
-
export const file_metalstack_api_v2_switch = /*@__PURE__*/ fileDesc("Ch5tZXRhbHN0YWNrL2FwaS92Mi9zd2l0Y2gucHJvdG8SEW1ldGFsc3RhY2suYXBpLnYyIpkFCgZTd2l0Y2gSGQoCaWQYASABKAlCD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RFX0VTVEFCTElTSEVEEAYaD4KyGQtFc3RhYmxpc2hlZCqiAQoRU3dpdGNoUmVwbGFjZU1vZGUSKQofU1dJVENIX1JFUExBQ0VfTU9ERV9VTlNQRUNJRklFRBAAGgSCshkAEiwKG1NXSVRDSF9SRVBMQUNFX01PREVfUkVQTEFDRRABGguCshkHcmVwbGFjZRI0Ch9TV0lUQ0hfUkVQTEFDRV9NT0RFX09QRVJBVElPTkFMEAIaD4KyGQtvcGVyYXRpb25hbCqEAQoOU3dpdGNoT1NWZW5kb3ISIAocU1dJVENIX09TX1ZFTkRPUl9VTlNQRUNJRklFRBAAEikKGFNXSVRDSF9PU19WRU5ET1JfQ1VNVUxVUxABGguCshkHQ3VtdWx1cxIlChZTV0lUQ0hfT1NfVkVORE9SX1NPTklDEAIaCYKyGQVTT05pQyqtAQoQU3dpdGNoUG9ydFN0YXR1cxIiCh5TV0lUQ0hfUE9SVF9TVEFUVVNfVU5TUEVDSUZJRUQQABIhChVTV0lUQ0hfUE9SVF9TVEFUVVNfVVAQARoGgrIZAnVwEiUKF1NXSVRDSF9QT1JUX1NUQVRVU19ET1dOEAIaCIKyGQRkb3duEisKGlNXSVRDSF9QT1JUX1NUQVRVU19VTktOT1dOEAMaC4KyGQd1bmtub3duQsEBChVjb20ubWV0YWxzdGFjay5hcGkudjJCC1N3aXRjaFByb3RvUAFaNWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYXBpL3YyO2FwaXYyogIDTUFYqgIRTWV0YWxzdGFjay5BcGkuVjLKAhFNZXRhbHN0YWNrXEFwaVxWMuICHU1ldGFsc3RhY2tcQXBpXFYyXEdQQk1ldGFkYXRh6gITTWV0YWxzdGFjazo6QXBpOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_duration, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_machine, file_metalstack_api_v2_predefined_rules]);
|
|
13
14
|
/**
|
|
14
15
|
* Describes the message metalstack.api.v2.Switch.
|
|
15
16
|
* Use `create(SwitchSchema)` to create a new message.
|
|
@@ -60,6 +61,16 @@ export const SwitchOSQuerySchema = /*@__PURE__*/ messageDesc(file_metalstack_api
|
|
|
60
61
|
* Use `create(SwitchSyncSchema)` to create a new message.
|
|
61
62
|
*/
|
|
62
63
|
export const SwitchSyncSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_switch, 9);
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message metalstack.api.v2.SwitchWithMachines.
|
|
66
|
+
* Use `create(SwitchWithMachinesSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export const SwitchWithMachinesSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_switch, 10);
|
|
69
|
+
/**
|
|
70
|
+
* Describes the message metalstack.api.v2.SwitchNicWithMachine.
|
|
71
|
+
* Use `create(SwitchNicWithMachineSchema)` to create a new message.
|
|
72
|
+
*/
|
|
73
|
+
export const SwitchNicWithMachineSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_switch, 11);
|
|
63
74
|
/**
|
|
64
75
|
* BGPState represents the state of a BGP session.
|
|
65
76
|
*
|