Skip to content

Index

Module that updates the domain model of GSO. Should contain all types of subscriptions.

Warning

Whenever a new product is added, this should be reflected in the ProductType enumerator. This does not hold for adding a new type of already existing product.

ProductName

Bases: strEnum

An enumerator of available product names in GSO.

Source code in gso/products/__init__.py
class ProductName(strEnum):
    """An enumerator of available product names in GSO."""

    IP_TRUNK = "IP trunk"
    """IP trunks."""
    ROUTER = "Router"
    """Routers."""
    SITE = "Site"
    """Sites."""
    SUPER_POP_SWITCH = "Super PoP switch"
    """Super PoP Switches."""
    OFFICE_ROUTER = "Office router"
    """Office routers."""
    SWITCH = "Switch"
    """Switches."""
    IMPORTED_SWITCH = "Imported Switch"
    LAN_SWITCH_INTERCONNECT = "LAN Switch Interconnect"
    """LAN Switch Interconnections."""
    IMPORTED_LAN_SWITCH_INTERCONNECT = "Imported LAN Switch Interconnect"
    POP_VLAN = "Pop VLAN"
    """PoP VLANs."""
    IMPORTED_IP_TRUNK = "Imported IP trunk"
    IMPORTED_ROUTER = "Imported router"
    IMPORTED_SITE = "Imported site"
    IMPORTED_SUPER_POP_SWITCH = "Imported super PoP switch"
    IMPORTED_OFFICE_ROUTER = "Imported office router"
    OPENGEAR = "Opengear"
    """Opengears."""
    IMPORTED_OPENGEAR = "Imported Opengear"
    EDGE_PORT = "Edge Port"
    """Edge Ports."""
    IMPORTED_EDGE_PORT = "Imported Edge Port"
    GEANT_IP = "GÉANT IP"
    """GÉANT IP products."""
    IMPORTED_GEANT_IP = "Imported GÉANT IP"
    IAS = "IAS"
    """Internet Access Services."""
    IMPORTED_IAS = "Imported IAS"
    GWS = "GWS"
    """GÉANT Web Services."""
    IMPORTED_GWS = "Imported GWS"
    LHCONE = "LHCOne"
    """LHCOne."""
    IMPORTED_LHCONE = "Imported LHCOne"
    COPERNICUS = "Copernicus"
    """Copernicus."""
    IMPORTED_COPERNICUS = "Imported Copernicus"
    GEANT_PLUS = Layer2CircuitServiceType.GEANT_PLUS
    """GÉANT+ layer 2 circuits."""
    IMPORTED_GEANT_PLUS = Layer2CircuitServiceType.IMPORTED_GEANT_PLUS
    EXPRESSROUTE = Layer2CircuitServiceType.EXPRESSROUTE
    """Microsoft Azure ExpressRoutes."""
    IMPORTED_EXPRESSROUTE = Layer2CircuitServiceType.IMPORTED_EXPRESSROUTE
    VRF = "VRF"
    """VRFs."""

IP_TRUNK = 'IP trunk' class-attribute instance-attribute

IP trunks.

ROUTER = 'Router' class-attribute instance-attribute

Routers.

SITE = 'Site' class-attribute instance-attribute

Sites.

SUPER_POP_SWITCH = 'Super PoP switch' class-attribute instance-attribute

Super PoP Switches.

OFFICE_ROUTER = 'Office router' class-attribute instance-attribute

Office routers.

SWITCH = 'Switch' class-attribute instance-attribute

Switches.

LAN_SWITCH_INTERCONNECT = 'LAN Switch Interconnect' class-attribute instance-attribute

LAN Switch Interconnections.

POP_VLAN = 'Pop VLAN' class-attribute instance-attribute

PoP VLANs.

OPENGEAR = 'Opengear' class-attribute instance-attribute

Opengears.

EDGE_PORT = 'Edge Port' class-attribute instance-attribute

Edge Ports.

GEANT_IP = 'GÉANT IP' class-attribute instance-attribute

GÉANT IP products.

IAS = 'IAS' class-attribute instance-attribute

Internet Access Services.

GWS = 'GWS' class-attribute instance-attribute

GÉANT Web Services.

LHCONE = 'LHCOne' class-attribute instance-attribute

LHCOne.

COPERNICUS = 'Copernicus' class-attribute instance-attribute

Copernicus.

GEANT_PLUS = Layer2CircuitServiceType.GEANT_PLUS class-attribute instance-attribute

GÉANT+ layer 2 circuits.

EXPRESSROUTE = Layer2CircuitServiceType.EXPRESSROUTE class-attribute instance-attribute

Microsoft Azure ExpressRoutes.

VRF = 'VRF' class-attribute instance-attribute

VRFs.

ProductType

Bases: strEnum

An enumerator of available product types in GSO.

Source code in gso/products/__init__.py
class ProductType(strEnum):
    """An enumerator of available product types in GSO."""

    IP_TRUNK = Iptrunk.__name__
    ROUTER = Router.__name__
    SITE = Site.__name__
    SUPER_POP_SWITCH = SuperPopSwitch.__name__
    OFFICE_ROUTER = OfficeRouter.__name__
    SWITCH = Switch.__name__
    IMPORTED_SWITCH = ImportedSwitch.__name__
    LAN_SWITCH_INTERCONNECT = LanSwitchInterconnect.__name__
    IMPORTED_LAN_SWITCH_INTERCONNECT = ImportedLanSwitchInterconnect.__name__
    POP_VLAN = PopVlan.__name__
    IMPORTED_IP_TRUNK = ImportedIptrunk.__name__
    IMPORTED_ROUTER = ImportedRouter.__name__
    IMPORTED_SITE = ImportedSite.__name__
    IMPORTED_SUPER_POP_SWITCH = ImportedSuperPopSwitch.__name__
    IMPORTED_OFFICE_ROUTER = ImportedOfficeRouter.__name__
    OPENGEAR = Opengear.__name__
    IMPORTED_OPENGEAR = Opengear.__name__
    EDGE_PORT = EdgePort.__name__
    IMPORTED_EDGE_PORT = ImportedEdgePort.__name__
    GEANT_IP = L3_CORE_SERVICE_PRODUCT_TYPE
    IMPORTED_GEANT_IP = ImportedL3CoreService.__name__
    IAS = L3_CORE_SERVICE_PRODUCT_TYPE
    IMPORTED_IAS = ImportedL3CoreService.__name__
    GWS = L3_CORE_SERVICE_PRODUCT_TYPE
    IMPORTED_GWS = ImportedL3CoreService.__name__
    LHCONE = L3_CORE_SERVICE_PRODUCT_TYPE
    IMPORTED_LHCONE = ImportedL3CoreService.__name__
    COPERNICUS = L3_CORE_SERVICE_PRODUCT_TYPE
    IMPORTED_COPERNICUS = ImportedL3CoreService.__name__
    GEANT_PLUS = L2_CIRCUIT_PRODUCT_TYPE
    IMPORTED_GEANT_PLUS = ImportedLayer2Circuit.__name__
    EXPRESSROUTE = L2_CIRCUIT_PRODUCT_TYPE
    IMPORTED_EXPRESSROUTE = ImportedLayer2Circuit.__name__
    VRF = VRF.__name__