DeviceInterface¶
- class pyniryo_nate.models.device.DeviceInterface(id: str, type: InterfaceType, ip: str)[source]¶
Bases:
objectA network interface the robot is connected on, and the address it holds there.
- Parameters:
id (str) – Identifier of the interface, the one the network component takes.
type (InterfaceType) – Ethernet or wifi.
ip (str) – IPv4 address the interface holds.
Attributes
Methods
- id: str¶
- type: InterfaceType¶
- ip: str¶
- classmethod from_transport_model(model: DeviceInterface) DeviceInterface[source]¶
- Parameters:
model (DeviceInterface)
- Return type: