Commit Graph

383 Commits (224a47b7189d82f50665553df1a7cb9d503a603b)

Author SHA1 Message Date
GGabriele 224a47b718 Adding nxos_acl_interface_module 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
Peter Sprygada 23f067a0ec Merge pull request #4484 from privateip/nxos_command
added new functionality to nxos_command
8 years ago
codyrat 50133f1ed6 re.match for numeric only for kwargs[key] = int(value) (#4495) 8 years ago
Peter Sprygada 85b0bbc5c0 added new functionality to nxos_command
* 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 9e241129fe Merge pull request #4481 from privateip/ios_facts
fixes issue with duplicated commands in CommandRunner
8 years ago
Peter Sprygada 4d79b7fa00 fixes issue with duplicated commands in CommandRunner
The CommandRunner will not allow duplicate commands to be added to the
command stack.  This fix will now catch the exception and continue if
a duplicate command is attempting to be added to the runner instance.
8 years ago
Peter Sprygada 2961087f26 added new functionality to ios_command
* 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 73352bb9a3 update nxos_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 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 f6dab64bc5 merge functions from ios into ios_config
* merge changes from ios shared module functions into ios_config.
* 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 defaults argument to control collection of config with or withoutdefaults
* 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
Jason Edelman 5dc29dbc8b added a period 8 years ago
Jason Edelman d49d61784f make aliases a list in the docstring 8 years ago
Jason Edelman 164021a6a8 remove commented out code, add alias, and doc 8 years ago
Jason Edelman c009fe7e66 updated version_added for new param 8 years ago
Jason Edelman 996a34fbf7 fixed error handling 8 years ago
Jason Edelman b8f6e130ed fixed docs 8 years ago
Jason Edelman 160fd0126f improve functionality for vlan trunks based on #4082 8 years ago
Roman 78adaf2116 get_url headers param values parsing (#4245) 8 years ago