Commit graph

434 commits

Author SHA1 Message Date
afunix
ab7fe884d7 Updated get_url module to process FTP results correctly [#3661] (#4601) 2016-09-08 12:23:54 -07: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
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
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
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
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
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
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
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
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
Senthil Kumar Ganesan
b7480a34d5 Moved the modules to Dell folder 2016-08-29 21:57:06 -07:00