.

Average: 0
Rating Count: 0

Development status: Released
Information status: Updated
Repository: This device class is not available in a public repository. Please contact the author giovanni.cerretani@pi.infn.it.
Contact:

Description


This class is used to control a NAT-MCH RapidIO switch. Based on libfreeipmi and telnet/export.



Class Description


This class is used to controlling MCH switch via ethernet network

Families: Miscellaneous

Key words:

Platform: Unix Like

Language: Cpp

License: GPL

Contact:

Hardware


Manufacturer: none

Bus: Ethernet

Class interface


Attributes:

Name Description
amcStatusSpectrum: DevUShort Vector containing the AMC status. Relevant states are: 0: off 4: ok 7: error 8: chassis off

Commands:

Name Description
StateInput: DevVoid
Output: State
Device state
This command gets the device state (stored in its device_state data member) and returns it to the caller.
StatusInput: DevVoid
Output: ConstDevString
Device status
This command gets the device status (stored in its device_status data member) and returns it to the caller.
SetAmcOffInput: DevShort
AMC slot
Output: DevBoolean
False in case of failure
Turn off a board in a AMC slot.
SetAmcOnInput: DevShort
AMC slot
Output: DevBoolean
False in case of failure
Turn on a board in a AMC slot.
ColdResetInput: DevVoid
Output: DevBoolean
False in case of failure
Perform a cold reset of the chassis.
WarmResetInput: DevVoid
Output: DevBoolean
False in case of failure
Perform a warm reset of the chassis.
GetMacListInput: DevVoid
Output: DevVarLongStringArray
Long: AMC slot String: MAC address
Get thee MAC list of all the DSP found in the chassis.
GetFirmwareVersionInput: DevVoid
Output: DevString
FW version as string
FW version of the MCH and update it to the TANGO database.
EmptyMacTableInput: DevVoid
Output: DevBoolean
False in case of failure
Erase the whole MAC table using a telnet/expect script.
RemoveFromMacTableInput: DevString
MAC addres
Output: DevBoolean
Remove a MAC address from the MAC table.

Pipes:

Properties:

Name Description
ip_addressDevString IP address of DSP. To be inserted by hand.
script_pathDevString Path of the telnet/expect scripts.
fw_versionDevString FW version of the MCH. Automatically filled and updated by the server at the first connection.
mac_listArray of DevString Array containing the MAC table of the MCH. Line corresponds to the slot.


Please log in to comment.

29 Jun 2017, Giovanni Cerretani
Updated:
The device class has been updated.
You can see previous version here .



7 Jun 2017, Giovanni Cerretani
Created:
The device class has been added to catalogue.
Added by:gcerretani on:7 Jun 2017, 7:16 a.m.