add new features to ios shared module

* add load_config() for loading a set of configuration commands
* add load_candidate() function for loading a candidate config
* updates shared module to provide NetworKModule instead of get_module
* fixes Cli transport implementation for 2.2 refactor
* updates ios documentation fragments with new options
This commit is contained in:
Peter Sprygada 2016-06-22 09:32:34 -05:00
commit 637bbdadfa
2 changed files with 138 additions and 68 deletions

View file

@ -89,5 +89,33 @@ options:
met either by individual arguments or values in this dict.
required: false
default: null
force:
description:
- The force argument instructs the module to not consider the
current devices running-config. When set to true, this will
cause the module to push the contents of I(src) into the device
without first checking if already configured.
required: false
default: false
choices: ['yes', 'no']
running_config:
description:
- The module, by default, will connect to the remote device and
retrieve the current running-config to use as a base for comparing
against the contents of source. There are times when it is not
desirable to have the task get the current running-config for
every task in a playbook. The I(config) argument allows the
implementer to pass in the configuruation to use as the base
config for comparision.
required: false
default: null
aliases: ['config']
save_config:
description:
- Specifies the current C(running-config) should be saved to
non-volatile memory so that configuration changes are
persistent if the device is restarted.
required: false
default: null
aliases: ['save']
"""