mergetbapi 1.3.25__tar.gz → 1.3.26__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.
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/PKG-INFO +1 -1
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/mergetbapi/portal/v1/__init__.py +61 -0
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/mergetbapi.egg-info/PKG-INFO +1 -1
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/LICENSE.md +0 -0
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/README.md +0 -0
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/mergetbapi/__init__.py +0 -0
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/mergetbapi/google/__init__.py +0 -0
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/mergetbapi/google/api/__init__.py +0 -0
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/mergetbapi/grpc/__init__.py +0 -0
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/mergetbapi/grpc/gateway/__init__.py +0 -0
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/mergetbapi/grpc/gateway/protoc_gen_openapiv2/__init__.py +0 -0
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/mergetbapi/grpc/gateway/protoc_gen_openapiv2/options/__init__.py +0 -0
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/mergetbapi/portal/__init__.py +0 -0
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/mergetbapi/reconcile/__init__.py +0 -0
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/mergetbapi/validator/__init__.py +0 -0
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/mergetbapi/xir/__init__.py +0 -0
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/mergetbapi.egg-info/SOURCES.txt +0 -0
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/mergetbapi.egg-info/dependency_links.txt +0 -0
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/mergetbapi.egg-info/not-zip-safe +0 -0
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/mergetbapi.egg-info/requires.txt +0 -0
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/mergetbapi.egg-info/top_level.txt +0 -0
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/setup.cfg +0 -0
- {mergetbapi-1.3.25 → mergetbapi-1.3.26}/setup.py +0 -0
|
@@ -164,6 +164,11 @@ class RealizeResponseCode(betterproto.Enum):
|
|
|
164
164
|
InternalError = 3
|
|
165
165
|
|
|
166
166
|
|
|
167
|
+
class SaveDiskMaterializationMode(betterproto.Enum):
|
|
168
|
+
DiskOnly = 0
|
|
169
|
+
AllState = 1
|
|
170
|
+
|
|
171
|
+
|
|
167
172
|
class RebootMaterializationMode(betterproto.Enum):
|
|
168
173
|
Reboot = 0
|
|
169
174
|
Cycle = 1
|
|
@@ -2467,6 +2472,26 @@ class Actuator(betterproto.Message):
|
|
|
2467
2472
|
model: "__xir__.Actuator" = betterproto.message_field(2)
|
|
2468
2473
|
|
|
2469
2474
|
|
|
2475
|
+
@dataclass(eq=False, repr=False)
|
|
2476
|
+
class SaveDiskMaterializationRequest(betterproto.Message):
|
|
2477
|
+
mode: "SaveDiskMaterializationMode" = betterproto.enum_field(1)
|
|
2478
|
+
project: str = betterproto.string_field(2)
|
|
2479
|
+
experiment: str = betterproto.string_field(3)
|
|
2480
|
+
realization: str = betterproto.string_field(4)
|
|
2481
|
+
hostnames: List[str] = betterproto.string_field(5)
|
|
2482
|
+
"""
|
|
2483
|
+
hostnames are the facility's experimental node's name as defined
|
|
2484
|
+
in the user-defined experiment model.
|
|
2485
|
+
"""
|
|
2486
|
+
|
|
2487
|
+
ver: int = betterproto.int64_field(6)
|
|
2488
|
+
|
|
2489
|
+
|
|
2490
|
+
@dataclass(eq=False, repr=False)
|
|
2491
|
+
class SaveDiskMaterializationResponse(betterproto.Message):
|
|
2492
|
+
image_names: List[str] = betterproto.string_field(1)
|
|
2493
|
+
|
|
2494
|
+
|
|
2470
2495
|
@dataclass(eq=False, repr=False)
|
|
2471
2496
|
class RebootMaterializationRequest(betterproto.Message):
|
|
2472
2497
|
mode: "RebootMaterializationMode" = betterproto.enum_field(1)
|
|
@@ -4104,6 +4129,23 @@ class MaterializeStub(betterproto.ServiceStub):
|
|
|
4104
4129
|
metadata=metadata,
|
|
4105
4130
|
)
|
|
4106
4131
|
|
|
4132
|
+
async def save_disk_materialization(
|
|
4133
|
+
self,
|
|
4134
|
+
save_disk_materialization_request: "SaveDiskMaterializationRequest",
|
|
4135
|
+
*,
|
|
4136
|
+
timeout: Optional[float] = None,
|
|
4137
|
+
deadline: Optional["Deadline"] = None,
|
|
4138
|
+
metadata: Optional["MetadataLike"] = None
|
|
4139
|
+
) -> "SaveDiskMaterializationResponse":
|
|
4140
|
+
return await self._unary_unary(
|
|
4141
|
+
"/portal.v1.Materialize/SaveDiskMaterialization",
|
|
4142
|
+
save_disk_materialization_request,
|
|
4143
|
+
SaveDiskMaterializationResponse,
|
|
4144
|
+
timeout=timeout,
|
|
4145
|
+
deadline=deadline,
|
|
4146
|
+
metadata=metadata,
|
|
4147
|
+
)
|
|
4148
|
+
|
|
4107
4149
|
async def new_ingress(
|
|
4108
4150
|
self,
|
|
4109
4151
|
new_ingress_request: "NewIngressRequest",
|
|
@@ -6321,6 +6363,11 @@ class MaterializeBase(ServiceBase):
|
|
|
6321
6363
|
) -> "RebootMaterializationResponse":
|
|
6322
6364
|
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
6323
6365
|
|
|
6366
|
+
async def save_disk_materialization(
|
|
6367
|
+
self, save_disk_materialization_request: "SaveDiskMaterializationRequest"
|
|
6368
|
+
) -> "SaveDiskMaterializationResponse":
|
|
6369
|
+
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
6370
|
+
|
|
6324
6371
|
async def new_ingress(
|
|
6325
6372
|
self, new_ingress_request: "NewIngressRequest"
|
|
6326
6373
|
) -> "NewIngressResponse":
|
|
@@ -6394,6 +6441,14 @@ class MaterializeBase(ServiceBase):
|
|
|
6394
6441
|
response = await self.reboot_materialization(request)
|
|
6395
6442
|
await stream.send_message(response)
|
|
6396
6443
|
|
|
6444
|
+
async def __rpc_save_disk_materialization(
|
|
6445
|
+
self,
|
|
6446
|
+
stream: "grpclib.server.Stream[SaveDiskMaterializationRequest, SaveDiskMaterializationResponse]",
|
|
6447
|
+
) -> None:
|
|
6448
|
+
request = await stream.recv_message()
|
|
6449
|
+
response = await self.save_disk_materialization(request)
|
|
6450
|
+
await stream.send_message(response)
|
|
6451
|
+
|
|
6397
6452
|
async def __rpc_new_ingress(
|
|
6398
6453
|
self, stream: "grpclib.server.Stream[NewIngressRequest, NewIngressResponse]"
|
|
6399
6454
|
) -> None:
|
|
@@ -6459,6 +6514,12 @@ class MaterializeBase(ServiceBase):
|
|
|
6459
6514
|
RebootMaterializationRequest,
|
|
6460
6515
|
RebootMaterializationResponse,
|
|
6461
6516
|
),
|
|
6517
|
+
"/portal.v1.Materialize/SaveDiskMaterialization": grpclib.const.Handler(
|
|
6518
|
+
self.__rpc_save_disk_materialization,
|
|
6519
|
+
grpclib.const.Cardinality.UNARY_UNARY,
|
|
6520
|
+
SaveDiskMaterializationRequest,
|
|
6521
|
+
SaveDiskMaterializationResponse,
|
|
6522
|
+
),
|
|
6462
6523
|
"/portal.v1.Materialize/NewIngress": grpclib.const.Handler(
|
|
6463
6524
|
self.__rpc_new_ingress,
|
|
6464
6525
|
grpclib.const.Cardinality.UNARY_UNARY,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mergetbapi-1.3.25 → mergetbapi-1.3.26}/mergetbapi/grpc/gateway/protoc_gen_openapiv2/__init__.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
|