Skip to content

Router

A router product type.

RouterInactive

Bases: SubscriptionModel

An inactive router.

Source code in gso/products/product_types/router.py
class RouterInactive(SubscriptionModel, is_base=True):
    """An inactive router."""

    router: RouterBlockInactive

RouterProvisioning

Bases: RouterInactive

A router that is being provisioned.

Source code in gso/products/product_types/router.py
class RouterProvisioning(RouterInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING]):
    """A router that is being provisioned."""

    router: RouterBlockProvisioning

Router

Bases: RouterProvisioning

A router that is currently active.

Source code in gso/products/product_types/router.py
class Router(RouterProvisioning, lifecycle=[SubscriptionLifecycle.ACTIVE]):
    """A router that is currently active."""

    router: RouterBlock

ImportedRouterInactive

Bases: SubscriptionModel

An imported, inactive router.

Source code in gso/products/product_types/router.py
class ImportedRouterInactive(SubscriptionModel, is_base=True):
    """An imported, inactive router."""

    router: RouterBlockInactive

ImportedRouter

Bases: ImportedRouterInactive

An imported router that is currently active.

Source code in gso/products/product_types/router.py
class ImportedRouter(
    ImportedRouterInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING, SubscriptionLifecycle.ACTIVE]
):
    """An imported router that is currently active."""

    router: RouterBlock