mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Rel240/fix nxos pim interface (#29885)
* fix nxos_pim_interface * Add integration test coverage and fix unit test * Add clarifying comments * Make ansibot happy
This commit is contained in:
committed by
Nathaniel Case
parent
8a2f069468
commit
173c41aefe
@@ -62,12 +62,12 @@ class TestNxosIPInterfaceModule(TestNxosModule):
|
||||
self.run_commands.side_effect = load_from_file
|
||||
|
||||
def test_nxos_pim_interface_present(self):
|
||||
set_module_args(dict(interface='eth2/1', dr_prio=10, hello_interval=40, sparse=True, border=True))
|
||||
set_module_args(dict(interface='eth2/1', dr_prio=10, hello_interval=40, sparse=True, border=False))
|
||||
self.execute_module(
|
||||
changed=True,
|
||||
commands=[
|
||||
'interface eth2/1', 'ip pim dr-priority 10', 'ip pim hello-interval 40000',
|
||||
'ip pim sparse-mode', 'ip pim border']
|
||||
'ip pim sparse-mode', 'no ip pim border']
|
||||
)
|
||||
|
||||
def test_nxos_pim_interface_jp(self):
|
||||
|
||||
Reference in New Issue
Block a user