PhysicalTestModule Object


Description:

Object representing a test module residing in a chassis that the application is currently connected to.

Parents: PhysicalChassis

Children: PhysicalPortGroup, PowerSaveStats

Relations:

Side name
(Type)
Relative Description
TestModuleCapabilities
(TestModuleCapabilitiesRelation)

TestModuleCapabilities

Test module capabilities

PhysicalTestModule Writable Attributes

Attribute Description
Common Writable Attributes Active, Name

PhysicalTestModule Read-Only Attributes

Read-Only Attribute Description
ActiveProfile

Active profile

Type: string

Default: Default

ActiveProfileDescription

Active profile description

Type: string

Default: Default Profile

ActiveSupportedSpeeds

Active test module profile supported speeds

Type: string

Default: "" (empty string)

AvailableProfileDescriptions

Available profile descriptions

Type: string

Default: "" (empty string)

AvailableProfiles

Available profiles

Type: string

Default: "" (empty string)

CurrentPerformanceLevel

Current Performance Level

Type: string

Default: "" (empty string)

Description

Test module description (for example, "8 PORT 10/100/1000 COPPER RJ-45").

Type: string

Default: 8 PORT 10/100/1000 COPPER RJ-45

DiskFree

Compact flash space currently free, in kilobytes.

Type: u32

Default: 0

DiskUsed

Compact flash space currently in use in kilobytes.

Type: u32

Default: 0

ExpectedFirmwareVersion

Expected firmware version.

Type: string

Default: "" (empty string)

ExtraSlotCount

Number of extra slots occupied by the test module.

Type: u16

Default: 0

FirmwareInstallProgress

Firmware installation progress (in units of percentage complete) for a test module.

Type: u32

Default: 0

FirmwareInstallStatus

Firmware installation status for a test module (for example, "FIRMWARE_INSTALL_IN_PROGRESS").

Type: enum

Default: FIRMWARE_INSTALL_INACTIVE

Possible Values:

Value Description
FIRMWARE_INSTALL_INACTIVE

Firmware installation is not occurring.

FIRMWARE_INSTALL_IN_PROGRESS

Firmware installation is in progress.

FIRMWARE_INSTALL_REBOOTING

Test module is rebooting during a firmware installation.

FIRMWARE_INSTALL_COMPLETE

Firmware installation is complete.

FIRMWARE_INSTALL_FAILED

Firmware installation failed.

FirmwareVersion

Test module firmware version (for example, "2.0.100").

Type: string

Default: 0

FirmwareVersionStatus

Status message for the case where the firmware version is incompatibility with the application.

Type: string

Default: "" (empty string)

HwRevCode

Test module hardware revision code.

Type: string

Default: 0

Index

Chassis slot that the test module occupies (index value starts at 1).

Type: u16

Default: 1

Range: 1 - 0xFFFF

IsFirmwareVersionValid

Whether the firmware version is valid.

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

Firmware version is valid.

FALSE

Firmware version is not valid.

IsHWLicenseSupported

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

FALSE

IsPortGroupRebootSupported

Whether the test module supports the capability to reboot individual port groups.

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

Supports port group reboot.

FALSE

Do not support port group reboot.

IsTestModuleRebootSupported

Test Module reboot supported

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

Test Module reboot supported

FALSE

Test Module reboot not supported

IsUnderTemperatureOutage

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

FALSE

LicensedPorts

Test module license port count. Null if Test module do not support hardware License.

Type: u32

Default: null

LicensedSpeeds

Type: string

Default: None

LicensedTestModuleCountedFeatures

Licensed Counted Feature(s) on the test module.

Type: string

Default: "" (empty string)

LicensedTestModuleFeatures

Licensed Feature(s) on the test module.

Type: string

Default: "" (empty string)

Model

Test module model identifier (for example, "CPR-2001A").

NOTE: It is recommended that you use the PartNum attribute instead of this one.

Type: string

Default: "" (empty string)

PartNum

Part number of the test module. It is recommended that you use this instead of the Model attribute.

Type: string

Default: "" (empty string)

PortCount

Number of ports in the test module.

Type: u16

Default: 0

PortGroupCount

Number of port groups/ccpus in the test module.

Type: u16

Default: 0

PortGroupSiblingCount

Number of port group siblings within the same physical group in the test module.

Type: u16

Default: 0

PortGroupSize

Number of ports per port group.

Type: u16

Default: 0

ProductFamily

Spirent-internal test module product family name (for example, "MYSTIQUE").

Type: string

Default: "" (empty string)

ProductId

Spirent product ID/part number (for example, "800-5135-007").

Type: string

Default: 800-5135-007

SerialNum

Test module serial number.

Type: string

Default: 0

Status

Current test module status (for example, "MODULE_STATUS_UP").

Type: enum

Default: MODULE_STATUS_UNKNOWN

Possible Values:

Value Description
MODULE_STATUS_UP

Test module is up.

MODULE_STATUS_DOWN

Test module is down.

MODULE_STATUS_ERROR

Test module is in an error state.

MODULE_STATUS_OBSOLETE

Test module is obsoleted.

MODULE_STATUS_UNKNOWN

Test module status is unknown.

StatusChanged

Last status change for a test module (for example, "MODULE_CHANGE_INIT_DONE").

Type: enum

Default: MODULE_CHANGE_UNKNOWN

Possible Values:

Value Description
MODULE_CHANGE_INIT_DONE

Test module initialization has completed and it is up.

MODULE_CHANGE_REBOOT

Test module is rebooting.

MODULE_CHANGE_HOTSWAP_IN

Test module has been removed from the chassis.

MODULE_CHANGE_HOTSWAP_OUT

Test module has been inserted into the chassis.

MODULE_CHANGE_SHUTDOWN

Test module is currently in shutdown state.

MODULE_CHANGE_RESERVATION

Test module port group(s) are currently reserved by a user.

MODULE_CHANGE_POWER_SAVE

Test module is in power save

MODULE_CHANGE_POWERING_DOWN

Test module is powering down

MODULE_CHANGE_WAKING_UP

Test module is waking up

MODULE_CHANGE_UNKNOWN

Test module status change is unknown.

SupportedPortGroupSizes

Available port group sizes that are configurable for the test module.

Type: u16

Default: 0

SupportedTestPackages

Supported test package(s)

Type: string

Default: "" (empty string)

SwitchableTestPackages

Type: string

Default: "" (empty string)

SyncStatus

Status indicating if a test module is in/out of sync with its time source (for example, "MODULE_IN_SYNC").

Type: enum

Default: MODULE_OUT_OF_SYNC

Possible Values:

Value Description
MODULE_IN_SYNC

Test module is in sync with its time source.

MODULE_OUT_OF_SYNC

Test module is out of sync with its time source.

MODULE_UNKNOWN_SYNC

Test module sync status is unknown.

TestPackages

Installed test package(s).

Type: string

Default: "" (empty string)

TotalDiskSize

Total size of the compact flash on a test module in kilobytes.

Type: u32

Default: 0

Type

Type

Type: string

Default: "" (empty string)