The same test exists in test_ovs_neutron_agent.py
test_create_agent_config_map_enable_distributed_routing
Closes-Bug: #
1434051
Change-Id: I0ebba4348cbc83dd1d59ff1111c0c21054ba47b3
FAKE_IP2 = '10.0.0.2'
-class CreateAgentConfigMapDvr(base.BaseTestCase):
-
- def test_create_agent_config_map_enable_distributed_routing(self):
- self.addCleanup(cfg.CONF.reset)
- # Verify setting only enable_tunneling will default tunnel_type to GRE
- cfg.CONF.set_override('enable_distributed_routing', True,
- group='AGENT')
- cfgmap = ovs_neutron_agent.create_agent_config_map(cfg.CONF)
- self.assertEqual(cfgmap['enable_distributed_routing'], True)
-
-
class TestOvsDvrNeutronAgent(base.BaseTestCase):
def setUp(self):