new network module: edgeswitch_vlan (#48041)

* initial commit

* better commands generation
This commit is contained in:
f-bor 2018-12-17 07:00:17 +01:00 committed by Ganesh Nalawade
commit 134c1a624e
7 changed files with 995 additions and 1 deletions

View file

@ -47,7 +47,8 @@ def build_aggregate_spec(element_spec, required, *extra_spec):
aggregate=dict(type='list', elements='dict', options=aggregate_spec)
)
argument_spec.update(element_spec)
argument_spec.update(*extra_spec)
for elt in extra_spec:
argument_spec.update(elt)
return argument_spec