Skip to content

Ix port

Product type for IX Port.

IXPortInactive

Bases: SubscriptionModel

An IX Port product that is inactive.

Source code in gso/products/product_types/ix_port.py
class IXPortInactive(SubscriptionModel, is_base=True):
    """An IX Port product that is inactive."""

    ix_port: IXPortBlockInactive

    @property
    def l3_interface(self) -> L3InterfacePortBlockInactive:
        """Getter: Retrieve the l3_interface from the ``ix_port`` attribute."""
        return self.ix_port.l3_interface

    @l3_interface.setter
    def l3_interface(self, value: L3InterfacePortBlockInactive) -> None:
        """Setter: Set the l3_interface on the ``ix_port`` attribute."""
        self.ix_port.l3_interface = value

    @property
    def product_block(self) -> IXPortBlockInactive:
        """Get product block for IX Port Product."""
        return self.ix_port

l3_interface property writable

Getter: Retrieve the l3_interface from the ix_port attribute.

product_block property

Get product block for IX Port Product.

IXPortProvisioning

Bases: IXPortInactive

An IX Port product that is being provisioned.

Source code in gso/products/product_types/ix_port.py
class IXPortProvisioning(IXPortInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING]):
    """An IX Port product that is being provisioned."""

    ix_port: IXPortBlockProvisioning

IXPort

Bases: IXPortProvisioning

An IX Port product that is active.

Source code in gso/products/product_types/ix_port.py
class IXPort(IXPortProvisioning, lifecycle=[SubscriptionLifecycle.ACTIVE]):
    """An IX Port product that is active."""

    ix_port: IXPortBlock

ImportedIXPortInactive

Bases: SubscriptionModel

An imported IX Port product that is inactive.

Source code in gso/products/product_types/ix_port.py
class ImportedIXPortInactive(SubscriptionModel, is_base=True):
    """An imported IX Port product that is inactive."""

    ix_port: IXPortBlockInactive

    @property
    def l3_interface(self) -> L3InterfacePortBlockInactive:
        """Getter: Retrieve the l3_interface from the ``ix_port`` attribute."""
        return self.ix_port.l3_interface

    @l3_interface.setter
    def l3_interface(self, value: L3InterfacePortBlockInactive) -> None:
        """Setter: Set the l3_interface on the ``ix_port`` attribute."""
        self.ix_port.l3_interface = value

    @property
    def product_block(self) -> IXPortBlockInactive:
        """Get product block for IX Port Product."""
        return self.ix_port

l3_interface property writable

Getter: Retrieve the l3_interface from the ix_port attribute.

product_block property

Get product block for IX Port Product.

ImportedIXPort

Bases: ImportedIXPortInactive

An imported IX Port product that is active.

Source code in gso/products/product_types/ix_port.py
class ImportedIXPort(
    ImportedIXPortInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING, SubscriptionLifecycle.ACTIVE]
):
    """An imported IX Port product that is active."""

    ix_port: IXPortBlock