Commit graph

772 commits

Author SHA1 Message Date
GGabriele
4180d10684 Adding nxos_snapshot 2016-09-14 15:40:33 +02:00
GGabriele
a01e686a21 Fixing docstring 2016-09-14 15:33:30 +02:00
GGabriele
ae0e9238f2 Adding nxos_snmp_host 2016-09-14 15:29:01 +02:00
GGabriele
04bf398f60 Adding nxos_snmp_community 2016-09-14 15:13:20 +02:00
GGabriele
53c9ba9011 Fixing docstring and more fix 2016-09-14 15:11:15 +02:00
John Barker
f1ad1d0d64 RETURNS doesn't support markup, so remove it 2016-09-14 12:58:53 +01:00
Peter Sprygada
1b8cf3bbd9 rename arugment from default to defaults
This argument_spec incorrectly named an argument default and it should have
been defaults.  This corrects that issue
2016-09-14 07:36:23 -04:00
Peter Sprygada
9794087aa7 rename the argument default to defaults
The argument_spec incorrectly had the argument default and it should have
been defaults.  This corrects the problem.
2016-09-14 07:34:55 -04:00
John Barker
9c42d72375 Docs improvements to _config 2016-09-14 12:06:18 +01:00
GGabriele
eb31af5a47 Fixing error handling 2016-09-14 08:42:53 +02:00
GGabriele
6a5ab25264 Fixing docstring 2016-09-14 08:36:09 +02:00
GGabriele
12a63c0717 Adding nxos_snmp_community 2016-09-14 08:32:14 +02:00
GGabriele
c12e90f4f1 Fixing nxos_feature 2016-09-13 22:59:44 +02:00
Peter Sprygada
6a93255ffa Merge pull request #4753 from skg-net/dnos9_command
dnos9_command (New Module)
2016-09-12 17:20:34 -04:00
Peter Sprygada
fddb7715a8 Merge pull request #4769 from skg-net/dnos6_command
dnos6_command (New Module)
2016-09-12 17:20:07 -04:00
Peter Sprygada
a2dbd92930 Merge pull request #4804 from privateip/eos_template
fixes error when calling load_config() with session keyword
2016-09-12 16:54:00 -04:00
Peter Sprygada
cbcb90e112 fixes error when calling load_config() with session keyword
The session keyword is no longer needed or supported in the load_config()
method for eos.  This fixes an issue in eos_template where the session
keyword was still being sent.
2016-09-12 16:29:51 -04:00
Senthil Kumar Ganesan
7136bbe74c Addressed review comments from @privateip 2016-09-12 11:31:46 -07:00
John Barker
b76b3de28e Document backup options
To make future diffing easier, use consistent ordering
2016-09-12 16:16:07 +01:00
Martin Matuška
f07e3d297f Force download if checksums do not match (#4262) 2016-09-12 07:45:46 +02:00
Peter Sprygada
987d9b2b4a Merge pull request #4785 from privateip/nxos_config
roll up updates to nxos_config module
2016-09-11 23:47:31 -04:00
Peter Sprygada
61f9fde886 Merge pull request #4788 from privateip/sros_config
roll up updates to sros_config module
2016-09-11 23:47:18 -04:00
Peter Sprygada
3f5e9ee526 Merge pull request #4786 from privateip/iosxr_config
roll up of updates to iosxr_config module
2016-09-11 23:47:04 -04:00
Peter Sprygada
e722ecc3b4 Merge pull request #4784 from privateip/junos_config
roll up updates to junos_config module
2016-09-11 23:46:53 -04:00
Peter Sprygada
739cc715df Merge pull request #4787 from privateip/vyos_config
roll up of updates to vyos_config module
2016-09-11 23:46:38 -04:00
Peter Sprygada
bb66f10b44 Merge pull request #4789 from privateip/ios_config
roll up of updates to ios_config module
2016-09-11 23:46:26 -04:00
Peter Sprygada
efff96bbdd Merge pull request #4790 from privateip/eos_config
roll up of updates to eos_config module
2016-09-11 23:46:09 -04:00
Peter Sprygada
19f1bc07cb roll up updates to nxos_config module
* remote 'updates' argument
* clean up functions
* update doc strings
* add required_if dependencies
2016-09-11 23:25:33 -04:00
Peter Sprygada
42856d9949 roll up updates to junos_config module
* remove 'update' argument
* update doc strings
* reorder functions
2016-09-11 23:23:57 -04:00
Peter Sprygada
f5e64a8953 roll up updates to ops_config module
* 'before' and 'after' now only apply to 'lines' argument
* add required_if dependencies
* update doc strings
* remove 'update' argument
* clean up functions
2016-09-11 23:22:00 -04:00
Peter Sprygada
4f03036428 roll up updates to sros_config module
* update doc strings
* update message if rollback isn't configured
2016-09-11 23:19:23 -04:00
Peter Sprygada
4217adb469 roll up of updates to vyos_config module
* remove 'udpates' argument
* add required_if dependencies
* clean up functions
* update doc strings
2016-09-11 23:17:21 -04:00
Peter Sprygada
e6f1f295f7 roll up of updates to iosxr_config module
* 'before' and 'after' arguments now only apply to 'lines'
* update doc strings
* remove update argument
* clean up warnings
2016-09-11 23:14:28 -04:00
Peter Sprygada
9b5e6bbfa1 roll up of updates to ios_config module
* 'before' and 'after' are now only applied to 'lines'
* remove update argument
* update doc strings
* add path argument when performing config difference
2016-09-11 23:11:59 -04:00
Peter Sprygada
9df9a1dbd4 roll up of updates to eos_config module
* removes update argument
* adds `config` option to replace argument
* moves session management into shared module
* cleans up doc strings
* `before` and `after` args now only apply to lines
2016-09-11 15:31:53 -04:00
Andrew Gaffney
0c05f0dfa4 Fix missing colons in network module examples (#4778) 2016-09-10 14:46:30 +01:00
Peter Sprygada
1ab343a74c Merge pull request #4775 from privateip/sros_rollback
add new module sros_rollback
2016-09-10 02:46:00 -04:00
Peter Sprygada
8e1e8c2cca add new module sros_rollback
Provides a configuration resource for managing the rollback feature on
remote devices running Nokia SROS
2016-09-10 02:43:25 -04:00
Senthil Kumar Ganesan
b5940e1a3e Added Command module to support Dell Networking OS6 2016-09-09 13:50:28 -07:00
Peter Sprygada
477c71d985 minor updates to junos_package module for 2.2 (#4761)
* replaces get_module() with NetworkModule()
* removes old call to package_version()
2016-09-09 17:25:21 +01:00
Peter Sprygada
4277b88de5 update junos_facts module to remove get_module() factory function (#4760)
Replaces get_module() with NetworkModule instance
2016-09-09 17:22:43 +01:00
Peter Sprygada
3d365c5cf8 adds path kwarg when difference() is called from iosxr_config
Adds the path kwarg to handle use cases with exact and strict matching
2016-09-09 08:46:33 -04:00
Peter Sprygada
684c6897e2 Merge pull request #4701 from GGabriele/nxos_vrrp
nxos_vrrp update
2016-09-08 22:00:39 -04:00
Peter Sprygada
c113a3ef8e Merge pull request #4686 from GGabriele/nxos_igmp_interface
Adding nxos_igmp_interface
2016-09-08 22:00:22 -04:00
Peter Sprygada
24b68d73e8 Merge pull request #4684 from GGabriele/nxos_vrf_interface
nxos_vrf_interface support for 2.1 and 2.2
2016-09-08 22:00:10 -04:00
Peter Sprygada
fd2a0da5b1 Merge pull request #4682 from GGabriele/nxos_vlan
nxos_vlan support 2.1 and 2.2
2016-09-08 22:00:01 -04:00
Peter Sprygada
fda1771276 Merge pull request #4685 from GGabriele/nxos_igmp
Adding nxos_igmp
2016-09-08 21:59:34 -04:00
Peter Sprygada
412a44317c Merge pull request #4683 from GGabriele/nxos_vrf
Updating nxos_vrf
2016-09-08 21:59:20 -04:00
Peter Sprygada
550001372e Merge pull request #4681 from GGabriele/nxos_ping
nxos_ping support for 2.1 and 2.2
2016-09-08 21:58:58 -04:00
Peter Sprygada
e6bbc5a828 Merge pull request #4680 from GGabriele/nxos_ip_interface
nxos_ip_interface support for 2.1 and 2.2
2016-09-08 21:58:21 -04:00
Peter Sprygada
49cb49f8b9 Merge pull request #4677 from GGabriele/nxos_reboot
Adding nxos_reboot
2016-09-08 21:57:52 -04:00
Peter Sprygada
1a0e3003a0 Merge pull request #4676 from GGabriele/nxos_feature
nxos_feature 2.1 and 2.2 support
2016-09-08 21:57:15 -04:00
Peter Sprygada
a71a36cee2 Merge pull request #4675 from GGabriele/nxos_rollback
Adding nxos_rollback
2016-09-08 21:57:00 -04:00
Peter Sprygada
9377666fc4 Merge pull request #4672 from GGabriele/nxos_vrf_af
Adding nxos_vrf_af
2016-09-08 21:55:56 -04:00
Peter Sprygada
6d02dc4f2c Merge pull request #4670 from GGabriele/nxos_vpc_interface
Adding nxos_vpc_interface
2016-09-08 21:55:44 -04:00
Peter Sprygada
30c8c8e17e Merge pull request #4669 from GGabriele/nxos_vpc
Adding nxos_vpc
2016-09-08 21:55:20 -04:00
Peter Sprygada
944aa8644b Merge pull request #4673 from GGabriele/nxos_vxlan_vtep
Adding nxos_vxlan_vtep
2016-09-08 21:55:06 -04:00
Peter Sprygada
0bcad5a71d Merge pull request #4667 from GGabriele/nxos_static_route
Adding nxos_static_route
2016-09-08 21:54:55 -04:00
Peter Sprygada
fce047f2f4 Merge pull request #4666 from GGabriele/nxos_smu
Adding nxos_smu
2016-09-08 21:54:16 -04:00
Peter Sprygada
54ae1e9787 Merge pull request #4665 from GGabriele/nxos_portchannel
Adding nxos_portchannel
2016-09-08 21:54:01 -04:00
Peter Sprygada
9def666f3d Merge pull request #4664 from GGabriele/nxos_pim_rp_address
Adding nxos_pim_rp_address
2016-09-08 21:53:33 -04:00
Peter Sprygada
dd0bec4b85 Merge pull request #4663 from GGabriele/nxos_pim
Adding nxos_pim module
2016-09-08 21:53:23 -04:00
Peter Sprygada
3ad8cbe5fc Merge pull request #4662 from GGabriele/nxos_overlay_global
Nxos overlay global
2016-09-08 21:53:15 -04:00
Peter Sprygada
f961e57db1 Merge pull request #4656 from GGabriele/nxos_interface_ospf
Adding nxos_interface_ospf
2016-09-08 21:53:03 -04:00
Peter Sprygada
b603774e55 Merge pull request #4655 from GGabriele/nxos_hsrp
Adding nxos_hsrp
2016-09-08 21:52:38 -04:00
Peter Sprygada
1b281cb7cc Merge pull request #4654 from GGabriele/nxos_file_copy
Adding nxos_file_copy
2016-09-08 21:52:24 -04:00
Peter Sprygada
3370df7e87 Merge pull request #4625 from GGabriele/nxos_ospf_vrf
Adding nxos_ospf_vrf module
2016-09-08 21:52:12 -04:00
Peter Sprygada
cdda76df8a Merge pull request #4653 from GGabriele/nxos_evpn_vni
Adding nxos_evpn_vni
2016-09-08 21:51:58 -04:00
Peter Sprygada
4234add9e9 Merge pull request #4652 from GGabriele/nxos_bgp_neighbor_af
Adding nxos_bgp_neighbor_af module
2016-09-08 21:51:41 -04:00
Peter Sprygada
94db615d22 Merge pull request #4651 from GGabriele/nxos_bgp_neighbor
Adding nxos_bgp_neighbor module
2016-09-08 21:51:30 -04:00
Peter Sprygada
95d495b50b Merge pull request #4650 from GGabriele/nxos_bgp_af
Adding nxos_bgp_af module
2016-09-08 21:51:12 -04:00
Peter Sprygada
b0d50b42dd Merge pull request #4624 from GGabriele/nxos_ospf
Adding nxos_ospf module
2016-09-08 21:51:02 -04:00
Peter Sprygada
a1badcf6f6 Merge pull request #4622 from GGabriele/nxos_evpn_global
Adding nxos_evpn_global module
2016-09-08 21:50:48 -04:00
Peter Sprygada
1f6f430819 Merge pull request #4621 from GGabriele/nxos_acl_interface
Adding nxos_acl_interface_module
2016-09-08 21:50:31 -04:00
Peter Sprygada
ea37837ac8 Merge pull request #4618 from GGabriele/nxos_acl
Adding nxos_acl module
2016-09-08 21:50:19 -04:00
Peter Sprygada
65fed11424 Merge pull request #4602 from GGabriele/nxos_bgp
Adding nxos_bgp.py
2016-09-08 21:49:45 -04:00
Peter Sprygada
99ddf08e2b Merge pull request #4751 from privateip/ios_config
minor bug fix to pass path to difference() in ios_config
2016-09-08 19:54:27 -04:00
Peter Sprygada
c716744f3c minor bug fix to pass path to difference() in ios_config
The ios_config module needs to pass the path kwarg to difference when
specifying match=exact or strict.
2016-09-08 19:44:32 -04:00
Senthil Kumar Ganesan
41f5737334 Added Command module to support Dell Networking OS9 2016-09-08 14:49:19 -07:00
Peter Sprygada
db5cb54b23 Merge pull request #4749 from privateip/nxos_config
fixes bug where nxos_config wasn't handling checkpoints correctly
2016-09-08 15:49:00 -04:00
afunix
ab7fe884d7 Updated get_url module to process FTP results correctly [#3661] (#4601) 2016-09-08 12:23:54 -07:00
Peter Sprygada
ec9f6594ca fixes bug where nxos_config wasn't handling checkpoints correctly 2016-09-08 15:18:00 -04:00
Peter Sprygada
81aa3a760c Merge pull request #4730 from privateip/ios_template
fix bug in ios_template when include_defaults is set to true
2016-09-07 21:48:21 -04:00
Peter Sprygada
0a03d34916 Merge pull request #4729 from privateip/ios_config
adds path kwarg when performing config diff checks in ios_config
2016-09-07 21:48:02 -04:00
Peter Sprygada
c3c964475c fix bug in ios_template when include_defaults is set to true
Module was ignoring  include_defaults argument.  This fixes the issue
such that the correct configuration is returned
2016-09-07 19:56:27 -04:00
Peter Sprygada
05887b8f86 adds path kwarg when performing config diff checks in ios_config 2016-09-07 19:42:59 -04:00
Peter Sprygada
52fd4914ca Merge pull request #4561 from jedelman8/nxos_interface
removed feature check for nxos_interface
2016-09-07 16:01:49 -04:00
Peter Sprygada
db18577df1 Merge pull request #4724 from privateip/eos_config
roll up of minor fixes in eos_config module
2016-09-07 14:56:21 -04:00
Peter Sprygada
87dc24b19e roll up of minor fixes in eos_config module
* fixes save argument to be type bool
* now properly sets the changed returned flag based on diff
* updates docstring RETURNS to add backup_path
* removes unneeded state argument

tested on EOS 4.15.4F
2016-09-07 14:24:08 -04:00
@skg_net
1d3a70a689 dnos10_template module 2016-09-07 17:34:06 +01:00
Peter Sprygada
e464599632 minor bug fixes in eos_template
* fixes issue where configuration was not being loaded (#4704)
* fixes issue where defaults were not included when argument was set to True

tested on EOS 4.15.4F
2016-09-06 22:51:40 -04:00
GGabriele
a1520d5e48 Improved config function 2016-09-06 12:47:48 +02:00
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
393f07da88 Fixed docstring 2016-09-05 17:43:28 +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