GGabriele
a9dc536174
Adding nxos_igmp_interface
2016-09-03 04:09:39 +02:00
GGabriele
0838736b1a
Adding nxos_igmp
2016-09-03 03:42:33 +02:00
GGabriele
73b5841b2b
nxos_vrf_interface support for 2.1 and 2.2
2016-09-03 03:33:57 +02:00
GGabriele
6d7326cb03
Updating nxos_vrf
2016-09-03 03:29:26 +02:00
GGabriele
7922796e92
nxos_vlan support 2.1 and 2.2
2016-09-03 03:20:24 +02:00
GGabriele
87839953db
nxos_ping support for 2.1 and 2.2
2016-09-03 03:13:43 +02:00
GGabriele
811ce02178
nxos_ip_interface support for 2.1 and 2.2
2016-09-03 03:08:32 +02:00
GGabriele
814eb0609d
Adding nxos_reboot
2016-09-03 02:47:41 +02:00
GGabriele
373ebaeeb4
Fix PR
2016-09-03 02:43:43 +02:00
GGabriele
4f0259ff9b
Added python object for 2.1 and 2.2 support
2016-09-03 02:40:50 +02:00
GGabriele
65c6f5079c
Increase timeout
2016-09-03 02:27:21 +02:00
GGabriele
b89467ada4
Fixed docstring
2016-09-03 02:15:43 +02:00
GGabriele
2c7e9a0330
Adding nxos_rollback
2016-09-03 02:11:14 +02:00
GGabriele
a98f17db15
Adding nxos_vxlan_vtep_vni
2016-09-03 01:59:37 +02:00
GGabriele
15d4fa4207
Adding nxos_vxlan_vtep
2016-09-03 01:46:59 +02:00
GGabriele
af7fb1a40b
Fix docstring
2016-09-03 01:34:10 +02:00
GGabriele
5de77d4e6e
Adding nxos_vrf_af
2016-09-03 01:32:46 +02:00
GGabriele
8bf651afaa
Adding nxos_portchannel
2016-09-03 01:22:02 +02:00
GGabriele
a7ea96f61e
Adding nxos_vpc
2016-09-03 01:10:07 +02:00
GGabriele
61642cce45
Adding nxos_static_route
2016-09-03 00:59:46 +02:00
GGabriele
c6c0ff42ed
Fix error handling
2016-09-03 00:52:37 +02:00
GGabriele
47ce78de3e
Adding nxos_smu
2016-09-03 00:47:55 +02:00
GGabriele
b55a2e49e2
Adding nxos_portchannel
2016-09-03 00:29:56 +02:00
GGabriele
ffa9064c01
Adding nxos_pim_rp_address
2016-09-03 00:17:11 +02:00
GGabriele
689a117257
Adding nxos_pim module
2016-09-02 23:59:31 +02:00
GGabriele
7e78c5aad7
Fixing module description
2016-09-02 23:47:19 +02:00
GGabriele
9cf9e61da4
Addin nxos_overlay_global
2016-09-02 23:42:57 +02:00
GGabriele
28e3e30d41
Adding nxos_interface_ospf
2016-09-02 19:20:31 +02:00
GGabriele
cb9f28c0d6
Fix error handling
2016-09-02 19:07:38 +02:00
GGabriele
ffb613febe
Adding nxos_hsrp
2016-09-02 19:02:23 +02:00
GGabriele
d92d1feeaa
Fix typo
2016-09-02 18:58:06 +02:00
GGabriele
53121eb647
Fix try/except
2016-09-02 18:55:17 +02:00
GGabriele
0f606122bc
Fix error handling
2016-09-02 18:51:11 +02:00
GGabriele
3b266bf1e2
Adding nxos_file_copy
2016-09-02 18:44:17 +02:00
GGabriele
90cd9485ec
Adding nxos_evpn_vni
2016-09-02 18:32:46 +02:00
GGabriele
1f3d7681e2
Fixed DOCSTRING
2016-09-02 18:15:30 +02:00
GGabriele
bb9d8c6385
Adding nxos_bgp_neighbor_af module
2016-09-02 18:10:42 +02:00
GGabriele
fc527220a8
Adding nxos_bgp_neighbor module
2016-09-02 17:52:19 +02:00
GGabriele
0b7038d65b
Fixing DOCSTRING yaml format
2016-09-02 17:43:57 +02:00
GGabriele
710962824e
Fixing DOCSTRING yaml format
2016-09-02 17:39:43 +02:00
GGabriele
687c2198d0
Fixing DOCSTRING
2016-09-02 17:35:46 +02:00
GGabriele
5ba6a45d65
Adding nxos_bgp_af module
2016-09-02 17:29:14 +02:00
GGabriele
00f6276eaf
Adding python object for 2.1 support
2016-09-02 16:59:34 +02:00
GGabriele
4b20a89739
Adding python object for 2.1 support
2016-09-02 16:51:32 +02:00
GGabriele
1c48fe9bc3
Adding python object for 2.1 support
2016-09-02 16:42:25 +02:00
GGabriele
fe11b09b8d
Adding python object for 2.1 support
2016-09-02 16:17:03 +02:00
GGabriele
8518cb4e97
Adding python objects for 2.1 support
2016-09-02 16:05:23 +02:00
Peter Sprygada
baa2e930bb
Merge pull request #4649 from privateip/ios_facts
...
bugfix that adds missing itertools import to ios_facts
2016-09-02 09:07:49 -04:00
GGabriele
2579ca43bf
Fixing docstring
2016-09-02 14:34:07 +02:00
GGabriele
71067b1d4e
Removing delete for bollean, fixing argparse, embedding python object
2016-09-02 14:23:54 +02:00
Peter Sprygada
4c8bbae415
bugfix that adds missing itertools import to ios_facts
...
fixes #4647
2016-09-02 08:15:07 -04:00
Peter Sprygada
8f3ee22a17
Merge pull request #4599 from skg-net/devel
...
Added Command and Config modules to support Dell Networking OS10 device
2016-09-01 10:26:49 -04:00
John R Barker
ceddebaf28
Consistent naming of Arista EOS device ( #4616 )
2016-09-01 12:10:32 +01:00
Peter Sprygada
1d48b47cad
Merge pull request #4627 from privateip/ops_template
...
update ops_template module using refactored network shared modules
2016-08-31 22:06:43 -04:00
Peter Sprygada
dd6751d60a
Merge pull request #4612 from privateip/ops_command
...
added new functionality to ops_command
2016-08-31 22:06:31 -04:00
Peter Sprygada
3746ed6a63
Merge pull request #4611 from privateip/ops_facts
...
update ops_facts with enhancements
2016-08-31 22:05:56 -04:00
Peter Sprygada
244c626822
Merge pull request #4610 from privateip/ops_config
...
update ops_config module with new enhancements
2016-08-31 22:05:47 -04:00
Senthil Kumar Ganesan
51c13ad82d
Cleaned up the module imports
2016-08-31 14:39:16 -07:00
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
2016-08-31 15:01:16 -04:00
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
2016-08-31 14:19:31 -04:00
Peter Sprygada
6f9ab60f81
Merge pull request #4615 from ansible/gundalow-patch-2
...
Consistent naming of Arista EOS device
2016-08-31 14:16:28 -04:00
GGabriele
7f02615fd9
Fixing DOC string
2016-08-31 18:46:46 +02:00
GGabriele
1358e0fd91
Fixing RETURN string
2016-08-31 18:44:04 +02:00
GGabriele
84de0c5c57
Fixing RETURN string
2016-08-31 18:43:05 +02:00
GGabriele
e1e0e2b045
Adding nxos_ospf_vrf module
2016-08-31 18:38:45 +02:00
GGabriele
69000b82b5
Adding nxos_ospf module
2016-08-31 18:12:26 +02:00
GGabriele
84d957beaa
Adding nxos_evpn_global module
2016-08-31 17:54:06 +02:00
GGabriele
7af4081401
Fixing typo
2016-08-31 17:35:56 +02:00
GGabriele
224a47b718
Adding nxos_acl_interface_module
2016-08-31 17:31:09 +02:00
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.
2016-08-31 08:16:01 -07:00
GGabriele
d2135c7098
Adding RETURN string
2016-08-31 16:58:04 +02:00
GGabriele
7d7357bbb6
Fixing DOCSTRING
2016-08-31 16:45:45 +02:00
GGabriele
cf32ae0290
Adding nxos_acl module
2016-08-31 16:37:09 +02:00
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
2016-08-31 09:37:23 -04:00
John R Barker
ec1c490888
Consistent naming of Arista EOS device
2016-08-31 14:31:16 +01:00
GGabriele
166c2d0272
Fixing string case
2016-08-31 14:58:04 +02:00
Senthil Kumar Ganesan
2a06a594ec
Incorporated Ansible community feedback
2016-08-30 20:06:52 -07:00
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
2016-08-30 23:00:02 -04:00
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
2016-08-30 19:59:28 -04:00
Peter Sprygada
38fd67bead
Merge pull request #4608 from privateip/ios_command
...
removes output keyword from command in ios_command
2016-08-30 17:19:57 -04:00
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
2016-08-30 17:14:33 -04:00
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)
2016-08-30 20:05:18 +01:00
Timothy Appnel
2538c70d46
Fixes get_url examples in docs and applies native YAML syntax. ( #4474 )
2016-08-30 20:04:03 +01:00
GGabriele
1083a9e7ea
Fixing conditional format
2016-08-30 14:22:26 +02:00
GGabriele
17dfe863ec
Fixing DOC
2016-08-30 14:08:53 +02:00
GGabriele
228269f093
Fixing DOC
2016-08-30 14:02:54 +02:00
GGabriele
405d3bfc5b
Adding nxos_bgp.py
2016-08-30 13:30:38 +02:00
Senthil Kumar Ganesan
b7480a34d5
Moved the modules to Dell folder
2016-08-29 21:57:06 -07:00
Senthil Kumar Ganesan
6152328abb
Added Command and Config modules to support Dell Networking OS10 device
2016-08-29 21:10:29 -07:00
Peter Sprygada
12122952db
Merge pull request #3950 from grybak-arista/eos_exit_fix
...
Move call to filter_exit out of command execution block
2016-08-29 10:43:21 -04:00
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)
2016-08-27 08:47:42 -04:00
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
a093fb1c83
Merge pull request #4566 from privateip/iosxr_template
...
update iosxr_template to use network shared modules
2016-08-26 21:39:23 -04:00
Peter Sprygada
13cfc911b4
Merge pull request #4567 from privateip/ios_template
...
update ios_template module using refactored network shared modules
2016-08-26 21:39:00 -04:00
Peter Sprygada
f33b232819
Merge pull request #4568 from privateip/eos_template
...
update eos_template for network shared module
2016-08-26 21:38:30 -04:00
Peter Sprygada
97b231561b
Merge pull request #4569 from privateip/nxos_template
...
update nxos_template module with network shared module changes
2016-08-26 21:38:20 -04:00
Peter Sprygada
49414a4c83
Merge pull request #4549 from privateip/nxos_facts
...
updates nxos_facts with more fact collections
2016-08-26 21:38:09 -04:00
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
2016-08-26 16:37:59 -04:00
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)
2016-08-26 16:19:22 -04:00
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
2016-08-26 16:05:46 -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
Jason Edelman
22772e75cf
removed feature check for nxos_interface
2016-08-26 13:27:26 -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
84d69ee51b
Merge pull request #4551 from privateip/eos_facts
...
add new eos_facts module for fact collect of EOS nodes
2016-08-26 11:25:59 -04:00
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
2016-08-26 09:12:52 -04:00
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)
2016-08-26 09:11:50 -04:00
Peter Sprygada
44adf4195b
Merge pull request #4523 from privateip/vyos_config
...
updates to vyos_config module arguments
2016-08-26 09:09:51 -04:00
Peter Sprygada
e3b7bf0bf9
update RETURNS doc string in ios_facts
...
updates the doc string for consistency and completeness
2016-08-25 20:01:07 -04:00
Peter Sprygada
ef84dbbddd
Merge pull request #4536 from privateip/sros
...
initial add of network/sros modules
2016-08-25 12:21:27 -04:00
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
2016-08-25 12:13:24 -04:00
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
2016-08-25 11:43:03 -04:00
Peter Sprygada
55191c77b8
Merge pull request #4524 from privateip/vyos_command
...
added new functionality to vyos_command
2016-08-24 17:11:03 -04:00
Peter Sprygada
a3931f9315
Merge pull request #4509 from privateip/iosxr_command
...
add new functionality to iosxr_command module
2016-08-24 17:10:46 -04:00
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
2016-08-24 10:37:51 -04:00
Peter Sprygada
5dad16e914
Merge pull request #4501 from privateip/eos_command
...
add new functionality to eos_command module
2016-08-23 15:21:09 -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
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.
2016-08-23 09:23:00 -04:00
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
2016-08-22 20:18:47 -04:00
Peter Sprygada
18e53bc804
fix example in nxos_command module
2016-08-22 16:42:12 -04:00
Peter Sprygada
7c4618d8c2
Merge pull request #4485 from privateip/nxos_config
...
update nxos_config with new arguments
2016-08-22 15:43:53 -04:00
Peter Sprygada
c23f57c0ef
Merge pull request #4482 from privateip/ios_config
...
merge functions from ios into ios_config
2016-08-22 15:43:36 -04:00
Peter Sprygada
23f067a0ec
Merge pull request #4484 from privateip/nxos_command
...
added new functionality to nxos_command
2016-08-22 15:43:26 -04:00
codyrat
50133f1ed6
re.match for numeric only for kwargs[key] = int(value) ( #4495 )
2016-08-22 15:00:33 -04:00
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.
2016-08-22 14:01:06 -04:00
Peter Sprygada
9e241129fe
Merge pull request #4481 from privateip/ios_facts
...
fixes issue with duplicated commands in CommandRunner
2016-08-22 12:33:29 -04:00
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.
2016-08-22 11:58:36 -04:00
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.
2016-08-22 11:46:27 -04:00
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
2016-08-21 08:50:59 -04:00
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
2016-08-20 08:11:20 -04:00
Jason Edelman
5dc29dbc8b
added a period
2016-08-18 07:21:32 -04:00
Jason Edelman
d49d61784f
make aliases a list in the docstring
2016-08-18 07:00:19 -04:00
Jason Edelman
164021a6a8
remove commented out code, add alias, and doc
2016-08-18 06:53:04 -04:00
Jason Edelman
c009fe7e66
updated version_added for new param
2016-08-17 19:43:32 -04:00
Jason Edelman
996a34fbf7
fixed error handling
2016-08-17 19:19:07 -04:00
Jason Edelman
b8f6e130ed
fixed docs
2016-08-17 19:15:25 -04:00
Jason Edelman
160fd0126f
improve functionality for vlan trunks based on #4082
2016-08-17 19:11:50 -04:00
Roman
78adaf2116
get_url headers param values parsing ( #4245 )
2016-08-10 23:49:58 +02:00
Peter Sprygada
3480561254
Merge pull request #4319 from gundalow/docs-cumulus
...
Cumulus - consistent docs formatting
2016-08-09 07:52:59 -04:00
Peter Sprygada
4c5ad987ce
Merge pull request #4303 from gundalow/docs-eos
...
General EOS documentation improvements
2016-08-09 07:52:26 -04:00
Peter Sprygada
0bb0c1b2d8
Merge pull request #4323 from Qalthos/ios_config_bugfix
...
Fix ios_config broken logic
2016-08-09 07:38:38 -04:00
Peter Sprygada
1a71fff02b
Merge pull request #4341 from gundalow/docs-vyos
...
vyos: Docs fixes
2016-08-09 07:38:08 -04:00
Peter Sprygada
3d37d5c835
Merge pull request #4338 from gundalow/docs-openswitch
...
openswitch: Docs fixes
2016-08-09 07:37:22 -04:00
Peter Sprygada
56a59824b2
Merge pull request #4336 from gundalow/docs-nxos
...
NXOS Docs update
2016-08-09 07:36:21 -04:00
Peter Sprygada
04b200059d
Merge pull request #4326 from gundalow/docs-junos
...
junos: Docs update
2016-08-09 07:35:26 -04:00
Alvaro Aleman
12b579f92d
Make ios_command example working
2016-08-08 14:42:39 +02:00
John R Barker
d05ed8e2d8
ios & iosxr Documentation improvements ( #4321 )
2016-08-05 19:26:09 -04:00
John R Barker
4148b74433
Update junos_config.py
2016-08-05 17:01:52 +01:00
John R Barker
5f02f54ff9
Update junos_config.py
2016-08-05 16:38:58 +01:00
John Barker
4d0f5cc3f5
vyos: Docs fixes
2016-08-05 15:14:04 +01:00
John Barker
d45a75bc01
openswitch: Docs fixes
2016-08-05 14:40:52 +01:00
John Barker
d319328d03
NXOS Docs update
2016-08-05 13:01:13 +01:00
John Barker
bd08631e58
junos: Docs update
2016-08-04 17:16:38 +01:00
Nathaniel Case
8bb4b9818c
Fix ios_config broken logic
2016-08-04 11:24:28 -04:00
John Barker
5599ab14f6
Cumulus - consistent docs formatting
2016-08-04 12:18:06 +01:00
Nathaniel Case
104d753730
Quick fix to nxos_command and minify imports
2016-08-03 18:06:33 -04:00
John R Barker
4ebcdf3efd
Merge pull request #4115 from bordeltabernacle/fix/network_module_typos
...
Fix/network module typos
2016-08-03 10:15:05 -07:00
Kevin Kirsche
9a369b3f1f
Update junos_config.py
2016-08-02 17:35:02 -04:00
Kevin Kirsche
9f8bc0158c
Fix typo in "ssantaize" typo
...
ssantaize to santaize
2016-08-02 17:32:52 -04:00
John Barker
79c55534fc
General EOS documentation improvements
...
Typos, formatting, choices.
2016-08-02 21:46:08 +01:00
John R Barker
280522914c
State runnng v running
...
Fix typo
2016-08-02 18:20:13 +01:00
Rob Phoenix
aedf21b285
various typo corrections to ios network modules
2016-07-27 09:14:06 +01:00
Peter Sprygada
3d65c82d7c
Merge pull request #4196 from privateip/ios_config
...
adds update_config argument to ios_config
2016-07-15 18:03:25 -04:00
Peter Sprygada
fb3916f002
adds update_config argument to ios_config
...
New argument controls whether or not configuration is applied to the
remote device.
2016-07-15 17:56:34 -04:00
Peter Sprygada
fe76a74e8c
initial add of new module vyos_config
...
New module for sending configuration commands to remote devices running
the VyOS operating system.
2016-07-15 16:11:44 -04:00
Peter Sprygada
800bd92026
Merge pull request #4187 from privateip/vyos_facts
...
WIP initial add of new module vyos_facts
2016-07-15 05:25:53 -07:00
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
2016-07-15 07:59:49 -04:00
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.
2016-07-14 07:14:30 -07:00
Peter Sprygada
1240529613
Merge pull request #4180 from privateip/ios_command
...
removes unneeded check_args function from ios_command
2016-07-13 14:54:04 -07:00
Peter Sprygada
6a8750fe4b
Merge pull request #4181 from privateip/ios_config
...
bug fix in ios_config module for handling config contents
2016-07-13 14:51:32 -07:00
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.
2016-07-13 14:45:26 -07:00
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.
2016-07-13 14:44:03 -07:00
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
2016-07-11 07:25:04 -07:00
Peter Sprygada
359f1747be
Merge pull request #4153 from privateip/ios_command
...
fix up ios_command to use NetworkModule
2016-07-11 09:57:39 -04:00
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
2016-07-11 06:01:32 -07:00
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)
2016-07-11 05:58:12 -07:00
Peter Sprygada
b2202c6da8
update ios_facts module to use NetworkModule
...
minor update to ios_facts to remove get_module() in favor of NetworkModule
2016-07-10 12:38:08 -04:00
Peter Sprygada
25e98e869f
Merge pull request #4124 from privateip/ios_facts
...
initial add of ios_facts module
2016-07-07 17:10:29 -04:00
Peter Sprygada
8655dc4aaf
Merge pull request #4123 from privateip/ios_command
...
refactor ios_command to use CommandRunner class
2016-07-07 17:10:04 -04:00
Peter Sprygada
1ba45c1d03
Merge pull request #4065 from privateip/eos_command
...
refactor the eos_command module to use the CommandRunner
2016-07-07 17:06:29 -04:00
Peter Sprygada
4f8f8f1998
initial add of ios_facts module
...
This adds the new module ios_facts for collect fact information from
ios devices
2016-07-06 21:30:55 -04:00
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
2016-07-06 21:28:48 -04:00
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
2016-07-06 15:24:46 -04:00
Stian Vikan
1e74d4c9a6
Fixed delete statement for juniper_config.py #4007 #3984
2016-06-24 16:06:25 +02:00
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).
2016-06-14 10:09:23 -06:00
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
2016-06-13 15:52:57 -04:00
Brian Coca
172bd21f41
Revert "Add mode option to the list" ( #3946 )
2016-06-13 15:48:43 -04:00
Victor Bocharsky
3573223aeb
Add mode option to docstring for get_url ( #3630 )
...
Add mode option to the list
2016-06-13 15:36:23 -04:00
jctanner
4a3916bd46
Use the six import for urlsplit instead of importing directly. ( #3902 )
...
Fixes https://github.com/ansible/ansible/issues/16191
2016-06-09 13:25:17 -04:00
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
2016-06-07 21:43:17 -04:00
Toshio Kuratomi
cb1093e085
Fix the six import
2016-06-04 10:49:13 -07:00
Toshio Kuratomi
469169f654
Be sure to import urllib.parse from somewhere
2016-06-04 08:49:24 -07:00
Gabriele
8cb463d250
Fixing bug, added missing param ( #3737 )
2016-05-27 06:56:03 +02:00
Wolfgang Powisch
061555cefb
Update junos_facts.py ( #3759 )
2016-05-26 19:19:04 -04:00
Peter Sprygada
39693305cf
Merge pull request #3623 from ocadotechnology/wip-3621
...
junos_template: Simplify arguments. Fixes #3621
2016-05-23 09:22:55 -04:00
Michael Scherer
cc99fe24fc
Convert the network subfolder to py3/py2.4 syntax ( #3690 )
2016-05-18 09:08:30 -07:00
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.
2016-05-18 07:01:38 -07:00
Peter Sprygada
1ab2c3a737
Merge pull request #3627 from xmj/devel
...
network/*/*_config.py: Correct typo.
2016-05-18 07:03:39 -04:00
Peter Sprygada
f71e00f0bf
Merge pull request #3612 from dharmabumstead/devel
...
Fixed typos
2016-05-18 06:59:09 -04:00
Michael Scherer
4c569fd535
Add a test on jnpr.junos.utils.sw presence ( #3666 )
2016-05-17 10:04:16 -07:00
Toshio Kuratomi
298fd0ae56
Docs fixes
2016-05-13 11:01:19 -07:00
Brian Coca
9ae898c902
made note about slurp memory consumption
2016-05-12 14:44:21 -04: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
Mike Bryant
46957b167e
junos_template: Simplify arguments. Fixes #3621
...
Simplify the arguments to junos_template, such that
merge/overwrite/replace can be selected easily.
2016-05-09 23:31:11 +01:00
Scott Butler
7d09339d31
Fixed typos
2016-05-06 14:34:31 -07:00
John R Barker
bb9572ca86
ansible-validate-modules part 4: Enable check on ansible-modules-core ( #3526 )
...
* Call ansible-validate-modules
* Correct quotes + add newline
2016-05-03 07:51:12 -07:00
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.
2016-04-27 10:39:51 -04:00
jedelman8
3ebb693777
add nxos_interface
2016-04-26 05:25:48 -07:00
James Cammarata
b1641ec486
Remove extraneous debug stuff from uri module left over from testing
2016-04-25 14:34:27 -04:00
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
2016-04-25 14:19:03 -04:00
Nathaniel Case
b466f7bbe2
Remove unnecessary exception from nxos_command ( #3521 )
2016-04-25 13:26:06 -04:00
Peter Sprygada
426e9a357d
Merge pull request #3473 from networktocode/nxos_ping
...
nxos_ping
2016-04-25 12:34:22 -04:00
Peter Sprygada
7a475d06f0
Merge pull request #3477 from networktocode/nxos_vrrp
...
nxos_vrrp
2016-04-25 12:00:44 -04:00
Peter Sprygada
d526770ca9
Merge pull request #3475 from networktocode/nxos_vrf_interface
...
nxos_vrf_interface
2016-04-25 11:57:37 -04:00
Peter Sprygada
0cb22ea123
Merge pull request #3476 from networktocode/nxos_vrf
...
nxos_vrf
2016-04-25 11:56:15 -04:00
Peter Sprygada
b66766bf19
Merge pull request #3516 from networktocode/nxos_ip_interface
...
nxos_ip_interface
2016-04-25 11:54:06 -04:00
Peter Sprygada
66a43b0695
Merge pull request #3468 from networktocode/nxos_switchport
...
add nxos_switchport module
2016-04-25 11:51:21 -04:00
Peter Sprygada
2a6173feef
Merge pull request #3470 from networktocode/nxos_feature
...
nxos_feature
2016-04-25 11:50:13 -04:00
Peter Sprygada
0cdd12cf22
Merge pull request #3467 from networktocode/nxos_vlan
...
add nxos_vlan module
2016-04-25 11:47:57 -04:00
Peter Sprygada
ea3c4a9466
Merge pull request #3471 from networktocode/nxos_get_facts
...
nxos_get_facts
2016-04-25 11:43:45 -04:00
Peter Sprygada
b80929bf0b
adds new module junos_package
...
the new module allows playbook designers to manage packages on remote
devices running junos.
2016-04-24 22:04:33 -04:00
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.
2016-04-24 21:37:29 -04:00
Peter Sprygada
5814748b4d
add support for netconf to junos_config
...
The junos_config module now supports the netconf transport.
2016-04-24 14:12:06 -04:00
Peter Sprygada
9b5c71ec03
Merge pull request #3534 from privateip/junos_template
...
add support for netconf to junos_template
2016-04-24 13:13:24 -04:00
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
2016-04-24 11:48:08 -04:00
Peter Sprygada
36755e5fe2
Merge pull request #3532 from privateip/junos_command
...
fixes docstring format in junos_command
2016-04-24 09:11:30 -04:00
Peter Sprygada
14ea46199a
Merge pull request #3519 from privateip/junos_facts
...
adds new junos_facts module
2016-04-24 09:08:07 -04:00
Peter Sprygada
2d9c3c02e5
fixes docstring format in junos_command
2016-04-24 08:39:30 -04:00
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
2016-04-24 08:32:47 -04:00
Peter Sprygada
c41cb48007
Merge pull request #9 from dgarros/junos_modules
...
Add support for xml, set and text format for config
2016-04-24 07:58:56 -04:00
Peter Sprygada
297b93dd1b
Merge pull request #3520 from privateip/junos_netconf
...
adds new module junos_netconf used for configuring netconf services
2016-04-24 07:36:53 -04:00
GGabriele
b6b75720ec
Fixed doc
2016-04-23 13:36:03 +02:00
GGabriele
3c91dc1f79
Removed old file
2016-04-22 22:44:38 +02:00
GGabriele
7408c8ab14
Changed module name to nxos_facts
2016-04-22 22:42:17 +02:00
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.
2016-04-22 15:39:38 -04:00
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
2016-04-22 15:38:18 -04:00
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
2016-04-22 15:35:35 -04:00
jctanner
804a8e6378
Fix status check on get_url with file schemas and update the examples. ( #3512 )
...
Addresses #3511
2016-04-21 16:28:29 -04:00
GGabriele
0f57bb1513
Fixing bugs
2016-04-21 16:01:04 +02:00
GGabriele
c25610777f
Adding nxos_ip_interface
2016-04-21 10:48:45 +02:00
Brian Coca
c64b7a71fb
removed usless default doc
2016-04-19 17:48:11 -04:00
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.
2016-04-19 17:46:34 -04:00
GGabriele
1977be60b2
Adding nxos_vrrp
2016-04-19 21:00:36 +02:00
GGabriele
e7fbafce14
Adding nxos_ping
2016-04-19 20:55:25 +02:00
jedelman8
ef904f67a6
fix index for portchannel
2016-04-19 10:01:18 -07:00
GGabriele
bbe85bf1fa
fix conditional for py24
2016-04-19 14:59:01 +02:00
GGabriele
2466e407f4
fix conditional for py24
2016-04-19 14:57:06 +02:00
GGabriele
14e334285f
fix conditional for py24
2016-04-19 14:53:49 +02:00
GGabriele
67d416576f
fix conditional for py24
2016-04-19 14:48:53 +02:00
jedelman8
1e5dd9674e
fix docstring
2016-04-19 05:48:50 -07:00
jedelman8
8a8025ba2d
fix conditional for py24
2016-04-19 05:43:23 -07:00
jedelman8
30a6984983
force travis build
2016-04-19 05:40:28 -07:00
jedelman8
f9f894ef95
fix conditional for py24
2016-04-19 05:34:59 -07:00
jedelman8
8a53755a61
minor test
2016-04-19 05:12:33 -07:00
jedelman8
ed421149e6
update return doc string
2016-04-18 13:18:30 -07:00
jedelman8
ea5ed26e04
update return doc string
2016-04-18 13:17:06 -07:00
GGabriele
091c5b6a4e
Fixed RETURN string
2016-04-18 18:00:47 +02:00
GGabriele
026ddfcc46
Fixed RETURN string
2016-04-18 16:50:26 +02:00
GGabriele
6afeb471ad
Fixed RETURN string and added notes
2016-04-18 16:48:39 +02:00
GGabriele
36942ec24b
Fixed RETURN string
2016-04-18 16:28:15 +02:00
GGabriele
fff9c9ed44
Fixing nxos_vrf
2016-04-18 15:48:37 +02:00
GGabriele
6a412e55e9
Adding nxos_vrf_interface
2016-04-18 15:27:21 +02:00
GGabriele
3c51d11244
Adding nxos_vrf
2016-04-18 15:25:35 +02:00
GGabriele
da0ed0ce9b
Adding nxos_get_facts
2016-04-18 15:21:53 +02:00
GGabriele
101ce75342
Addng nxos_feature
2016-04-18 15:20:05 +02:00
Kei Nohguchi
795b3c25cd
ops_template.py: Taking care of the JSON src variable ( #3313 )
...
* ops_template.py: Taking care of the JSON src variable
* ops_template.py: Specify type='str' for src argument to be explicit
2016-04-16 22:04:37 +02:00
jedelman8
5531b1c3fc
add nxos_vlan
2016-04-15 12:32:06 -07:00
jedelman8
4672809bf3
add nxos_switchport
2016-04-15 12:29:55 -07:00
Patrick Ogenstad
5409ed1b28
Fix documentation example, missing ")"
2016-04-14 23:01:59 +02:00
Matt Davis
6d0e9327e3
Merge pull request #3342 from gundalow/docsfix
...
ansible-validate-modules part 1: Correct documentation
2016-04-12 12:26:27 -07:00
Peter Sprygada
6b8a92045f
handles config replace properly in eos_template
...
fixes 3366
2016-04-05 22:58:04 -04: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
25baca1eb8
refactors nxos_template and removes diff functions
...
replaces the diff functions with the netcfg shared module for handling
configuration diff
2016-04-04 08:16:03 -04:00
Peter Sprygada
639e324fdb
refactors nxos_config and removes diff functions
...
this refactors the nxos_config module removing the diff functions and
replacing with the netcfg shared module
2016-04-04 08:15:51 -04:00
Peter Sprygada
11c00c2278
cleans up nxos_command and adds some additonal info on exception
...
This cleans up some of the nxos_command module code function names to
be more consistent and adds additional information of failures
2016-04-04 08:15:43 -04:00
Peter Sprygada
ad519c2f5c
refactors eos_template to remove diff functions
...
replaces functions with netcfg shared library for handling configuration
diffs
2016-04-04 07:21:00 -04:00
Peter Sprygada
5d0ee49067
refactors eos_config to remove config diff functions
...
replaces with netcfg shared library for handling configuration diffs
2016-04-04 07:20:48 -04:00
Peter Sprygada
c500b2ff99
refactors the ios_template module to use netcfg diff
...
removes the functions for performing configuration diffs to use the
netcfg shared lib
2016-04-04 07:02:58 -04:00
Peter Sprygada
df32f64898
refactor ios_config to use netcfg diff shared lib
...
Move the configuration diff code from the module to the shared lib
2016-04-04 07:02:48 -04:00
Toshio Kuratomi
a2f41dfb04
Give headers a default so that we can add to it.
2016-03-24 07:24:28 -07:00
Peter Sprygada
bff7cb6cad
fixes #3274
2016-03-21 07:08:23 -05:00
Toshio Kuratomi
d71b9bae89
If file attribs are specified set them even if file already exists.
...
Fixes #11821
2016-03-20 07:36:06 -07:00
Toshio Kuratomi
eebd6c93ba
Fix documentation
2016-03-18 07:51:58 -07:00
James Cammarata
d7422c02ad
Merge pull request #3010 from grybak-arista/exit-filter
...
Filter exit commands when no other commands are included
2016-03-17 13:11:30 -04:00
Peter Sprygada
eef9c54874
update to nxos_command with additional exception handling
...
This update adds exception handling to catch errors when trying to parse
command output to json. It also removes the dependency on importing json
opting to use the AnsibleModule methods instead
2016-03-13 16:27:21 -07:00
Peter Sprygada
f46ebf2c30
Merge pull request #3141 from privateip/module_ops_command
...
initial add of ops_command module
2016-03-11 23:11:43 -05:00
Peter Sprygada
154fc16b0e
Merge pull request #3142 from privateip/module_ops_config
...
initial add of ops_config module
2016-03-11 22:58:32 -05:00
Peter Sprygada
c0de719539
Merge pull request #3222 from jrk07/patch-1
...
Merged thanks @jrk07
2016-03-11 22:29:11 -05:00
Peter Sprygada
d4e687f894
doc string fixes for eos_config
...
This updates eos_config with some fixes to the documentation string
2016-03-11 22:11:20 -05:00
Peter Sprygada
416dd73b09
bugfix in eos_template for backing up config
...
eos_template would connect to the remote device to get the running config
for backup even if backup is not needed.
2016-03-11 22:11:12 -05:00
Peter Sprygada
cf3287b312
minor function clean ups in eos_command
...
This commit cleans up a couple of functions and removes the json
import to use the json methods from AnsibleModule
2016-03-11 22:10:59 -05:00
jrk07
3cc277bc08
Doc Update: ios_template.py title and example
...
ios_template.py was named ios_config when viewing docs. The examples also had net_config still. Updated those here.
2016-03-10 12:54:41 -08:00
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.
2016-03-10 13:34:04 -05:00
Peter Sprygada
11056c8ed2
bugfix for handling match=strict in eos_config
...
Resolves an issue where match=strict would act like match=exact when
evaluating the configuration
2016-03-10 13:33:48 -05: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
a7f67921fd
bugfix for handling match=strict in nxos_config
...
Resolves an issue where match=strict would act like match=exact when
evaluating the configuration
2016-03-10 13:33:33 -05:00
Peter Sprygada
c17a2c0206
Merge pull request #3138 from privateip/module_ops_template
...
refactor arguments in ops_template
2016-03-09 22:15:53 -05:00
Matt Martz
3c59eedb9b
Don't pass follow_redirects to fetch_url, use module.params instead
2016-03-07 15:34:22 -06:00
Peter Sprygada
b7d7bfa0b1
initial add of ops_config module
...
This commit adds a new module, ops_config, that allows playbook designers
to create tasks for configuring OpenSwitch over the CLI. The module
is designed to work directly with configuration mode in OpenSwitch and
therefore only supports the CLI transport option
2016-03-07 06:43:14 -05:00
moyashiki
e851e91b49
Fix ios_command fix
...
This is not valid YAML commands. So fix it.
2016-03-02 22:13:03 +09:00
Sam Wilson
23b98dae3e
Fixed BOOLEANS rendering in docsite
2016-03-02 08:38:35 +11:00
Brian Coca
0bbb7ba38d
Merge pull request #3135 from mscherer/improve_uri_doc
...
Fix non RFC 2606 domain name in doc
2016-02-29 17:52:35 -05:00
Peter Sprygada
1de18ca36b
initial add of ops_command module
...
This commit adds a new module, ops_command, that handles executing commands
on OpenSwitch over the CLI. Since this module is designed to work with the
OpenSwitch CLI, it only supports the CLI transport option
2016-02-29 11:15:29 -05:00
Toshio Kuratomi
7088f72742
At least for now, set body to raw as it can be either a dict or jsonified-str
...
Since our validation does conversion as well as validation, I'm not sure
this is entirely correct. May need to take a look at our conversion
code and re-examine to be sure we're doing it right.
2016-02-29 07:20:39 -08:00
Toshio Kuratomi
3853d2a9a6
Change parameter to type=path
...
Read as binary for python3 preparedness
2016-02-29 00:38:10 -08:00
Peter Sprygada
b3f232434a
refactor arguments in ops_template
...
This commit refactors the arugments used in ops_template to be strictly
typed and handle by declarative / rest and cli based configurations. It
also removes old arguments not supported and cleans up the documentation
strings
2016-02-28 23:44:17 -05:00
Michael Scherer
d81a6740ec
Fix non RFC 2606 domain name in doc
2016-02-28 11:51:17 +01:00
Peter Sprygada
616b7564ef
fixes issue with return docstring
...
This commit fixes an issue with the return doc string. The old line
was removed that would prevent the docs form being built correctly
2016-02-26 11:07:25 -05:00
Brian Coca
011c558927
corrected version added
2016-02-24 21:30:09 -05:00
Brian Coca
7162623e86
Merge pull request #2913 from msvab/devel
...
Clarify get_url timeout documentation
2016-02-23 13:30:39 -05:00
Matt Martz
adf2125339
Indicate in notes that the dependency on httplib2 was removed for v2.1
2016-02-23 11:53:02 -06:00
Matt Martz
7f206fdfe8
Drop dependency on httplib2 in the uri module, instead using ansible.module_utils.urls
2016-02-23 10:35:11 -06:00
Brian Coca
148fa183de
Merge pull request #3014 from bcoca/uri_fixes
...
fixes for uri module
2016-02-23 11:23:10 -05:00
Peter Sprygada
7a19e16dca
minor bugfixes for junos_config return values
...
The junos_config now properly returns updates and reponses
2016-02-20 16:25:57 -05:00
Peter Sprygada
87cee15a85
initial add of ops_template module
...
This adds a new module ops_template used for configuring OpenSwitch
using local declarative config modules
2016-02-17 16:23:41 +00:00
Peter Sprygada
567e09c933
bugfix for missing function name in ios_command
...
This provides a minor bugfix for a missing function name in the ios_command
network module
2016-02-17 13:49:08 +00:00
Matt Martz
c7845456a6
Various simple linting type cleanups on modules
2016-02-16 15:58:44 -06: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
Peter Sprygada
af40116e23
update junos_command module return values
...
This minor update fixes the return values from the junos_command module
to be consistent with other network modules
2016-02-12 16:43:08 -05:00
Peter Sprygada
b7114cc783
update ios_command module return values
...
This minor change updates the return values and doc string for the
ios_command module to be consistent with other network modules
2016-02-12 16:42:14 -05:00
Peter Sprygada
c90181c64e
Merge pull request #2999 from chouseknecht/ios_commnad_init
...
Add ios_command module
2016-02-12 07:24:37 -05:00
Peter Sprygada
5626fb38fa
add init to network/cumulus and reset module attrs
...
The modules were merged in without an __init__.py. This adds the module
iniit and resets all of the module attrs to 0644
2016-02-12 07:12:56 -05:00
Peter Sprygada
b54a5de6c6
Merge pull request #2880 from CumulusNetworks/cumulus-core-modules
...
Adding files to ansible core modules.
2016-02-12 07:07:18 -05:00
Peter Sprygada
0d1bf50ca1
add package init to junos/
2016-02-11 07:26:54 -05:00
Peter Sprygada
96986b6448
initial add of junos_config module
...
This adds a new module, junos_config, useed to configure Juniper JUNOS based
devices. The config module can be used to set an ordered set of set and
delete statements over a cli transport
2016-02-11 07:07:55 -05:00
Peter Sprygada
ab31397a7d
initial add of junos_template
...
This adds a new module, junos_template, that can read in a template
config and push the changes to the device. It can also backup the
current config. This module is implemented over cli
2016-02-11 07:07:27 -05:00
Peter Sprygada
8c46a08379
initial add of junos_command module
...
This adds a new module, junos_command that can be used for sending commands
to Juniper JUNOS based devices. The junos_command module is implemented
over a cli transport
2016-02-11 07:07:14 -05:00
chouseknecht
a4f67a4ef2
Add ios_commnand module.
2016-02-11 01:17:52 -05:00
chouseknecht
573ba42b03
Moved Conditional class to netcfg.
2016-02-11 01:17:52 -05:00
Brian Coca
f5a374103f
fixes for uri module
...
- clarify docs on body_json behaviour
- only tranform into json if body input is not a string
users keep passing json string and expecint it to not be jsonified again
- fixed issue with removes not handling path expansion correctly
- switched all path variables to 'type path' to handle expansions
2016-02-11 01:09:20 -05:00
Gary Rybak
373961da04
Add filter to eos_template to remove configuration mode command
...
followed immediately by an exit command indented one level.
2016-02-10 17:21:24 -07:00
Peter Sprygada
e6460906fd
update eos_config doc string and return values
...
This change update the return values from eos_config to be consistent with
all network config modules. This will now return updates and responses
from the module
2016-02-09 15:10:05 -05:00
Peter Sprygada
d66a0cbe3f
update eos_template doc string and return values
...
This updates the return values form eos_template to be consistent
across all template modules. This change now returns updates and
respones
2016-02-09 15:07:55 -05:00
Peter Sprygada
624d1e38b8
update eos_command doc strings and return values
...
This change updates the returns values from eos_command to be consistent
with network modules. It now returns stdout, stdout_lines and failed_conditionals
2016-02-09 15:07:06 -05:00
Peter Sprygada
d8615683e5
update nxos_config doc strings and return values
...
This commit unifys the return values for the nxos_config module to always
return updates and responses
2016-02-09 14:59:23 -05:00
Peter Sprygada
ef89e0eee6
update nxos_template doc strings and return values
...
This updates the nxos_template doc string to unify the return values
across all network modules. This change now returns stdout, stdout_lines
and failed_conditionals
2016-02-09 14:58:31 -05:00
Peter Sprygada
c566cb3277
update nxos_command doc strings and return values
...
This modifies the return values to make them consistent across all
network command modules. The module now returns stdout, stdout_lines
and failed_conditionals
2016-02-09 14:57:31 -05:00
Peter Sprygada
e010a7b240
update ios_template doc strings and return values
...
Sets the return values from ios_template to be consistent with the rest
of the network modules. Return values are now updates and responses
2016-02-09 14:38:42 -05:00
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
2016-02-09 14:37:16 -05:00
Peter Sprygada
08fd378479
Merge pull request #2909 from chouseknecht/eos_api_module
...
Eos api module
2016-02-08 07:13:41 -05:00
chouseknecht
4e614d36bc
Adding eos_eapi module.
2016-02-07 12:01:26 -05:00
chouseknecht
f5a92e3565
Adding nxos_nxapi module.
2016-02-07 11:37:03 -05:00
Peter Sprygada
6c486cd341
bug fix for eos_config module
...
This addresses a bug in the eos_config module that would prevent it
from running properly. The module should now properly process the config
and the candidate
2016-02-06 09:09:29 -05:00
Peter Sprygada
23f1d20a5c
initial add of ios_template module
...
This adds a new module for working with IOS devices and building configurations
using templates.
2016-02-06 08:19:01 -05:00