mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
fix nxos_pim_interface issues (#35405)
* fix nxos_pim_interface issues * add absent test for pim_interface
This commit is contained in:
parent
e497509e51
commit
dc35baa8db
3 changed files with 182 additions and 182 deletions
|
@ -70,7 +70,7 @@ class TestNxosIPInterfaceModule(TestNxosModule):
|
|||
changed=True,
|
||||
commands=[
|
||||
'interface eth2/1', 'ip pim dr-priority 10', 'ip pim hello-interval 40000',
|
||||
'ip pim sparse-mode', 'no ip pim border']
|
||||
'ip pim sparse-mode']
|
||||
)
|
||||
|
||||
def test_nxos_pim_interface_jp(self):
|
||||
|
@ -81,14 +81,14 @@ class TestNxosIPInterfaceModule(TestNxosModule):
|
|||
self.execute_module(
|
||||
changed=True,
|
||||
commands=['interface eth2/1', 'ip pim jp-policy JPOUT out',
|
||||
'ip pim jp-policy JPIN in', 'ip pim sparse-mode']
|
||||
'ip pim jp-policy JPIN in']
|
||||
)
|
||||
|
||||
def test_nxos_pim_interface_default(self):
|
||||
set_module_args(dict(interface='eth2/1', state='default'))
|
||||
self.execute_module(
|
||||
changed=True,
|
||||
commands=['interface eth2/1', 'ip pim dr-priority 1', 'ip pim hello-interval 30000', 'no ip pim border']
|
||||
changed=False,
|
||||
commands=[]
|
||||
)
|
||||
|
||||
def test_nxos_pim_interface_ip_absent(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue