phileas.factory#

Defines ExperimentFactory and Loader related classes.

Functions

build_loader(name_, interfaces_, ...)

Build a loader class from its name, interfaces and different methods.

clear_default_loaders()

Clear the default loaders database.

register_default_loader(loader)

Register a loader to be added on init by every new ExperimentFactory.

Classes

AttributeFilter(field, value)

Filter checking that a bench instrument has the expected entry value in its configuration.

BenchInstrument(name, loader, configuration)

BenchState(version, instruments)

Serializable state of a whole bench.

Connection(src, src_port, dst, dst_port, attr)

ConstantFilter(value)

Literal filter.

ExperimentFactory(bench, experiment)

The experiment factory is used to

ExperimentInstrument(name, interface, ...)

Filter()

Class used to store an expression tree representing the filtering expressions stored in the filter entry of the experiment configuration.

FiltersCombination(filter1, filter2, operation)

Filters combination based on a binary operator.

InstrumentState(loader, interfaces, ...)

Serializable state of a BenchInstrument.

Loader(name, instruments_factory)

Class used to initiate a connection to an instrument, and then configure it.