metal-stack-api 0.0.16__tar.gz → 0.0.18__tar.gz
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.
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/PKG-INFO +1 -1
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metal_stack_api.egg-info/PKG-INFO +1 -1
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/filesystem_connecpy.py +0 -65
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/filesystem_pb2.py +47 -47
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/filesystem_pb2.pyi +10 -2
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/filesystem_pb2_grpc.py +0 -44
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/client/client.py +25 -25
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/README.md +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/buf/__init__.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/buf/validate/__init__.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/buf/validate/validate_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/buf/validate/validate_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/buf/validate/validate_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metal_stack_api.egg-info/SOURCES.txt +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metal_stack_api.egg-info/dependency_links.txt +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metal_stack_api.egg-info/requires.txt +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metal_stack_api.egg-info/top_level.txt +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/__init__.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/__init__.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/__init__.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/filesystem_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/filesystem_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/filesystem_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/filesystem_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/image_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/image_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/image_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/image_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/ip_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/ip_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/ip_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/ip_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/machine_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/machine_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/machine_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/machine_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/network_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/network_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/network_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/network_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/partition_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/partition_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/partition_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/partition_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/size_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/size_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/size_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/size_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/tenant_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/tenant_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/tenant_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/tenant_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/token_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/token_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/token_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/token_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/__init__.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/__init__.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/common_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/common_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/common_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/health_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/health_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/health_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/health_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/image_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/image_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/image_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/image_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/ip_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/ip_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/ip_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/ip_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/machine_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/machine_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/machine_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/machine_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/method_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/method_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/method_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/method_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/network_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/network_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/network_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/network_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/partition_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/partition_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/partition_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/partition_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/project_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/project_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/project_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/project_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/size_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/size_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/size_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/size_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/switch_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/switch_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/switch_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/tenant_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/tenant_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/tenant_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/tenant_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/token_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/token_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/token_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/token_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/user_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/user_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/user_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/user_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/version_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/version_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/version_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/api/v2/version_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/client/__init__.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/infra/__init__.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/infra/v2/__init__.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/infra/v2/bmc_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/infra/v2/bmc_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/infra/v2/bmc_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/infra/v2/bmc_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/infra/v2/switch_connecpy.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/infra/v2/switch_pb2.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/infra/v2/switch_pb2.pyi +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/infra/v2/switch_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/setup.cfg +0 -0
- {metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/setup.py +0 -0
|
@@ -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\"
|
|
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['
|
|
68
|
-
_globals['
|
|
69
|
-
_globals['
|
|
70
|
-
_globals['
|
|
71
|
-
_globals['
|
|
72
|
-
_globals['
|
|
73
|
-
_globals['
|
|
74
|
-
_globals['
|
|
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=
|
|
124
|
-
_globals['_LVMTYPE']._serialized_end=
|
|
125
|
-
_globals['_FORMAT']._serialized_start=
|
|
126
|
-
_globals['_FORMAT']._serialized_end=
|
|
127
|
-
_globals['_GPTTYPE']._serialized_start=
|
|
128
|
-
_globals['_GPTTYPE']._serialized_end=
|
|
129
|
-
_globals['_RAIDLEVEL']._serialized_start=
|
|
130
|
-
_globals['_RAIDLEVEL']._serialized_end=
|
|
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['
|
|
140
|
-
_globals['
|
|
141
|
-
_globals['
|
|
142
|
-
_globals['
|
|
143
|
-
_globals['
|
|
144
|
-
_globals['
|
|
145
|
-
_globals['
|
|
146
|
-
_globals['
|
|
147
|
-
_globals['
|
|
148
|
-
_globals['
|
|
149
|
-
_globals['
|
|
150
|
-
_globals['
|
|
151
|
-
_globals['
|
|
152
|
-
_globals['
|
|
153
|
-
_globals['
|
|
154
|
-
_globals['
|
|
155
|
-
_globals['
|
|
156
|
-
_globals['
|
|
157
|
-
_globals['
|
|
158
|
-
_globals['
|
|
159
|
-
_globals['
|
|
160
|
-
_globals['
|
|
161
|
-
_globals['
|
|
162
|
-
_globals['
|
|
163
|
-
_globals['
|
|
164
|
-
_globals['
|
|
165
|
-
_globals['
|
|
166
|
-
_globals['
|
|
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
|
|
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
|
|
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,
|
|
@@ -61,31 +61,31 @@ class Client:
|
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
def filesystem(self):
|
|
64
|
-
return admin_filesystem_connecpy.
|
|
64
|
+
return admin_filesystem_connecpy.FilesystemServiceClientSync(address=self._baseurl, session=self._session)
|
|
65
65
|
|
|
66
66
|
def image(self):
|
|
67
|
-
return admin_image_connecpy.
|
|
67
|
+
return admin_image_connecpy.ImageServiceClientSync(address=self._baseurl, session=self._session)
|
|
68
68
|
|
|
69
69
|
def ip(self):
|
|
70
|
-
return admin_ip_connecpy.
|
|
70
|
+
return admin_ip_connecpy.IPServiceClientSync(address=self._baseurl, session=self._session)
|
|
71
71
|
|
|
72
72
|
def machine(self):
|
|
73
|
-
return admin_machine_connecpy.
|
|
73
|
+
return admin_machine_connecpy.MachineServiceClientSync(address=self._baseurl, session=self._session)
|
|
74
74
|
|
|
75
75
|
def network(self):
|
|
76
|
-
return admin_network_connecpy.
|
|
76
|
+
return admin_network_connecpy.NetworkServiceClientSync(address=self._baseurl, session=self._session)
|
|
77
77
|
|
|
78
78
|
def partition(self):
|
|
79
|
-
return admin_partition_connecpy.
|
|
79
|
+
return admin_partition_connecpy.PartitionServiceClientSync(address=self._baseurl, session=self._session)
|
|
80
80
|
|
|
81
81
|
def size(self):
|
|
82
|
-
return admin_size_connecpy.
|
|
82
|
+
return admin_size_connecpy.SizeServiceClientSync(address=self._baseurl, session=self._session)
|
|
83
83
|
|
|
84
84
|
def tenant(self):
|
|
85
|
-
return admin_tenant_connecpy.
|
|
85
|
+
return admin_tenant_connecpy.TenantServiceClientSync(address=self._baseurl, session=self._session)
|
|
86
86
|
|
|
87
87
|
def token(self):
|
|
88
|
-
return admin_token_connecpy.
|
|
88
|
+
return admin_token_connecpy.TokenServiceClientSync(address=self._baseurl, session=self._session)
|
|
89
89
|
|
|
90
90
|
|
|
91
91
|
class _Apiv2:
|
|
@@ -95,46 +95,46 @@ class Client:
|
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
def filesystem(self):
|
|
98
|
-
return api_filesystem_connecpy.
|
|
98
|
+
return api_filesystem_connecpy.FilesystemServiceClientSync(address=self._baseurl, session=self._session)
|
|
99
99
|
|
|
100
100
|
def health(self):
|
|
101
|
-
return api_health_connecpy.
|
|
101
|
+
return api_health_connecpy.HealthServiceClientSync(address=self._baseurl, session=self._session)
|
|
102
102
|
|
|
103
103
|
def image(self):
|
|
104
|
-
return api_image_connecpy.
|
|
104
|
+
return api_image_connecpy.ImageServiceClientSync(address=self._baseurl, session=self._session)
|
|
105
105
|
|
|
106
106
|
def ip(self):
|
|
107
|
-
return api_ip_connecpy.
|
|
107
|
+
return api_ip_connecpy.IPServiceClientSync(address=self._baseurl, session=self._session)
|
|
108
108
|
|
|
109
109
|
def machine(self):
|
|
110
|
-
return api_machine_connecpy.
|
|
110
|
+
return api_machine_connecpy.MachineServiceClientSync(address=self._baseurl, session=self._session)
|
|
111
111
|
|
|
112
112
|
def method(self):
|
|
113
|
-
return api_method_connecpy.
|
|
113
|
+
return api_method_connecpy.MethodServiceClientSync(address=self._baseurl, session=self._session)
|
|
114
114
|
|
|
115
115
|
def network(self):
|
|
116
|
-
return api_network_connecpy.
|
|
116
|
+
return api_network_connecpy.NetworkServiceClientSync(address=self._baseurl, session=self._session)
|
|
117
117
|
|
|
118
118
|
def partition(self):
|
|
119
|
-
return api_partition_connecpy.
|
|
119
|
+
return api_partition_connecpy.PartitionServiceClientSync(address=self._baseurl, session=self._session)
|
|
120
120
|
|
|
121
121
|
def project(self):
|
|
122
|
-
return api_project_connecpy.
|
|
122
|
+
return api_project_connecpy.ProjectServiceClientSync(address=self._baseurl, session=self._session)
|
|
123
123
|
|
|
124
124
|
def size(self):
|
|
125
|
-
return api_size_connecpy.
|
|
125
|
+
return api_size_connecpy.SizeServiceClientSync(address=self._baseurl, session=self._session)
|
|
126
126
|
|
|
127
127
|
def tenant(self):
|
|
128
|
-
return api_tenant_connecpy.
|
|
128
|
+
return api_tenant_connecpy.TenantServiceClientSync(address=self._baseurl, session=self._session)
|
|
129
129
|
|
|
130
130
|
def token(self):
|
|
131
|
-
return api_token_connecpy.
|
|
131
|
+
return api_token_connecpy.TokenServiceClientSync(address=self._baseurl, session=self._session)
|
|
132
132
|
|
|
133
133
|
def user(self):
|
|
134
|
-
return api_user_connecpy.
|
|
134
|
+
return api_user_connecpy.UserServiceClientSync(address=self._baseurl, session=self._session)
|
|
135
135
|
|
|
136
136
|
def version(self):
|
|
137
|
-
return api_version_connecpy.
|
|
137
|
+
return api_version_connecpy.VersionServiceClientSync(address=self._baseurl, session=self._session)
|
|
138
138
|
|
|
139
139
|
|
|
140
140
|
class _Infrav2:
|
|
@@ -144,9 +144,9 @@ class Client:
|
|
|
144
144
|
|
|
145
145
|
|
|
146
146
|
def bmc(self):
|
|
147
|
-
return infra_bmc_connecpy.
|
|
147
|
+
return infra_bmc_connecpy.BMCServiceClientSync(address=self._baseurl, session=self._session)
|
|
148
148
|
|
|
149
149
|
def switch(self):
|
|
150
|
-
return infra_switch_connecpy.
|
|
150
|
+
return infra_switch_connecpy.SwitchServiceClientSync(address=self._baseurl, session=self._session)
|
|
151
151
|
|
|
152
152
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metal_stack_api.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/filesystem_connecpy.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{metal_stack_api-0.0.16 → metal_stack_api-0.0.18}/metalstack/admin/v2/filesystem_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|