loopback doesn't support passive_interface (#33252)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
Trishna Guha
2017-11-27 22:56:16 +05:30
committed by GitHub
parent b611c92626
commit 25a465ffcb
2 changed files with 6 additions and 0 deletions

View File

@@ -296,6 +296,8 @@ def state_present(module, existing, proposed, candidate):
if existing_commands[key] == proposed_commands[key]:
continue
if key == 'ip ospf passive-interface' and module.params.get('interface').upper().startswith('LO'):
module.fail_json(msg='loopback interface does not support passive_interface')
if value is True:
commands.append(key)
elif value is False: