Configuration.py – Configuration

Bundle of methods to read the configuration Files.

Functions

getDeviceConfig

Configuration.getDeviceConfig(name, deviceFile, verbose)[source]

Extracts the device information from the configuration file, this includes MAC, IP and Ports for all devices (server and client)

getClientConfig

Configuration.getClientConfig(name, serviceFile, deviceFile, verbose)[source]

Extracts the meta information from the configuration file for clients, this includes clientID, services and methods allowed to request, servers providing those services and methods, information about time sentitiveness of notifications and resend intervals

getServerConfig

Configuration.getServerConfig(name, serviceFile, verbose)[source]

Extracts the meta information from the configuration file for servers, this includes provided services and methods, error rates and response intervals