Improving argument_spec

This commit is contained in:
GGabriele 2016-09-15 16:34:26 +02:00 committed by Matt Clay
commit 693f8e623a

View file

@ -800,15 +800,15 @@ def main():
argument_spec=dict( argument_spec=dict(
interface=dict(required=True), interface=dict(required=True),
sparse=dict(type='bool', default=True), sparse=dict(type='bool', default=True),
dr_prio=dict(), dr_prio=dict(type='str'),
hello_auth_key=dict(), hello_auth_key=dict(type='str'),
hello_interval=dict(type='int'), hello_interval=dict(type='int'),
jp_policy_out=dict(), jp_policy_out=dict(type='str'),
jp_policy_in=dict(), jp_policy_in=dict(type='str'),
jp_type_out=dict(choices=['prefix', 'routemap']), jp_type_out=dict(choices=['prefix', 'routemap']),
jp_type_in=dict(choices=['prefix', 'routemap']), jp_type_in=dict(choices=['prefix', 'routemap']),
border=dict(type='bool'), border=dict(type='bool'),
neighbor_policy=dict(), neighbor_policy=dict(type='str'),
neighbor_type=dict(choices=['prefix', 'routemap']), neighbor_type=dict(choices=['prefix', 'routemap']),
state=dict(choices=['present', 'absent', 'default'], state=dict(choices=['present', 'absent', 'default'],
default='present'), default='present'),