From 9728ae541fc211e66260410b5dcb3bb3a92361ec Mon Sep 17 00:00:00 2001 From: Brad Hall Date: Fri, 20 Jan 2012 17:25:08 -0800 Subject: Add support for pluggable l3 backends This will allow us to support backends other than linux_net (i.e. quantum L3 when it is available) for defining L3 connectivity. Change-Id: I0b2ece2278bd68166741107a88cedd106d1ab651 --- nova/tests/test_quantum.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nova/tests') diff --git a/nova/tests/test_quantum.py b/nova/tests/test_quantum.py index 32f30fbf6..2e60bbc45 100644 --- a/nova/tests/test_quantum.py +++ b/nova/tests/test_quantum.py @@ -397,8 +397,8 @@ class QuantumNovaMACGenerationTestCase(QuantumNovaTestCase): def test_local_mac_address_creation(self): self.flags(use_melange_mac_generation=False) fake_mac = "ab:cd:ef:ab:cd:ef" - self.stubs.Set(manager.FlatManager, "generate_mac_address", - lambda x: fake_mac) + self.stubs.Set(utils, "generate_mac_address", + lambda: fake_mac) project_id = "fake_project1" ctx = context.RequestContext('user1', project_id) self._create_network(networks[0]) -- cgit