Skip to content
Snippets Groups Projects

new IP trunk migration

Merged Karel van Klink requested to merge feature/ip-trunk-migration into develop
4 files
+ 15
13
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -4,9 +4,9 @@ from typing import Optional
from orchestrator.domain.base import ProductBlockModel
from orchestrator.types import SubscriptionLifecycle, strEnum
from pydantic import ConstrainedInt
from gso.products.product_blocks.site import SiteBlock, SiteBlockInactive, SiteBlockProvisioning
from gso.products.shared import PortNumber
class RouterVendor(strEnum):
@@ -24,16 +24,6 @@ class RouterRole(strEnum):
AMT = "amt"
class PortNumber(ConstrainedInt):
"""Constrained integer for valid port numbers.
The range from 49152 to 65535 is marked as ephemeral, and can therefore not be selected for permanent allocation.
"""
gt = 0
le = 49151
class RouterBlockInactive(
ProductBlockModel, lifecycle=[SubscriptionLifecycle.INITIAL], product_block_name="RouterBlock"
):
Loading