class ConfigurationTest(testtools.TestCase):
def test_defaults(self):
- self.assertEqual(-1,
- cfg.CONF.DATABASE.sql_max_retries)
- self.assertEqual(2,
- cfg.CONF.DATABASE.reconnect_interval)
self.assertEqual(2,
cfg.CONF.AGENT.polling_interval)
self.assertEqual('sudo',
class ConfigurationTest(testtools.TestCase):
def test_defaults(self):
- self.assertEqual(-1, config.CONF.DATABASE.sql_max_retries)
- self.assertEqual(2, config.CONF.DATABASE.reconnect_interval)
self.assertEqual('br-int', config.CONF.OVS.integration_bridge)
self.assertEqual(2, config.CONF.AGENT.polling_interval)
self.assertEqual('sudo', config.CONF.AGENT.root_helper)
class ConfigurationTest(testtools.TestCase):
def test_defaults(self):
- self.assertEqual(-1, cfg.CONF.DATABASE.sql_max_retries)
- self.assertEqual(2, cfg.CONF.DATABASE.reconnect_interval)
self.assertEqual(64, cfg.CONF.NVP.max_lp_per_bridged_ls)
self.assertEqual(256, cfg.CONF.NVP.max_lp_per_overlay_ls)
self.assertEqual(5, cfg.CONF.NVP.concurrent_connections)
self.assertEqual('br-int', cfg.CONF.OVS.integration_bridge)
self.assertFalse(cfg.CONF.OVS.enable_tunneling)
self.assertEqual('br-tun', cfg.CONF.OVS.tunnel_bridge)
- self.assertEqual(-1, cfg.CONF.DATABASE.sql_max_retries)
- self.assertEqual(2, cfg.CONF.DATABASE.reconnect_interval)
self.assertEqual(2, cfg.CONF.AGENT.polling_interval)
self.assertEqual('sudo', cfg.CONF.AGENT.root_helper)
self.assertEqual('local', cfg.CONF.OVS.tenant_network_type)