mergetbapi 1.4.3__tar.gz → 1.5.0__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.4.3 → mergetbapi-1.5.0}/PKG-INFO +1 -1
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/mergetbapi/portal/v1/__init__.py +96 -72
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/mergetbapi/xir/__init__.py +20 -0
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/mergetbapi.egg-info/PKG-INFO +1 -1
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/LICENSE.md +0 -0
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/README.md +0 -0
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/mergetbapi/__init__.py +0 -0
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/mergetbapi/google/__init__.py +0 -0
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/mergetbapi/google/api/__init__.py +0 -0
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/mergetbapi/grpc/__init__.py +0 -0
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/mergetbapi/grpc/gateway/__init__.py +0 -0
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/mergetbapi/grpc/gateway/protoc_gen_openapiv2/__init__.py +0 -0
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/mergetbapi/grpc/gateway/protoc_gen_openapiv2/options/__init__.py +0 -0
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/mergetbapi/portal/__init__.py +0 -0
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/mergetbapi/reconcile/__init__.py +0 -0
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/mergetbapi/validator/__init__.py +0 -0
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/mergetbapi.egg-info/SOURCES.txt +0 -0
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/mergetbapi.egg-info/dependency_links.txt +0 -0
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/mergetbapi.egg-info/not-zip-safe +0 -0
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/mergetbapi.egg-info/requires.txt +0 -0
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/mergetbapi.egg-info/top_level.txt +0 -0
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/setup.cfg +0 -0
- {mergetbapi-1.4.3 → mergetbapi-1.5.0}/setup.py +0 -0
|
@@ -179,6 +179,7 @@ class BgpPeerRole(betterproto.Enum):
|
|
|
179
179
|
Regular = 1
|
|
180
180
|
BorderGateway = 2
|
|
181
181
|
RouteReflector = 3
|
|
182
|
+
LocalBorderGateway = 4
|
|
182
183
|
|
|
183
184
|
|
|
184
185
|
class DiagnosticLevel(betterproto.Enum):
|
|
@@ -2377,6 +2378,78 @@ class Vlist(betterproto.Message):
|
|
|
2377
2378
|
values: List[int] = betterproto.uint32_field(1)
|
|
2378
2379
|
|
|
2379
2380
|
|
|
2381
|
+
@dataclass(eq=False, repr=False)
|
|
2382
|
+
class WgEnclave(betterproto.Message):
|
|
2383
|
+
enclaveid: str = betterproto.string_field(1)
|
|
2384
|
+
gateways: Dict[str, "WgIfConfig"] = betterproto.map_field(
|
|
2385
|
+
2, betterproto.TYPE_STRING, betterproto.TYPE_MESSAGE
|
|
2386
|
+
)
|
|
2387
|
+
clients: Dict[str, "WgIfConfig"] = betterproto.map_field(
|
|
2388
|
+
3, betterproto.TYPE_STRING, betterproto.TYPE_MESSAGE
|
|
2389
|
+
)
|
|
2390
|
+
ver: int = betterproto.int64_field(4)
|
|
2391
|
+
gateway_ips: Dict[str, str] = betterproto.map_field(
|
|
2392
|
+
5, betterproto.TYPE_STRING, betterproto.TYPE_STRING
|
|
2393
|
+
)
|
|
2394
|
+
client_ips: Dict[str, str] = betterproto.map_field(
|
|
2395
|
+
6, betterproto.TYPE_STRING, betterproto.TYPE_STRING
|
|
2396
|
+
)
|
|
2397
|
+
created: datetime = betterproto.message_field(7)
|
|
2398
|
+
|
|
2399
|
+
|
|
2400
|
+
@dataclass(eq=False, repr=False)
|
|
2401
|
+
class WgIfConfig(betterproto.Message):
|
|
2402
|
+
endpoint: str = betterproto.string_field(1)
|
|
2403
|
+
key: str = betterproto.string_field(2)
|
|
2404
|
+
allowedips: List[str] = betterproto.string_field(3)
|
|
2405
|
+
accessaddr: str = betterproto.string_field(4)
|
|
2406
|
+
|
|
2407
|
+
|
|
2408
|
+
@dataclass(eq=False, repr=False)
|
|
2409
|
+
class AddWgIfConfigRequest(betterproto.Message):
|
|
2410
|
+
enclaveid: str = betterproto.string_field(1)
|
|
2411
|
+
config: "WgIfConfig" = betterproto.message_field(2)
|
|
2412
|
+
gateway: bool = betterproto.bool_field(3)
|
|
2413
|
+
|
|
2414
|
+
|
|
2415
|
+
@dataclass(eq=False, repr=False)
|
|
2416
|
+
class AddWgIfConfigResponse(betterproto.Message):
|
|
2417
|
+
pass
|
|
2418
|
+
|
|
2419
|
+
|
|
2420
|
+
@dataclass(eq=False, repr=False)
|
|
2421
|
+
class DelWgIfConfigRequest(betterproto.Message):
|
|
2422
|
+
enclaveid: str = betterproto.string_field(1)
|
|
2423
|
+
key: str = betterproto.string_field(2)
|
|
2424
|
+
|
|
2425
|
+
|
|
2426
|
+
@dataclass(eq=False, repr=False)
|
|
2427
|
+
class DelWgIfConfigResponse(betterproto.Message):
|
|
2428
|
+
pass
|
|
2429
|
+
|
|
2430
|
+
|
|
2431
|
+
@dataclass(eq=False, repr=False)
|
|
2432
|
+
class GetWgIfConfigRequest(betterproto.Message):
|
|
2433
|
+
enclaveid: str = betterproto.string_field(1)
|
|
2434
|
+
key: str = betterproto.string_field(2)
|
|
2435
|
+
|
|
2436
|
+
|
|
2437
|
+
@dataclass(eq=False, repr=False)
|
|
2438
|
+
class GetWgIfConfigResponse(betterproto.Message):
|
|
2439
|
+
enclaveid: str = betterproto.string_field(1)
|
|
2440
|
+
endpoint: str = betterproto.string_field(2)
|
|
2441
|
+
|
|
2442
|
+
|
|
2443
|
+
@dataclass(eq=False, repr=False)
|
|
2444
|
+
class GetWgEnclaveRequest(betterproto.Message):
|
|
2445
|
+
enclaveid: str = betterproto.string_field(1)
|
|
2446
|
+
|
|
2447
|
+
|
|
2448
|
+
@dataclass(eq=False, repr=False)
|
|
2449
|
+
class GetWgEnclaveResponse(betterproto.Message):
|
|
2450
|
+
enclave: "WgEnclave" = betterproto.message_field(1)
|
|
2451
|
+
|
|
2452
|
+
|
|
2380
2453
|
@dataclass(eq=False, repr=False)
|
|
2381
2454
|
class Realization(betterproto.Message):
|
|
2382
2455
|
complete: bool = betterproto.bool_field(1)
|
|
@@ -2572,6 +2645,8 @@ class Waypoint(betterproto.Message):
|
|
|
2572
2645
|
tap: "VlanTapPort" = betterproto.message_field(6, group="interface")
|
|
2573
2646
|
vtep: "Vtep" = betterproto.message_field(7, group="interface")
|
|
2574
2647
|
bgp_peer: "BgpPeer" = betterproto.message_field(8, group="interface")
|
|
2648
|
+
wireguard: "WireguardLink" = betterproto.message_field(10, group="interface")
|
|
2649
|
+
gre: "GreLink" = betterproto.message_field(11, group="interface")
|
|
2575
2650
|
mtu: int = betterproto.uint32_field(9)
|
|
2576
2651
|
|
|
2577
2652
|
|
|
@@ -2652,6 +2727,7 @@ class BgpPeer(betterproto.Message):
|
|
|
2652
2727
|
router_id: str = betterproto.string_field(5)
|
|
2653
2728
|
transit_ip: str = betterproto.string_field(6)
|
|
2654
2729
|
role: "BgpPeerRole" = betterproto.enum_field(7)
|
|
2730
|
+
transit_hostname: str = betterproto.string_field(8)
|
|
2655
2731
|
|
|
2656
2732
|
|
|
2657
2733
|
@dataclass(eq=False, repr=False)
|
|
@@ -2694,6 +2770,26 @@ class VlanVfPort(betterproto.Message):
|
|
|
2694
2770
|
vid: int = betterproto.uint32_field(3)
|
|
2695
2771
|
|
|
2696
2772
|
|
|
2773
|
+
@dataclass(eq=False, repr=False)
|
|
2774
|
+
class WireguardLink(betterproto.Message):
|
|
2775
|
+
name: str = betterproto.string_field(1)
|
|
2776
|
+
interface: "WgIfConfig" = betterproto.message_field(2)
|
|
2777
|
+
peers: List["WgIfConfig"] = betterproto.message_field(3)
|
|
2778
|
+
|
|
2779
|
+
|
|
2780
|
+
@dataclass(eq=False, repr=False)
|
|
2781
|
+
class GreLink(betterproto.Message):
|
|
2782
|
+
name: str = betterproto.string_field(1)
|
|
2783
|
+
underlay_local_ip: str = betterproto.string_field(2)
|
|
2784
|
+
"""underlay: the physical/transit network path"""
|
|
2785
|
+
|
|
2786
|
+
underlay_remote_ip: str = betterproto.string_field(3)
|
|
2787
|
+
overlay_local_ip: str = betterproto.string_field(4)
|
|
2788
|
+
"""overlay: the virtual tunnel path"""
|
|
2789
|
+
|
|
2790
|
+
overlay_remote_ip: str = betterproto.string_field(5)
|
|
2791
|
+
|
|
2792
|
+
|
|
2697
2793
|
@dataclass(eq=False, repr=False)
|
|
2698
2794
|
class Diagnostic(betterproto.Message):
|
|
2699
2795
|
message: str = betterproto.string_field(1)
|
|
@@ -3431,78 +3527,6 @@ class JupyterCfg(betterproto.Message):
|
|
|
3431
3527
|
ver: int = betterproto.int64_field(5)
|
|
3432
3528
|
|
|
3433
3529
|
|
|
3434
|
-
@dataclass(eq=False, repr=False)
|
|
3435
|
-
class WgEnclave(betterproto.Message):
|
|
3436
|
-
enclaveid: str = betterproto.string_field(1)
|
|
3437
|
-
gateways: Dict[str, "WgIfConfig"] = betterproto.map_field(
|
|
3438
|
-
2, betterproto.TYPE_STRING, betterproto.TYPE_MESSAGE
|
|
3439
|
-
)
|
|
3440
|
-
clients: Dict[str, "WgIfConfig"] = betterproto.map_field(
|
|
3441
|
-
3, betterproto.TYPE_STRING, betterproto.TYPE_MESSAGE
|
|
3442
|
-
)
|
|
3443
|
-
ver: int = betterproto.int64_field(4)
|
|
3444
|
-
gateway_ips: Dict[str, str] = betterproto.map_field(
|
|
3445
|
-
5, betterproto.TYPE_STRING, betterproto.TYPE_STRING
|
|
3446
|
-
)
|
|
3447
|
-
client_ips: Dict[str, str] = betterproto.map_field(
|
|
3448
|
-
6, betterproto.TYPE_STRING, betterproto.TYPE_STRING
|
|
3449
|
-
)
|
|
3450
|
-
created: datetime = betterproto.message_field(7)
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
@dataclass(eq=False, repr=False)
|
|
3454
|
-
class WgIfConfig(betterproto.Message):
|
|
3455
|
-
endpoint: str = betterproto.string_field(1)
|
|
3456
|
-
key: str = betterproto.string_field(2)
|
|
3457
|
-
allowedips: List[str] = betterproto.string_field(3)
|
|
3458
|
-
accessaddr: str = betterproto.string_field(4)
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
@dataclass(eq=False, repr=False)
|
|
3462
|
-
class AddWgIfConfigRequest(betterproto.Message):
|
|
3463
|
-
enclaveid: str = betterproto.string_field(1)
|
|
3464
|
-
config: "WgIfConfig" = betterproto.message_field(2)
|
|
3465
|
-
gateway: bool = betterproto.bool_field(3)
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
@dataclass(eq=False, repr=False)
|
|
3469
|
-
class AddWgIfConfigResponse(betterproto.Message):
|
|
3470
|
-
pass
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
@dataclass(eq=False, repr=False)
|
|
3474
|
-
class DelWgIfConfigRequest(betterproto.Message):
|
|
3475
|
-
enclaveid: str = betterproto.string_field(1)
|
|
3476
|
-
key: str = betterproto.string_field(2)
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
@dataclass(eq=False, repr=False)
|
|
3480
|
-
class DelWgIfConfigResponse(betterproto.Message):
|
|
3481
|
-
pass
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
@dataclass(eq=False, repr=False)
|
|
3485
|
-
class GetWgIfConfigRequest(betterproto.Message):
|
|
3486
|
-
enclaveid: str = betterproto.string_field(1)
|
|
3487
|
-
key: str = betterproto.string_field(2)
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
@dataclass(eq=False, repr=False)
|
|
3491
|
-
class GetWgIfConfigResponse(betterproto.Message):
|
|
3492
|
-
enclaveid: str = betterproto.string_field(1)
|
|
3493
|
-
endpoint: str = betterproto.string_field(2)
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
@dataclass(eq=False, repr=False)
|
|
3497
|
-
class GetWgEnclaveRequest(betterproto.Message):
|
|
3498
|
-
enclaveid: str = betterproto.string_field(1)
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
@dataclass(eq=False, repr=False)
|
|
3502
|
-
class GetWgEnclaveResponse(betterproto.Message):
|
|
3503
|
-
enclave: "WgEnclave" = betterproto.message_field(1)
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
3530
|
@dataclass(eq=False, repr=False)
|
|
3507
3531
|
class KvUser(betterproto.Message):
|
|
3508
3532
|
username: str = betterproto.string_field(1)
|
|
@@ -325,6 +325,8 @@ class LinkRole(betterproto.Enum):
|
|
|
325
325
|
InternalLink = 9
|
|
326
326
|
BorderGatewayLink = 10
|
|
327
327
|
WireguardLink = 11
|
|
328
|
+
IPMILink = 12
|
|
329
|
+
BGPUnderlayLink = 13
|
|
328
330
|
|
|
329
331
|
|
|
330
332
|
class DiskRole(betterproto.Enum):
|
|
@@ -469,6 +471,7 @@ class Ref(betterproto.Message):
|
|
|
469
471
|
element: str = betterproto.string_field(1)
|
|
470
472
|
index: int = betterproto.uint32_field(2)
|
|
471
473
|
subref: "Subref" = betterproto.message_field(3)
|
|
474
|
+
facility: str = betterproto.string_field(4)
|
|
472
475
|
|
|
473
476
|
|
|
474
477
|
@dataclass(eq=False, repr=False)
|
|
@@ -565,6 +568,13 @@ class ProductInfo(betterproto.Message):
|
|
|
565
568
|
cost: float = betterproto.float_field(5)
|
|
566
569
|
|
|
567
570
|
|
|
571
|
+
@dataclass(eq=False, repr=False)
|
|
572
|
+
class WireguardConfig(betterproto.Message):
|
|
573
|
+
port: int = betterproto.int32_field(1)
|
|
574
|
+
pub: str = betterproto.string_field(2)
|
|
575
|
+
prv: str = betterproto.string_field(3)
|
|
576
|
+
|
|
577
|
+
|
|
568
578
|
@dataclass(eq=False, repr=False)
|
|
569
579
|
class Resource(betterproto.Message):
|
|
570
580
|
id: str = betterproto.string_field(1)
|
|
@@ -590,6 +600,7 @@ class Resource(betterproto.Message):
|
|
|
590
600
|
realization_tags: List[str] = betterproto.string_field(19)
|
|
591
601
|
capabilities: List["Capability"] = betterproto.enum_field(20)
|
|
592
602
|
bgp_id: int = betterproto.uint32_field(21)
|
|
603
|
+
fqdn: str = betterproto.string_field(22)
|
|
593
604
|
|
|
594
605
|
|
|
595
606
|
@dataclass(eq=False, repr=False)
|
|
@@ -675,6 +686,7 @@ class OsConfig(betterproto.Message):
|
|
|
675
686
|
append: str = betterproto.string_field(5)
|
|
676
687
|
rootdev: str = betterproto.string_field(6)
|
|
677
688
|
default_image: str = betterproto.string_field(7)
|
|
689
|
+
multifac_wg_config: "WireguardConfig" = betterproto.message_field(8)
|
|
678
690
|
|
|
679
691
|
|
|
680
692
|
@dataclass(eq=False, repr=False)
|
|
@@ -775,6 +787,7 @@ class Port(betterproto.Message):
|
|
|
775
787
|
sriov: "Sriov" = betterproto.message_field(14)
|
|
776
788
|
roles: List["LinkRole"] = betterproto.enum_field(15)
|
|
777
789
|
bridge: str = betterproto.string_field(16)
|
|
790
|
+
facility: str = betterproto.string_field(17)
|
|
778
791
|
|
|
779
792
|
def __post_init__(self) -> None:
|
|
780
793
|
super().__post_init__()
|
|
@@ -834,6 +847,11 @@ class Cable(betterproto.Message):
|
|
|
834
847
|
product_info: "ProductInfo" = betterproto.message_field(5)
|
|
835
848
|
remote_facility: str = betterproto.string_field(6)
|
|
836
849
|
|
|
850
|
+
def __post_init__(self) -> None:
|
|
851
|
+
super().__post_init__()
|
|
852
|
+
if self.is_set("remote_facility"):
|
|
853
|
+
warnings.warn("Cable.remote_facility is deprecated", DeprecationWarning)
|
|
854
|
+
|
|
837
855
|
|
|
838
856
|
@dataclass(eq=False, repr=False)
|
|
839
857
|
class End(betterproto.Message):
|
|
@@ -849,6 +867,7 @@ class Connector(betterproto.Message):
|
|
|
849
867
|
capacity: int = betterproto.uint64_field(5)
|
|
850
868
|
port: "Ref" = betterproto.message_field(6)
|
|
851
869
|
breakout: "Breakout" = betterproto.message_field(7)
|
|
870
|
+
facility: str = betterproto.string_field(8)
|
|
852
871
|
|
|
853
872
|
|
|
854
873
|
@dataclass(eq=False, repr=False)
|
|
@@ -874,6 +893,7 @@ class FacilityProperties(betterproto.Message):
|
|
|
874
893
|
standard_images: List[str] = betterproto.string_field(4)
|
|
875
894
|
facility_bgp_ids: List[int] = betterproto.uint32_field(5)
|
|
876
895
|
xir_version: str = betterproto.string_field(6)
|
|
896
|
+
facility_local_network: str = betterproto.string_field(7)
|
|
877
897
|
|
|
878
898
|
|
|
879
899
|
@dataclass(eq=False, repr=False)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mergetbapi-1.4.3 → mergetbapi-1.5.0}/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
|