mergetbapi 1.3.24__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.24 → mergetbapi-1.3.26}/PKG-INFO +1 -1
- {mergetbapi-1.3.24 → mergetbapi-1.3.26}/mergetbapi/portal/v1/__init__.py +63 -0
- {mergetbapi-1.3.24 → mergetbapi-1.3.26}/mergetbapi.egg-info/PKG-INFO +1 -1
- {mergetbapi-1.3.24 → mergetbapi-1.3.26}/LICENSE.md +0 -0
- {mergetbapi-1.3.24 → mergetbapi-1.3.26}/README.md +0 -0
- {mergetbapi-1.3.24 → mergetbapi-1.3.26}/mergetbapi/__init__.py +0 -0
- {mergetbapi-1.3.24 → mergetbapi-1.3.26}/mergetbapi/google/__init__.py +0 -0
- {mergetbapi-1.3.24 → mergetbapi-1.3.26}/mergetbapi/google/api/__init__.py +0 -0
- {mergetbapi-1.3.24 → mergetbapi-1.3.26}/mergetbapi/grpc/__init__.py +0 -0
- {mergetbapi-1.3.24 → mergetbapi-1.3.26}/mergetbapi/grpc/gateway/__init__.py +0 -0
- {mergetbapi-1.3.24 → mergetbapi-1.3.26}/mergetbapi/grpc/gateway/protoc_gen_openapiv2/__init__.py +0 -0
- {mergetbapi-1.3.24 → mergetbapi-1.3.26}/mergetbapi/grpc/gateway/protoc_gen_openapiv2/options/__init__.py +0 -0
- {mergetbapi-1.3.24 → mergetbapi-1.3.26}/mergetbapi/portal/__init__.py +0 -0
- {mergetbapi-1.3.24 → mergetbapi-1.3.26}/mergetbapi/reconcile/__init__.py +0 -0
- {mergetbapi-1.3.24 → mergetbapi-1.3.26}/mergetbapi/validator/__init__.py +0 -0
- {mergetbapi-1.3.24 → mergetbapi-1.3.26}/mergetbapi/xir/__init__.py +0 -0
- {mergetbapi-1.3.24 → mergetbapi-1.3.26}/mergetbapi.egg-info/SOURCES.txt +0 -0
- {mergetbapi-1.3.24 → mergetbapi-1.3.26}/mergetbapi.egg-info/dependency_links.txt +0 -0
- {mergetbapi-1.3.24 → mergetbapi-1.3.26}/mergetbapi.egg-info/not-zip-safe +0 -0
- {mergetbapi-1.3.24 → mergetbapi-1.3.26}/mergetbapi.egg-info/requires.txt +0 -0
- {mergetbapi-1.3.24 → mergetbapi-1.3.26}/mergetbapi.egg-info/top_level.txt +0 -0
- {mergetbapi-1.3.24 → mergetbapi-1.3.26}/setup.cfg +0 -0
- {mergetbapi-1.3.24 → 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
|
|
@@ -2015,6 +2020,8 @@ class ActuatorRealization(betterproto.Message):
|
|
|
2015
2020
|
class LinkSegment(betterproto.Message):
|
|
2016
2021
|
endpoints: List["Endpoint"] = betterproto.message_field(1)
|
|
2017
2022
|
waypoints: List["Waypoint"] = betterproto.message_field(2)
|
|
2023
|
+
vid: int = betterproto.uint32_field(3)
|
|
2024
|
+
vni: int = betterproto.uint32_field(4)
|
|
2018
2025
|
|
|
2019
2026
|
|
|
2020
2027
|
@dataclass(eq=False, repr=False)
|
|
@@ -2465,6 +2472,26 @@ class Actuator(betterproto.Message):
|
|
|
2465
2472
|
model: "__xir__.Actuator" = betterproto.message_field(2)
|
|
2466
2473
|
|
|
2467
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
|
+
|
|
2468
2495
|
@dataclass(eq=False, repr=False)
|
|
2469
2496
|
class RebootMaterializationRequest(betterproto.Message):
|
|
2470
2497
|
mode: "RebootMaterializationMode" = betterproto.enum_field(1)
|
|
@@ -4102,6 +4129,23 @@ class MaterializeStub(betterproto.ServiceStub):
|
|
|
4102
4129
|
metadata=metadata,
|
|
4103
4130
|
)
|
|
4104
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
|
+
|
|
4105
4149
|
async def new_ingress(
|
|
4106
4150
|
self,
|
|
4107
4151
|
new_ingress_request: "NewIngressRequest",
|
|
@@ -6319,6 +6363,11 @@ class MaterializeBase(ServiceBase):
|
|
|
6319
6363
|
) -> "RebootMaterializationResponse":
|
|
6320
6364
|
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
6321
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
|
+
|
|
6322
6371
|
async def new_ingress(
|
|
6323
6372
|
self, new_ingress_request: "NewIngressRequest"
|
|
6324
6373
|
) -> "NewIngressResponse":
|
|
@@ -6392,6 +6441,14 @@ class MaterializeBase(ServiceBase):
|
|
|
6392
6441
|
response = await self.reboot_materialization(request)
|
|
6393
6442
|
await stream.send_message(response)
|
|
6394
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
|
+
|
|
6395
6452
|
async def __rpc_new_ingress(
|
|
6396
6453
|
self, stream: "grpclib.server.Stream[NewIngressRequest, NewIngressResponse]"
|
|
6397
6454
|
) -> None:
|
|
@@ -6457,6 +6514,12 @@ class MaterializeBase(ServiceBase):
|
|
|
6457
6514
|
RebootMaterializationRequest,
|
|
6458
6515
|
RebootMaterializationResponse,
|
|
6459
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
|
+
),
|
|
6460
6523
|
"/portal.v1.Materialize/NewIngress": grpclib.const.Handler(
|
|
6461
6524
|
self.__rpc_new_ingress,
|
|
6462
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.24 → 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
|