mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07: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:
parent
5b5d24631a
commit
e24c547a3a
9 changed files with 39 additions and 11 deletions
|
@ -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'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue