diff --git a/kuryr/lib/config.py b/kuryr/lib/config.py index 089fe6af..807fd727 100644 --- a/kuryr/lib/config.py +++ b/kuryr/lib/config.py @@ -27,6 +27,10 @@ core_opts = [ cfg.StrOpt('subnetpool_name_prefix', default='kuryrPool', help=_('Neutron subnetpool name will be prefixed by this.')), + cfg.StrOpt('deployment_type', + default='baremetal', + help=_("baremetal or nested-containers are the supported" + " values.")), ] neutron_group = cfg.OptGroup( diff --git a/kuryr/tests/unit/test_config.py b/kuryr/tests/unit/test_config.py index 8cff8b2e..6ae6fcae 100644 --- a/kuryr/tests/unit/test_config.py +++ b/kuryr/tests/unit/test_config.py @@ -25,3 +25,5 @@ class ConfigurationTest(base.TestCase): cfg.CONF.neutron.default_subnetpool_v6) self.assertEqual('public', cfg.CONF.neutron.endpoint_type) + self.assertEqual('baremetal', + cfg.CONF.deployment_type)