<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Jul 23, 2014, at 11:10 PM, Baohua Yang <<a href="mailto:yangbaohua@gmail.com">yangbaohua@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi, all<div> The current oslo.cfg module provides an easy way to load name known options/groups from he configuration files.</div><div> I am wondering if there's a possible solution to dynamically load them?</div>
<div><br></div><div> For example, I do not know the group names (section name in the configuration file), but we read the configuration file and detect the definitions inside it.</div><div><br></div><div style="">#Configuration file:</div>
<div>[group1]</div><div>key1 = value1</div><div>key2 = value2<br clear="all"><div><br></div><div style=""> Then I want to automatically load the group1. key1 and group2. key2, without knowing the name of group1 first.</div></div></div></blockquote><div><br></div><div>If you don’t know the group name, how would you know where to look in the parsed configuration for the resulting options?</div><div><br></div><div>Doug</div><br><blockquote type="cite"><div dir="ltr"><div>
<div style=""><br></div><div style=""> Thanks a lot!</div><div><br></div>-- <br><font color="#999999">Best wishes!<br><span id="b022925a-3756-4627-b31e-2f7779d8c1d9" class="GINGER_SOFTWARE_mark">Baohua</span><br></font>
</div></div>
_______________________________________________<br>OpenStack-dev mailing list<br><a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br></blockquote></div><br></body></html>