iosxr modules aggregate check and other minor refactor (#28360)

*  iosxr aggregate validation
*  vyos_user, junos_user minor changes
*  Aggregated documentation
This commit is contained in:
Ganesh Nalawade 2017-08-18 09:50:35 +05:30 committed by GitHub
commit 9ab9945cf3
7 changed files with 150 additions and 71 deletions

View file

@ -278,7 +278,6 @@ def main():
configured_password=dict(no_log=True),
update_password=dict(default='always', choices=['on_create', 'always']),
purge=dict(type='bool', default=False),
state=dict(default='present', choices=['present', 'absent'])
)
@ -290,6 +289,7 @@ def main():
argument_spec = dict(
aggregate=dict(type='list', elements='dict', options=aggregate_spec, aliases=['users', 'collection']),
purge=dict(type='bool', default=False)
)
argument_spec.update(element_spec)