Commit graph

18 commits

Author SHA1 Message Date
Peter Sprygada
565fb59d0a Merge pull request #4565 from privateip/iosxr_facts
add new iosxr_facts module for fact collection from XR devices
2016-08-26 21:43:18 -04:00
Peter Sprygada
dfce797dad add new iosxr_facts module for fact collection from XR devices
* adds support for std network facts
* adds support for default facts subset
* adds support for config facts subset
* adds support for interface facts subset
* adds support for hardware facts subset

Tested on IOS-XR 6.0.0
2016-08-26 21:41:05 -04:00
Peter Sprygada
5917a73623 Merge pull request #4563 from privateip/iosxr_config
update iosxr_config with new arguments
2016-08-26 21:39:36 -04:00
Peter Sprygada
7b5a4e2fa3 update iosxr_template to use network shared modules
This updates the iosxr_template module to make it work with the new
shared network modules introduced in Ansible 2.2

Tested on IOSXR 6.0.0
2016-08-26 15:56:17 -04:00
Peter Sprygada
cababe0947 update iosxr_config with new arguments
* add src argument to provide path to config file
* add new choice to match used to ignore current running config
* add update argument with choices merge, replace or check
* add backup argument to backup current running config to control host
* add comment argument to provide comment to commit
* deprecated force argument, use match=none instead
2016-08-26 13:22:56 -04:00
Peter Sprygada
12d6ae8de4 add new functionality to iosxr_command module
* commands argument now accepts a dict arguments[1]
* waitfor has been renamed to wait_for with an alias to waitfor
* only show commands are allowd when check mode is specified
* config mode is no longer allowed in the command stack
* add argument match with valid values any, all

[1] The commands argument will now accept a dict argument that can
specifiy the output format of the command.  To specify a dict argument
use the form of { command: <str>, output: <str>, prompt: <str>,
response: <str> }.
2016-08-23 09:33:12 -04:00
John R Barker
d05ed8e2d8 ios & iosxr Documentation improvements (#4321) 2016-08-05 19:26:09 -04:00
Michael Scherer
cc99fe24fc Convert the network subfolder to py3/py2.4 syntax (#3690) 2016-05-18 09:08:30 -07:00
Johannes Meixner
24549ee80a network/*/*_config.py: Correct typo.
- Replace syntanx with syntax in all things network.
2016-05-10 10:30:28 +03:00
Patrick Ogenstad
5409ed1b28 Fix documentation example, missing ")" 2016-04-14 23:01:59 +02:00
John Barker
531eed80b3 Replace BOOLEANS with true/false 2016-04-05 16:31:15 +01:00
Peter Sprygada
cf01087a30 refactor iosxr_template module to remove old diff functions
this replaces the old diff functions with the netcfg shared module for
handling configuration diffs between running and candidate
2016-04-04 16:15:39 -04:00
Peter Sprygada
0f724f625d refactor iosxr_config module to remove old diff functions
this replaces the old diff functions with the netcfg lib for handling
configuration diffs between running and candidate configurations
2016-04-04 16:15:31 -04:00
Peter Sprygada
86f9c672f0 cleanup iosxr_command module to be consistent with other network modules
this cleans up some of the function calls and output keys to be consistent
with other command modules
2016-04-04 16:15:23 -04:00
Peter Sprygada
e9ab4d688d bugfix for handling match=strict in iosxr_config
Resolves an issue where match=strict would act like match=exact when
evaluating the configuration
2016-03-10 13:33:41 -05:00
Peter Sprygada
0e270da561 initial add of iosxr_config module
This adds a new module, iosxr_config, that can be used for configuring
Cisco IOS XR devices.  It is provides a set of arguments for sending
configuration commands to the device over cli
2016-02-12 17:04:30 -05:00
Peter Sprygada
fb82e08e73 initial add of iosxr_template module
This adds a new module, iosxr_template, that can be used to template
configurations for IOS XR devices.  Templates are then loaded into the
target device over cli
2016-02-12 17:04:20 -05:00
Peter Sprygada
2e2380a505 initial add of iosxr_command module
This adds a new module, iosxr_command, that can be used to issue
commands to devices running IOS XR.  Commands are run on the
target device over cli
2016-02-12 17:04:12 -05:00