Commit Graph
2 Commits
Author SHA1 Message Date
Steve DiBenedetto 2c2b889ea2 mgmt, main: add support for authorized commands
refs: #1227

Change-Id: I907d1fa6e78775470c5376fcdfe898be4c311001
2014-03-11 17:08:31 -07:00
Steve DiBenedetto bb75b557fd mgmt: added subscription-based configuration file parser
Modules subscribe to configuration sections they are interested
in by name and provide a callback function. After parsing
the configuration file, ConfigFile will iterate through the
top level tree and invoke all subscribed callbacks for each
section it comes across.

ConfigFile has no concept of the specific tags or structure of the file
other than there being a single root tag (not a specific name) under which
all sections fall.

refs: #1120

Change-Id: Ic06fbdc85a9ac9740d46a6c2457ff5a9bd38e8a5
2014-02-11 13:32:04 -07:00