diff options
author | Dmitry Tantsur <dtantsur@protonmail.com> | 2021-03-26 15:22:31 +0100 |
---|---|---|
committer | Dmitry Tantsur <dtantsur@protonmail.com> | 2021-03-26 15:33:14 +0100 |
commit | 24be3c22866db8acbd03ea9419866dddcdb74404 (patch) | |
tree | 77fc7d3eaa1903d4c0456db9766ffdc0ff90bcdf /ironic/conf | |
parent | 8e34aa53ce24bb09ff3fed55dcdfc9094539ce03 (diff) | |
download | ironic-24be3c22866db8acbd03ea9419866dddcdb74404.tar.gz |
Allow using per-site network_data schema
I have been against it since the beginning of this work, hoping that we
can settle down on one network data format, one is more native for
Ironic because of our relation to OpenStack. This has not happened, with
e.g. CoreOS only using its own formats. So, let it be. Use with caution.
Change-Id: I872d010517cd343fcbcafadb4535f07ca15c2c95
Diffstat (limited to 'ironic/conf')
-rw-r--r-- | ironic/conf/api.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ironic/conf/api.py b/ironic/conf/api.py index ba23627b0..dcf235edd 100644 --- a/ironic/conf/api.py +++ b/ironic/conf/api.py @@ -66,6 +66,10 @@ opts = [ default=300, mutable=True, help=_('Maximum interval (in seconds) for agent heartbeats.')), + cfg.StrOpt( + 'network_data_schema', + default='$pybasedir/api/controllers/v1/network-data-schema.json', + help=_("Schema for network data used by this deployment.")), ] opt_group = cfg.OptGroup(name='api', |