updated check_vm_record in test_xenapi to check the gateway6 correctly
This commit is contained in:
@@ -289,11 +289,11 @@ class XenAPIVMTestCase(test.TestCase):
|
|||||||
'enabled':'1'}],
|
'enabled':'1'}],
|
||||||
'ip6s': [{'ip': 'fe80::a8bb:ccff:fedd:eeff',
|
'ip6s': [{'ip': 'fe80::a8bb:ccff:fedd:eeff',
|
||||||
'netmask': '120',
|
'netmask': '120',
|
||||||
'enabled': '1',
|
'enabled': '1'}],
|
||||||
'gateway': 'fe80::a00:1'}],
|
|
||||||
'mac': 'aa:bb:cc:dd:ee:ff',
|
'mac': 'aa:bb:cc:dd:ee:ff',
|
||||||
'dns': ['10.0.0.2'],
|
'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):
|
def check_vm_params_for_windows(self):
|
||||||
self.assertEquals(self.vm['platform']['nx'], 'true')
|
self.assertEquals(self.vm['platform']['nx'], 'true')
|
||||||
|
|||||||
Reference in New Issue
Block a user