Commit graph

727 commits

Author SHA1 Message Date
GGabriele
3051d22d4f Improved config function 2016-09-06 12:46:57 +02:00
GGabriele
ecc1894346 Improved config function 2016-09-06 12:45:47 +02:00
GGabriele
b7031c8102 Improved config function 2016-09-06 12:45:09 +02:00
GGabriele
fae497122f Improved config function 2016-09-06 12:44:02 +02:00
GGabriele
055c273f5f Improved config function 2016-09-06 12:42:58 +02:00
GGabriele
d1d69e8e38 Improved config function 2016-09-06 12:42:14 +02:00
GGabriele
fb91c9ed72 Improved config function 2016-09-06 12:40:30 +02:00
GGabriele
bca384a3a6 Improved config function 2016-09-06 12:36:16 +02:00
GGabriele
75a107161d Improved config function 2016-09-06 12:33:10 +02:00
GGabriele
9a5338e52f Improved config function 2016-09-06 12:32:11 +02:00
GGabriele
01f3783e7b Improved config function 2016-09-06 12:31:15 +02:00
GGabriele
d183f22147 Improved config function 2016-09-06 12:29:30 +02:00
GGabriele
33d1150033 Improved config function 2016-09-06 12:22:56 +02:00
GGabriele
1a5c9d5134 Removed newline 2016-09-06 09:18:56 +02:00
GGabriele
ab00ee0433 Fixed docstring 2016-09-06 09:13:37 +02:00
GGabriele
e9e1635f9c Added missing fullstop 2016-09-06 09:03:36 +02:00
Peter Sprygada
e5419a2738 fixes issue where the configobjs are not deserialized to a list
When the configuration is compared and the results deserialized, the
dumps() function returns a string.  This cohereces the return to a list
in case before and/or after needs to be applied

fixes 4707
2016-09-05 15:44:21 -04:00
GGabriele
63efe23ca3 Fixed docstring 2016-09-05 18:34:08 +02:00
GGabriele
6bf9e99a5a Fixed docstring 2016-09-05 18:30:18 +02:00
GGabriele
3496a4873a Fixed docstring 2016-09-05 18:23:01 +02:00
GGabriele
fae1d3019f Fixed docstring 2016-09-05 18:19:22 +02:00
GGabriele
23de38d9d6 Fixed docstring 2016-09-05 18:17:24 +02:00
GGabriele
398e825c1b Fixed docstring 2016-09-05 18:02:05 +02:00
GGabriele
3d8ae4ab6a Fixed docstring 2016-09-05 18:00:27 +02:00
GGabriele
9d1ffd3ccc Fixed docstring 2016-09-05 17:58:27 +02:00
GGabriele
1749b87fc9 Fixed docstring 2016-09-05 17:56:58 +02:00
GGabriele
9684ec26af Fixed docstring 2016-09-05 17:53:11 +02:00
GGabriele
02ffc6a6f1 Fixed docstring 2016-09-05 17:52:15 +02:00
GGabriele
7e645e16a7 Fixed docstring 2016-09-05 17:51:21 +02:00
GGabriele
4a84fd2ac6 Fixed docstring 2016-09-05 17:50:01 +02:00
GGabriele
64ad771f11 Fixed docstring 2016-09-05 17:48:46 +02:00
GGabriele
50e7b378a6 Fixed docstring 2016-09-05 17:47:13 +02:00
GGabriele
0dbe20beae Fixed docstring 2016-09-05 17:45:35 +02:00
GGabriele
f5d5de5601 Fixed docstring 2016-09-05 17:41:53 +02:00
GGabriele
eb2de71b65 Fixed docstring 2016-09-05 17:41:05 +02:00
GGabriele
b77436823b Fixed docstring 2016-09-05 17:40:26 +02:00
GGabriele
30313f8979 Fixed docstring 2016-09-05 17:37:50 +02:00
GGabriele
192daac855 Fixed docstring 2016-09-05 17:36:48 +02:00
GGabriele
22ce05a489 Fixed docstring 2016-09-05 17:35:46 +02:00
GGabriele
ab81283f34 Fixed docstring 2016-09-05 17:33:38 +02:00
GGabriele
f12fb67ca4 Fixed docstring 2016-09-05 17:31:58 +02:00
GGabriele
cabc937b30 Fixed docstring 2016-09-05 17:30:34 +02:00
GGabriele
401514ac7c Fixed docstring 2016-09-05 17:27:56 +02:00
GGabriele
3fa0ec9748 Fixed docstring 2016-09-05 17:23:48 +02:00
GGabriele
964bffd1d7 Adding missing fullstop 2016-09-05 17:19:48 +02:00
GGabriele
9723c7f9fb Fixed docstring 2016-09-05 17:17:28 +02:00
GGabriele
9357ef31fb Fixed docstring 2016-09-05 17:10:12 +02:00
GGabriele
dd4b6a8585 Fixing docstring format 2016-09-05 16:55:57 +02:00
GGabriele
90a9e983b4 Fixed param value format in docstring 2016-09-05 16:46:24 +02:00
GGabriele
59c0e54df5 Fix docstring 2016-09-05 15:49:42 +02:00
GGabriele
f8c9df2ca0 Fixed module structure and added one new param 2016-09-04 21:20:15 +02:00
GGabriele
bc9bf359b0 Fixed module structure 2016-09-04 21:07:43 +02:00
GGabriele
70ef9ae42c Fixed module structure 2016-09-04 20:56:55 +02:00
GGabriele
303da86423 Fixed module structure 2016-09-04 20:50:18 +02:00
GGabriele
0e8eab40fb Fixed module structure 2016-09-04 20:43:06 +02:00
GGabriele
fe120c14a3 Fixed module structure 2016-09-04 20:35:57 +02:00
GGabriele
8555519945 Fixed module structure 2016-09-04 20:33:03 +02:00
GGabriele
6c0ce20ad7 Fixed module structure 2016-09-04 20:27:02 +02:00
GGabriele
c58d21a5c6 Fixed module structure 2016-09-04 20:11:03 +02:00
GGabriele
c9c3d26e42 Fixed module structure 2016-09-04 20:06:07 +02:00
GGabriele
78558fcf53 Fixed config function 2016-09-04 19:47:02 +02:00
GGabriele
336794d758 Fixed config function 2016-09-04 19:14:15 +02:00
GGabriele
7579ddee0c Fixed config function 2016-09-04 19:08:29 +02:00
GGabriele
c177bc4f72 Fixed config function 2016-09-04 18:59:56 +02:00
GGabriele
fdda32ec52 Fixed module structure 2016-09-04 18:58:09 +02:00
GGabriele
9f06bb7e60 fix imports 2016-09-04 18:55:36 +02:00
GGabriele
a4ee5c89da Fixed module structure 2016-09-04 18:48:08 +02:00
GGabriele
c50cfe3451 Fixed module structure 2016-09-04 18:42:01 +02:00
GGabriele
c3592688e6 Fixed module structure 2016-09-04 18:29:08 +02:00
GGabriele
e8b9a7cae7 Fixed module structure 2016-09-04 18:21:47 +02:00
GGabriele
cb9bdee7be Fixed module structure 2016-09-04 18:15:08 +02:00
GGabriele
fa72ffc3d1 Fixed module structure 2016-09-04 18:09:30 +02:00
GGabriele
b2aa859b33 Fixed module structure 2016-09-04 18:01:33 +02:00
GGabriele
c9d293299b Fixed module structure 2016-09-04 17:54:53 +02:00
GGabriele
67c24e5f04 Fixed module structure 2016-09-04 17:45:17 +02:00
GGabriele
a30d508e0e Fixed module structure 2016-09-04 17:37:52 +02:00
GGabriele
d8e6773f8c Fixed module structure 2016-09-04 17:36:48 +02:00
GGabriele
37d27c9b2c Fixed module structure 2016-09-04 17:30:19 +02:00
GGabriele
18562835e3 Fixed module structure 2016-09-04 17:22:41 +02:00
GGabriele
030141e76d Fixed module structure 2016-09-04 17:11:21 +02:00
GGabriele
39d43e96e0 Fixed module structure 2016-09-04 17:04:15 +02:00
GGabriele
42add2f137 Fixed module structure 2016-09-04 16:56:46 +02:00
GGabriele
d894adba4a Fixed module structure 2016-09-04 16:53:51 +02:00
GGabriele
a1b666d0af Fixed module structure 2016-09-04 16:46:59 +02:00
GGabriele
73cd257b66 Fixed module structure 2016-09-04 16:38:24 +02:00
GGabriele
c20d82d9ca Fixed module structure 2016-09-04 16:22:40 +02:00
Peter Sprygada
ecca37a959 Merge pull request #4699 from privateip/vyos_config
removes argument from vyos_config module
2016-09-04 09:26:49 -04:00
Peter Sprygada
0045cf31c5 Merge pull request #4687 from privateip/junos_command
add new functionality to junos_command module
2016-09-04 09:25:11 -04:00
Peter Sprygada
f0e5a8c7ab Merge pull request #4688 from privateip/junos_netconf
update junos_netconf module
2016-09-04 09:25:01 -04:00
Peter Sprygada
4ab3492011 Merge pull request #4689 from privateip/junos_template
update junos_template module
2016-09-04 09:24:32 -04:00
Peter Sprygada
eca9d0700d Merge pull request #4692 from privateip/junos_config
update junos_config module
2016-09-04 09:24:20 -04:00
Peter Sprygada
74ae5a6257 Merge pull request #4697 from privateip/nxos_config
updates nxos_config to remove state argument
2016-09-04 09:23:57 -04:00
Peter Sprygada
a756d1baea Merge pull request #4696 from privateip/ops_config
removes state argument from ops_config module
2016-09-04 09:23:44 -04:00
Peter Sprygada
eae87e21d9 Merge pull request #4698 from privateip/ios_config
removes state argument from ios_config
2016-09-04 09:23:24 -04:00
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
2016-09-04 09:19:40 -04:00
Peter Sprygada
989a2c7d0f removes argument from vyos_config module
The state argument should not be in vyos_config.  This commit removes the
state argument
2016-09-04 09:17:15 -04:00
Peter Sprygada
e0f7912e37 removes state argument from ios_config
The state argument should not be in ios_config.  This change removes the
state argument
2016-09-04 09:16:31 -04:00
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
2016-09-04 09:15:03 -04:00
GGabriele
9b03b39eb6 Removed tabs 2016-09-04 13:20:52 +02:00
GGabriele
7c9b5b8841 Fixed module structure 2016-09-04 13:13:54 +02:00
GGabriele
e725a077c5 Fixed module structure 2016-09-04 12:58:00 +02:00
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
2016-09-03 15:15:37 -04:00
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
2016-09-03 06:09:46 -04:00
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
2016-09-02 22:40:38 -04:00
Peter Sprygada
0dfd3f177f update junos_template module
This updates the junos_template module implementing the changes for
Ansible 2.2
2016-09-02 22:36:22 -04:00
GGabriele
bafdedd25b Fix docstring 2016-09-03 04:16:21 +02:00
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
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