Identification

Interface

Obtains the name of the physical interface type of a port.

Corresponding low-level API class: P_INTERFACE

# Interface
resp = await port.interface.get()
resp.interface

Description

The description of a port.

Corresponding low-level API class: P_COMMENT

# Description
await port.comment.set(comment="description")

resp = await port.comment.get()
resp.comment

Optical Signal Level

Get the received signal level for optical ports.

Corresponding low-level API class: P_STATUS

# Status
resp = await port.status.get()
resp.optical_power