Commit Graph

399 Commits (5f652c758487a96e08c33989e846b87e204def72)

Author SHA1 Message Date
John R Barker ceddebaf28 Consistent naming of Arista EOS device (#4616) 8 years ago
Peter Sprygada 1d48b47cad Merge pull request #4627 from privateip/ops_template
update ops_template module using refactored network shared modules
8 years ago
Peter Sprygada dd6751d60a Merge pull request #4612 from privateip/ops_command
added new functionality to ops_command
8 years ago
Peter Sprygada 3746ed6a63 Merge pull request #4611 from privateip/ops_facts
update ops_facts with enhancements
8 years ago
Peter Sprygada 244c626822 Merge pull request #4610 from privateip/ops_config
update ops_config module with new enhancements
8 years ago
Peter Sprygada 9c64d1947c update ops_template module using refactored network shared modules
This updates the ops_template module to work with the network shared
modules introduced in Ansible 2.2

Tested with OpenSwitch 0.4.0
8 years ago
Peter Sprygada b99cad4128 added new functionality to ops_command
* commands argument now accepts a dict arguments
* waitfor has been renamed to wait_for with an alias to waitfor
* only show commands are allowed when check mode is specified
* config mode is no longer allowed in the command stack
* add argument match with valid values any, all

Tested on OpenSwitch 0.4.0
8 years ago
Peter Sprygada 6f9ab60f81 Merge pull request #4615 from ansible/gundalow-patch-2
Consistent naming of Arista EOS device
8 years ago
Michael Scherer 1acb23f8d6 Fix uri to run on python3 (#4580)
Since dict no longer have a method iteritems, we have to use
the six wrapper.
8 years ago
Peter Sprygada c215398e2f update eos_eapi module with new enhancements
* add support for vrf configurations
* add support for configing the qos value for eapi
* add config argument to specify the device running-config

Tested on EOS 4.15.4F
8 years ago
John R Barker ec1c490888 Consistent naming of Arista EOS device 8 years ago
Peter Sprygada cbbb4af99a update ops_facts with enhancements
* adds support for default facts subset
* adds support for config facts subset
* maintain legacy facts from ops_facts pre-2.2

Tested on Openswitch 0.4.0
8 years ago
Peter Sprygada 2133b92980 update ops_config module with new enhancements
* 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 or check
* add backup argument to backup current running config to control host
* add save argument to save current running config to startup config
* add state argument to control state of config file
* deprecated force argument, use match=none instead

Note: this module only supports transport=cli

Tested on OpenSwitch 0.4.0
8 years ago
Peter Sprygada 38fd67bead Merge pull request #4608 from privateip/ios_command
removes output keyword from command in ios_command
8 years ago
Peter Sprygada a6ffe2e7be removes output keyword from command in ios_command
IOS devices only support a single command output which is structured
text.  This removes the ability to specify the command output format
when providing complex arguments to the commands
8 years ago
Peter Sprygada 6543bb4bdd update nxos_nxapi module with minor enhancements (#4573)
* added new config argument
* added states present and absent
* update to use network shared modules

Tested on NXOS 7.3(0)D1(1)
8 years ago
Timothy Appnel 2538c70d46 Fixes get_url examples in docs and applies native YAML syntax. (#4474) 8 years ago
Peter Sprygada 12122952db Merge pull request #3950 from grybak-arista/eos_exit_fix
Move call to filter_exit out of command execution block
8 years ago
Peter Sprygada 277f8cfa5c convert nxos_facts map from dict to frozenset
* key maps are now frozenset instead of dict objects
* FactsBase now includes utility functions for transforming json data structures

Tested on NXOS 7.3(0)D1(1)
8 years ago
Peter Sprygada 565fb59d0a Merge pull request #4565 from privateip/iosxr_facts
add new iosxr_facts module for fact collection from XR devices
8 years ago
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
8 years ago
Peter Sprygada 5917a73623 Merge pull request #4563 from privateip/iosxr_config
update iosxr_config with new arguments
8 years ago
Peter Sprygada a093fb1c83 Merge pull request #4566 from privateip/iosxr_template
update iosxr_template to use network shared modules
8 years ago
Peter Sprygada 13cfc911b4 Merge pull request #4567 from privateip/ios_template
update ios_template module using refactored network shared modules
8 years ago
Peter Sprygada f33b232819 Merge pull request #4568 from privateip/eos_template
update eos_template for network shared module
8 years ago
Peter Sprygada 97b231561b Merge pull request #4569 from privateip/nxos_template
update nxos_template module with network shared module changes
8 years ago
Peter Sprygada 49414a4c83 Merge pull request #4549 from privateip/nxos_facts
updates nxos_facts with more fact collections
8 years ago
Peter Sprygada 074273dbb4 update eos_template for network shared module
This updates the eos_template module to work with the changes introduced
in the network shared module in Ansible 2.2

Tested on EOS 4.15.4F
8 years ago
Peter Sprygada 78b58f4fa9 update nxos_template module with network shared module changes
This updates the nxos_template module to work with the network shared
modules introduced in Ansible 2.2

Tested on NXOS 7.3(0)D1(1)
8 years ago
Peter Sprygada 9acf4ea417 update ios_template module using refactored network shared modules
This updates the ios_template module to work with the network shared
modules introduced in Ansible 2.2

Tested in IOS 15.6(1)T
8 years ago
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
8 years ago
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
8 years ago
Peter Sprygada 84d69ee51b Merge pull request #4551 from privateip/eos_facts
add new eos_facts module for fact collect of EOS nodes
8 years ago
Peter Sprygada ef48b9188f add new eos_facts module for fact collect of EOS nodes
* 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 EOS 4.15.4F
8 years ago
Peter Sprygada 2ca2223af2 updates nxos_facts with more fact collections
* 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
* maintains backwards capabilitity with 2.1 facts module

Tested on NXOS 7.3(0)D1(1)
8 years ago
Peter Sprygada 44adf4195b Merge pull request #4523 from privateip/vyos_config
updates to vyos_config module arguments
8 years ago
Peter Sprygada e3b7bf0bf9 update RETURNS doc string in ios_facts
updates the doc string for consistency and completeness
8 years ago
Peter Sprygada ef84dbbddd Merge pull request #4536 from privateip/sros
initial add of network/sros modules
8 years ago
Peter Sprygada 24b697f925 updates to vyos_config module arguments
* arguments for vyos_config for 2.2 are now complete
* adds loading config file from disk (src argument)
* removes unsupported rollback argument
* changes update_config to update with options merge or check
* changes backup_config to backup
* add state argument for state of configuration file
* adds backup argument to backup current configuration
* adds save argument to control if active config is saved to disk
* adds comment argument for setting commit comment
* adds match argument to control configuraiton match

Tested with VyOS 1.7
8 years ago
Peter Sprygada 1320094ee9 initial add of network/sros modules
* adds support for sros_command module for sending arbitrary commands
* adds support for sros_config module for working with sros configurations
8 years ago
Peter Sprygada 55191c77b8 Merge pull request #4524 from privateip/vyos_command
added new functionality to vyos_command
8 years ago
Peter Sprygada a3931f9315 Merge pull request #4509 from privateip/iosxr_command
add new functionality to iosxr_command module
8 years ago
Peter Sprygada 66e48f5eb4 added new functionality to vyos_command
* commands argument now accepts a dict arguments
* 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
8 years ago
Peter Sprygada 5dad16e914 Merge pull request #4501 from privateip/eos_command
add new functionality to eos_command module
8 years ago
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> }.
8 years ago
Peter Sprygada 356888a3a3 add new functionality to eos_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> }.  Command and output are required arguments. Output
accepts valid values text and json.
8 years ago
Peter Sprygada 577d34d163 update eos_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 defaults argument to control collection of config with or without defaults
* add save argument to save current running config to startup config
* add state argument to control state of config file
* deprecated force argument, use match=none instead
8 years ago
Peter Sprygada 18e53bc804 fix example in nxos_command module 8 years ago
Peter Sprygada 7c4618d8c2 Merge pull request #4485 from privateip/nxos_config
update nxos_config with new arguments
8 years ago
Peter Sprygada c23f57c0ef Merge pull request #4482 from privateip/ios_config
merge functions from ios into ios_config
8 years ago