Skip to content

Geant ip

Product type for GÉANT IP.

GeantIPInactive

Bases: BaseL3SubscriptionModel

A GeantIP product that is inactive.

Source code in gso/products/product_types/geant_ip.py
class GeantIPInactive(BaseL3SubscriptionModel, is_base=True):
    """A GeantIP product that is inactive."""

    geant_ip: GeantIPBlockInactive

    @property
    def l3_core(self) -> L3CoreServiceBlockInactive:
        """Getter: Retrieve the l3_core from the geant_ip attribute."""
        return self.geant_ip.l3_core

    @l3_core.setter
    def l3_core(self, value: L3CoreServiceBlockInactive) -> None:
        """Setter: Set the l3_core on the geant_ip attribute."""
        self.geant_ip.l3_core = value

    @property
    def service_name_attribute(self) -> str:
        """Get the service name."""
        return "geant_ip"

l3_core property writable

Getter: Retrieve the l3_core from the geant_ip attribute.

service_name_attribute property

Get the service name.

GeantIPProvisioning

Bases: GeantIPInactive

A GeantIP product that is being provisioned.

Source code in gso/products/product_types/geant_ip.py
class GeantIPProvisioning(GeantIPInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING]):
    """A GeantIP product that is being provisioned."""

    geant_ip: GeantIPBlockProvisioning

GeantIP

Bases: GeantIPProvisioning

A GeantIP product that is active.

Source code in gso/products/product_types/geant_ip.py
class GeantIP(GeantIPProvisioning, lifecycle=[SubscriptionLifecycle.ACTIVE]):
    """A GeantIP product that is active."""

    geant_ip: GeantIPBlock

ImportedGeantIPInactive

Bases: BaseL3SubscriptionModel

An imported GeantIP product that is inactive.

Source code in gso/products/product_types/geant_ip.py
class ImportedGeantIPInactive(BaseL3SubscriptionModel, is_base=True):
    """An imported GeantIP product that is inactive."""

    geant_ip: GeantIPBlockInactive

    @property
    def l3_core(self) -> L3CoreServiceBlockInactive:
        """Getter: Retrieve the l3_core from the geant_ip attribute."""
        return self.geant_ip.l3_core

    @l3_core.setter
    def l3_core(self, value: L3CoreServiceBlockInactive) -> None:
        """Setter: Set the l3_core on the geant_ip attribute."""
        self.geant_ip.l3_core = value

    @property
    def service_name_attribute(self) -> str:
        """Get the service name."""
        return "geant_ip"

l3_core property writable

Getter: Retrieve the l3_core from the geant_ip attribute.

service_name_attribute property

Get the service name.

ImportedGeantIP

Bases: ImportedGeantIPInactive

An imported GeantIP product that is active.

Source code in gso/products/product_types/geant_ip.py
class ImportedGeantIP(
    ImportedGeantIPInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING, SubscriptionLifecycle.ACTIVE]
):
    """An imported GeantIP product that is active."""

    geant_ip: GeantIPBlock