8.2.3.2. Identification

8.2.3.2.1. Name

Gets the name of a module.

Corresponding low-level API class: M_NAME

# Name
resp = await module.name.get()
resp.name

8.2.3.2.2. Description

Gets the user-defined description string of a module.

Corresponding low-level API class: M_COMMENT

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

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

8.2.3.2.3. Legacy Model

Gets the legacy model P/N name of a Xena test module.

Corresponding low-level API class: M_MODEL

# Legacy Model
resp = await module.model.get()
resp.model

8.2.3.2.4. Model

Gets the model P/N name of a Xena test module.

Corresponding low-level API class: M_REVISION

# Model
resp = await module.revision.get()
resp.revision

8.2.3.2.5. Serial Number

Gets the unique serial number of a module.

Corresponding low-level API class: M_SERIALNO

# Serial Number
resp = await module.serial_number.get()
resp.serial_number

8.2.3.2.6. Firmware Version

Gets the version number of the hardware image installed on a module.

Corresponding low-level API class: M_VERSIONNO

# Firmware Version
resp = await module.version_number.get()
resp.version

8.2.3.2.7. Port Count

Gets the maximum number of ports on a module.

Note

For a CFP-type module this number refers to the maximum number of ports possible on the module regardless of the media configuration.

So if a CFP-type module can be set in for instance either 1x100G mode or 8x10G mode then this command will always return 8.

If you want the current number of ports for a CFP-type module you need to read the M_CFPCONFIGEXT command which returns the number of current ports.

Corresponding low-level API class: M_PORTCOUNT

# Port Count
resp = await module.port_count.get()
resp.port_count

8.2.3.2.8. Status

Get status readings for the test module itself.

Corresponding low-level API class: M_STATUS

# Status
resp = await module.status.get()
resp.temperature

8.2.3.2.9. Model Name

Get the model name of the module.

Corresponding low-level API class: M_MODEL_NAME

# Model Name
resp = await module.model_name.get()
resp.name

8.2.3.2.10. Model Version String

Returns the currently running module software version. Obsoletes M_VERSIONNO.

Corresponding low-level API class: M_VERSIONSTR

# Model Version String
resp = await module.version_str.get()
resp.version_str