metal-stack-api 0.0.16__py3-none-any.whl → 0.0.17__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metal-stack-api
3
- Version: 0.0.16
3
+ Version: 0.0.17
4
4
  Summary: Python API client for metal-stack api
5
5
  Home-page: https://github.com/metal-stack/api
6
6
  Author: metal-stack authors
@@ -47,10 +47,10 @@ metalstack/api/v2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
47
47
  metalstack/api/v2/common_pb2.py,sha256=6ialUW0Y9BaVppSxNt4Ysc3JEZdPEDfwIB5IwEtGpkA,6675
48
48
  metalstack/api/v2/common_pb2.pyi,sha256=5MJYJ_F9alf8uyf7N9IVeZVHAeI1rBmagaVefZG0ThM,5219
49
49
  metalstack/api/v2/common_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
50
- metalstack/api/v2/filesystem_connecpy.py,sha256=EJTB6PseX4OZb2SBopNXxqgY1PPIxrYgjvbo-FEQVes,15927
51
- metalstack/api/v2/filesystem_pb2.py,sha256=TPkQb0hCl_6qTyr46XwhMTTQ9JCdAKORiIg5EUkaiwQ,19864
52
- metalstack/api/v2/filesystem_pb2.pyi,sha256=V86pXsgXgWZdee0SrYvtxrbAcARZR8fOuYQwxLVGrsU,10369
53
- metalstack/api/v2/filesystem_pb2_grpc.py,sha256=bZthLxivM2pbjQRwQxPiKAfa9kaju076pt_DOoSKRRs,8773
50
+ metalstack/api/v2/filesystem_connecpy.py,sha256=661JDWrnVvjpycRlK-0NRHb1mojN5L0RTPsfKrLuw6s,12474
51
+ metalstack/api/v2/filesystem_pb2.py,sha256=NwlthAk0CfHQeVRDS8NZBTHO5kDfYSt7gQyDKu2G7-Q,19762
52
+ metalstack/api/v2/filesystem_pb2.pyi,sha256=CK0377QBpCrCXRs0YjIFkuL0CjlswdP4avoxMQQqAAI,10845
53
+ metalstack/api/v2/filesystem_pb2_grpc.py,sha256=oUTxRWtcEuHrrosmJ8jD6b0aHUkmesftp6X8AOmmtWE,6874
54
54
  metalstack/api/v2/health_connecpy.py,sha256=yXwfwp7QClE0QOA6WMQL28eaNffMXwc7fUs-WBTKZxs,5280
55
55
  metalstack/api/v2/health_pb2.py,sha256=LfmoZ8hPyIhfa8WvMi3rCwFU1iouYpxfUOkbAA18_lc,6025
56
56
  metalstack/api/v2/health_pb2.pyi,sha256=cr8Qr3MzJQn7P531JiswO4Tcs9uNjdc854c2qxpPLIo,3386
@@ -118,7 +118,7 @@ metalstack/infra/v2/switch_connecpy.py,sha256=7EedMx1yG2DqAlT0ZOG-nUS7KtefHxDjXN
118
118
  metalstack/infra/v2/switch_pb2.py,sha256=i7FQr30JthjD8VcKS0KT4-bdzBKSV9AelGjZKhvp_Ic,3068
119
119
  metalstack/infra/v2/switch_pb2.pyi,sha256=keDojB2U7IW7kDoEj12ckSrGK3kR8PZhRpepN7HwuB4,890
120
120
  metalstack/infra/v2/switch_pb2_grpc.py,sha256=Upgjj1YATjaac6vTK8eAeFH7apuSJTiFPB-4BXxj6rc,3010
121
- metal_stack_api-0.0.16.dist-info/METADATA,sha256=7HPdcxj29In4hdyqPmwW5jwBUgU8YWKNsAOxlQUfEWM,832
122
- metal_stack_api-0.0.16.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
123
- metal_stack_api-0.0.16.dist-info/top_level.txt,sha256=EVrYyUiIjmWi5LomfJxKYph7kX6cNdnKbpVLXUKG3M0,15
124
- metal_stack_api-0.0.16.dist-info/RECORD,,
121
+ metal_stack_api-0.0.17.dist-info/METADATA,sha256=5_twkSnFvOK4ebEWgW7RUqETo6oJkhpQLYhAhUjKeg0,832
122
+ metal_stack_api-0.0.17.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
123
+ metal_stack_api-0.0.17.dist-info/top_level.txt,sha256=EVrYyUiIjmWi5LomfJxKYph7kX6cNdnKbpVLXUKG3M0,15
124
+ metal_stack_api-0.0.17.dist-info/RECORD,,
@@ -22,9 +22,6 @@ class FilesystemService(Protocol):
22
22
  async def list(self, request: metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceListRequest, ctx: RequestContext) -> metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceListResponse:
23
23
  raise ConnecpyException(Code.UNIMPLEMENTED, "Not implemented")
24
24
 
25
- async def try(self, request: metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryRequest, ctx: RequestContext) -> metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryResponse:
26
- raise ConnecpyException(Code.UNIMPLEMENTED, "Not implemented")
27
-
28
25
  async def match(self, request: metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceMatchRequest, ctx: RequestContext) -> metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceMatchResponse:
29
26
  raise ConnecpyException(Code.UNIMPLEMENTED, "Not implemented")
30
27
 
@@ -53,16 +50,6 @@ class FilesystemServiceASGIApplication(ConnecpyASGIApplication):
53
50
  ),
54
51
  function=service.list,
55
52
  ),
56
- "/metalstack.api.v2.FilesystemService/Try": Endpoint.unary(
57
- method=MethodInfo(
58
- name="Try",
59
- service_name="metalstack.api.v2.FilesystemService",
60
- input=metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryRequest,
61
- output=metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryResponse,
62
- idempotency_level=IdempotencyLevel.UNKNOWN,
63
- ),
64
- function=service.try,
65
- ),
66
53
  "/metalstack.api.v2.FilesystemService/Match": Endpoint.unary(
67
54
  method=MethodInfo(
68
55
  name="Match",
@@ -125,26 +112,6 @@ class FilesystemServiceClient(ConnecpyClient):
125
112
  timeout_ms=timeout_ms,
126
113
  )
127
114
 
128
- async def try(
129
- self,
130
- request: metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryRequest,
131
- *,
132
- headers: Headers | Mapping[str, str] | None = None,
133
- timeout_ms: int | None = None,
134
- ) -> metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryResponse:
135
- return await self.execute_unary(
136
- request=request,
137
- method=MethodInfo(
138
- name="Try",
139
- service_name="metalstack.api.v2.FilesystemService",
140
- input=metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryRequest,
141
- output=metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryResponse,
142
- idempotency_level=IdempotencyLevel.UNKNOWN,
143
- ),
144
- headers=headers,
145
- timeout_ms=timeout_ms,
146
- )
147
-
148
115
  async def match(
149
116
  self,
150
117
  request: metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceMatchRequest,
@@ -171,8 +138,6 @@ class FilesystemServiceSync(Protocol):
171
138
  raise ConnecpyException(Code.UNIMPLEMENTED, "Not implemented")
172
139
  def list(self, request: metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceListRequest, ctx: RequestContext) -> metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceListResponse:
173
140
  raise ConnecpyException(Code.UNIMPLEMENTED, "Not implemented")
174
- def try(self, request: metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryRequest, ctx: RequestContext) -> metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryResponse:
175
- raise ConnecpyException(Code.UNIMPLEMENTED, "Not implemented")
176
141
  def match(self, request: metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceMatchRequest, ctx: RequestContext) -> metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceMatchResponse:
177
142
  raise ConnecpyException(Code.UNIMPLEMENTED, "Not implemented")
178
143
 
@@ -201,16 +166,6 @@ class FilesystemServiceWSGIApplication(ConnecpyWSGIApplication):
201
166
  ),
202
167
  function=service.list,
203
168
  ),
204
- "/metalstack.api.v2.FilesystemService/Try": EndpointSync.unary(
205
- method=MethodInfo(
206
- name="Try",
207
- service_name="metalstack.api.v2.FilesystemService",
208
- input=metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryRequest,
209
- output=metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryResponse,
210
- idempotency_level=IdempotencyLevel.UNKNOWN,
211
- ),
212
- function=service.try,
213
- ),
214
169
  "/metalstack.api.v2.FilesystemService/Match": EndpointSync.unary(
215
170
  method=MethodInfo(
216
171
  name="Match",
@@ -273,26 +228,6 @@ class FilesystemServiceClientSync(ConnecpyClientSync):
273
228
  timeout_ms=timeout_ms,
274
229
  )
275
230
 
276
- def try(
277
- self,
278
- request: metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryRequest,
279
- *,
280
- headers: Headers | Mapping[str, str] | None = None,
281
- timeout_ms: int | None = None,
282
- ) -> metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryResponse:
283
- return self.execute_unary(
284
- request=request,
285
- method=MethodInfo(
286
- name="Try",
287
- service_name="metalstack.api.v2.FilesystemService",
288
- input=metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryRequest,
289
- output=metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryResponse,
290
- idempotency_level=IdempotencyLevel.UNKNOWN,
291
- ),
292
- headers=headers,
293
- timeout_ms=timeout_ms,
294
- )
295
-
296
231
  def match(
297
232
  self,
298
233
  request: metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceMatchRequest,
@@ -26,7 +26,7 @@ from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
26
26
  from metalstack.api.v2 import common_pb2 as metalstack_dot_api_dot_v2_dot_common__pb2
27
27
 
28
28
 
29
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"metalstack/api/v2/filesystem.proto\x12\x11metalstack.api.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\"9\n\x1b\x46ilesystemServiceGetRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\"F\n\x1c\x46ilesystemServiceListRequest\x12\x1f\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x02id\x88\x01\x01\x42\x05\n\x03_id\"p\n\x1c\x46ilesystemServiceGetResponse\x12P\n\x11\x66ilesystem_layout\x18\x01 \x01(\x0b\x32#.metalstack.api.v2.FilesystemLayoutR\x10\x66ilesystemLayout\"s\n\x1d\x46ilesystemServiceListResponse\x12R\n\x12\x66ilesystem_layouts\x18\x01 \x03(\x0b\x32#.metalstack.api.v2.FilesystemLayoutR\x11\x66ilesystemLayouts\"_\n\x1b\x46ilesystemServiceTryRequest\x12\x1e\n\x04size\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x04size\x12 \n\x05image\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x05image\"|\n\x1d\x46ilesystemServiceMatchRequest\x12\"\n\x07machine\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07machine\x12\x37\n\x11\x66ilesystem_layout\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x10\x66ilesystemLayout\"p\n\x1c\x46ilesystemServiceTryResponse\x12P\n\x11\x66ilesystem_layout\x18\x01 \x01(\x0b\x32#.metalstack.api.v2.FilesystemLayoutR\x10\x66ilesystemLayout\"r\n\x1e\x46ilesystemServiceMatchResponse\x12P\n\x11\x66ilesystem_layout\x18\x01 \x01(\x0b\x32#.metalstack.api.v2.FilesystemLayoutR\x10\x66ilesystemLayout\"\xcb\x04\n\x10\x46ilesystemLayout\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\x12+\n\x04meta\x18\x02 \x01(\x0b\x32\x17.metalstack.api.v2.MetaR\x04meta\x12#\n\x04name\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x04name\x88\x01\x01\x12\x31\n\x0b\x64\x65scription\x18\x04 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x01R\x0b\x64\x65scription\x88\x01\x01\x12?\n\x0b\x66ilesystems\x18\x05 \x03(\x0b\x32\x1d.metalstack.api.v2.FilesystemR\x0b\x66ilesystems\x12-\n\x05\x64isks\x18\x06 \x03(\x0b\x32\x17.metalstack.api.v2.DiskR\x05\x64isks\x12+\n\x04raid\x18\x07 \x03(\x0b\x32\x17.metalstack.api.v2.RaidR\x04raid\x12\x43\n\rvolume_groups\x18\x08 \x03(\x0b\x32\x1e.metalstack.api.v2.VolumeGroupR\x0cvolumeGroups\x12I\n\x0flogical_volumes\x18\t \x03(\x0b\x32 .metalstack.api.v2.LogicalVolumeR\x0elogicalVolumes\x12P\n\x0b\x63onstraints\x18\n \x01(\x0b\x32..metalstack.api.v2.FilesystemLayoutConstraintsR\x0b\x63onstraintsB\x07\n\x05_nameB\x0e\n\x0c_description\"\xc2\x01\n\x1b\x46ilesystemLayoutConstraints\x12\x14\n\x05sizes\x18\x01 \x03(\tR\x05sizes\x12R\n\x06images\x18\x02 \x03(\x0b\x32:.metalstack.api.v2.FilesystemLayoutConstraints.ImagesEntryR\x06images\x1a\x39\n\x0bImagesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xb6\x03\n\nFilesystem\x12\"\n\x06\x64\x65vice\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x06\x64\x65vice\x12>\n\x06\x66ormat\x18\x02 \x01(\x0e\x32\x19.metalstack.api.v2.FormatB\x0b\xbaH\x08\x82\x01\x02\x10\x01\xc8\x01\x01R\x06\x66ormat\x12#\n\x04name\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x04name\x88\x01\x01\x12\x31\n\x0b\x64\x65scription\x18\x04 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x01R\x0b\x64\x65scription\x88\x01\x01\x12#\n\x04path\x18\x05 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80 H\x02R\x04path\x88\x01\x01\x12%\n\x05label\x18\x06 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x03R\x05label\x88\x01\x01\x12\x38\n\rmount_options\x18\x07 \x03(\tB\x13\xbaH\x10\x92\x01\r\x10 \x18\x01\"\x07r\x05\x10\x01\x18\x80\x01R\x0cmountOptions\x12:\n\x0e\x63reate_options\x18\x08 \x03(\tB\x13\xbaH\x10\x92\x01\r\x10 \x18\x01\"\x07r\x05\x10\x01\x18\x80\x01R\rcreateOptionsB\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x07\n\x05_pathB\x08\n\x06_label\"l\n\x04\x44isk\x12\"\n\x06\x64\x65vice\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x06\x64\x65vice\x12@\n\npartitions\x18\x02 \x03(\x0b\x32 .metalstack.api.v2.DiskPartitionR\npartitions\"\xd4\x01\n\x04Raid\x12\x1d\n\narray_name\x18\x01 \x01(\tR\tarrayName\x12\x18\n\x07\x64\x65vices\x18\x02 \x03(\tR\x07\x64\x65vices\x12?\n\x05level\x18\x03 \x01(\x0e\x32\x1c.metalstack.api.v2.RaidLevelB\x0b\xbaH\x08\x82\x01\x02\x10\x01\xc8\x01\x01R\x05level\x12:\n\x0e\x63reate_options\x18\x04 \x03(\tB\x13\xbaH\x10\x92\x01\r\x10 \x18\x01\"\x07r\x05\x10\x01\x18\x80\x01R\rcreateOptions\x12\x16\n\x06spares\x18\x05 \x01(\x05R\x06spares\"\xb6\x01\n\rDiskPartition\x12\x16\n\x06number\x18\x01 \x01(\rR\x06number\x12\x19\n\x05label\x18\x02 \x01(\tH\x00R\x05label\x88\x01\x01\x12\x12\n\x04size\x18\x03 \x01(\x04R\x04size\x12G\n\x08gpt_type\x18\x04 \x01(\x0e\x32\x1a.metalstack.api.v2.GPTTypeB\x0b\xbaH\x08\x82\x01\x02\x10\x01\xc8\x01\x01H\x01R\x07gptType\x88\x01\x01\x42\x08\n\x06_labelB\x0b\n\t_gpt_type\"[\n\x0bVolumeGroup\x12\x1e\n\x04name\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x04name\x12\x18\n\x07\x64\x65vices\x18\x02 \x03(\tR\x07\x64\x65vices\x12\x12\n\x04tags\x18\x03 \x03(\tR\x04tags\"\xb3\x01\n\rLogicalVolume\x12\x1e\n\x04name\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x04name\x12-\n\x0cvolume_group\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x0bvolumeGroup\x12\x12\n\x04size\x18\x03 \x01(\x04R\x04size\x12?\n\x08lvm_type\x18\x04 \x01(\x0e\x32\x1a.metalstack.api.v2.LVMTypeB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x07lvmType*\x86\x01\n\x07LVMType\x12\x18\n\x14LVM_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x0fLVM_TYPE_LINEAR\x10\x01\x1a\n\x82\xb2\x19\x06linear\x12!\n\x10LVM_TYPE_STRIPED\x10\x02\x1a\x0b\x82\xb2\x19\x07striped\x12\x1d\n\x0eLVM_TYPE_RAID1\x10\x03\x1a\t\x82\xb2\x19\x05raid1*\xc4\x01\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\x19\n\x0b\x46ORMAT_VFAT\x10\x01\x1a\x08\x82\xb2\x19\x04vfat\x12\x19\n\x0b\x46ORMAT_EXT3\x10\x02\x1a\x08\x82\xb2\x19\x04\x65xt3\x12\x19\n\x0b\x46ORMAT_EXT4\x10\x03\x1a\x08\x82\xb2\x19\x04\x65xt4\x12\x19\n\x0b\x46ORMAT_SWAP\x10\x04\x1a\x08\x82\xb2\x19\x04swap\x12\x1b\n\x0c\x46ORMAT_TMPFS\x10\x05\x1a\t\x82\xb2\x19\x05tmpfs\x12\x19\n\x0b\x46ORMAT_NONE\x10\x06\x1a\x08\x82\xb2\x19\x04none*\xa3\x01\n\x07GPTType\x12\x18\n\x14GPT_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\rGPT_TYPE_BOOT\x10\x01\x1a\x08\x82\xb2\x19\x04\x65\x66\x30\x30\x12\x1c\n\x0eGPT_TYPE_LINUX\x10\x02\x1a\x08\x82\xb2\x19\x04\x38\x33\x30\x30\x12!\n\x13GPT_TYPE_LINUX_RAID\x10\x03\x1a\x08\x82\xb2\x19\x04\x66\x64\x30\x30\x12 \n\x12GPT_TYPE_LINUX_LVM\x10\x04\x1a\x08\x82\xb2\x19\x04\x38\x65\x30\x30*K\n\tRaidLevel\x12\x1a\n\x16RAID_LEVEL_UNSPECIFIED\x10\x00\x12\x10\n\x0cRAID_LEVEL_0\x10\x01\x12\x10\n\x0cRAID_LEVEL_1\x10\x02\x32\xe4\x03\n\x11\x46ilesystemService\x12p\n\x03Get\x12..metalstack.api.v2.FilesystemServiceGetRequest\x1a/.metalstack.api.v2.FilesystemServiceGetResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x12s\n\x04List\x12/.metalstack.api.v2.FilesystemServiceListRequest\x1a\x30.metalstack.api.v2.FilesystemServiceListResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x12p\n\x03Try\x12..metalstack.api.v2.FilesystemServiceTryRequest\x1a/.metalstack.api.v2.FilesystemServiceTryResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x12v\n\x05Match\x12\x30.metalstack.api.v2.FilesystemServiceMatchRequest\x1a\x31.metalstack.api.v2.FilesystemServiceMatchResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x42\xc5\x01\n\x15\x63om.metalstack.api.v2B\x0f\x46ilesystemProtoP\x01Z5github.com/metal-stack/api/go/metalstack/api/v2;apiv2\xa2\x02\x03MAX\xaa\x02\x11Metalstack.Api.V2\xca\x02\x11Metalstack\\Api\\V2\xe2\x02\x1dMetalstack\\Api\\V2\\GPBMetadata\xea\x02\x13Metalstack::Api::V2b\x06proto3')
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"metalstack/api/v2/filesystem.proto\x12\x11metalstack.api.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\"9\n\x1b\x46ilesystemServiceGetRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\"F\n\x1c\x46ilesystemServiceListRequest\x12\x1f\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x02id\x88\x01\x01\x42\x05\n\x03_id\"p\n\x1c\x46ilesystemServiceGetResponse\x12P\n\x11\x66ilesystem_layout\x18\x01 \x01(\x0b\x32#.metalstack.api.v2.FilesystemLayoutR\x10\x66ilesystemLayout\"s\n\x1d\x46ilesystemServiceListResponse\x12R\n\x12\x66ilesystem_layouts\x18\x01 \x03(\x0b\x32#.metalstack.api.v2.FilesystemLayoutR\x11\x66ilesystemLayouts\"\xdb\x01\n\x1d\x46ilesystemServiceMatchRequest\x12L\n\x0esize_and_image\x18\x01 \x01(\x0b\x32$.metalstack.api.v2.MatchImageAndSizeH\x00R\x0csizeAndImage\x12\x63\n\x1cmachine_and_filesystemlayout\x18\x02 \x01(\x0b\x32\x1f.metalstack.api.v2.MatchMachineH\x00R\x1amachineAndFilesystemlayoutB\x07\n\x05match\"U\n\x11MatchImageAndSize\x12\x1e\n\x04size\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x04size\x12 \n\x05image\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x05image\"k\n\x0cMatchMachine\x12\"\n\x07machine\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07machine\x12\x37\n\x11\x66ilesystem_layout\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x10\x66ilesystemLayout\"p\n\x1c\x46ilesystemServiceTryResponse\x12P\n\x11\x66ilesystem_layout\x18\x01 \x01(\x0b\x32#.metalstack.api.v2.FilesystemLayoutR\x10\x66ilesystemLayout\"r\n\x1e\x46ilesystemServiceMatchResponse\x12P\n\x11\x66ilesystem_layout\x18\x01 \x01(\x0b\x32#.metalstack.api.v2.FilesystemLayoutR\x10\x66ilesystemLayout\"\xcb\x04\n\x10\x46ilesystemLayout\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\x12+\n\x04meta\x18\x02 \x01(\x0b\x32\x17.metalstack.api.v2.MetaR\x04meta\x12#\n\x04name\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x04name\x88\x01\x01\x12\x31\n\x0b\x64\x65scription\x18\x04 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x01R\x0b\x64\x65scription\x88\x01\x01\x12?\n\x0b\x66ilesystems\x18\x05 \x03(\x0b\x32\x1d.metalstack.api.v2.FilesystemR\x0b\x66ilesystems\x12-\n\x05\x64isks\x18\x06 \x03(\x0b\x32\x17.metalstack.api.v2.DiskR\x05\x64isks\x12+\n\x04raid\x18\x07 \x03(\x0b\x32\x17.metalstack.api.v2.RaidR\x04raid\x12\x43\n\rvolume_groups\x18\x08 \x03(\x0b\x32\x1e.metalstack.api.v2.VolumeGroupR\x0cvolumeGroups\x12I\n\x0flogical_volumes\x18\t \x03(\x0b\x32 .metalstack.api.v2.LogicalVolumeR\x0elogicalVolumes\x12P\n\x0b\x63onstraints\x18\n \x01(\x0b\x32..metalstack.api.v2.FilesystemLayoutConstraintsR\x0b\x63onstraintsB\x07\n\x05_nameB\x0e\n\x0c_description\"\xc2\x01\n\x1b\x46ilesystemLayoutConstraints\x12\x14\n\x05sizes\x18\x01 \x03(\tR\x05sizes\x12R\n\x06images\x18\x02 \x03(\x0b\x32:.metalstack.api.v2.FilesystemLayoutConstraints.ImagesEntryR\x06images\x1a\x39\n\x0bImagesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xb6\x03\n\nFilesystem\x12\"\n\x06\x64\x65vice\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x06\x64\x65vice\x12>\n\x06\x66ormat\x18\x02 \x01(\x0e\x32\x19.metalstack.api.v2.FormatB\x0b\xbaH\x08\x82\x01\x02\x10\x01\xc8\x01\x01R\x06\x66ormat\x12#\n\x04name\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x04name\x88\x01\x01\x12\x31\n\x0b\x64\x65scription\x18\x04 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x01R\x0b\x64\x65scription\x88\x01\x01\x12#\n\x04path\x18\x05 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80 H\x02R\x04path\x88\x01\x01\x12%\n\x05label\x18\x06 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x03R\x05label\x88\x01\x01\x12\x38\n\rmount_options\x18\x07 \x03(\tB\x13\xbaH\x10\x92\x01\r\x10 \x18\x01\"\x07r\x05\x10\x01\x18\x80\x01R\x0cmountOptions\x12:\n\x0e\x63reate_options\x18\x08 \x03(\tB\x13\xbaH\x10\x92\x01\r\x10 \x18\x01\"\x07r\x05\x10\x01\x18\x80\x01R\rcreateOptionsB\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x07\n\x05_pathB\x08\n\x06_label\"l\n\x04\x44isk\x12\"\n\x06\x64\x65vice\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x06\x64\x65vice\x12@\n\npartitions\x18\x02 \x03(\x0b\x32 .metalstack.api.v2.DiskPartitionR\npartitions\"\xd4\x01\n\x04Raid\x12\x1d\n\narray_name\x18\x01 \x01(\tR\tarrayName\x12\x18\n\x07\x64\x65vices\x18\x02 \x03(\tR\x07\x64\x65vices\x12?\n\x05level\x18\x03 \x01(\x0e\x32\x1c.metalstack.api.v2.RaidLevelB\x0b\xbaH\x08\x82\x01\x02\x10\x01\xc8\x01\x01R\x05level\x12:\n\x0e\x63reate_options\x18\x04 \x03(\tB\x13\xbaH\x10\x92\x01\r\x10 \x18\x01\"\x07r\x05\x10\x01\x18\x80\x01R\rcreateOptions\x12\x16\n\x06spares\x18\x05 \x01(\x05R\x06spares\"\xb6\x01\n\rDiskPartition\x12\x16\n\x06number\x18\x01 \x01(\rR\x06number\x12\x19\n\x05label\x18\x02 \x01(\tH\x00R\x05label\x88\x01\x01\x12\x12\n\x04size\x18\x03 \x01(\x04R\x04size\x12G\n\x08gpt_type\x18\x04 \x01(\x0e\x32\x1a.metalstack.api.v2.GPTTypeB\x0b\xbaH\x08\x82\x01\x02\x10\x01\xc8\x01\x01H\x01R\x07gptType\x88\x01\x01\x42\x08\n\x06_labelB\x0b\n\t_gpt_type\"[\n\x0bVolumeGroup\x12\x1e\n\x04name\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x04name\x12\x18\n\x07\x64\x65vices\x18\x02 \x03(\tR\x07\x64\x65vices\x12\x12\n\x04tags\x18\x03 \x03(\tR\x04tags\"\xb3\x01\n\rLogicalVolume\x12\x1e\n\x04name\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x04name\x12-\n\x0cvolume_group\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x0bvolumeGroup\x12\x12\n\x04size\x18\x03 \x01(\x04R\x04size\x12?\n\x08lvm_type\x18\x04 \x01(\x0e\x32\x1a.metalstack.api.v2.LVMTypeB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x07lvmType*\x86\x01\n\x07LVMType\x12\x18\n\x14LVM_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x0fLVM_TYPE_LINEAR\x10\x01\x1a\n\x82\xb2\x19\x06linear\x12!\n\x10LVM_TYPE_STRIPED\x10\x02\x1a\x0b\x82\xb2\x19\x07striped\x12\x1d\n\x0eLVM_TYPE_RAID1\x10\x03\x1a\t\x82\xb2\x19\x05raid1*\xc4\x01\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\x19\n\x0b\x46ORMAT_VFAT\x10\x01\x1a\x08\x82\xb2\x19\x04vfat\x12\x19\n\x0b\x46ORMAT_EXT3\x10\x02\x1a\x08\x82\xb2\x19\x04\x65xt3\x12\x19\n\x0b\x46ORMAT_EXT4\x10\x03\x1a\x08\x82\xb2\x19\x04\x65xt4\x12\x19\n\x0b\x46ORMAT_SWAP\x10\x04\x1a\x08\x82\xb2\x19\x04swap\x12\x1b\n\x0c\x46ORMAT_TMPFS\x10\x05\x1a\t\x82\xb2\x19\x05tmpfs\x12\x19\n\x0b\x46ORMAT_NONE\x10\x06\x1a\x08\x82\xb2\x19\x04none*\xa3\x01\n\x07GPTType\x12\x18\n\x14GPT_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\rGPT_TYPE_BOOT\x10\x01\x1a\x08\x82\xb2\x19\x04\x65\x66\x30\x30\x12\x1c\n\x0eGPT_TYPE_LINUX\x10\x02\x1a\x08\x82\xb2\x19\x04\x38\x33\x30\x30\x12!\n\x13GPT_TYPE_LINUX_RAID\x10\x03\x1a\x08\x82\xb2\x19\x04\x66\x64\x30\x30\x12 \n\x12GPT_TYPE_LINUX_LVM\x10\x04\x1a\x08\x82\xb2\x19\x04\x38\x65\x30\x30*K\n\tRaidLevel\x12\x1a\n\x16RAID_LEVEL_UNSPECIFIED\x10\x00\x12\x10\n\x0cRAID_LEVEL_0\x10\x01\x12\x10\n\x0cRAID_LEVEL_1\x10\x02\x32\xf2\x02\n\x11\x46ilesystemService\x12p\n\x03Get\x12..metalstack.api.v2.FilesystemServiceGetRequest\x1a/.metalstack.api.v2.FilesystemServiceGetResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x12s\n\x04List\x12/.metalstack.api.v2.FilesystemServiceListRequest\x1a\x30.metalstack.api.v2.FilesystemServiceListResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x12v\n\x05Match\x12\x30.metalstack.api.v2.FilesystemServiceMatchRequest\x1a\x31.metalstack.api.v2.FilesystemServiceMatchResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x42\xc5\x01\n\x15\x63om.metalstack.api.v2B\x0f\x46ilesystemProtoP\x01Z5github.com/metal-stack/api/go/metalstack/api/v2;apiv2\xa2\x02\x03MAX\xaa\x02\x11Metalstack.Api.V2\xca\x02\x11Metalstack\\Api\\V2\xe2\x02\x1dMetalstack\\Api\\V2\\GPBMetadata\xea\x02\x13Metalstack::Api::V2b\x06proto3')
30
30
 
31
31
  _globals = globals()
32
32
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -64,14 +64,14 @@ if not _descriptor._USE_C_DESCRIPTORS:
64
64
  _globals['_FILESYSTEMSERVICEGETREQUEST'].fields_by_name['id']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
65
65
  _globals['_FILESYSTEMSERVICELISTREQUEST'].fields_by_name['id']._loaded_options = None
66
66
  _globals['_FILESYSTEMSERVICELISTREQUEST'].fields_by_name['id']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
67
- _globals['_FILESYSTEMSERVICETRYREQUEST'].fields_by_name['size']._loaded_options = None
68
- _globals['_FILESYSTEMSERVICETRYREQUEST'].fields_by_name['size']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
69
- _globals['_FILESYSTEMSERVICETRYREQUEST'].fields_by_name['image']._loaded_options = None
70
- _globals['_FILESYSTEMSERVICETRYREQUEST'].fields_by_name['image']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
71
- _globals['_FILESYSTEMSERVICEMATCHREQUEST'].fields_by_name['machine']._loaded_options = None
72
- _globals['_FILESYSTEMSERVICEMATCHREQUEST'].fields_by_name['machine']._serialized_options = b'\272H\005r\003\260\001\001'
73
- _globals['_FILESYSTEMSERVICEMATCHREQUEST'].fields_by_name['filesystem_layout']._loaded_options = None
74
- _globals['_FILESYSTEMSERVICEMATCHREQUEST'].fields_by_name['filesystem_layout']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
67
+ _globals['_MATCHIMAGEANDSIZE'].fields_by_name['size']._loaded_options = None
68
+ _globals['_MATCHIMAGEANDSIZE'].fields_by_name['size']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
69
+ _globals['_MATCHIMAGEANDSIZE'].fields_by_name['image']._loaded_options = None
70
+ _globals['_MATCHIMAGEANDSIZE'].fields_by_name['image']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
71
+ _globals['_MATCHMACHINE'].fields_by_name['machine']._loaded_options = None
72
+ _globals['_MATCHMACHINE'].fields_by_name['machine']._serialized_options = b'\272H\005r\003\260\001\001'
73
+ _globals['_MATCHMACHINE'].fields_by_name['filesystem_layout']._loaded_options = None
74
+ _globals['_MATCHMACHINE'].fields_by_name['filesystem_layout']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
75
75
  _globals['_FILESYSTEMLAYOUT'].fields_by_name['id']._loaded_options = None
76
76
  _globals['_FILESYSTEMLAYOUT'].fields_by_name['id']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
77
77
  _globals['_FILESYSTEMLAYOUT'].fields_by_name['name']._loaded_options = None
@@ -116,18 +116,16 @@ if not _descriptor._USE_C_DESCRIPTORS:
116
116
  _globals['_FILESYSTEMSERVICE'].methods_by_name['Get']._serialized_options = b'\330\363\030\003\340\363\030\002'
117
117
  _globals['_FILESYSTEMSERVICE'].methods_by_name['List']._loaded_options = None
118
118
  _globals['_FILESYSTEMSERVICE'].methods_by_name['List']._serialized_options = b'\330\363\030\003\340\363\030\002'
119
- _globals['_FILESYSTEMSERVICE'].methods_by_name['Try']._loaded_options = None
120
- _globals['_FILESYSTEMSERVICE'].methods_by_name['Try']._serialized_options = b'\330\363\030\003\340\363\030\002'
121
119
  _globals['_FILESYSTEMSERVICE'].methods_by_name['Match']._loaded_options = None
122
120
  _globals['_FILESYSTEMSERVICE'].methods_by_name['Match']._serialized_options = b'\330\363\030\003\340\363\030\002'
123
- _globals['_LVMTYPE']._serialized_start=2947
124
- _globals['_LVMTYPE']._serialized_end=3081
125
- _globals['_FORMAT']._serialized_start=3084
126
- _globals['_FORMAT']._serialized_end=3280
127
- _globals['_GPTTYPE']._serialized_start=3283
128
- _globals['_GPTTYPE']._serialized_end=3446
129
- _globals['_RAIDLEVEL']._serialized_start=3448
130
- _globals['_RAIDLEVEL']._serialized_end=3523
121
+ _globals['_LVMTYPE']._serialized_start=3142
122
+ _globals['_LVMTYPE']._serialized_end=3276
123
+ _globals['_FORMAT']._serialized_start=3279
124
+ _globals['_FORMAT']._serialized_end=3475
125
+ _globals['_GPTTYPE']._serialized_start=3478
126
+ _globals['_GPTTYPE']._serialized_end=3641
127
+ _globals['_RAIDLEVEL']._serialized_start=3643
128
+ _globals['_RAIDLEVEL']._serialized_end=3718
131
129
  _globals['_FILESYSTEMSERVICEGETREQUEST']._serialized_start=118
132
130
  _globals['_FILESYSTEMSERVICEGETREQUEST']._serialized_end=175
133
131
  _globals['_FILESYSTEMSERVICELISTREQUEST']._serialized_start=177
@@ -136,32 +134,34 @@ if not _descriptor._USE_C_DESCRIPTORS:
136
134
  _globals['_FILESYSTEMSERVICEGETRESPONSE']._serialized_end=361
137
135
  _globals['_FILESYSTEMSERVICELISTRESPONSE']._serialized_start=363
138
136
  _globals['_FILESYSTEMSERVICELISTRESPONSE']._serialized_end=478
139
- _globals['_FILESYSTEMSERVICETRYREQUEST']._serialized_start=480
140
- _globals['_FILESYSTEMSERVICETRYREQUEST']._serialized_end=575
141
- _globals['_FILESYSTEMSERVICEMATCHREQUEST']._serialized_start=577
142
- _globals['_FILESYSTEMSERVICEMATCHREQUEST']._serialized_end=701
143
- _globals['_FILESYSTEMSERVICETRYRESPONSE']._serialized_start=703
144
- _globals['_FILESYSTEMSERVICETRYRESPONSE']._serialized_end=815
145
- _globals['_FILESYSTEMSERVICEMATCHRESPONSE']._serialized_start=817
146
- _globals['_FILESYSTEMSERVICEMATCHRESPONSE']._serialized_end=931
147
- _globals['_FILESYSTEMLAYOUT']._serialized_start=934
148
- _globals['_FILESYSTEMLAYOUT']._serialized_end=1521
149
- _globals['_FILESYSTEMLAYOUTCONSTRAINTS']._serialized_start=1524
150
- _globals['_FILESYSTEMLAYOUTCONSTRAINTS']._serialized_end=1718
151
- _globals['_FILESYSTEMLAYOUTCONSTRAINTS_IMAGESENTRY']._serialized_start=1661
152
- _globals['_FILESYSTEMLAYOUTCONSTRAINTS_IMAGESENTRY']._serialized_end=1718
153
- _globals['_FILESYSTEM']._serialized_start=1721
154
- _globals['_FILESYSTEM']._serialized_end=2159
155
- _globals['_DISK']._serialized_start=2161
156
- _globals['_DISK']._serialized_end=2269
157
- _globals['_RAID']._serialized_start=2272
158
- _globals['_RAID']._serialized_end=2484
159
- _globals['_DISKPARTITION']._serialized_start=2487
160
- _globals['_DISKPARTITION']._serialized_end=2669
161
- _globals['_VOLUMEGROUP']._serialized_start=2671
162
- _globals['_VOLUMEGROUP']._serialized_end=2762
163
- _globals['_LOGICALVOLUME']._serialized_start=2765
164
- _globals['_LOGICALVOLUME']._serialized_end=2944
165
- _globals['_FILESYSTEMSERVICE']._serialized_start=3526
166
- _globals['_FILESYSTEMSERVICE']._serialized_end=4010
137
+ _globals['_FILESYSTEMSERVICEMATCHREQUEST']._serialized_start=481
138
+ _globals['_FILESYSTEMSERVICEMATCHREQUEST']._serialized_end=700
139
+ _globals['_MATCHIMAGEANDSIZE']._serialized_start=702
140
+ _globals['_MATCHIMAGEANDSIZE']._serialized_end=787
141
+ _globals['_MATCHMACHINE']._serialized_start=789
142
+ _globals['_MATCHMACHINE']._serialized_end=896
143
+ _globals['_FILESYSTEMSERVICETRYRESPONSE']._serialized_start=898
144
+ _globals['_FILESYSTEMSERVICETRYRESPONSE']._serialized_end=1010
145
+ _globals['_FILESYSTEMSERVICEMATCHRESPONSE']._serialized_start=1012
146
+ _globals['_FILESYSTEMSERVICEMATCHRESPONSE']._serialized_end=1126
147
+ _globals['_FILESYSTEMLAYOUT']._serialized_start=1129
148
+ _globals['_FILESYSTEMLAYOUT']._serialized_end=1716
149
+ _globals['_FILESYSTEMLAYOUTCONSTRAINTS']._serialized_start=1719
150
+ _globals['_FILESYSTEMLAYOUTCONSTRAINTS']._serialized_end=1913
151
+ _globals['_FILESYSTEMLAYOUTCONSTRAINTS_IMAGESENTRY']._serialized_start=1856
152
+ _globals['_FILESYSTEMLAYOUTCONSTRAINTS_IMAGESENTRY']._serialized_end=1913
153
+ _globals['_FILESYSTEM']._serialized_start=1916
154
+ _globals['_FILESYSTEM']._serialized_end=2354
155
+ _globals['_DISK']._serialized_start=2356
156
+ _globals['_DISK']._serialized_end=2464
157
+ _globals['_RAID']._serialized_start=2467
158
+ _globals['_RAID']._serialized_end=2679
159
+ _globals['_DISKPARTITION']._serialized_start=2682
160
+ _globals['_DISKPARTITION']._serialized_end=2864
161
+ _globals['_VOLUMEGROUP']._serialized_start=2866
162
+ _globals['_VOLUMEGROUP']._serialized_end=2957
163
+ _globals['_LOGICALVOLUME']._serialized_start=2960
164
+ _globals['_LOGICALVOLUME']._serialized_end=3139
165
+ _globals['_FILESYSTEMSERVICE']._serialized_start=3721
166
+ _globals['_FILESYSTEMSERVICE']._serialized_end=4091
167
167
  # @@protoc_insertion_point(module_scope)
@@ -83,7 +83,15 @@ class FilesystemServiceListResponse(_message.Message):
83
83
  filesystem_layouts: _containers.RepeatedCompositeFieldContainer[FilesystemLayout]
84
84
  def __init__(self, filesystem_layouts: _Optional[_Iterable[_Union[FilesystemLayout, _Mapping]]] = ...) -> None: ...
85
85
 
86
- class FilesystemServiceTryRequest(_message.Message):
86
+ class FilesystemServiceMatchRequest(_message.Message):
87
+ __slots__ = ("size_and_image", "machine_and_filesystemlayout")
88
+ SIZE_AND_IMAGE_FIELD_NUMBER: _ClassVar[int]
89
+ MACHINE_AND_FILESYSTEMLAYOUT_FIELD_NUMBER: _ClassVar[int]
90
+ size_and_image: MatchImageAndSize
91
+ machine_and_filesystemlayout: MatchMachine
92
+ def __init__(self, size_and_image: _Optional[_Union[MatchImageAndSize, _Mapping]] = ..., machine_and_filesystemlayout: _Optional[_Union[MatchMachine, _Mapping]] = ...) -> None: ...
93
+
94
+ class MatchImageAndSize(_message.Message):
87
95
  __slots__ = ("size", "image")
88
96
  SIZE_FIELD_NUMBER: _ClassVar[int]
89
97
  IMAGE_FIELD_NUMBER: _ClassVar[int]
@@ -91,7 +99,7 @@ class FilesystemServiceTryRequest(_message.Message):
91
99
  image: str
92
100
  def __init__(self, size: _Optional[str] = ..., image: _Optional[str] = ...) -> None: ...
93
101
 
94
- class FilesystemServiceMatchRequest(_message.Message):
102
+ class MatchMachine(_message.Message):
95
103
  __slots__ = ("machine", "filesystem_layout")
96
104
  MACHINE_FIELD_NUMBER: _ClassVar[int]
97
105
  FILESYSTEM_LAYOUT_FIELD_NUMBER: _ClassVar[int]
@@ -25,11 +25,6 @@ class FilesystemServiceStub(object):
25
25
  request_serializer=metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceListRequest.SerializeToString,
26
26
  response_deserializer=metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceListResponse.FromString,
27
27
  _registered_method=True)
28
- self.Try = channel.unary_unary(
29
- '/metalstack.api.v2.FilesystemService/Try',
30
- request_serializer=metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryRequest.SerializeToString,
31
- response_deserializer=metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryResponse.FromString,
32
- _registered_method=True)
33
28
  self.Match = channel.unary_unary(
34
29
  '/metalstack.api.v2.FilesystemService/Match',
35
30
  request_serializer=metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceMatchRequest.SerializeToString,
@@ -55,13 +50,6 @@ class FilesystemServiceServicer(object):
55
50
  context.set_details('Method not implemented!')
56
51
  raise NotImplementedError('Method not implemented!')
57
52
 
58
- def Try(self, request, context):
59
- """Try a filesystems
60
- """
61
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
62
- context.set_details('Method not implemented!')
63
- raise NotImplementedError('Method not implemented!')
64
-
65
53
  def Match(self, request, context):
66
54
  """Match a filesystems
67
55
  """
@@ -82,11 +70,6 @@ def add_FilesystemServiceServicer_to_server(servicer, server):
82
70
  request_deserializer=metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceListRequest.FromString,
83
71
  response_serializer=metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceListResponse.SerializeToString,
84
72
  ),
85
- 'Try': grpc.unary_unary_rpc_method_handler(
86
- servicer.Try,
87
- request_deserializer=metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryRequest.FromString,
88
- response_serializer=metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryResponse.SerializeToString,
89
- ),
90
73
  'Match': grpc.unary_unary_rpc_method_handler(
91
74
  servicer.Match,
92
75
  request_deserializer=metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceMatchRequest.FromString,
@@ -158,33 +141,6 @@ class FilesystemService(object):
158
141
  metadata,
159
142
  _registered_method=True)
160
143
 
161
- @staticmethod
162
- def Try(request,
163
- target,
164
- options=(),
165
- channel_credentials=None,
166
- call_credentials=None,
167
- insecure=False,
168
- compression=None,
169
- wait_for_ready=None,
170
- timeout=None,
171
- metadata=None):
172
- return grpc.experimental.unary_unary(
173
- request,
174
- target,
175
- '/metalstack.api.v2.FilesystemService/Try',
176
- metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryRequest.SerializeToString,
177
- metalstack_dot_api_dot_v2_dot_filesystem__pb2.FilesystemServiceTryResponse.FromString,
178
- options,
179
- channel_credentials,
180
- insecure,
181
- call_credentials,
182
- compression,
183
- wait_for_ready,
184
- timeout,
185
- metadata,
186
- _registered_method=True)
187
-
188
144
  @staticmethod
189
145
  def Match(request,
190
146
  target,