air_sdk.types
air_sdk.types
Attributes
Classes
Functions
Module Contents
Bases: str, enum.Enum
Simulation state constants.
Use these instead of raw strings for type safety and IDE autocomplete.
Example:
Bases: typing.TypedDict
Docker tmpfs mount configuration.
Bases: typing.TypedDict
Docker run parameters for simulator containers.
Bases: typing.TypedDict
Resource overhead for a simulator/platform.
Bases: typing.TypedDict
Emulated platform configuration.
Bases: typing.TypedDict
Emulation parameters for a simulator/platform.
Bases: typing.TypedDict
v2 bulk assignment payload format.
Bases: typing.TypedDict
v3 bulk assignment payload format.
Bases: typing.TypedDict
Payload for resetting a node.
Bases: typing.TypedDict
Payload for rebuilding a node.
Bases: typing.TypedDict
Per-interface management address info returned by the Node API.
ip may be None when the interface opts out of OOB-managed DHCP
while remaining wired to the leaf switch.
Bases: typing.TypedDict
Current resource usage within an organization’s budget.
Number of CPU cores currently in use
Memory currently in use, in MiB
Disk storage currently in use, in GB
Image storage currently in use, in GB
User configs content currently in use, in bytes
Bases: typing.TypedDict
Required resources for a simulation.
Determine if the expected_type provided is a subclass of TypedDict.
Perform type checking when the expected_type is a subclass of TypedDict.
This currently does not work if the expected_type is also a dataclass.
Recursively check if the value matches the expected type.