Developers guide
61
diagram was developed. Also, additional hardware and software components will inevitably
need to be added to provide information such as cable voltages, temperature monitoring etc.
7.3.7 JAS JXTA implementation
The JAS is primarily based on the JSDT
i
which has subsequently been discontinued, presumably in
favour of project JXTA. The JXTA architecture provides several constructs similar to those
provided by the JSDT which would allow an alternative transport layer for the JAS to be
implemented. Richard Dixon and Chaker Khabbaz have been investigating this possibility in their
theses.
7.3.8 Command line tool versioning
All the command line tools, shown in Figure 3-1 should be integrated to the CVS repository and
subsequently included in the automated versioning system. Thus eliminating the possibility of
accidentally using incompatible commands which may lead to unpredictable behaviour. All
commands, including aptStart and aptStop should be migrated toward this system.
Eventually the entire software system should be managed by CVS and the deployment system.
This would drastically simplify the process of rebuilding the APT system from a clean installation, if
mistral was to fail.
7.3.9 Masterswitch command line tool
Unfortunately the SNMP Masterswitch control is only available through the GUI. A command line
utility would prove very useful for both remote administration and scripting purposes. The text
below shows a proposed usage of this command.
Usage: apt_masterswitch command [ command_options ]
Where command can be one of the following:
status [outlet]
Print the current state of the specified [outlet] in the form
[number].[name]=[state]
For example:
$ apt_masterswitch status 1
1.Anti Backlash = On
switch [outlet] [state]
Change the state of the specified [outlet]
rename [outlet] newName
Rename the specified [outlet] to "newName". Note that newName must be
less than 20 chars.
[outlet] Can be either the outlet number {1..8} or the outlets name.
[state] On, Off, or Reboot
Figure 7-1 Proposed apt_masterswitch command line usage
i
Java Shared Data Toolkit










