Sever Network Generator

Using this class you can build a server network object from a collection of INI files in the etc folder.

class networkTree.ServerNetworkFactory.ServerNetworkFactory(MainDaemon, reportDependencyexceptions=True)[source]

A class to take the config file folder and turn it in to a server network

Parameters:MainDaemon – the MainDaemon.py singletron, only used for debug output
getControllersDictIndex()[source]

Get the index of available controller types

Returns:A list of strings of controller type names
getOutletsDictIndex()[source]

Get the index of available PDU types

Returns:A list of strings of PDU type names
getTestersDictIndex()[source]

Get the index of available testers types

Returns:A list of strings of tester type names

Project Versions

Previous topic

Ockle’s Network Tree Data Structure

Next topic

Operation States (OpStates)

This Page