Skip to content

Lan switch interconnect

LAN Switch Interconnect product block that has all parameters of a subscription throughout its lifecycle.

LanSwitchInterconnectInterfaceBlockInactive

Bases: ProductBlockModel

An inactive LAN Switch Interconnect interface.

Source code in gso/products/product_blocks/lan_switch_interconnect.py
class LanSwitchInterconnectInterfaceBlockInactive(
    ProductBlockModel,
    lifecycle=[SubscriptionLifecycle.INITIAL],
    product_block_name="LanSwitchInterconnectInterfaceBlock",
):
    """An inactive LAN Switch Interconnect interface."""

    interface_name: str | None = None
    interface_description: str | None = None

LanSwitchInterconnectInterfaceBlockProvisioning

Bases: LanSwitchInterconnectInterfaceBlockInactive

A LAN Switch Interconnect interface that is being provisioned.

Source code in gso/products/product_blocks/lan_switch_interconnect.py
class LanSwitchInterconnectInterfaceBlockProvisioning(
    LanSwitchInterconnectInterfaceBlockInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING]
):
    """A LAN Switch Interconnect interface that is being provisioned."""

    interface_name: str
    interface_description: str

LanSwitchInterconnectInterfaceBlock

Bases: LanSwitchInterconnectInterfaceBlockProvisioning

An active Switch Interconnect interface.

Source code in gso/products/product_blocks/lan_switch_interconnect.py
class LanSwitchInterconnectInterfaceBlock(
    LanSwitchInterconnectInterfaceBlockProvisioning, lifecycle=[SubscriptionLifecycle.ACTIVE]
):
    """An active Switch Interconnect interface."""

    interface_name: str
    interface_description: str

LanSwitchInterconnectRouterSideBlockInactive

Bases: ProductBlockModel

An inactive LAN Switch Interconnect router side.

Source code in gso/products/product_blocks/lan_switch_interconnect.py
class LanSwitchInterconnectRouterSideBlockInactive(
    ProductBlockModel,
    lifecycle=[SubscriptionLifecycle.INITIAL],
    product_block_name="LanSwitchInterconnectRouterSideBlock",
):
    """An inactive LAN Switch Interconnect router side."""

    node: RouterBlockInactive
    ae_iface: str | None = None
    ae_members: LAGMemberList[LanSwitchInterconnectInterfaceBlockInactive]

LanSwitchInterconnectRouterSideBlockProvisioning

Bases: LanSwitchInterconnectRouterSideBlockInactive

A LAN Switch Interconnect router side that is being provisioned.

Source code in gso/products/product_blocks/lan_switch_interconnect.py
class LanSwitchInterconnectRouterSideBlockProvisioning(
    LanSwitchInterconnectRouterSideBlockInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING]
):
    """A LAN Switch Interconnect router side that is being provisioned."""

    node: RouterBlockProvisioning
    ae_iface: str | None = None
    ae_members: LAGMemberList[LanSwitchInterconnectInterfaceBlockProvisioning]  # type: ignore[assignment]

LanSwitchInterconnectRouterSideBlock

Bases: LanSwitchInterconnectRouterSideBlockProvisioning

An active LAN Switch Interconnect router side.

Source code in gso/products/product_blocks/lan_switch_interconnect.py
class LanSwitchInterconnectRouterSideBlock(
    LanSwitchInterconnectRouterSideBlockProvisioning, lifecycle=[SubscriptionLifecycle.ACTIVE]
):
    """An active LAN Switch Interconnect router side."""

    node: RouterBlock
    ae_iface: str
    ae_members: LAGMemberList[LanSwitchInterconnectInterfaceBlock]  # type: ignore[assignment]

LanSwitchInterconnectSwitchSideBlockInactive

Bases: ProductBlockModel

An inactive LAN Switch Interconnect switch side.

Source code in gso/products/product_blocks/lan_switch_interconnect.py
class LanSwitchInterconnectSwitchSideBlockInactive(
    ProductBlockModel,
    lifecycle=[SubscriptionLifecycle.INITIAL],
    product_block_name="LanSwitchInterconnectSwitchSideBlock",
):
    """An inactive LAN Switch Interconnect switch side."""

    switch: SwitchBlockInactive
    ae_iface: str | None = None
    ae_members: LAGMemberList[LanSwitchInterconnectInterfaceBlockInactive]

LanSwitchInterconnectSwitchSideBlockProvisioning

Bases: LanSwitchInterconnectSwitchSideBlockInactive

A LAN Switch Interconnect switch side that is being provisioned.

Source code in gso/products/product_blocks/lan_switch_interconnect.py
class LanSwitchInterconnectSwitchSideBlockProvisioning(
    LanSwitchInterconnectSwitchSideBlockInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING]
):
    """A LAN Switch Interconnect switch side that is being provisioned."""

    switch: SwitchBlockProvisioning
    ae_iface: str | None = None
    ae_members: LAGMemberList[LanSwitchInterconnectInterfaceBlockProvisioning]  # type: ignore[assignment]

LanSwitchInterconnectSwitchSideBlock

Bases: LanSwitchInterconnectSwitchSideBlockProvisioning

An active LAN Switch Interconnect switch side.

Source code in gso/products/product_blocks/lan_switch_interconnect.py
class LanSwitchInterconnectSwitchSideBlock(
    LanSwitchInterconnectSwitchSideBlockProvisioning, lifecycle=[SubscriptionLifecycle.ACTIVE]
):
    """An active LAN Switch Interconnect switch side."""

    switch: SwitchBlock
    ae_iface: str
    ae_members: LAGMemberList[LanSwitchInterconnectInterfaceBlock]  # type: ignore[assignment]

LanSwitchInterconnectBlockInactive

Bases: ProductBlockModel

A LAN Switch Interconnect that's currently inactive, see LanSwitchInterconnectBlock.

Source code in gso/products/product_blocks/lan_switch_interconnect.py
class LanSwitchInterconnectBlockInactive(
    ProductBlockModel,
    lifecycle=[SubscriptionLifecycle.INITIAL],
    product_block_name="LanSwitchInterconnectBlock",
):
    """A LAN Switch Interconnect that's currently inactive, see ``LanSwitchInterconnectBlock``."""

    lan_switch_interconnect_description: str | None = None
    minimum_links: int | None = None
    switch_management_vlan_id: VLAN_ID | None = None
    dcn_management_vlan_id: VLAN_ID | None = None
    router_side: LanSwitchInterconnectRouterSideBlockInactive
    switch_side: LanSwitchInterconnectSwitchSideBlockInactive

LanSwitchInterconnectBlockProvisioning

Bases: LanSwitchInterconnectBlockInactive

A LAN Switch Interconnect that's currently being provisioned, see LanSwitchInterconnectBlock.

Source code in gso/products/product_blocks/lan_switch_interconnect.py
class LanSwitchInterconnectBlockProvisioning(
    LanSwitchInterconnectBlockInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING]
):
    """A LAN Switch Interconnect that's currently being provisioned, see ``LanSwitchInterconnectBlock``."""

    lan_switch_interconnect_description: str | None = None
    minimum_links: int | None = None
    switch_management_vlan_id: VLAN_ID
    dcn_management_vlan_id: VLAN_ID | None
    router_side: LanSwitchInterconnectRouterSideBlockProvisioning
    switch_side: LanSwitchInterconnectSwitchSideBlockProvisioning

LanSwitchInterconnectBlock

Bases: LanSwitchInterconnectBlockProvisioning

A LAN Switch Interconnect that's currently deployed in the network.

Attributes:

Name Type Description
lan_switch_interconnect_description str

A human-readable description of this LAN Switch Interconnect.

minimum_links int

The minimum amount of links the LAN Switch Interconnect should consist of.

switch_management_vlan_id VLAN_ID

VLAN ID for the switch management network.

dcn_management_vlan_id VLAN_ID | None

VLAN ID for the DCN management network, if the site of this product contains optical equipment.

router_side LanSwitchInterconnectRouterSideBlock

The router side of the LAN Switch Interconnect.

switch_side LanSwitchInterconnectSwitchSideBlock

The switch side of the LAN Switch Interconnect.

Source code in gso/products/product_blocks/lan_switch_interconnect.py
class LanSwitchInterconnectBlock(LanSwitchInterconnectBlockProvisioning, lifecycle=[SubscriptionLifecycle.ACTIVE]):
    """A LAN Switch Interconnect that's currently deployed in the network.

    Attributes:
        lan_switch_interconnect_description: A human-readable description of this LAN Switch Interconnect.
        minimum_links: The minimum amount of links the LAN Switch Interconnect should consist of.
        switch_management_vlan_id: VLAN ID for the switch management network.
        dcn_management_vlan_id: VLAN ID for the DCN management network, if the site of this product contains optical
            equipment.
        router_side: The router side of the LAN Switch Interconnect.
        switch_side: The switch side of the LAN Switch Interconnect.
    """

    lan_switch_interconnect_description: str
    minimum_links: int
    switch_management_vlan_id: VLAN_ID
    dcn_management_vlan_id: VLAN_ID | None
    router_side: LanSwitchInterconnectRouterSideBlock
    switch_side: LanSwitchInterconnectSwitchSideBlock