QpiddConfig - file /etc/qpid/qpidd.conf¶

class insights.parsers.qpidd_conf.QpiddConf(context)[source]

Parse the qpidd configuration file.

Produces a simple dictionary of keys and values from the configuration file contents , stored in the data attribute. The object also functions as a dictionary itself thanks to the insights.core.LegacyItemAccess mixin class.

Sample configuration file:

# Configuration file for qpidd. Entries are of the form:
# name=value
#
# (Note: no spaces on either side of '='). Using default settings:
# "qpidd --help" or "man qpidd" for more details.
#cluster-mechanism=ANONYMOUS
log-enable=error+
log-to-syslog=yes
auth=no
require-encryption=yes
ssl-require-client-authentication=yes
ssl-port=5672
ssl-cert-db=/etc/pki/katello/nssdb
ssl-cert-name=broker

interface=lo


Examples

>>> qpidd_conf['auth']
'no'
>>> 'require-encryption' in qpidd_conf
True

parse_content(content)[source]

This method must be implemented by classes based on this class.