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
Used TPLD ID
Get the used TPLD IDs from the port.
Corresponding low-level API class: P_USED_TPLDID
# Used TPLD IDs
resp = await port.used_tpld_ids.get()
resp.used_tpld_ids