Skip to content

Port label

Port Label product block.

PortLabelBlockInactive

Bases: ProductBlockModel

An inactive Port Label, see PortLabel.

Source code in gso/products/product_blocks/port_label.py
class PortLabelBlockInactive(
    ProductBlockModel, lifecycle=[SubscriptionLifecycle.INITIAL], product_block_name="PortLabelBlock"
):
    """An inactive Port Label, see ``PortLabel``."""

    edge_port: EdgePortBlockInactive | None = None

PortLabelBlockProvisioning

Bases: PortLabelBlockInactive

A Port Label that is being provisioned, see PortLabel.

Source code in gso/products/product_blocks/port_label.py
class PortLabelBlockProvisioning(PortLabelBlockInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING]):
    """A Port Label that is being provisioned, see ``PortLabel``."""

    edge_port: EdgePortBlockProvisioning

PortLabelBlock

Bases: PortLabelBlockProvisioning

An active Port Label.

Attributes:

Name Type Description
edge_port EdgePortBlock

The Edge Port that a Port Label is applied to.

Source code in gso/products/product_blocks/port_label.py
class PortLabelBlock(PortLabelBlockProvisioning, lifecycle=[SubscriptionLifecycle.ACTIVE]):
    """An active Port Label.

    Attributes:
        edge_port: The Edge Port that a Port Label is applied to.
    """

    edge_port: EdgePortBlock