metal-stack-api 0.1.2__tar.gz → 0.1.3__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.1.2 → metal_stack_api-0.1.3}/PKG-INFO +1 -1
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metal_stack_api.egg-info/PKG-INFO +1 -1
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/machine_connect.py +65 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/machine_pb2.py +33 -25
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/machine_pb2.pyi +12 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/token_pb2.py +18 -17
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/token_pb2.pyi +5 -4
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/filesystem_pb2.py +42 -28
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/machine_pb2.py +109 -109
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/predefined_rules_pb2.py +7 -1
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/predefined_rules_pb2.pyi +6 -0
- metal_stack_api-0.1.3/metalstack/api/v2/token_pb2.py +186 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/token_pb2.pyi +18 -2
- metal_stack_api-0.1.2/metalstack/api/v2/token_pb2.py +0 -176
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/README.md +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metal_stack_api.egg-info/SOURCES.txt +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metal_stack_api.egg-info/dependency_links.txt +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metal_stack_api.egg-info/requires.txt +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metal_stack_api.egg-info/top_level.txt +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/__init__.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/__init__.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/__init__.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/audit_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/audit_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/audit_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/component_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/component_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/component_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/filesystem_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/filesystem_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/filesystem_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/image_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/image_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/image_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/ip_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/ip_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/ip_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/network_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/network_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/network_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/partition_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/partition_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/partition_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/project_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/project_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/project_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/size_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/size_imageconstraint_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/size_imageconstraint_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/size_imageconstraint_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/size_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/size_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/size_reservation_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/size_reservation_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/size_reservation_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/switch_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/switch_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/switch_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/task_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/task_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/task_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/tenant_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/tenant_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/tenant_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/token_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/vpn_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/vpn_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/admin/v2/vpn_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/__init__.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/__init__.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/audit_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/audit_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/audit_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/common_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/common_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/component_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/component_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/filesystem_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/filesystem_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/health_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/health_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/health_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/image_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/image_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/image_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/ip_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/ip_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/ip_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/machine_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/machine_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/method_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/method_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/method_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/network_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/network_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/network_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/partition_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/partition_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/partition_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/project_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/project_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/project_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/size_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/size_imageconstraint_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/size_imageconstraint_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/size_imageconstraint_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/size_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/size_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/size_reservation_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/size_reservation_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/size_reservation_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/switch_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/switch_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/tenant_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/tenant_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/tenant_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/token_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/user_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/user_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/user_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/version_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/version_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/version_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/vpn_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/api/v2/vpn_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/client/__init__.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/client/client.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/infra/__init__.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/infra/v2/__init__.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/infra/v2/bmc_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/infra/v2/bmc_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/infra/v2/bmc_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/infra/v2/boot_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/infra/v2/boot_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/infra/v2/boot_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/infra/v2/component_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/infra/v2/component_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/infra/v2/component_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/infra/v2/event_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/infra/v2/event_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/infra/v2/event_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/infra/v2/switch_connect.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/infra/v2/switch_pb2.py +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/metalstack/infra/v2/switch_pb2.pyi +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/setup.cfg +0 -0
- {metal_stack_api-0.1.2 → metal_stack_api-0.1.3}/setup.py +0 -0
|
@@ -24,6 +24,9 @@ class MachineService(Protocol):
|
|
|
24
24
|
async def list(self, request: metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceListRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceListResponse:
|
|
25
25
|
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
26
26
|
|
|
27
|
+
async def delete(self, request: metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceDeleteRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceDeleteResponse:
|
|
28
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
29
|
+
|
|
27
30
|
async def b_m_c_command(self, request: metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceBMCCommandRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceBMCCommandResponse:
|
|
28
31
|
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
29
32
|
|
|
@@ -65,6 +68,16 @@ class MachineServiceASGIApplication(ConnectASGIApplication[MachineService]):
|
|
|
65
68
|
),
|
|
66
69
|
function=svc.list,
|
|
67
70
|
),
|
|
71
|
+
"/metalstack.admin.v2.MachineService/Delete": Endpoint.unary(
|
|
72
|
+
method=MethodInfo(
|
|
73
|
+
name="Delete",
|
|
74
|
+
service_name="metalstack.admin.v2.MachineService",
|
|
75
|
+
input=metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceDeleteRequest,
|
|
76
|
+
output=metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceDeleteResponse,
|
|
77
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
78
|
+
),
|
|
79
|
+
function=svc.delete,
|
|
80
|
+
),
|
|
68
81
|
"/metalstack.admin.v2.MachineService/BMCCommand": Endpoint.unary(
|
|
69
82
|
method=MethodInfo(
|
|
70
83
|
name="BMCCommand",
|
|
@@ -169,6 +182,26 @@ class MachineServiceClient(ConnectClient):
|
|
|
169
182
|
timeout_ms=timeout_ms,
|
|
170
183
|
)
|
|
171
184
|
|
|
185
|
+
async def delete(
|
|
186
|
+
self,
|
|
187
|
+
request: metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceDeleteRequest,
|
|
188
|
+
*,
|
|
189
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
190
|
+
timeout_ms: int | None = None,
|
|
191
|
+
) -> metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceDeleteResponse:
|
|
192
|
+
return await self.execute_unary(
|
|
193
|
+
request=request,
|
|
194
|
+
method=MethodInfo(
|
|
195
|
+
name="Delete",
|
|
196
|
+
service_name="metalstack.admin.v2.MachineService",
|
|
197
|
+
input=metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceDeleteRequest,
|
|
198
|
+
output=metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceDeleteResponse,
|
|
199
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
200
|
+
),
|
|
201
|
+
headers=headers,
|
|
202
|
+
timeout_ms=timeout_ms,
|
|
203
|
+
)
|
|
204
|
+
|
|
172
205
|
async def b_m_c_command(
|
|
173
206
|
self,
|
|
174
207
|
request: metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceBMCCommandRequest,
|
|
@@ -278,6 +311,8 @@ class MachineServiceSync(Protocol):
|
|
|
278
311
|
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
279
312
|
def list(self, request: metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceListRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceListResponse:
|
|
280
313
|
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
314
|
+
def delete(self, request: metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceDeleteRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceDeleteResponse:
|
|
315
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
281
316
|
def b_m_c_command(self, request: metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceBMCCommandRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceBMCCommandResponse:
|
|
282
317
|
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
283
318
|
def get_b_m_c(self, request: metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceGetBMCRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceGetBMCResponse:
|
|
@@ -314,6 +349,16 @@ class MachineServiceWSGIApplication(ConnectWSGIApplication):
|
|
|
314
349
|
),
|
|
315
350
|
function=service.list,
|
|
316
351
|
),
|
|
352
|
+
"/metalstack.admin.v2.MachineService/Delete": EndpointSync.unary(
|
|
353
|
+
method=MethodInfo(
|
|
354
|
+
name="Delete",
|
|
355
|
+
service_name="metalstack.admin.v2.MachineService",
|
|
356
|
+
input=metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceDeleteRequest,
|
|
357
|
+
output=metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceDeleteResponse,
|
|
358
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
359
|
+
),
|
|
360
|
+
function=service.delete,
|
|
361
|
+
),
|
|
317
362
|
"/metalstack.admin.v2.MachineService/BMCCommand": EndpointSync.unary(
|
|
318
363
|
method=MethodInfo(
|
|
319
364
|
name="BMCCommand",
|
|
@@ -418,6 +463,26 @@ class MachineServiceClientSync(ConnectClientSync):
|
|
|
418
463
|
timeout_ms=timeout_ms,
|
|
419
464
|
)
|
|
420
465
|
|
|
466
|
+
def delete(
|
|
467
|
+
self,
|
|
468
|
+
request: metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceDeleteRequest,
|
|
469
|
+
*,
|
|
470
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
471
|
+
timeout_ms: int | None = None,
|
|
472
|
+
) -> metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceDeleteResponse:
|
|
473
|
+
return self.execute_unary(
|
|
474
|
+
request=request,
|
|
475
|
+
method=MethodInfo(
|
|
476
|
+
name="Delete",
|
|
477
|
+
service_name="metalstack.admin.v2.MachineService",
|
|
478
|
+
input=metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceDeleteRequest,
|
|
479
|
+
output=metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceDeleteResponse,
|
|
480
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
481
|
+
),
|
|
482
|
+
headers=headers,
|
|
483
|
+
timeout_ms=timeout_ms,
|
|
484
|
+
)
|
|
485
|
+
|
|
421
486
|
def b_m_c_command(
|
|
422
487
|
self,
|
|
423
488
|
request: metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceBMCCommandRequest,
|
|
@@ -28,7 +28,7 @@ from metalstack.api.v2 import machine_pb2 as metalstack_dot_api_dot_v2_dot_machi
|
|
|
28
28
|
from metalstack.api.v2 import predefined_rules_pb2 as metalstack_dot_api_dot_v2_dot_predefined__rules__pb2
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!metalstack/admin/v2/machine.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\x1a\x1fmetalstack/api/v2/machine.proto\x1a(metalstack/api/v2/predefined_rules.proto\"8\n\x18MachineServiceGetRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\"Q\n\x19MachineServiceGetResponse\x12\x34\n\x07machine\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.MachineR\x07machine\"\x90\x01\n\x19MachineServiceListRequest\x12\x35\n\x05query\x18\x01 \x01(\x0b\x32\x1f.metalstack.api.v2.MachineQueryR\x05query\x12.\n\tpartition\x18\x02 \x01(\tB\x0b\xbaH\x08r\x06\xd0\xb3\xae\xb1\x02\x01H\x00R\tpartition\x88\x01\x01\x42\x0c\n\n_partition\"T\n\x1aMachineServiceListResponse\x12\x36\n\x08machines\x18\x01 \x03(\x0b\x32\x1a.metalstack.api.v2.MachineR\x08machines\"\x89\x01\n\x1fMachineServiceBMCCommandRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12H\n\x07\x63ommand\x18\x02 \x01(\x0e\x32$.metalstack.api.v2.MachineBMCCommandB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x07\x63ommand\"\"\n MachineServiceBMCCommandResponse\";\n\x1bMachineServiceGetBMCRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\"s\n\x1cMachineServiceGetBMCResponse\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12\x35\n\x03\x62mc\x18\x02 \x01(\x0b\x32#.metalstack.api.v2.MachineBMCReportR\x03\x62mc\"X\n\x1cMachineServiceListBMCRequest\x12\x38\n\x05query\x18\x01 \x01(\x0b\x32\".metalstack.api.v2.MachineBMCQueryR\x05query\"\xf7\x01\n\x1dMachineServiceListBMCResponse\x12r\n\x0b\x62mc_reports\x18\x01 \x03(\x0b\x32\x42.metalstack.admin.v2.MachineServiceListBMCResponse.BmcReportsEntryB\r\xbaH\n\x9a\x01\x07\"\x05r\x03\xb0\x01\x01R\nbmcReports\x1a\x62\n\x0f\x42mcReportsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32#.metalstack.api.v2.MachineBMCReportR\x05value:\x02\x38\x01\"h\n$MachineServiceConsolePasswordRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12\"\n\x06reason\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\n\x18\x80\x04R\x06reason\"a\n%MachineServiceConsolePasswordResponse\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12\x1a\n\x08password\x18\x02 \x01(\tR\x08password\"\xad\x01\n\x1dMachineServiceSetStateRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12?\n\x05state\x18\x02 \x01(\x0e\x32\x1f.metalstack.api.v2.MachineStateB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x05state\x12-\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01R\x0b\x64\x65scription\"V\n\x1eMachineServiceSetStateResponse\x12\x34\n\x07machine\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.MachineR\x07machine2\
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!metalstack/admin/v2/machine.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\x1a\x1fmetalstack/api/v2/machine.proto\x1a(metalstack/api/v2/predefined_rules.proto\"8\n\x18MachineServiceGetRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\"Q\n\x19MachineServiceGetResponse\x12\x34\n\x07machine\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.MachineR\x07machine\"\x90\x01\n\x19MachineServiceListRequest\x12\x35\n\x05query\x18\x01 \x01(\x0b\x32\x1f.metalstack.api.v2.MachineQueryR\x05query\x12.\n\tpartition\x18\x02 \x01(\tB\x0b\xbaH\x08r\x06\xd0\xb3\xae\xb1\x02\x01H\x00R\tpartition\x88\x01\x01\x42\x0c\n\n_partition\"T\n\x1aMachineServiceListResponse\x12\x36\n\x08machines\x18\x01 \x03(\x0b\x32\x1a.metalstack.api.v2.MachineR\x08machines\";\n\x1bMachineServiceDeleteRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\"T\n\x1cMachineServiceDeleteResponse\x12\x34\n\x07machine\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.MachineR\x07machine\"\x89\x01\n\x1fMachineServiceBMCCommandRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12H\n\x07\x63ommand\x18\x02 \x01(\x0e\x32$.metalstack.api.v2.MachineBMCCommandB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x07\x63ommand\"\"\n MachineServiceBMCCommandResponse\";\n\x1bMachineServiceGetBMCRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\"s\n\x1cMachineServiceGetBMCResponse\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12\x35\n\x03\x62mc\x18\x02 \x01(\x0b\x32#.metalstack.api.v2.MachineBMCReportR\x03\x62mc\"X\n\x1cMachineServiceListBMCRequest\x12\x38\n\x05query\x18\x01 \x01(\x0b\x32\".metalstack.api.v2.MachineBMCQueryR\x05query\"\xf7\x01\n\x1dMachineServiceListBMCResponse\x12r\n\x0b\x62mc_reports\x18\x01 \x03(\x0b\x32\x42.metalstack.admin.v2.MachineServiceListBMCResponse.BmcReportsEntryB\r\xbaH\n\x9a\x01\x07\"\x05r\x03\xb0\x01\x01R\nbmcReports\x1a\x62\n\x0f\x42mcReportsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32#.metalstack.api.v2.MachineBMCReportR\x05value:\x02\x38\x01\"h\n$MachineServiceConsolePasswordRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12\"\n\x06reason\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\n\x18\x80\x04R\x06reason\"a\n%MachineServiceConsolePasswordResponse\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12\x1a\n\x08password\x18\x02 \x01(\tR\x08password\"\xad\x01\n\x1dMachineServiceSetStateRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12?\n\x05state\x18\x02 \x01(\x0e\x32\x1f.metalstack.api.v2.MachineStateB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x05state\x12-\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01R\x0b\x64\x65scription\"V\n\x1eMachineServiceSetStateResponse\x12\x34\n\x07machine\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.MachineR\x07machine2\x88\x08\n\x0eMachineService\x12p\n\x03Get\x12-.metalstack.admin.v2.MachineServiceGetRequest\x1a..metalstack.admin.v2.MachineServiceGetResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x02\x12s\n\x04List\x12..metalstack.admin.v2.MachineServiceListRequest\x1a/.metalstack.admin.v2.MachineServiceListResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x02\x12x\n\x06\x44\x65lete\x12\x30.metalstack.admin.v2.MachineServiceDeleteRequest\x1a\x31.metalstack.admin.v2.MachineServiceDeleteResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12\x84\x01\n\nBMCCommand\x12\x34.metalstack.admin.v2.MachineServiceBMCCommandRequest\x1a\x35.metalstack.admin.v2.MachineServiceBMCCommandResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12y\n\x06GetBMC\x12\x30.metalstack.admin.v2.MachineServiceGetBMCRequest\x1a\x31.metalstack.admin.v2.MachineServiceGetBMCResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x01\x12|\n\x07ListBMC\x12\x31.metalstack.admin.v2.MachineServiceListBMCRequest\x1a\x32.metalstack.admin.v2.MachineServiceListBMCResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x01\x12\x94\x01\n\x0f\x43onsolePassword\x12\x39.metalstack.admin.v2.MachineServiceConsolePasswordRequest\x1a:.metalstack.admin.v2.MachineServiceConsolePasswordResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x01\x12~\n\x08SetState\x12\x32.metalstack.admin.v2.MachineServiceSetStateRequest\x1a\x33.metalstack.admin.v2.MachineServiceSetStateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x42\xd0\x01\n\x17\x63om.metalstack.admin.v2B\x0cMachineProtoP\x01Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\xa2\x02\x03MAX\xaa\x02\x13Metalstack.Admin.V2\xca\x02\x13Metalstack\\Admin\\V2\xe2\x02\x1fMetalstack\\Admin\\V2\\GPBMetadata\xea\x02\x15Metalstack::Admin::V2b\x06proto3')
|
|
32
32
|
|
|
33
33
|
_globals = globals()
|
|
34
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -40,6 +40,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
40
40
|
_globals['_MACHINESERVICEGETREQUEST'].fields_by_name['uuid']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
41
41
|
_globals['_MACHINESERVICELISTREQUEST'].fields_by_name['partition']._loaded_options = None
|
|
42
42
|
_globals['_MACHINESERVICELISTREQUEST'].fields_by_name['partition']._serialized_options = b'\272H\010r\006\320\263\256\261\002\001'
|
|
43
|
+
_globals['_MACHINESERVICEDELETEREQUEST'].fields_by_name['uuid']._loaded_options = None
|
|
44
|
+
_globals['_MACHINESERVICEDELETEREQUEST'].fields_by_name['uuid']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
43
45
|
_globals['_MACHINESERVICEBMCCOMMANDREQUEST'].fields_by_name['uuid']._loaded_options = None
|
|
44
46
|
_globals['_MACHINESERVICEBMCCOMMANDREQUEST'].fields_by_name['uuid']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
45
47
|
_globals['_MACHINESERVICEBMCCOMMANDREQUEST'].fields_by_name['command']._loaded_options = None
|
|
@@ -68,6 +70,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
68
70
|
_globals['_MACHINESERVICE'].methods_by_name['Get']._serialized_options = b'\322\363\030\002\001\002\340\363\030\002'
|
|
69
71
|
_globals['_MACHINESERVICE'].methods_by_name['List']._loaded_options = None
|
|
70
72
|
_globals['_MACHINESERVICE'].methods_by_name['List']._serialized_options = b'\322\363\030\002\001\002\340\363\030\002'
|
|
73
|
+
_globals['_MACHINESERVICE'].methods_by_name['Delete']._loaded_options = None
|
|
74
|
+
_globals['_MACHINESERVICE'].methods_by_name['Delete']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
|
|
71
75
|
_globals['_MACHINESERVICE'].methods_by_name['BMCCommand']._loaded_options = None
|
|
72
76
|
_globals['_MACHINESERVICE'].methods_by_name['BMCCommand']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
|
|
73
77
|
_globals['_MACHINESERVICE'].methods_by_name['GetBMC']._loaded_options = None
|
|
@@ -86,28 +90,32 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
86
90
|
_globals['_MACHINESERVICELISTREQUEST']._serialized_end=480
|
|
87
91
|
_globals['_MACHINESERVICELISTRESPONSE']._serialized_start=482
|
|
88
92
|
_globals['_MACHINESERVICELISTRESPONSE']._serialized_end=566
|
|
89
|
-
_globals['
|
|
90
|
-
_globals['
|
|
91
|
-
_globals['
|
|
92
|
-
_globals['
|
|
93
|
-
_globals['
|
|
94
|
-
_globals['
|
|
95
|
-
_globals['
|
|
96
|
-
_globals['
|
|
97
|
-
_globals['
|
|
98
|
-
_globals['
|
|
99
|
-
_globals['
|
|
100
|
-
_globals['
|
|
101
|
-
_globals['
|
|
102
|
-
_globals['
|
|
103
|
-
_globals['
|
|
104
|
-
_globals['
|
|
105
|
-
_globals['
|
|
106
|
-
_globals['
|
|
107
|
-
_globals['
|
|
108
|
-
_globals['
|
|
109
|
-
_globals['
|
|
110
|
-
_globals['
|
|
111
|
-
_globals['
|
|
112
|
-
_globals['
|
|
93
|
+
_globals['_MACHINESERVICEDELETEREQUEST']._serialized_start=568
|
|
94
|
+
_globals['_MACHINESERVICEDELETEREQUEST']._serialized_end=627
|
|
95
|
+
_globals['_MACHINESERVICEDELETERESPONSE']._serialized_start=629
|
|
96
|
+
_globals['_MACHINESERVICEDELETERESPONSE']._serialized_end=713
|
|
97
|
+
_globals['_MACHINESERVICEBMCCOMMANDREQUEST']._serialized_start=716
|
|
98
|
+
_globals['_MACHINESERVICEBMCCOMMANDREQUEST']._serialized_end=853
|
|
99
|
+
_globals['_MACHINESERVICEBMCCOMMANDRESPONSE']._serialized_start=855
|
|
100
|
+
_globals['_MACHINESERVICEBMCCOMMANDRESPONSE']._serialized_end=889
|
|
101
|
+
_globals['_MACHINESERVICEGETBMCREQUEST']._serialized_start=891
|
|
102
|
+
_globals['_MACHINESERVICEGETBMCREQUEST']._serialized_end=950
|
|
103
|
+
_globals['_MACHINESERVICEGETBMCRESPONSE']._serialized_start=952
|
|
104
|
+
_globals['_MACHINESERVICEGETBMCRESPONSE']._serialized_end=1067
|
|
105
|
+
_globals['_MACHINESERVICELISTBMCREQUEST']._serialized_start=1069
|
|
106
|
+
_globals['_MACHINESERVICELISTBMCREQUEST']._serialized_end=1157
|
|
107
|
+
_globals['_MACHINESERVICELISTBMCRESPONSE']._serialized_start=1160
|
|
108
|
+
_globals['_MACHINESERVICELISTBMCRESPONSE']._serialized_end=1407
|
|
109
|
+
_globals['_MACHINESERVICELISTBMCRESPONSE_BMCREPORTSENTRY']._serialized_start=1309
|
|
110
|
+
_globals['_MACHINESERVICELISTBMCRESPONSE_BMCREPORTSENTRY']._serialized_end=1407
|
|
111
|
+
_globals['_MACHINESERVICECONSOLEPASSWORDREQUEST']._serialized_start=1409
|
|
112
|
+
_globals['_MACHINESERVICECONSOLEPASSWORDREQUEST']._serialized_end=1513
|
|
113
|
+
_globals['_MACHINESERVICECONSOLEPASSWORDRESPONSE']._serialized_start=1515
|
|
114
|
+
_globals['_MACHINESERVICECONSOLEPASSWORDRESPONSE']._serialized_end=1612
|
|
115
|
+
_globals['_MACHINESERVICESETSTATEREQUEST']._serialized_start=1615
|
|
116
|
+
_globals['_MACHINESERVICESETSTATEREQUEST']._serialized_end=1788
|
|
117
|
+
_globals['_MACHINESERVICESETSTATERESPONSE']._serialized_start=1790
|
|
118
|
+
_globals['_MACHINESERVICESETSTATERESPONSE']._serialized_end=1876
|
|
119
|
+
_globals['_MACHINESERVICE']._serialized_start=1879
|
|
120
|
+
_globals['_MACHINESERVICE']._serialized_end=2911
|
|
113
121
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -36,6 +36,18 @@ class MachineServiceListResponse(_message.Message):
|
|
|
36
36
|
machines: _containers.RepeatedCompositeFieldContainer[_machine_pb2.Machine]
|
|
37
37
|
def __init__(self, machines: _Optional[_Iterable[_Union[_machine_pb2.Machine, _Mapping]]] = ...) -> None: ...
|
|
38
38
|
|
|
39
|
+
class MachineServiceDeleteRequest(_message.Message):
|
|
40
|
+
__slots__ = ("uuid",)
|
|
41
|
+
UUID_FIELD_NUMBER: _ClassVar[int]
|
|
42
|
+
uuid: str
|
|
43
|
+
def __init__(self, uuid: _Optional[str] = ...) -> None: ...
|
|
44
|
+
|
|
45
|
+
class MachineServiceDeleteResponse(_message.Message):
|
|
46
|
+
__slots__ = ("machine",)
|
|
47
|
+
MACHINE_FIELD_NUMBER: _ClassVar[int]
|
|
48
|
+
machine: _machine_pb2.Machine
|
|
49
|
+
def __init__(self, machine: _Optional[_Union[_machine_pb2.Machine, _Mapping]] = ...) -> None: ...
|
|
50
|
+
|
|
39
51
|
class MachineServiceBMCCommandRequest(_message.Message):
|
|
40
52
|
__slots__ = ("uuid", "command")
|
|
41
53
|
UUID_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -24,10 +24,11 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
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
|
+
from metalstack.api.v2 import predefined_rules_pb2 as metalstack_dot_api_dot_v2_dot_predefined__rules__pb2
|
|
27
28
|
from metalstack.api.v2 import token_pb2 as metalstack_dot_api_dot_v2_dot_token__pb2
|
|
28
29
|
|
|
29
30
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fmetalstack/admin/v2/token.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\x1a\x1dmetalstack/api/v2/token.proto\"
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fmetalstack/admin/v2/token.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\x1a(metalstack/api/v2/predefined_rules.proto\x1a\x1dmetalstack/api/v2/token.proto\"N\n\x17TokenServiceListRequest\x12\x33\n\x05query\x18\x01 \x01(\x0b\x32\x1d.metalstack.api.v2.TokenQueryR\x05query\"L\n\x18TokenServiceListResponse\x12\x30\n\x06tokens\x18\x01 \x03(\x0b\x32\x18.metalstack.api.v2.TokenR\x06tokens\"Z\n\x19TokenServiceRevokeRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12\x1f\n\x04user\x18\x02 \x01(\tB\x0b\xbaH\x08r\x06\xf8\xb3\xae\xb1\x02\x01R\x04user\"\x1c\n\x1aTokenServiceRevokeResponse\"\xaa\x01\n\x19TokenServiceCreateRequest\x12$\n\x04user\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xf8\xb3\xae\xb1\x02\x01H\x00R\x04user\x88\x01\x01\x12^\n\x14token_create_request\x18\x02 \x01(\x0b\x32,.metalstack.api.v2.TokenServiceCreateRequestR\x12tokenCreateRequestB\x07\n\x05_user\"d\n\x1aTokenServiceCreateResponse\x12.\n\x05token\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.TokenR\x05token\x12\x16\n\x06secret\x18\x02 \x01(\tR\x06secret2\xeb\x02\n\x0cTokenService\x12o\n\x04List\x12,.metalstack.admin.v2.TokenServiceListRequest\x1a-.metalstack.admin.v2.TokenServiceListResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x01\x12t\n\x06Revoke\x12..metalstack.admin.v2.TokenServiceRevokeRequest\x1a/.metalstack.admin.v2.TokenServiceRevokeResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12t\n\x06\x43reate\x12..metalstack.admin.v2.TokenServiceCreateRequest\x1a/.metalstack.admin.v2.TokenServiceCreateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x42\xce\x01\n\x17\x63om.metalstack.admin.v2B\nTokenProtoP\x01Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\xa2\x02\x03MAX\xaa\x02\x13Metalstack.Admin.V2\xca\x02\x13Metalstack\\Admin\\V2\xe2\x02\x1fMetalstack\\Admin\\V2\\GPBMetadata\xea\x02\x15Metalstack::Admin::V2b\x06proto3')
|
|
31
32
|
|
|
32
33
|
_globals = globals()
|
|
33
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -38,27 +39,27 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
38
39
|
_globals['_TOKENSERVICEREVOKEREQUEST'].fields_by_name['uuid']._loaded_options = None
|
|
39
40
|
_globals['_TOKENSERVICEREVOKEREQUEST'].fields_by_name['uuid']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
40
41
|
_globals['_TOKENSERVICEREVOKEREQUEST'].fields_by_name['user']._loaded_options = None
|
|
41
|
-
_globals['_TOKENSERVICEREVOKEREQUEST'].fields_by_name['user']._serialized_options = b'\272H\
|
|
42
|
+
_globals['_TOKENSERVICEREVOKEREQUEST'].fields_by_name['user']._serialized_options = b'\272H\010r\006\370\263\256\261\002\001'
|
|
42
43
|
_globals['_TOKENSERVICECREATEREQUEST'].fields_by_name['user']._loaded_options = None
|
|
43
|
-
_globals['_TOKENSERVICECREATEREQUEST'].fields_by_name['user']._serialized_options = b'\272H\
|
|
44
|
+
_globals['_TOKENSERVICECREATEREQUEST'].fields_by_name['user']._serialized_options = b'\272H\010r\006\370\263\256\261\002\001'
|
|
44
45
|
_globals['_TOKENSERVICE'].methods_by_name['List']._loaded_options = None
|
|
45
46
|
_globals['_TOKENSERVICE'].methods_by_name['List']._serialized_options = b'\322\363\030\002\001\002\340\363\030\001'
|
|
46
47
|
_globals['_TOKENSERVICE'].methods_by_name['Revoke']._loaded_options = None
|
|
47
48
|
_globals['_TOKENSERVICE'].methods_by_name['Revoke']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
|
|
48
49
|
_globals['_TOKENSERVICE'].methods_by_name['Create']._loaded_options = None
|
|
49
50
|
_globals['_TOKENSERVICE'].methods_by_name['Create']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
|
|
50
|
-
_globals['_TOKENSERVICELISTREQUEST']._serialized_start=
|
|
51
|
-
_globals['_TOKENSERVICELISTREQUEST']._serialized_end=
|
|
52
|
-
_globals['_TOKENSERVICELISTRESPONSE']._serialized_start=
|
|
53
|
-
_globals['_TOKENSERVICELISTRESPONSE']._serialized_end=
|
|
54
|
-
_globals['_TOKENSERVICEREVOKEREQUEST']._serialized_start=
|
|
55
|
-
_globals['_TOKENSERVICEREVOKEREQUEST']._serialized_end=
|
|
56
|
-
_globals['_TOKENSERVICEREVOKERESPONSE']._serialized_start=
|
|
57
|
-
_globals['_TOKENSERVICEREVOKERESPONSE']._serialized_end=
|
|
58
|
-
_globals['_TOKENSERVICECREATEREQUEST']._serialized_start=
|
|
59
|
-
_globals['_TOKENSERVICECREATEREQUEST']._serialized_end=
|
|
60
|
-
_globals['_TOKENSERVICECREATERESPONSE']._serialized_start=
|
|
61
|
-
_globals['_TOKENSERVICECREATERESPONSE']._serialized_end=
|
|
62
|
-
_globals['_TOKENSERVICE']._serialized_start=
|
|
63
|
-
_globals['_TOKENSERVICE']._serialized_end=
|
|
51
|
+
_globals['_TOKENSERVICELISTREQUEST']._serialized_start=190
|
|
52
|
+
_globals['_TOKENSERVICELISTREQUEST']._serialized_end=268
|
|
53
|
+
_globals['_TOKENSERVICELISTRESPONSE']._serialized_start=270
|
|
54
|
+
_globals['_TOKENSERVICELISTRESPONSE']._serialized_end=346
|
|
55
|
+
_globals['_TOKENSERVICEREVOKEREQUEST']._serialized_start=348
|
|
56
|
+
_globals['_TOKENSERVICEREVOKEREQUEST']._serialized_end=438
|
|
57
|
+
_globals['_TOKENSERVICEREVOKERESPONSE']._serialized_start=440
|
|
58
|
+
_globals['_TOKENSERVICEREVOKERESPONSE']._serialized_end=468
|
|
59
|
+
_globals['_TOKENSERVICECREATEREQUEST']._serialized_start=471
|
|
60
|
+
_globals['_TOKENSERVICECREATEREQUEST']._serialized_end=641
|
|
61
|
+
_globals['_TOKENSERVICECREATERESPONSE']._serialized_start=643
|
|
62
|
+
_globals['_TOKENSERVICECREATERESPONSE']._serialized_end=743
|
|
63
|
+
_globals['_TOKENSERVICE']._serialized_start=746
|
|
64
|
+
_globals['_TOKENSERVICE']._serialized_end=1109
|
|
64
65
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from buf.validate import validate_pb2 as _validate_pb2
|
|
2
2
|
from metalstack.api.v2 import common_pb2 as _common_pb2
|
|
3
|
+
from metalstack.api.v2 import predefined_rules_pb2 as _predefined_rules_pb2
|
|
3
4
|
from metalstack.api.v2 import token_pb2 as _token_pb2
|
|
4
5
|
from google.protobuf.internal import containers as _containers
|
|
5
6
|
from google.protobuf import descriptor as _descriptor
|
|
@@ -10,10 +11,10 @@ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
|
10
11
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
11
12
|
|
|
12
13
|
class TokenServiceListRequest(_message.Message):
|
|
13
|
-
__slots__ = ("
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
def __init__(self,
|
|
14
|
+
__slots__ = ("query",)
|
|
15
|
+
QUERY_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
+
query: _token_pb2.TokenQuery
|
|
17
|
+
def __init__(self, query: _Optional[_Union[_token_pb2.TokenQuery, _Mapping]] = ...) -> None: ...
|
|
17
18
|
|
|
18
19
|
class TokenServiceListResponse(_message.Message):
|
|
19
20
|
__slots__ = ("tokens",)
|
|
@@ -27,7 +27,7 @@ from metalstack.api.v2 import common_pb2 as metalstack_dot_api_dot_v2_dot_common
|
|
|
27
27
|
from metalstack.api.v2 import predefined_rules_pb2 as metalstack_dot_api_dot_v2_dot_predefined__rules__pb2
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
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\x1a(metalstack/api/v2/predefined_rules.proto\":\n\x1b\x46ilesystemServiceGetRequest\x12\x1b\n\x02id\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01R\x02id\"G\n\x1c\x46ilesystemServiceListRequest\x12 \n\x02id\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\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\"\xce\x04\n\x10\x46ilesystemLayout\x12\x1b\n\x02id\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01R\x02id\x12+\n\x04meta\x18\x02 \x01(\x0b\x32\x17.metalstack.api.v2.MetaR\x04meta\x12$\n\x04name\x18\x03 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x00R\x04name\x88\x01\x01\x12\x32\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\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\"\
|
|
30
|
+
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\x1a(metalstack/api/v2/predefined_rules.proto\":\n\x1b\x46ilesystemServiceGetRequest\x12\x1b\n\x02id\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01R\x02id\"G\n\x1c\x46ilesystemServiceListRequest\x12 \n\x02id\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\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\"\xce\x04\n\x10\x46ilesystemLayout\x12\x1b\n\x02id\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01R\x02id\x12+\n\x04meta\x18\x02 \x01(\x0b\x32\x17.metalstack.api.v2.MetaR\x04meta\x12$\n\x04name\x18\x03 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x00R\x04name\x88\x01\x01\x12\x32\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\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\"\xc2\x03\n\nFilesystem\x12#\n\x06\x64\x65vice\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\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\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x00R\x04name\x88\x01\x01\x12\x32\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01H\x01R\x0b\x64\x65scription\x88\x01\x01\x12#\n\x04path\x18\x05 \x01(\tB\n\xbaH\x07r\x05\x10\x01\x18\x80 H\x02R\x04path\x88\x01\x01\x12,\n\x05label\x18\x06 \x01(\tB\x11\xbaH\x0er\x0c\xc0\xb3\xae\xb1\x02\x01\xf0\xb3\xae\xb1\x02\x01H\x03R\x05label\x88\x01\x01\x12\x39\n\rmount_options\x18\x07 \x03(\tB\x14\xbaH\x11\x92\x01\x0e\x10 \x18\x01\"\x08r\x06\x80\xb4\xae\xb1\x02\x01R\x0cmountOptions\x12;\n\x0e\x63reate_options\x18\x08 \x03(\tB\x14\xbaH\x11\x92\x01\x0e\x10 \x18\x01\"\x08r\x06\x80\xb4\xae\xb1\x02\x01R\rcreateOptionsB\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x07\n\x05_pathB\x08\n\x06_label\"s\n\x04\x44isk\x12)\n\x06\x64\x65vice\x18\x01 \x01(\tB\x11\xbaH\x0er\x0c\xc0\xb3\xae\xb1\x02\x01\xf0\xb3\xae\xb1\x02\x01R\x06\x64\x65vice\x12@\n\npartitions\x18\x02 \x03(\x0b\x32 .metalstack.api.v2.DiskPartitionR\npartitions\"\x83\x02\n\x04Raid\x12\x30\n\narray_name\x18\x01 \x01(\tB\x11\xbaH\x0er\x0c\xc0\xb3\xae\xb1\x02\x01\xf0\xb3\xae\xb1\x02\x01R\tarrayName\x12\x33\n\x07\x64\x65vices\x18\x02 \x03(\tB\x19\xbaH\x16\x92\x01\x13\x10\x80\x01\"\x08r\x06\xc0\xb3\xae\xb1\x02\x01\xd0\xa4\xb3\xb1\x02\x01R\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\x14\xbaH\x11\x92\x01\x0e\x10 \x18\x01\"\x08r\x06\x80\xb4\xae\xb1\x02\x01R\rcreateOptions\x12\x16\n\x06spares\x18\x05 \x01(\x05R\x06spares\"\xc9\x01\n\rDiskPartition\x12\x16\n\x06number\x18\x01 \x01(\rR\x06number\x12,\n\x05label\x18\x02 \x01(\tB\x11\xbaH\x0er\x0c\xc0\xb3\xae\xb1\x02\x01\xf0\xb3\xae\xb1\x02\x01H\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\"\x92\x01\n\x0bVolumeGroup\x12\x1f\n\x04name\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01R\x04name\x12\x33\n\x07\x64\x65vices\x18\x02 \x03(\tB\x19\xbaH\x16\x92\x01\x13\x10\x80\x01\"\x08r\x06\xc0\xb3\xae\xb1\x02\x01\xd0\xa4\xb3\xb1\x02\x01R\x07\x64\x65vices\x12-\n\x04tags\x18\x03 \x03(\tB\x19\xbaH\x16\x92\x01\x13\x10\x80\x01\"\x08r\x06\xc0\xb3\xae\xb1\x02\x01\xd0\xa4\xb3\xb1\x02\x01R\x04tags\"\xb5\x01\n\rLogicalVolume\x12\x1f\n\x04name\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01R\x04name\x12.\n\x0cvolume_group\x18\x02 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\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*Y\n\tRaidLevel\x12\x1a\n\x16RAID_LEVEL_UNSPECIFIED\x10\x00\x12\x17\n\x0cRAID_LEVEL_0\x10\x01\x1a\x05\x82\xb2\x19\x01\x30\x12\x17\n\x0cRAID_LEVEL_1\x10\x02\x1a\x05\x82\xb2\x19\x01\x31\x32\xfa\x01\n\x11\x46ilesystemService\x12p\n\x03Get\x12..metalstack.api.v2.FilesystemServiceGetRequest\x1a/.metalstack.api.v2.FilesystemServiceGetResponse\"\x08\xd8\xf3\x18\x02\xe0\xf3\x18\x02\x12s\n\x04List\x12/.metalstack.api.v2.FilesystemServiceListRequest\x1a\x30.metalstack.api.v2.FilesystemServiceListResponse\"\x08\xd8\xf3\x18\x02\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')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -61,6 +61,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
61
61
|
_globals['_GPTTYPE'].values_by_name["GPT_TYPE_LINUX_RAID"]._serialized_options = b'\202\262\031\004fd00'
|
|
62
62
|
_globals['_GPTTYPE'].values_by_name["GPT_TYPE_LINUX_LVM"]._loaded_options = None
|
|
63
63
|
_globals['_GPTTYPE'].values_by_name["GPT_TYPE_LINUX_LVM"]._serialized_options = b'\202\262\031\0048e00'
|
|
64
|
+
_globals['_RAIDLEVEL'].values_by_name["RAID_LEVEL_0"]._loaded_options = None
|
|
65
|
+
_globals['_RAIDLEVEL'].values_by_name["RAID_LEVEL_0"]._serialized_options = b'\202\262\031\0010'
|
|
66
|
+
_globals['_RAIDLEVEL'].values_by_name["RAID_LEVEL_1"]._loaded_options = None
|
|
67
|
+
_globals['_RAIDLEVEL'].values_by_name["RAID_LEVEL_1"]._serialized_options = b'\202\262\031\0011'
|
|
64
68
|
_globals['_FILESYSTEMSERVICEGETREQUEST'].fields_by_name['id']._loaded_options = None
|
|
65
69
|
_globals['_FILESYSTEMSERVICEGETREQUEST'].fields_by_name['id']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
|
|
66
70
|
_globals['_FILESYSTEMSERVICELISTREQUEST'].fields_by_name['id']._loaded_options = None
|
|
@@ -84,39 +88,49 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
84
88
|
_globals['_FILESYSTEM'].fields_by_name['path']._loaded_options = None
|
|
85
89
|
_globals['_FILESYSTEM'].fields_by_name['path']._serialized_options = b'\272H\007r\005\020\001\030\200 '
|
|
86
90
|
_globals['_FILESYSTEM'].fields_by_name['label']._loaded_options = None
|
|
87
|
-
_globals['_FILESYSTEM'].fields_by_name['label']._serialized_options = b'\272H\
|
|
91
|
+
_globals['_FILESYSTEM'].fields_by_name['label']._serialized_options = b'\272H\016r\014\300\263\256\261\002\001\360\263\256\261\002\001'
|
|
88
92
|
_globals['_FILESYSTEM'].fields_by_name['mount_options']._loaded_options = None
|
|
89
|
-
_globals['_FILESYSTEM'].fields_by_name['mount_options']._serialized_options = b'\272H\
|
|
93
|
+
_globals['_FILESYSTEM'].fields_by_name['mount_options']._serialized_options = b'\272H\021\222\001\016\020 \030\001\"\010r\006\200\264\256\261\002\001'
|
|
90
94
|
_globals['_FILESYSTEM'].fields_by_name['create_options']._loaded_options = None
|
|
91
|
-
_globals['_FILESYSTEM'].fields_by_name['create_options']._serialized_options = b'\272H\
|
|
95
|
+
_globals['_FILESYSTEM'].fields_by_name['create_options']._serialized_options = b'\272H\021\222\001\016\020 \030\001\"\010r\006\200\264\256\261\002\001'
|
|
92
96
|
_globals['_DISK'].fields_by_name['device']._loaded_options = None
|
|
93
|
-
_globals['_DISK'].fields_by_name['device']._serialized_options = b'\272H\
|
|
97
|
+
_globals['_DISK'].fields_by_name['device']._serialized_options = b'\272H\016r\014\300\263\256\261\002\001\360\263\256\261\002\001'
|
|
98
|
+
_globals['_RAID'].fields_by_name['array_name']._loaded_options = None
|
|
99
|
+
_globals['_RAID'].fields_by_name['array_name']._serialized_options = b'\272H\016r\014\300\263\256\261\002\001\360\263\256\261\002\001'
|
|
100
|
+
_globals['_RAID'].fields_by_name['devices']._loaded_options = None
|
|
101
|
+
_globals['_RAID'].fields_by_name['devices']._serialized_options = b'\272H\026\222\001\023\020\200\001\"\010r\006\300\263\256\261\002\001\320\244\263\261\002\001'
|
|
94
102
|
_globals['_RAID'].fields_by_name['level']._loaded_options = None
|
|
95
103
|
_globals['_RAID'].fields_by_name['level']._serialized_options = b'\272H\010\202\001\002\020\001\310\001\001'
|
|
96
104
|
_globals['_RAID'].fields_by_name['create_options']._loaded_options = None
|
|
97
|
-
_globals['_RAID'].fields_by_name['create_options']._serialized_options = b'\272H\
|
|
105
|
+
_globals['_RAID'].fields_by_name['create_options']._serialized_options = b'\272H\021\222\001\016\020 \030\001\"\010r\006\200\264\256\261\002\001'
|
|
106
|
+
_globals['_DISKPARTITION'].fields_by_name['label']._loaded_options = None
|
|
107
|
+
_globals['_DISKPARTITION'].fields_by_name['label']._serialized_options = b'\272H\016r\014\300\263\256\261\002\001\360\263\256\261\002\001'
|
|
98
108
|
_globals['_DISKPARTITION'].fields_by_name['gpt_type']._loaded_options = None
|
|
99
109
|
_globals['_DISKPARTITION'].fields_by_name['gpt_type']._serialized_options = b'\272H\010\202\001\002\020\001\310\001\001'
|
|
100
110
|
_globals['_VOLUMEGROUP'].fields_by_name['name']._loaded_options = None
|
|
101
111
|
_globals['_VOLUMEGROUP'].fields_by_name['name']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
|
|
112
|
+
_globals['_VOLUMEGROUP'].fields_by_name['devices']._loaded_options = None
|
|
113
|
+
_globals['_VOLUMEGROUP'].fields_by_name['devices']._serialized_options = b'\272H\026\222\001\023\020\200\001\"\010r\006\300\263\256\261\002\001\320\244\263\261\002\001'
|
|
114
|
+
_globals['_VOLUMEGROUP'].fields_by_name['tags']._loaded_options = None
|
|
115
|
+
_globals['_VOLUMEGROUP'].fields_by_name['tags']._serialized_options = b'\272H\026\222\001\023\020\200\001\"\010r\006\300\263\256\261\002\001\320\244\263\261\002\001'
|
|
102
116
|
_globals['_LOGICALVOLUME'].fields_by_name['name']._loaded_options = None
|
|
103
117
|
_globals['_LOGICALVOLUME'].fields_by_name['name']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
|
|
104
118
|
_globals['_LOGICALVOLUME'].fields_by_name['volume_group']._loaded_options = None
|
|
105
|
-
_globals['_LOGICALVOLUME'].fields_by_name['volume_group']._serialized_options = b'\272H\
|
|
119
|
+
_globals['_LOGICALVOLUME'].fields_by_name['volume_group']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
|
|
106
120
|
_globals['_LOGICALVOLUME'].fields_by_name['lvm_type']._loaded_options = None
|
|
107
121
|
_globals['_LOGICALVOLUME'].fields_by_name['lvm_type']._serialized_options = b'\272H\005\202\001\002\020\001'
|
|
108
122
|
_globals['_FILESYSTEMSERVICE'].methods_by_name['Get']._loaded_options = None
|
|
109
123
|
_globals['_FILESYSTEMSERVICE'].methods_by_name['Get']._serialized_options = b'\330\363\030\002\340\363\030\002'
|
|
110
124
|
_globals['_FILESYSTEMSERVICE'].methods_by_name['List']._loaded_options = None
|
|
111
125
|
_globals['_FILESYSTEMSERVICE'].methods_by_name['List']._serialized_options = b'\330\363\030\002\340\363\030\002'
|
|
112
|
-
_globals['_LVMTYPE']._serialized_start=
|
|
113
|
-
_globals['_LVMTYPE']._serialized_end=
|
|
114
|
-
_globals['_FORMAT']._serialized_start=
|
|
115
|
-
_globals['_FORMAT']._serialized_end=
|
|
116
|
-
_globals['_GPTTYPE']._serialized_start=
|
|
117
|
-
_globals['_GPTTYPE']._serialized_end=
|
|
118
|
-
_globals['_RAIDLEVEL']._serialized_start=
|
|
119
|
-
_globals['_RAIDLEVEL']._serialized_end=
|
|
126
|
+
_globals['_LVMTYPE']._serialized_start=2684
|
|
127
|
+
_globals['_LVMTYPE']._serialized_end=2818
|
|
128
|
+
_globals['_FORMAT']._serialized_start=2821
|
|
129
|
+
_globals['_FORMAT']._serialized_end=3017
|
|
130
|
+
_globals['_GPTTYPE']._serialized_start=3020
|
|
131
|
+
_globals['_GPTTYPE']._serialized_end=3183
|
|
132
|
+
_globals['_RAIDLEVEL']._serialized_start=3185
|
|
133
|
+
_globals['_RAIDLEVEL']._serialized_end=3274
|
|
120
134
|
_globals['_FILESYSTEMSERVICEGETREQUEST']._serialized_start=160
|
|
121
135
|
_globals['_FILESYSTEMSERVICEGETREQUEST']._serialized_end=218
|
|
122
136
|
_globals['_FILESYSTEMSERVICELISTREQUEST']._serialized_start=220
|
|
@@ -132,17 +146,17 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
132
146
|
_globals['_FILESYSTEMLAYOUTCONSTRAINTS_IMAGESENTRY']._serialized_start=1255
|
|
133
147
|
_globals['_FILESYSTEMLAYOUTCONSTRAINTS_IMAGESENTRY']._serialized_end=1312
|
|
134
148
|
_globals['_FILESYSTEM']._serialized_start=1315
|
|
135
|
-
_globals['_FILESYSTEM']._serialized_end=
|
|
136
|
-
_globals['_DISK']._serialized_start=
|
|
137
|
-
_globals['_DISK']._serialized_end=
|
|
138
|
-
_globals['_RAID']._serialized_start=
|
|
139
|
-
_globals['_RAID']._serialized_end=
|
|
140
|
-
_globals['_DISKPARTITION']._serialized_start=
|
|
141
|
-
_globals['_DISKPARTITION']._serialized_end=
|
|
142
|
-
_globals['_VOLUMEGROUP']._serialized_start=
|
|
143
|
-
_globals['_VOLUMEGROUP']._serialized_end=
|
|
144
|
-
_globals['_LOGICALVOLUME']._serialized_start=
|
|
145
|
-
_globals['_LOGICALVOLUME']._serialized_end=
|
|
146
|
-
_globals['_FILESYSTEMSERVICE']._serialized_start=
|
|
147
|
-
_globals['_FILESYSTEMSERVICE']._serialized_end=
|
|
149
|
+
_globals['_FILESYSTEM']._serialized_end=1765
|
|
150
|
+
_globals['_DISK']._serialized_start=1767
|
|
151
|
+
_globals['_DISK']._serialized_end=1882
|
|
152
|
+
_globals['_RAID']._serialized_start=1885
|
|
153
|
+
_globals['_RAID']._serialized_end=2144
|
|
154
|
+
_globals['_DISKPARTITION']._serialized_start=2147
|
|
155
|
+
_globals['_DISKPARTITION']._serialized_end=2348
|
|
156
|
+
_globals['_VOLUMEGROUP']._serialized_start=2351
|
|
157
|
+
_globals['_VOLUMEGROUP']._serialized_end=2497
|
|
158
|
+
_globals['_LOGICALVOLUME']._serialized_start=2500
|
|
159
|
+
_globals['_LOGICALVOLUME']._serialized_end=2681
|
|
160
|
+
_globals['_FILESYSTEMSERVICE']._serialized_start=3277
|
|
161
|
+
_globals['_FILESYSTEMSERVICE']._serialized_end=3527
|
|
148
162
|
# @@protoc_insertion_point(module_scope)
|