.

Average: 0
Rating Count: 0

Development status: New development
Information status: Updated
Repository: http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/SoftwareSystem/DeviceRelocator
Contact:



Class Description


This device server has been designed to relocate the LinacAlba device instances to place the devices in the computers that the PLCs consider local or remote connections.

Families: SoftwareSystem

Key words:

Platform: All Platforms

Language: Python

License:

Contact:

Hardware


Manufacturer: none

Bus: Not Applicable

Class interface


Attributes:

Name Description
InstanceMonitorPeriodScalar: DevDouble Defines the number of seconds were the instance state is checked to emit state change if necessary.
InstancesSpectrum: DevString List of the managed instances configured in the device.
LocationsSpectrum: DevString List of available locations for the managed instances.

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.
AddInstanceInput: DevString
Output: DevBoolean
Add an instance to be managed
RemoveInstanceInput: DevString
Output: DevBoolean
Remove an instence from the managed list.
AddLocationInput: DevString
Output: DevBoolean
Add a pair of tag and host to the list of possible locations (separeted by `:`)
RemoveLocationInput: DevString
Output: DevBoolean
Given the tag, remove a possible location from the list.
MoveInstanceInput: DevVarStringArray
Output: DevBoolean
start the procedure to move an instance to the specified location. It must be in the possible locations list.
ExecInput: DevString
Output: DevString
Hackish expert attribute to look inside the device during execution. If you use it, be very careful and at your own risk.
RefreshAvailableLocationsInput: DevVoid
Output: DevVoid
Chech the database to know the available locations for the servers.
MoveAllInstancesInput: DevString
Output: DevBoolean
start the procedure to move all the instances managed to the specified location. It must be in the possible locations list.
RestartInstanceInput: DevString
Output: DevBoolean
Given one of the instances monitored, use its astor object to stop and later start it.
RestartAllInstanceInput: DevVoid
Output: DevBoolean
For each of the instances monitored, use its astor object to stop and later start it.

Pipes:

Properties:

Name Description
InstancesArray of DevString List of the instances to be managed
LocationsArray of DevString List of locations where the instances can be relocated. Pairs `tag`:`hostname`.


Please log in to comment.

23 Feb 2017, Piotr Goryl
Updated:
The device class has been updated.
You can see previous version here .



19 Jan 2017, Piotr Goryl
Updated:
The device server has been updated.
You can see previous version here .



2 Jan 2017, Piotr Goryl
Created:
The device server has been added to catalogue.
Added by:pgoryl2 on:2 Jan 2017, 2:58 p.m.