Commit Graph

9 Commits (1c55fa9bda5c62b1fe5ef1f4845a725ef55796b1)

Author SHA1 Message Date
Peter Sprygada fb3916f002 adds update_config argument to ios_config
New argument controls whether or not configuration is applied to the
remote device.
8 years ago
Peter Sprygada 601bb9fad3 bug fix in ios_config module for handling config contents
Config contents when passed via argument were returning a string but
the module expects an instance of NetworkConfig.  This fixes that
problem.
8 years ago
Peter Sprygada 5f08277eb4 refactor ios_config for network module
This refactors the ios_config module to use the network module added
in 2.2 to simplify common network functions

new features

* add src, dest arguments for working with config
* results now return flag if the config was saved or not
* adds append argument for updating the dest file (when dest is used)
8 years ago
Johannes Meixner 24549ee80a network/*/*_config.py: Correct typo.
- Replace syntanx with syntax in all things network.
8 years ago
Patrick Ogenstad 5409ed1b28 Fix documentation example, missing ")" 9 years ago
Peter Sprygada df32f64898 refactor ios_config to use netcfg diff shared lib
Move the configuration diff code from the module to the shared lib
9 years ago
Peter Sprygada e3ca92e97d bugfix for ios_config module
This commit address a bug in the ios_config module when using the
match: strict argument.  When the argument is used, the module will
compare the configuration block same as match: exact which is not the
intended behavior.  This commit updates the behavior to propertly handle
the strict argument.
9 years ago
Peter Sprygada ca2ae67794 update ios_config doc strings and return values
This changes the return values to be consistent across all network
config modules. The return values are now updates and responses
9 years ago
Peter Sprygada d05ceb9e28 initial add of ios_config module
This adds a new module ios_config that can be used for configuring
IOS devices.
9 years ago