From 24be3c22866db8acbd03ea9419866dddcdb74404 Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Fri, 26 Mar 2021 15:22:31 +0100 Subject: 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 --- ironic/conf/api.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ironic/conf') 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', -- cgit v1.2.1