summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Kölker <jason@koelker.net>2011-06-01 18:12:21 -0500
committerJason Kölker <jason@koelker.net>2011-06-01 18:12:21 -0500
commit4af6826713e34eed5755956ecc6969dd5c79afdc (patch)
tree67b5a0190e8a844c6cdb1d7bd990b01b240d2a8c
parent2f758e520a473faa977d709ae3e46eac45e99b26 (diff)
start the flat network
-rw-r--r--nova/tests/test_flat_network.py34
1 files changed, 34 insertions, 0 deletions
diff --git a/nova/tests/test_flat_network.py b/nova/tests/test_flat_network.py
new file mode 100644
index 000000000..c2eb224ed
--- /dev/null
+++ b/nova/tests/test_flat_network.py
@@ -0,0 +1,34 @@
+# vim: tabstop=4 shiftwidth=4 softtabstop=4
+
+# Copyright 2011 Rackspace
+# All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
+from nova import flags
+from nova import log as logging
+from nova.tests.network import base
+
+
+FLAGS = flags.FLAGS
+LOG = logging.getLogger('nova.tests.network')
+
+
+class FlatNetworkTestCase(base.NetworkTestCase, base.TestFuncs):
+ network_manager = 'nova.network.manager.FlatManager'
+
+ def setUp(self):
+ super(FlatNetworkTestCase, self).setUp()
+
+
+