Commit Graph

772 Commits (1df235f8ca5e1d52f922548265aed019ffbc330d)

Author SHA1 Message Date
GGabriele 6c0ce20ad7 Fixed module structure 8 years ago
GGabriele c58d21a5c6 Fixed module structure 8 years ago
GGabriele c9c3d26e42 Fixed module structure 8 years ago
GGabriele 0cb9a02202 Fixed module structure 8 years ago
GGabriele 78558fcf53 Fixed config function 8 years ago
GGabriele 336794d758 Fixed config function 8 years ago
GGabriele 7579ddee0c Fixed config function 8 years ago
GGabriele c177bc4f72 Fixed config function 8 years ago
GGabriele fdda32ec52 Fixed module structure 8 years ago
GGabriele 9f06bb7e60 fix imports 8 years ago
GGabriele a4ee5c89da Fixed module structure 8 years ago
GGabriele c50cfe3451 Fixed module structure 8 years ago
GGabriele c3592688e6 Fixed module structure 8 years ago
GGabriele e8b9a7cae7 Fixed module structure 8 years ago
GGabriele cb9bdee7be Fixed module structure 8 years ago
GGabriele fa72ffc3d1 Fixed module structure 8 years ago
GGabriele b2aa859b33 Fixed module structure 8 years ago
GGabriele c9d293299b Fixed module structure 8 years ago
GGabriele 67c24e5f04 Fixed module structure 8 years ago
GGabriele a30d508e0e Fixed module structure 8 years ago
GGabriele d8e6773f8c Fixed module structure 8 years ago
GGabriele 37d27c9b2c Fixed module structure 8 years ago
GGabriele 18562835e3 Fixed module structure 8 years ago
GGabriele 030141e76d Fixed module structure 8 years ago
GGabriele 39d43e96e0 Fixed module structure 8 years ago
GGabriele 42add2f137 Fixed module structure 8 years ago
GGabriele d894adba4a Fixed module structure 8 years ago
GGabriele a1b666d0af Fixed module structure 8 years ago
GGabriele 73cd257b66 Fixed module structure 8 years ago
GGabriele c20d82d9ca Fixed module structure 8 years ago
Peter Sprygada ecca37a959 Merge pull request #4699 from privateip/vyos_config
removes argument from vyos_config module
8 years ago
Peter Sprygada 0045cf31c5 Merge pull request #4687 from privateip/junos_command
add new functionality to junos_command module
8 years ago
Peter Sprygada f0e5a8c7ab Merge pull request #4688 from privateip/junos_netconf
update junos_netconf module
8 years ago
Peter Sprygada 4ab3492011 Merge pull request #4689 from privateip/junos_template
update junos_template module
8 years ago
Peter Sprygada eca9d0700d Merge pull request #4692 from privateip/junos_config
update junos_config module
8 years ago
Peter Sprygada 74ae5a6257 Merge pull request #4697 from privateip/nxos_config
updates nxos_config to remove state argument
8 years ago
Peter Sprygada a756d1baea Merge pull request #4696 from privateip/ops_config
removes state argument from ops_config module
8 years ago
Peter Sprygada eae87e21d9 Merge pull request #4698 from privateip/ios_config
removes state argument from ios_config
8 years ago
Peter Sprygada cba30b637a updates nxos_config to remove state argument
The state argument should not be in the nxos_config module.  This change
removes the state argument for this release
8 years ago
Peter Sprygada 989a2c7d0f removes argument from vyos_config module
The state argument should not be in vyos_config.  This commit removes the
state argument
8 years ago
Peter Sprygada e0f7912e37 removes state argument from ios_config
The state argument should not be in ios_config.  This change removes the
state argument
8 years ago
Peter Sprygada 330e323705 removes state argument from ops_config module
this removes the state argument from ops_config.  The state argument should
not have been there
8 years ago
GGabriele 9b03b39eb6 Removed tabs 8 years ago
GGabriele 7c9b5b8841 Fixed module structure 8 years ago
GGabriele e725a077c5 Fixed module structure 8 years ago
Peter Sprygada a11a311b49 update junos_config module
* adds src argument to load configuration from disk
* adds src_format to set the source file format
* adds update argument with choices merge or replace
* deprecates the replace argument in favor of update=replace
8 years ago
Peter Sprygada 256730e997 add new functionality to junos_command module
* commands argument now accepts a dict arguments
* rpcs argument now accepts a dict argument
* 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 ba8613cae9 update junos_netconf module
Updates the junos_netconf module with changes to load the
NetworkModule instead of the get_module factory method.  This
update is part of the 2.2 refactor of network modules
8 years ago
Peter Sprygada 0dfd3f177f update junos_template module
This updates the junos_template module implementing the changes for
Ansible 2.2
8 years ago
GGabriele bafdedd25b Fix docstring 8 years ago
GGabriele a9dc536174 Adding nxos_igmp_interface 8 years ago
GGabriele 0838736b1a Adding nxos_igmp 8 years ago
GGabriele 73b5841b2b nxos_vrf_interface support for 2.1 and 2.2 8 years ago
GGabriele 6d7326cb03 Updating nxos_vrf 8 years ago
GGabriele 7922796e92 nxos_vlan support 2.1 and 2.2 8 years ago
GGabriele 87839953db nxos_ping support for 2.1 and 2.2 8 years ago
GGabriele 811ce02178 nxos_ip_interface support for 2.1 and 2.2 8 years ago
GGabriele 814eb0609d Adding nxos_reboot 8 years ago
GGabriele 373ebaeeb4 Fix PR 8 years ago
GGabriele 4f0259ff9b Added python object for 2.1 and 2.2 support 8 years ago
GGabriele 65c6f5079c Increase timeout 8 years ago
GGabriele b89467ada4 Fixed docstring 8 years ago
GGabriele 2c7e9a0330 Adding nxos_rollback 8 years ago
GGabriele a98f17db15 Adding nxos_vxlan_vtep_vni 8 years ago
GGabriele 15d4fa4207 Adding nxos_vxlan_vtep 8 years ago
GGabriele af7fb1a40b Fix docstring 8 years ago
GGabriele 5de77d4e6e Adding nxos_vrf_af 8 years ago
GGabriele 8bf651afaa Adding nxos_portchannel 8 years ago
GGabriele a7ea96f61e Adding nxos_vpc 8 years ago
GGabriele 61642cce45 Adding nxos_static_route 8 years ago
GGabriele c6c0ff42ed Fix error handling 8 years ago
GGabriele 47ce78de3e Adding nxos_smu 8 years ago
GGabriele b55a2e49e2 Adding nxos_portchannel 8 years ago
GGabriele ffa9064c01 Adding nxos_pim_rp_address 8 years ago
GGabriele 689a117257 Adding nxos_pim module 8 years ago
GGabriele 7e78c5aad7 Fixing module description 8 years ago
GGabriele 9cf9e61da4 Addin nxos_overlay_global 8 years ago
GGabriele 28e3e30d41 Adding nxos_interface_ospf 8 years ago
GGabriele cb9f28c0d6 Fix error handling 8 years ago
GGabriele ffb613febe Adding nxos_hsrp 8 years ago
GGabriele d92d1feeaa Fix typo 8 years ago
GGabriele 53121eb647 Fix try/except 8 years ago
GGabriele 0f606122bc Fix error handling 8 years ago
GGabriele 3b266bf1e2 Adding nxos_file_copy 8 years ago
GGabriele 90cd9485ec Adding nxos_evpn_vni 8 years ago
GGabriele 1f3d7681e2 Fixed DOCSTRING 8 years ago
GGabriele bb9d8c6385 Adding nxos_bgp_neighbor_af module 8 years ago
GGabriele fc527220a8 Adding nxos_bgp_neighbor module 8 years ago
GGabriele 0b7038d65b Fixing DOCSTRING yaml format 8 years ago
GGabriele 710962824e Fixing DOCSTRING yaml format 8 years ago
GGabriele 687c2198d0 Fixing DOCSTRING 8 years ago
GGabriele 5ba6a45d65 Adding nxos_bgp_af module 8 years ago
GGabriele 00f6276eaf Adding python object for 2.1 support 8 years ago
GGabriele 4b20a89739 Adding python object for 2.1 support 8 years ago
GGabriele 1c48fe9bc3 Adding python object for 2.1 support 8 years ago
GGabriele fe11b09b8d Adding python object for 2.1 support 8 years ago
GGabriele 8518cb4e97 Adding python objects for 2.1 support 8 years ago
Peter Sprygada baa2e930bb Merge pull request #4649 from privateip/ios_facts
bugfix that adds missing itertools import to ios_facts
8 years ago
GGabriele 2579ca43bf Fixing docstring 8 years ago
GGabriele 71067b1d4e Removing delete for bollean, fixing argparse, embedding python object 8 years ago
Peter Sprygada 4c8bbae415 bugfix that adds missing itertools import to ios_facts
fixes #4647
8 years ago
Peter Sprygada 8f3ee22a17 Merge pull request #4599 from skg-net/devel
Added Command and Config modules to support Dell Networking OS10 device
8 years ago
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
Senthil Kumar Ganesan 51c13ad82d Cleaned up the module imports 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
GGabriele 7f02615fd9 Fixing DOC string 8 years ago
GGabriele 1358e0fd91 Fixing RETURN string 8 years ago
GGabriele 84de0c5c57 Fixing RETURN string 8 years ago
GGabriele e1e0e2b045 Adding nxos_ospf_vrf module 8 years ago
GGabriele 69000b82b5 Adding nxos_ospf module 8 years ago
GGabriele 84d957beaa Adding nxos_evpn_global module 8 years ago
GGabriele 7af4081401 Fixing typo 8 years ago
GGabriele 224a47b718 Adding nxos_acl_interface_module 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
GGabriele d2135c7098 Adding RETURN string 8 years ago
GGabriele 7d7357bbb6 Fixing DOCSTRING 8 years ago
GGabriele cf32ae0290 Adding nxos_acl module 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
GGabriele 166c2d0272 Fixing string case 8 years ago
Senthil Kumar Ganesan 2a06a594ec Incorporated Ansible community feedback 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
GGabriele 1083a9e7ea Fixing conditional format 8 years ago
GGabriele 17dfe863ec Fixing DOC 8 years ago
GGabriele 228269f093 Fixing DOC 8 years ago
GGabriele 405d3bfc5b Adding nxos_bgp.py 8 years ago
Senthil Kumar Ganesan b7480a34d5 Moved the modules to Dell folder 8 years ago
Senthil Kumar Ganesan 6152328abb Added Command and Config modules to support Dell Networking OS10 device 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
Jason Edelman 22772e75cf removed feature check for nxos_interface 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
Peter Sprygada 3480561254 Merge pull request #4319 from gundalow/docs-cumulus
Cumulus - consistent docs formatting
8 years ago
Peter Sprygada 4c5ad987ce Merge pull request #4303 from gundalow/docs-eos
General EOS documentation improvements
8 years ago
Peter Sprygada 0bb0c1b2d8 Merge pull request #4323 from Qalthos/ios_config_bugfix
Fix ios_config broken logic
8 years ago
Peter Sprygada 1a71fff02b Merge pull request #4341 from gundalow/docs-vyos
vyos: Docs fixes
8 years ago
Peter Sprygada 3d37d5c835 Merge pull request #4338 from gundalow/docs-openswitch
openswitch: Docs fixes
8 years ago
Peter Sprygada 56a59824b2 Merge pull request #4336 from gundalow/docs-nxos
NXOS Docs update
8 years ago
Peter Sprygada 04b200059d Merge pull request #4326 from gundalow/docs-junos
junos: Docs update
8 years ago
Alvaro Aleman 12b579f92d Make ios_command example working 8 years ago
John R Barker d05ed8e2d8 ios & iosxr Documentation improvements (#4321) 8 years ago
John R Barker 4148b74433 Update junos_config.py 8 years ago
John R Barker 5f02f54ff9 Update junos_config.py 8 years ago
John Barker 4d0f5cc3f5 vyos: Docs fixes 8 years ago
John Barker d45a75bc01 openswitch: Docs fixes 8 years ago
John Barker d319328d03 NXOS Docs update 8 years ago
John Barker bd08631e58 junos: Docs update 8 years ago
Nathaniel Case 8bb4b9818c Fix ios_config broken logic 8 years ago
John Barker 5599ab14f6 Cumulus - consistent docs formatting 8 years ago
Nathaniel Case 104d753730 Quick fix to nxos_command and minify imports 8 years ago
John R Barker 4ebcdf3efd Merge pull request #4115 from bordeltabernacle/fix/network_module_typos
Fix/network module typos
8 years ago
Kevin Kirsche 9a369b3f1f Update junos_config.py 8 years ago
Kevin Kirsche 9f8bc0158c Fix typo in "ssantaize" typo
ssantaize to santaize
8 years ago
John Barker 79c55534fc General EOS documentation improvements
Typos, formatting, choices.
8 years ago
John R Barker 280522914c State runnng v running
Fix typo
8 years ago
Rob Phoenix aedf21b285 various typo corrections to ios network modules 8 years ago
Peter Sprygada 3d65c82d7c Merge pull request #4196 from privateip/ios_config
adds update_config argument to ios_config
8 years ago
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 fe76a74e8c initial add of new module vyos_config
New module for sending configuration commands to remote devices running
the VyOS operating system.
8 years ago
Peter Sprygada 800bd92026 Merge pull request #4187 from privateip/vyos_facts
WIP initial add of new module vyos_facts
8 years ago
Peter Sprygada 77f6c34ee4 initial add of new module vyos_facts
* adds collection of default facts
* adds collection of configuration facts
* adds collection of lldp neighbors
8 years ago
Peter Sprygada f7bd0f4dfb initial commit of vyos_command module
This adds a new module, vyos_command for sending CLI commands to remote
devices running VyOS operating system.
8 years ago
Peter Sprygada 1240529613 Merge pull request #4180 from privateip/ios_command
removes unneeded check_args function from ios_command
8 years ago
Peter Sprygada 6a8750fe4b Merge pull request #4181 from privateip/ios_config
bug fix in ios_config module for handling config contents
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 daaafb68ab removes unneeded check_args function from ios_command
The module would raise a KeyError trying to find the save_config key
which is not present in the argument_spec.  This was caused by the
check_args() function.  Since the ios shared argument spec isn't used
the check_args function is not needed and has been removed.
8 years ago
Peter Sprygada d8d69904a7 fixup ios_template module to use NetworkModule
This removes the get_module() factory function and directly creates
an instance of NetworkModule.  This commit includes some minor clean
up to transition to the ios shared module for 2.2
8 years ago
Peter Sprygada 359f1747be Merge pull request #4153 from privateip/ios_command
fix up ios_command to use NetworkModule
8 years ago
Peter Sprygada ebc9f092ad fix up ios_command to use NetworkModule
* using check mode will now block all commands except show commands
* module will no longer allow config mode commands
* check args for unused values and issue warning
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
Peter Sprygada b2202c6da8 update ios_facts module to use NetworkModule
minor update to ios_facts to remove get_module() in favor of NetworkModule
8 years ago
Peter Sprygada 25e98e869f Merge pull request #4124 from privateip/ios_facts
initial add of ios_facts module
8 years ago
Peter Sprygada 8655dc4aaf Merge pull request #4123 from privateip/ios_command
refactor ios_command to use CommandRunner class
8 years ago
Peter Sprygada 1ba45c1d03 Merge pull request #4065 from privateip/eos_command
refactor the eos_command module to use the CommandRunner
8 years ago
Peter Sprygada 4f8f8f1998 initial add of ios_facts module
This adds the new module ios_facts for collect fact information from
ios devices
8 years ago
Peter Sprygada 11efe33730 refactor the eos_command module to use the CommandRunner
* This adds support the CommandRunner to handle executing commands on
the remote device.
* It also changes the waitfor argument to wait_for to remain compatable
with other modules and adds an alias for waitfor.
* Restricts commands to show commands only when check mode is specified.
* add version_added to wait_for doc string
8 years ago
Peter Sprygada 2be917851d refactor ios_command to use CommandRunner class
* fixes running commands in check mode.  now only show commands are allowd
* renamed waitfor to wait_for with alias to waitfor for consistency
8 years ago
Stian Vikan 1e74d4c9a6 Fixed delete statement for juniper_config.py #4007 #3984 8 years ago
Gary Rybak dc21c211e3 Move call to filter_exit out of command execution block
to prevent setting 'changed' on a command list that is
completely filtered (empty).
8 years ago
Brian Coca 46d6bead71 document that get_url also takes file params
has for a long time, but was never documented, mode,group, owner can all be set here
8 years ago
Brian Coca 172bd21f41 Revert "Add mode option to the list" (#3946) 8 years ago
Victor Bocharsky 3573223aeb Add mode option to docstring for get_url (#3630)
Add mode option to the list
8 years ago
jctanner 4a3916bd46 Use the six import for urlsplit instead of importing directly. (#3902)
Fixes https://github.com/ansible/ansible/issues/16191
8 years ago
Peter Sprygada e7e295b693 removes requirement for config argument to be specified in junos_facts
The config argument is optional and should not be required.  This
removes the required attribute from the config argument.

fixes #3878
8 years ago
Toshio Kuratomi cb1093e085 Fix the six import 8 years ago
Toshio Kuratomi 469169f654 Be sure to import urllib.parse from somewhere 8 years ago
Gabriele 8cb463d250 Fixing bug, added missing param (#3737) 8 years ago
Wolfgang Powisch 061555cefb Update junos_facts.py (#3759) 8 years ago
Peter Sprygada 39693305cf Merge pull request #3623 from ocadotechnology/wip-3621
junos_template: Simplify arguments. Fixes #3621
8 years ago
Michael Scherer cc99fe24fc Convert the network subfolder to py3/py2.4 syntax (#3690) 8 years ago
Kei Nohguchi 14e13f68a5 ops_template.py: Change integer key into stirng
This fix passing the update variable to the str()
so that it avoids the exception when ops.dc.read()
returns a dictionary which contains non-string keys.

This is due to the fact that some of the key types in
OpenSwitch schema are actually defined as integer
and ops.dc declerative config module encode those
in integer inside the dictionary.  This could be
the right encoding from the schema point of view
but someone needs to convert it to the string
somewhere, as JSON key should be string.
8 years ago
Peter Sprygada 1ab2c3a737 Merge pull request #3627 from xmj/devel
network/*/*_config.py: Correct typo.
8 years ago
Peter Sprygada f71e00f0bf Merge pull request #3612 from dharmabumstead/devel
Fixed typos
8 years ago
Michael Scherer 4c569fd535 Add a test on jnpr.junos.utils.sw presence (#3666) 8 years ago
Toshio Kuratomi 298fd0ae56 Docs fixes 8 years ago
Brian Coca 9ae898c902 made note about slurp memory consumption 8 years ago
Johannes Meixner 24549ee80a network/*/*_config.py: Correct typo.
- Replace syntanx with syntax in all things network.
8 years ago
Mike Bryant 46957b167e junos_template: Simplify arguments. Fixes #3621
Simplify the arguments to junos_template, such that
merge/overwrite/replace can be selected easily.
8 years ago
Scott Butler 7d09339d31 Fixed typos 9 years ago
John R Barker bb9572ca86 ansible-validate-modules part 4: Enable check on ansible-modules-core (#3526)
* Call ansible-validate-modules

* Correct quotes + add newline
9 years ago
Peter Sprygada f7baff4688 fixes docstring issue for junos_config arguments
The docstring was incorrectly merged with some old entries that will
cause the documentation not to build correclty.  It is now fixed.
9 years ago
jedelman8 3ebb693777 add nxos_interface 9 years ago
James Cammarata b1641ec486 Remove extraneous debug stuff from uri module left over from testing 9 years ago
James Cammarata 84ee00bb42 Make sure uri output contains json output when a non-200 status is returned
Prior to the switch to the urls.py code, non-200 responses contained
a 'json' value when the content-type was JSON. This fix restores that
field upon a non-2xx response.

Fixes ansible/ansible#15555
9 years ago
Nathaniel Case b466f7bbe2 Remove unnecessary exception from nxos_command (#3521) 9 years ago
Peter Sprygada 426e9a357d Merge pull request #3473 from networktocode/nxos_ping
nxos_ping
9 years ago
Peter Sprygada 7a475d06f0 Merge pull request #3477 from networktocode/nxos_vrrp
nxos_vrrp
9 years ago
Peter Sprygada d526770ca9 Merge pull request #3475 from networktocode/nxos_vrf_interface
nxos_vrf_interface
9 years ago
Peter Sprygada 0cb22ea123 Merge pull request #3476 from networktocode/nxos_vrf
nxos_vrf
9 years ago
Peter Sprygada b66766bf19 Merge pull request #3516 from networktocode/nxos_ip_interface
nxos_ip_interface
9 years ago
Peter Sprygada 66a43b0695 Merge pull request #3468 from networktocode/nxos_switchport
add nxos_switchport module
9 years ago
Peter Sprygada 2a6173feef Merge pull request #3470 from networktocode/nxos_feature
nxos_feature
9 years ago
Peter Sprygada 0cdd12cf22 Merge pull request #3467 from networktocode/nxos_vlan
add nxos_vlan module
9 years ago
Peter Sprygada ea3c4a9466 Merge pull request #3471 from networktocode/nxos_get_facts
nxos_get_facts
9 years ago
Peter Sprygada b80929bf0b adds new module junos_package
the new module allows playbook designers to manage packages on remote
devices running junos.
9 years ago
Peter Sprygada d7b6289539 adds new module ops_facts
This adds a new module for collect device facts from remote devices
running OpenSwitch.  This module is useful when collecting fact information
over CLI transport.
9 years ago
Peter Sprygada 5814748b4d add support for netconf to junos_config
The junos_config module now supports the netconf transport.
9 years ago
Peter Sprygada 9b5c71ec03 Merge pull request #3534 from privateip/junos_template
add support for netconf to junos_template
9 years ago
Peter Sprygada a19410483d add support for netconf to junos_template
This commit adds support for sending full syntanx junos configurations using
junos_template and netconf
9 years ago
Peter Sprygada 36755e5fe2 Merge pull request #3532 from privateip/junos_command
fixes docstring format in junos_command
9 years ago
Peter Sprygada 14ea46199a Merge pull request #3519 from privateip/junos_facts
adds new junos_facts module
9 years ago
Peter Sprygada 2d9c3c02e5 fixes docstring format in junos_command 9 years ago
Peter Sprygada a6dc526570 adds config_format argument to the facts module
this change adds config_format argument with choices of xml, set or text to
specify the desired format of the config returned from the remote device.  The
default value is text
9 years ago
Peter Sprygada c41cb48007 Merge pull request #9 from dgarros/junos_modules
Add support for xml, set and text format for config
9 years ago
Peter Sprygada 297b93dd1b Merge pull request #3520 from privateip/junos_netconf
adds new module junos_netconf used for configuring netconf services
9 years ago
GGabriele b6b75720ec Fixed doc 9 years ago
GGabriele 3c91dc1f79 Removed old file 9 years ago
GGabriele 7408c8ab14 Changed module name to nxos_facts 9 years ago
Peter Sprygada fadd307b35 adds new module junos_netconf used for configuring netconf services
This module allows playbook operators to configure the netconf service in
junos for use with other juniper modules.
9 years ago
Peter Sprygada 9a66410899 adds new junos_facts module
The junos_facts module will collect basic system inforamtion about remote
devices running the Junos operating system
9 years ago
Peter Sprygada 8c63a02cc8 add support to junos_command module for netconf transport
This adds support for using netconf to the junos_command option and removes
the use of cli as a transport
9 years ago
jctanner 804a8e6378 Fix status check on get_url with file schemas and update the examples. (#3512)
Addresses #3511
9 years ago
GGabriele 0f57bb1513 Fixing bugs 9 years ago
GGabriele c25610777f Adding nxos_ip_interface 9 years ago
Brian Coca c64b7a71fb removed usless default doc 9 years ago
Justin Kennedy 7a2b00b625 Updating examples to include required fields (#3242)
Updated examples to include required fields (host, username).  Also updated src option to be listed as required.
9 years ago
GGabriele 1977be60b2 Adding nxos_vrrp 9 years ago
GGabriele e7fbafce14 Adding nxos_ping 9 years ago
jedelman8 ef904f67a6 fix index for portchannel 9 years ago
GGabriele bbe85bf1fa fix conditional for py24 9 years ago
GGabriele 2466e407f4 fix conditional for py24 9 years ago
GGabriele 14e334285f fix conditional for py24 9 years ago
GGabriele 67d416576f fix conditional for py24 9 years ago