mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-23 04:24:00 -07:00
loopback doesn't support passive_interface (#33252)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
parent
b611c92626
commit
25a465ffcb
2 changed files with 6 additions and 0 deletions
|
@ -50,3 +50,7 @@ class TestNxosInterfaceOspfModule(TestNxosModule):
|
|||
def test_nxos_interface_ospf(self):
|
||||
set_module_args(dict(interface='ethernet1/32', ospf=1, area=1))
|
||||
self.execute_module(changed=True, commands=['interface Ethernet1/32', 'ip router ospf 1 area 0.0.0.1'])
|
||||
|
||||
def test_loopback_interface_failed(self):
|
||||
set_module_args(dict(interface='loopback0', ospf=1, area=0, passive_interface=True))
|
||||
self.execute_module(failed=True, changed=False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue