attpcdaq.daq.models.ConfigId¶
-
class
attpcdaq.daq.models.ConfigId(*args, **kwargs)[source]¶ Represents a configuration file set as seen by the ECC servers.
This will generally be retrieved from the ECC servers using a SOAP call. If this is the case, an object can be constructed from the XML representation using the class method
from_xml.It is important to note that this is just a representation of the config files which is used for communicating with the ECC server. No actual configuration is done by this program.
Note
This model stores configuration names using the convention of the ECC server. This means that the actual filenames seen by the ECC server will be, for example,
describe-[name].xcfg. The prefix and file extension are added automatically by the ECC server.Fields
describeThe name of the configuration for the “describe” step prepareThe name of the configuration for the “prepare” step configureThe name of the configuration for the “configure” step ecc_serverThe ECC server that this configuration set is associated with last_fetchedThe date and time when this config was fetched from the ECC server. Methods
as_xml()Get an XML representation of the object. from_xml(node)Construct a ConfigId object from the given XML representation.