summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrey Morris <trey.morris@rackspace.com>2011-04-06 13:05:39 -0500
committerTrey Morris <trey.morris@rackspace.com>2011-04-06 13:05:39 -0500
commitd5c077131e00f41a38fa03fdbea46aa4351f95b5 (patch)
tree12b4a81dbf4791b666fb7208cd24fbacc93f130a
parentc18bf716f08e6b9fbdc259755cf172b5a6cf096a (diff)
updated check_vm_record in test_xenapi to check the gateway6 correctly
-rw-r--r--nova/tests/test_xenapi.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/tests/test_xenapi.py b/nova/tests/test_xenapi.py
index 17e3f55e9..42fe8f3fa 100644
--- a/nova/tests/test_xenapi.py
+++ b/nova/tests/test_xenapi.py
@@ -289,11 +289,11 @@ class XenAPIVMTestCase(test.TestCase):
'enabled':'1'}],
'ip6s': [{'ip': 'fe80::a8bb:ccff:fedd:eeff',
'netmask': '120',
- 'enabled': '1',
- 'gateway': 'fe80::a00:1'}],
+ 'enabled': '1'}],
'mac': 'aa:bb:cc:dd:ee:ff',
'dns': ['10.0.0.2'],
- 'gateway': '10.0.0.1'})
+ 'gateway': '10.0.0.1',
+ 'gateway6': 'fe80::a00:1'})
def check_vm_params_for_windows(self):
self.assertEquals(self.vm['platform']['nx'], 'true')