Ask Your Question

andrewvn's profile - activity

2019-07-16 07:25:22 -0500 asked a question [Explain-Dev] how to import ironic.conf

Hi all,

In ironic source-code, I don't understand the line:

from ironic.conf import CONF abc = CONF.deplopy.http_root

CONF.deploy.http_root

I understand that it will get value from file ironic.conf and get the value of attribute http_root in section deploy which is configured by admin. But how it is work? I couldn't find any ConfigParser module to do this.

Thanks