add provider to iosxr shared module

This commit adds a new argument `provider` to the iosxr shared module that
allows common connection parameters to be passed as a dict object.  The
constraints on the args still applies.  This commit also updates the iosxr
doc fragment.
This commit is contained in:
Peter Sprygada 2016-01-19 12:27:19 -05:00
commit 0f2917fde3
2 changed files with 21 additions and 13 deletions

View file

@ -48,5 +48,12 @@ options:
the SSH session
required: false
default: null
provider:
description:
- Convience method that allows all M(iosxr) arguments to be passed as
a dict object. All constraints (required, choices, etc) must be
met either by individual arguments or values in this dict.
required: false
default: null
"""