piel.types.connectivity.physical#

Classes#

PhysicalPort

This refers to any form of physical port which can be connected to. The socket refers to the corresponding physical location where such a port is connected to.

PhysicalConnection

Describes a set of physical connection which are all connected. Represents a physical connection between interfaces.

PhysicalComponent

Represents the data of a physical component or device.

Module Contents#

class PhysicalPort(/, **data: Any)[source]#

Bases: piel.types.connectivity.abstract.Port

This refers to any form of physical port which can be connected to. The socket refers to the corresponding physical location where such a port is connected to.

domain: piel.types.signal.core.ElectricalSignalDomains | None = None#
connector: str = ''#
manifold: str = ''#
class PhysicalConnection(/, **data: Any)[source]#

Bases: piel.types.core.PielBaseModel

Describes a set of physical connection which are all connected. Represents a physical connection between interfaces.

The components represent the physical implementation of the connections for the same connection index.

connections: list[piel.types.connectivity.abstract.Connection | Any] = []#
components: tuple[piel.types.connectivity.abstract.Component, Ellipsis] | list[piel.types.connectivity.abstract.Component] = []#
class PhysicalComponent(/, **data: Any)[source]#

Bases: piel.types.connectivity.abstract.Component

Represents the data of a physical component or device.

ports: list[PhysicalPort | piel.types.connectivity.abstract.Port] | tuple[PhysicalPort | piel.types.connectivity.abstract.Port] = []#
connections: list[PhysicalConnection | piel.types.connectivity.abstract.Connection] | tuple[PhysicalConnection | piel.types.connectivity.abstract.Connection] = []#
components: list[piel.types.connectivity.abstract.Component | PhysicalComponent] = []#

Note the recursive relationship that a component can be composed of multiple components.

environment: piel.types.environment.Environment#
manufacturer: str = ''#

The manufacturer of the device.

model: str = ''#

The model of the device.