mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fixes for the N3500 platform that uses the A8 image (#36261)
* fix nxos_l3_interface tests as n35 doesn't support ipv6 * add terminal dont-ask to nxos_feature and nxos_lldp * put interfaces in L2 mode for N35 * fix nxos_feature unit-tests
This commit is contained in:
@@ -69,9 +69,9 @@ class TestNxosFeatureModule(TestNxosModule):
|
||||
def test_nxos_feature_enable(self):
|
||||
set_module_args(dict(feature='nve', state='enabled'))
|
||||
result = self.execute_module(changed=True)
|
||||
self.assertEqual(result['commands'], ['feature nv overlay'])
|
||||
self.assertEqual(result['commands'], ['terminal dont-ask', 'feature nv overlay'])
|
||||
|
||||
def test_nxos_feature_disable(self):
|
||||
set_module_args(dict(feature='ospf', state='disabled'))
|
||||
result = self.execute_module(changed=True)
|
||||
self.assertEqual(result['commands'], ['no feature ospf'])
|
||||
self.assertEqual(result['commands'], ['terminal dont-ask', 'no feature ospf'])
|
||||
|
||||
Reference in New Issue
Block a user