parent
1eb3fba51f
commit
8b844b67b5
1 changed files with 5 additions and 4 deletions
|
@ -280,6 +280,7 @@ def main():
|
|||
state = module.params['state']
|
||||
tenant = module.params['tenant']
|
||||
|
||||
if l3protocol:
|
||||
if 'eigrp' in l3protocol and asn is None:
|
||||
module.fail_json(msg="Parameter 'asn' is required when l3protocol is 'eigrp'")
|
||||
if 'eigrp' not in l3protocol and asn is not None:
|
||||
|
|
Loading…
Reference in a new issue