Skip to content

Switch management

Product blocks for all lifecycle states of a Switch Management product.

SwitchManagementBlockInactive

Bases: ProductBlockModel

A Switch Management that's currently inactive, see SwitchManagementBlock.

Source code in gso/products/product_blocks/switch_management.py
class SwitchManagementBlockInactive(
    ProductBlockModel, lifecycle=[SubscriptionLifecycle.INITIAL], product_block_name="SwitchManagementBlock"
):
    """A Switch Management that's currently inactive, see `SwitchManagementBlock`."""

    management_interface: L3InterfacePortBlockInactive
    dcn_interface: L3InterfacePortBlockInactive | None = None

SwitchManagementBlockBlockProvisioning

Bases: SwitchManagementBlockInactive

A Switch Management that's currently being provisioned, see SwitchManagementBlock.

Source code in gso/products/product_blocks/switch_management.py
class SwitchManagementBlockBlockProvisioning(
    SwitchManagementBlockInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING]
):
    """A Switch Management that's currently being provisioned, see `SwitchManagementBlock`."""

    management_interface: L3InterfacePortBlockProvisioning  # type: ignore[assignment]
    dcn_interface: L3InterfacePortBlockProvisioning | None  # type: ignore[assignment]

SwitchManagementBlock

Bases: SwitchManagementBlockBlockProvisioning

A Switch Management that's currently deployed in the network.

Attributes:

Name Type Description
management_interface L3InterfacePortBlock

The interface that this Switch Management is deployed on.

dcn_interface L3InterfacePortBlock | None

The DC network interface for this Switch Management.

Source code in gso/products/product_blocks/switch_management.py
class SwitchManagementBlock(SwitchManagementBlockBlockProvisioning, lifecycle=[SubscriptionLifecycle.ACTIVE]):
    """A Switch Management that's currently deployed in the network.

    Attributes:
        management_interface: The interface that this Switch Management is deployed on.
        dcn_interface: The DC network interface for this Switch Management.
    """

    management_interface: L3InterfacePortBlock  # type: ignore[assignment]
    dcn_interface: L3InterfacePortBlock | None  # type: ignore[assignment]